1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211 #define SWIGTYPE_p_wxSizer swig_types[2]
212 #define SWIGTYPE_p_wxCheckBox swig_types[3]
213 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214 #define SWIGTYPE_p_wxEvent swig_types[5]
215 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216 #define SWIGTYPE_p_bool swig_types[7]
217 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218 #define SWIGTYPE_p_wxItemContainer swig_types[9]
219 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxPyListCtrl swig_types[11]
221 #define SWIGTYPE_p_wxStaticLine swig_types[12]
222 #define SWIGTYPE_p_wxControl swig_types[13]
223 #define SWIGTYPE_p_wxPyControl swig_types[14]
224 #define SWIGTYPE_p_wxGauge swig_types[15]
225 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
226 #define SWIGTYPE_p_wxFont swig_types[17]
227 #define SWIGTYPE_p_wxToggleButton swig_types[18]
228 #define SWIGTYPE_p_wxRadioButton swig_types[19]
229 #define SWIGTYPE_p_wxChoice swig_types[20]
230 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
231 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
232 #define SWIGTYPE_p_void swig_types[23]
233 #define SWIGTYPE_p_int swig_types[24]
234 #define SWIGTYPE_p_wxSize swig_types[25]
235 #define SWIGTYPE_p_wxDC swig_types[26]
236 #define SWIGTYPE_p_wxListView swig_types[27]
237 #define SWIGTYPE_p_wxIcon swig_types[28]
238 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
239 #define SWIGTYPE_p_wxNotebook swig_types[30]
240 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
241 #define SWIGTYPE_p_wxArrayString swig_types[32]
242 #define SWIGTYPE_p_wxListbook swig_types[33]
243 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
244 #define SWIGTYPE_p_wxSlider swig_types[35]
245 #define SWIGTYPE_p_wxStaticBox swig_types[36]
246 #define SWIGTYPE_p_wxArrayInt swig_types[37]
247 #define SWIGTYPE_p_wxContextHelp swig_types[38]
248 #define SWIGTYPE_p_long swig_types[39]
249 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
250 #define SWIGTYPE_p_wxListEvent swig_types[41]
251 #define SWIGTYPE_p_wxListBox swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
254 #define SWIGTYPE_p_wxSpinButton swig_types[45]
255 #define SWIGTYPE_p_wxButton swig_types[46]
256 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
257 #define SWIGTYPE_p_wxRect swig_types[48]
258 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
259 #define SWIGTYPE_p_wxRadioBox swig_types[50]
260 #define SWIGTYPE_p_wxScrollBar swig_types[51]
261 #define SWIGTYPE_p_char swig_types[52]
262 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
263 #define SWIGTYPE_p_wxComboBox swig_types[54]
264 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
265 #define SWIGTYPE_p_wxListItem swig_types[56]
266 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
267 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
268 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
269 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
270 #define SWIGTYPE_p_wxImageList swig_types[61]
271 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
272 #define SWIGTYPE_p_wxTextAttr swig_types[63]
273 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
274 #define SWIGTYPE_p_wxPoint swig_types[65]
275 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
276 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
277 #define SWIGTYPE_p_wxObject swig_types[68]
278 #define SWIGTYPE_p_wxCursor swig_types[69]
279 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
280 #define SWIGTYPE_p_wxWindow swig_types[71]
281 #define SWIGTYPE_p_wxString swig_types[72]
282 #define SWIGTYPE_p_wxBitmap swig_types[73]
283 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
284 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
285 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
286 #define SWIGTYPE_p_wxStaticText swig_types[77]
287 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
288 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
289 #define SWIGTYPE_p_wxColour swig_types[80]
290 #define SWIGTYPE_p_wxToolBar swig_types[81]
291 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
292 #define SWIGTYPE_p_wxValidator swig_types[83]
293 static swig_type_info
*swig_types
[85];
295 /* -------- TYPES TABLE (END) -------- */
298 /*-----------------------------------------------
299 @(target):= _controls.so
300 ------------------------------------------------*/
301 #define SWIG_init init_controls
303 #define SWIG_name "_controls"
305 /* Auxiliar swig macros */
308 #define SWIGSTATICINLINE(a) static inline a
309 #define SWIGSTATIC(a) static a
310 #define swig_new_array(type, size) (new type[(size)])
311 #define swig_delete_array(cptr) delete[] cptr
312 #define swig_const_cast(type,a) const_cast<type>(a)
313 #define swig_static_cast(type,a) static_cast<type>(a)
314 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316 #ifdef HAVE_NUMERIC_CAST
317 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
319 #define swig_numeric_cast(type,a) static_cast<type>(a)
324 #define SWIGSTATICINLINE(a) static a
325 #define SWIGSTATIC(a) static a
326 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
327 #define swig_delete_array(cptr) free((char*)cptr)
328 #define swig_const_cast(type,a) (type)(a)
329 #define swig_static_cast(type,a) (type)(a)
330 #define swig_reinterpret_cast(type,a) (type)(a)
331 #define swig_numeric_cast(type,a) (type)(a)
333 #endif /* __cplusplus */
336 #define SWIG_FromSignedChar PyInt_FromLong
337 #define SWIG_FromUnsignedChar PyInt_FromLong
338 #define SWIG_FromShort PyInt_FromLong
339 #define SWIG_FromUnsignedShort PyInt_FromLong
340 #define SWIG_FromInt PyInt_FromLong
341 #define SWIG_FromLong PyInt_FromLong
342 #define SWIG_FromFloat PyFloat_FromDouble
343 #define SWIG_FromDouble PyFloat_FromDouble
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
348 #include "wx/wxPython/wxPython.h"
349 #include "wx/wxPython/pyclasses.h"
351 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
352 static const wxString
wxPyEmptyString(wxEmptyString
);
353 static const wxString
wxPyControlNameStr(wxControlNameStr
);
355 const wxArrayString wxPyEmptyStringArray
;
357 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
362 SWIGSTATICINLINE(long)
363 SWIG_CheckLongInRange(long value
, const char* type
,
364 long min_value
, long max_value
)
366 if (!PyErr_Occurred()) {
367 if (value
< min_value
) {
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value
, type
, min_value
);
372 PyErr_SetObject(PyExc_OverflowError
, err
);
374 } else if (value
> max_value
) {
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value
, type
, max_value
);
378 PyErr_SetObject(PyExc_OverflowError
, err
);
386 SWIGSTATICINLINE(long)
387 SWIG_AsLong(PyObject
* obj
)
389 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
393 #if INT_MAX != LONG_MAX
394 SWIGSTATICINLINE(int)
395 SWIG_AsInt(PyObject
*obj
)
397 return swig_numeric_cast(int,
398 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
399 "int", INT_MIN
, INT_MAX
));
402 #define SWIG_AsInt SWIG_AsLong
406 SWIGSTATICINLINE(int)
407 SWIG_CheckInt(PyObject
* obj
)
410 if (PyErr_Occurred()) {
419 SWIGSTATICINLINE(int)
420 SWIG_CheckLong(PyObject
* obj
)
423 if (PyErr_Occurred()) {
431 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
433 SWIGSTATICINLINE(bool)
434 SWIG_AsBool(PyObject
*obj
)
436 return PyObject_IsTrue(obj
) ? true : false;
440 SWIGSTATICINLINE(int)
441 SWIG_CheckBool(PyObject
* obj
)
444 if (PyErr_Occurred()) {
452 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
453 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
454 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
455 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
456 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
457 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
459 #include <wx/checklst.h>
462 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
463 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
465 wxPyClientData
* data
= new wxPyClientData(clientData
);
466 self
->Insert(item
, pos
, data
);
468 self
->Insert(item
, pos
);
470 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
472 self
->GetSelections(lst
);
473 PyObject
*tup
= PyTuple_New(lst
.GetCount());
474 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
475 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
479 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
481 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
482 self
->GetItem(item
)->SetTextColour(c
);
485 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
487 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
488 self
->GetItem(item
)->SetBackgroundColour(c
);
491 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
493 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
494 self
->GetItem(item
)->SetFont(f
);
497 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
499 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
505 } else if (target
== Py_None
) {
509 if (!PyTuple_Check(target
)) {
511 target
= PyTuple_New(1);
512 PyTuple_SetItem(target
, 0, o2
);
515 PyTuple_SetItem(o3
, 0, o
);
518 target
= PySequence_Concat(o2
, o3
);
526 SWIGSTATICINLINE(unsigned long)
527 SWIG_AsUnsignedLong(PyObject
* obj
)
529 if (PyLong_Check(obj
)) {
530 return PyLong_AsUnsignedLong(obj
);
532 long i
= PyInt_AsLong(obj
);
533 if ( !PyErr_Occurred() && (i
< 0)) {
534 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
541 SWIGSTATICINLINE(int)
542 SWIG_CheckUnsignedLong(PyObject
* obj
)
544 SWIG_AsUnsignedLong(obj
);
545 if (PyErr_Occurred()) {
553 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
554 self
->AppendText(text
);
556 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
557 return self
->GetValue().Mid(from
, to
- from
);
559 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
560 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
561 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
562 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
563 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
565 #include <wx/slider.h>
568 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
569 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
572 // implement dummy items for platforms that don't have this class
574 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
576 class wxToggleButton
: public wxControl
579 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
580 const wxPoint
&, const wxSize
&, long,
581 const wxValidator
&, const wxString
&)
582 { wxPyRaiseNotImplemented(); }
585 { wxPyRaiseNotImplemented(); }
589 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
591 SWIGSTATICINLINE(PyObject
* )
592 SWIG_FromUnsignedLong(unsigned long value
)
594 return (value
> LONG_MAX
) ?
595 PyLong_FromUnsignedLong(value
)
596 : PyInt_FromLong(swig_numeric_cast(long,value
));
599 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
600 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
601 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
603 Py_INCREF(udata
->m_obj
);
610 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
611 self
->SetClientData(new wxPyUserData(clientData
));
613 wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
614 wxPyUserData
* udata
= NULL
;
615 if (clientData
&& clientData
!= Py_None
)
616 udata
= new wxPyUserData(clientData
);
617 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
618 shortHelp
, longHelp
, udata
);
620 wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
621 wxPyUserData
* udata
= NULL
;
622 if (clientData
&& clientData
!= Py_None
)
623 udata
= new wxPyUserData(clientData
);
624 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
625 shortHelp
, longHelp
, udata
);
627 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
628 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
630 Py_INCREF(udata
->m_obj
);
637 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
638 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
641 #include <wx/listctrl.h>
644 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
645 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
646 // Python aware sorting function for wxPyListCtrl
647 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
649 PyObject
* func
= (PyObject
*)funcPtr
;
650 wxPyBeginBlockThreads();
652 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
653 PyObject
* result
= PyEval_CallObject(func
, args
);
656 retval
= PyInt_AsLong(result
);
660 wxPyEndBlockThreads();
664 // C++ Version of a Python aware class
665 class wxPyListCtrl
: public wxListCtrl
{
666 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
668 wxPyListCtrl() : wxListCtrl() {}
669 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
673 const wxValidator
& validator
,
674 const wxString
& name
) :
675 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
677 bool Create(wxWindow
* parent
, wxWindowID id
,
681 const wxValidator
& validator
,
682 const wxString
& name
) {
683 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
686 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
687 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
688 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
693 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
695 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
696 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
697 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
699 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
701 item
.SetMask( wxLIST_MASK_STATE
|
709 if (self
->GetColumn(col
, item
))
710 return new wxListItem(item
);
714 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
715 wxListItem
* info
= new wxListItem
;
716 info
->m_itemId
= itemId
;
718 info
->m_mask
= 0xFFFF;
719 self
->GetItem(*info
);
722 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
724 self
->GetItemPosition(item
, pos
);
727 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
729 self
->GetItemRect(item
, rect
, code
);
732 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
733 if (!PyCallable_Check(func
))
735 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
737 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
745 #include <wx/treectrl.h>
746 #include "wx/wxPython/pytree.h"
748 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
749 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
750 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
751 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
752 // C++ version of Python aware wxTreeCtrl
753 class wxPyTreeCtrl
: public wxTreeCtrl
{
754 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
756 wxPyTreeCtrl() : wxTreeCtrl() {}
757 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
761 const wxValidator
& validator
,
762 const wxString
& name
) :
763 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
765 bool Create(wxWindow
*parent
, wxWindowID id
,
769 const wxValidator
& validator
,
770 const wxString
& name
) {
771 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
775 int OnCompareItems(const wxTreeItemId
& item1
,
776 const wxTreeItemId
& item2
) {
779 wxPyBeginBlockThreads();
780 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
781 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
782 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
783 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
787 wxPyEndBlockThreads();
789 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
795 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
799 #if UINT_MAX < LONG_MAX
800 #define SWIG_FromUnsignedInt SWIG_FromLong
802 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
806 SWIGSTATICINLINE(unsigned long)
807 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
808 unsigned long max_value
)
810 if (!PyErr_Occurred()) {
811 if (value
> max_value
) {
813 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
814 value
, type
, max_value
);
815 PyErr_SetObject(PyExc_OverflowError
, err
);
823 #if UINT_MAX != ULONG_MAX
824 SWIGSTATICINLINE(unsigned int)
825 SWIG_AsUnsignedInt(PyObject
*obj
)
827 return swig_numeric_cast(unsigned int,
828 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
829 "unsigned int", UINT_MAX
));
832 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
836 SWIGSTATICINLINE(int)
837 SWIG_CheckUnsignedInt(PyObject
* obj
)
839 SWIG_AsUnsignedInt(obj
);
840 if (PyErr_Occurred()) {
848 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
849 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
851 data
= new wxPyTreeItemData();
852 data
->SetId(item
); // set the id
853 self
->SetItemData(item
, data
);
857 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
858 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
860 data
= new wxPyTreeItemData();
861 data
->SetId(item
); // set the id
862 self
->SetItemData(item
, data
);
864 return data
->GetData();
866 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
867 data
->SetId(item
); // set the id
868 self
->SetItemData(item
, data
);
870 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
871 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
873 data
= new wxPyTreeItemData(obj
);
874 data
->SetId(item
); // set the id
875 self
->SetItemData(item
, data
);
879 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
880 wxPyBeginBlockThreads();
881 PyObject
* rval
= PyList_New(0);
882 wxArrayTreeItemIds array
;
884 num
= self
->GetSelections(array
);
885 for (x
=0; x
< num
; x
++) {
886 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
887 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
888 PyList_Append(rval
, item
);
890 wxPyEndBlockThreads();
893 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
895 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
896 wxPyBeginBlockThreads();
897 PyObject
* tup
= PyTuple_New(2);
898 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
899 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
900 wxPyEndBlockThreads();
903 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
904 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
905 wxPyBeginBlockThreads();
906 PyObject
* tup
= PyTuple_New(2);
907 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
908 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
909 wxPyEndBlockThreads();
912 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
914 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
915 wxPyBeginBlockThreads();
916 wxRect
* r
= new wxRect(rect
);
917 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
918 wxPyEndBlockThreads();
924 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
925 // C++ version of Python aware wxControl
926 class wxPyControl
: public wxControl
928 DECLARE_DYNAMIC_CLASS(wxPyControl
)
930 wxPyControl() : wxControl() {}
931 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
932 const wxPoint
& pos
= wxDefaultPosition
,
933 const wxSize
& size
= wxDefaultSize
,
935 const wxValidator
& validator
=wxDefaultValidator
,
936 const wxString
& name
= wxPyControlNameStr
)
937 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
940 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
941 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
942 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
943 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
945 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
946 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
947 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
949 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
950 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
952 DEC_PYCALLBACK__(InitDialog
);
953 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
954 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
955 DEC_PYCALLBACK_BOOL_(Validate
);
957 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
958 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
959 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
961 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
962 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
967 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
969 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
970 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
971 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
972 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
974 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
975 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
976 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
978 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
979 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
981 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
982 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
983 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
984 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
986 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
987 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
988 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
990 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
991 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
996 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
998 #include <wx/generic/dragimgg.h>
1003 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1004 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1009 static PyObject
*_wrap_ButtonNameStr_get() {
1014 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1016 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1023 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1024 PyObject
*resultobj
;
1025 wxWindow
*arg1
= (wxWindow
*) 0 ;
1027 wxString
*arg3
= 0 ;
1028 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1029 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1030 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1031 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1032 long arg6
= (long) 0 ;
1033 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1034 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1035 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1036 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1038 bool temp3
= False
;
1041 bool temp8
= False
;
1042 PyObject
* obj0
= 0 ;
1043 PyObject
* obj1
= 0 ;
1044 PyObject
* obj2
= 0 ;
1045 PyObject
* obj3
= 0 ;
1046 PyObject
* obj4
= 0 ;
1047 PyObject
* obj5
= 0 ;
1048 PyObject
* obj6
= 0 ;
1049 PyObject
* obj7
= 0 ;
1051 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1057 arg2
= (int) SWIG_AsInt(obj1
);
1058 if (PyErr_Occurred()) SWIG_fail
;
1060 arg3
= wxString_in_helper(obj2
);
1061 if (arg3
== NULL
) SWIG_fail
;
1067 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1073 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1077 arg6
= (long) SWIG_AsLong(obj5
);
1078 if (PyErr_Occurred()) SWIG_fail
;
1081 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1085 PyErr_SetString(PyExc_TypeError
,"null reference");
1091 arg8
= wxString_in_helper(obj7
);
1092 if (arg8
== NULL
) SWIG_fail
;
1097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1098 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1100 wxPyEndAllowThreads(__tstate
);
1101 if (PyErr_Occurred()) SWIG_fail
;
1104 resultobj
= wxPyMake_wxObject(result
);
1128 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1129 PyObject
*resultobj
;
1135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1138 result
= (wxButton
*)new wxButton();
1140 wxPyEndAllowThreads(__tstate
);
1141 if (PyErr_Occurred()) SWIG_fail
;
1144 resultobj
= wxPyMake_wxObject(result
);
1152 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1153 PyObject
*resultobj
;
1154 wxButton
*arg1
= (wxButton
*) 0 ;
1155 wxWindow
*arg2
= (wxWindow
*) 0 ;
1157 wxString
*arg4
= 0 ;
1158 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1159 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1160 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1161 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1162 long arg7
= (long) 0 ;
1163 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1164 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1165 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1166 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1168 bool temp4
= False
;
1171 bool temp9
= False
;
1172 PyObject
* obj0
= 0 ;
1173 PyObject
* obj1
= 0 ;
1174 PyObject
* obj2
= 0 ;
1175 PyObject
* obj3
= 0 ;
1176 PyObject
* obj4
= 0 ;
1177 PyObject
* obj5
= 0 ;
1178 PyObject
* obj6
= 0 ;
1179 PyObject
* obj7
= 0 ;
1180 PyObject
* obj8
= 0 ;
1182 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1190 arg3
= (int) SWIG_AsInt(obj2
);
1191 if (PyErr_Occurred()) SWIG_fail
;
1193 arg4
= wxString_in_helper(obj3
);
1194 if (arg4
== NULL
) SWIG_fail
;
1200 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1206 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1210 arg7
= (long) SWIG_AsLong(obj6
);
1211 if (PyErr_Occurred()) SWIG_fail
;
1214 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1215 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1218 PyErr_SetString(PyExc_TypeError
,"null reference");
1224 arg9
= wxString_in_helper(obj8
);
1225 if (arg9
== NULL
) SWIG_fail
;
1230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1231 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1233 wxPyEndAllowThreads(__tstate
);
1234 if (PyErr_Occurred()) SWIG_fail
;
1236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1259 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1260 PyObject
*resultobj
;
1261 wxButton
*arg1
= (wxButton
*) 0 ;
1262 PyObject
* obj0
= 0 ;
1264 (char *) "self", NULL
1267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1272 (arg1
)->SetDefault();
1274 wxPyEndAllowThreads(__tstate
);
1275 if (PyErr_Occurred()) SWIG_fail
;
1277 Py_INCREF(Py_None
); resultobj
= Py_None
;
1284 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1285 PyObject
*resultobj
;
1291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1294 result
= wxButton::GetDefaultSize();
1296 wxPyEndAllowThreads(__tstate
);
1297 if (PyErr_Occurred()) SWIG_fail
;
1301 resultptr
= new wxSize((wxSize
&) result
);
1302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1310 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1313 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1315 return Py_BuildValue((char *)"");
1317 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1318 PyObject
*resultobj
;
1319 wxWindow
*arg1
= (wxWindow
*) 0 ;
1321 wxBitmap
*arg3
= 0 ;
1322 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1323 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1324 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1325 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1326 long arg6
= (long) wxBU_AUTODRAW
;
1327 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1328 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1329 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1330 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1331 wxBitmapButton
*result
;
1334 bool temp8
= False
;
1335 PyObject
* obj0
= 0 ;
1336 PyObject
* obj1
= 0 ;
1337 PyObject
* obj2
= 0 ;
1338 PyObject
* obj3
= 0 ;
1339 PyObject
* obj4
= 0 ;
1340 PyObject
* obj5
= 0 ;
1341 PyObject
* obj6
= 0 ;
1342 PyObject
* obj7
= 0 ;
1344 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1350 arg2
= (int) SWIG_AsInt(obj1
);
1351 if (PyErr_Occurred()) SWIG_fail
;
1352 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1353 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1356 PyErr_SetString(PyExc_TypeError
,"null reference");
1362 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1368 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1372 arg6
= (long) SWIG_AsLong(obj5
);
1373 if (PyErr_Occurred()) SWIG_fail
;
1376 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1377 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1380 PyErr_SetString(PyExc_TypeError
,"null reference");
1386 arg8
= wxString_in_helper(obj7
);
1387 if (arg8
== NULL
) SWIG_fail
;
1392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1393 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1395 wxPyEndAllowThreads(__tstate
);
1396 if (PyErr_Occurred()) SWIG_fail
;
1399 resultobj
= wxPyMake_wxObject(result
);
1415 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1416 PyObject
*resultobj
;
1417 wxBitmapButton
*result
;
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1425 result
= (wxBitmapButton
*)new wxBitmapButton();
1427 wxPyEndAllowThreads(__tstate
);
1428 if (PyErr_Occurred()) SWIG_fail
;
1431 resultobj
= wxPyMake_wxObject(result
);
1439 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
*resultobj
;
1441 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1442 wxWindow
*arg2
= (wxWindow
*) 0 ;
1444 wxBitmap
*arg4
= 0 ;
1445 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1446 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1447 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1448 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1449 long arg7
= (long) wxBU_AUTODRAW
;
1450 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1451 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1452 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1453 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1457 bool temp9
= False
;
1458 PyObject
* obj0
= 0 ;
1459 PyObject
* obj1
= 0 ;
1460 PyObject
* obj2
= 0 ;
1461 PyObject
* obj3
= 0 ;
1462 PyObject
* obj4
= 0 ;
1463 PyObject
* obj5
= 0 ;
1464 PyObject
* obj6
= 0 ;
1465 PyObject
* obj7
= 0 ;
1466 PyObject
* obj8
= 0 ;
1468 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1476 arg3
= (int) SWIG_AsInt(obj2
);
1477 if (PyErr_Occurred()) SWIG_fail
;
1478 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1479 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1482 PyErr_SetString(PyExc_TypeError
,"null reference");
1488 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1494 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1498 arg7
= (long) SWIG_AsLong(obj6
);
1499 if (PyErr_Occurred()) SWIG_fail
;
1502 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1503 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1506 PyErr_SetString(PyExc_TypeError
,"null reference");
1512 arg9
= wxString_in_helper(obj8
);
1513 if (arg9
== NULL
) SWIG_fail
;
1518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1519 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1521 wxPyEndAllowThreads(__tstate
);
1522 if (PyErr_Occurred()) SWIG_fail
;
1524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1539 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1540 PyObject
*resultobj
;
1541 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1543 PyObject
* obj0
= 0 ;
1545 (char *) "self", NULL
1548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1553 result
= (arg1
)->GetBitmapLabel();
1555 wxPyEndAllowThreads(__tstate
);
1556 if (PyErr_Occurred()) SWIG_fail
;
1559 wxBitmap
* resultptr
;
1560 resultptr
= new wxBitmap((wxBitmap
&) result
);
1561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1569 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1570 PyObject
*resultobj
;
1571 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1573 PyObject
* obj0
= 0 ;
1575 (char *) "self", NULL
1578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1583 result
= (arg1
)->GetBitmapDisabled();
1585 wxPyEndAllowThreads(__tstate
);
1586 if (PyErr_Occurred()) SWIG_fail
;
1589 wxBitmap
* resultptr
;
1590 resultptr
= new wxBitmap((wxBitmap
&) result
);
1591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1599 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
*resultobj
;
1601 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1603 PyObject
* obj0
= 0 ;
1605 (char *) "self", NULL
1608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1613 result
= (arg1
)->GetBitmapFocus();
1615 wxPyEndAllowThreads(__tstate
);
1616 if (PyErr_Occurred()) SWIG_fail
;
1619 wxBitmap
* resultptr
;
1620 resultptr
= new wxBitmap((wxBitmap
&) result
);
1621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1629 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1630 PyObject
*resultobj
;
1631 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1633 PyObject
* obj0
= 0 ;
1635 (char *) "self", NULL
1638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1643 result
= (arg1
)->GetBitmapSelected();
1645 wxPyEndAllowThreads(__tstate
);
1646 if (PyErr_Occurred()) SWIG_fail
;
1649 wxBitmap
* resultptr
;
1650 resultptr
= new wxBitmap((wxBitmap
&) result
);
1651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1659 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1660 PyObject
*resultobj
;
1661 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1662 wxBitmap
*arg2
= 0 ;
1663 PyObject
* obj0
= 0 ;
1664 PyObject
* obj1
= 0 ;
1666 (char *) "self",(char *) "bitmap", NULL
1669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1673 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1676 PyErr_SetString(PyExc_TypeError
,"null reference");
1680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1681 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1683 wxPyEndAllowThreads(__tstate
);
1684 if (PyErr_Occurred()) SWIG_fail
;
1686 Py_INCREF(Py_None
); resultobj
= Py_None
;
1693 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1694 PyObject
*resultobj
;
1695 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1696 wxBitmap
*arg2
= 0 ;
1697 PyObject
* obj0
= 0 ;
1698 PyObject
* obj1
= 0 ;
1700 (char *) "self",(char *) "bitmap", NULL
1703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1707 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1710 PyErr_SetString(PyExc_TypeError
,"null reference");
1714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1715 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1717 wxPyEndAllowThreads(__tstate
);
1718 if (PyErr_Occurred()) SWIG_fail
;
1720 Py_INCREF(Py_None
); resultobj
= Py_None
;
1727 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1728 PyObject
*resultobj
;
1729 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1730 wxBitmap
*arg2
= 0 ;
1731 PyObject
* obj0
= 0 ;
1732 PyObject
* obj1
= 0 ;
1734 (char *) "self",(char *) "bitmap", NULL
1737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1740 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1741 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1744 PyErr_SetString(PyExc_TypeError
,"null reference");
1748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1749 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1751 wxPyEndAllowThreads(__tstate
);
1752 if (PyErr_Occurred()) SWIG_fail
;
1754 Py_INCREF(Py_None
); resultobj
= Py_None
;
1761 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1762 PyObject
*resultobj
;
1763 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1764 wxBitmap
*arg2
= 0 ;
1765 PyObject
* obj0
= 0 ;
1766 PyObject
* obj1
= 0 ;
1768 (char *) "self",(char *) "bitmap", NULL
1771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1775 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1778 PyErr_SetString(PyExc_TypeError
,"null reference");
1782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1783 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1785 wxPyEndAllowThreads(__tstate
);
1786 if (PyErr_Occurred()) SWIG_fail
;
1788 Py_INCREF(Py_None
); resultobj
= Py_None
;
1795 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1796 PyObject
*resultobj
;
1797 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1800 PyObject
* obj0
= 0 ;
1801 PyObject
* obj1
= 0 ;
1802 PyObject
* obj2
= 0 ;
1804 (char *) "self",(char *) "x",(char *) "y", NULL
1807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1810 arg2
= (int) SWIG_AsInt(obj1
);
1811 if (PyErr_Occurred()) SWIG_fail
;
1812 arg3
= (int) SWIG_AsInt(obj2
);
1813 if (PyErr_Occurred()) SWIG_fail
;
1815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1816 (arg1
)->SetMargins(arg2
,arg3
);
1818 wxPyEndAllowThreads(__tstate
);
1819 if (PyErr_Occurred()) SWIG_fail
;
1821 Py_INCREF(Py_None
); resultobj
= Py_None
;
1828 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1829 PyObject
*resultobj
;
1830 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1832 PyObject
* obj0
= 0 ;
1834 (char *) "self", NULL
1837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1842 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1844 wxPyEndAllowThreads(__tstate
);
1845 if (PyErr_Occurred()) SWIG_fail
;
1847 resultobj
= SWIG_FromInt((int)result
);
1854 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1855 PyObject
*resultobj
;
1856 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1858 PyObject
* obj0
= 0 ;
1860 (char *) "self", NULL
1863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1868 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1870 wxPyEndAllowThreads(__tstate
);
1871 if (PyErr_Occurred()) SWIG_fail
;
1873 resultobj
= SWIG_FromInt((int)result
);
1880 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1883 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1885 return Py_BuildValue((char *)"");
1887 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1888 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1893 static PyObject
*_wrap_CheckBoxNameStr_get() {
1898 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1900 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1907 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
*resultobj
;
1909 wxWindow
*arg1
= (wxWindow
*) 0 ;
1911 wxString
*arg3
= 0 ;
1912 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1913 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1914 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1915 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1916 long arg6
= (long) 0 ;
1917 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1918 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1919 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1920 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1922 bool temp3
= False
;
1925 bool temp8
= False
;
1926 PyObject
* obj0
= 0 ;
1927 PyObject
* obj1
= 0 ;
1928 PyObject
* obj2
= 0 ;
1929 PyObject
* obj3
= 0 ;
1930 PyObject
* obj4
= 0 ;
1931 PyObject
* obj5
= 0 ;
1932 PyObject
* obj6
= 0 ;
1933 PyObject
* obj7
= 0 ;
1935 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1941 arg2
= (int) SWIG_AsInt(obj1
);
1942 if (PyErr_Occurred()) SWIG_fail
;
1944 arg3
= wxString_in_helper(obj2
);
1945 if (arg3
== NULL
) SWIG_fail
;
1951 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1957 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1961 arg6
= (long) SWIG_AsLong(obj5
);
1962 if (PyErr_Occurred()) SWIG_fail
;
1965 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1969 PyErr_SetString(PyExc_TypeError
,"null reference");
1975 arg8
= wxString_in_helper(obj7
);
1976 if (arg8
== NULL
) SWIG_fail
;
1981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1982 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1984 wxPyEndAllowThreads(__tstate
);
1985 if (PyErr_Occurred()) SWIG_fail
;
1987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2010 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2011 PyObject
*resultobj
;
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2020 result
= (wxCheckBox
*)new wxCheckBox();
2022 wxPyEndAllowThreads(__tstate
);
2023 if (PyErr_Occurred()) SWIG_fail
;
2025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2032 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2033 PyObject
*resultobj
;
2034 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2035 wxWindow
*arg2
= (wxWindow
*) 0 ;
2037 wxString
*arg4
= 0 ;
2038 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2039 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2040 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2041 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2042 long arg7
= (long) 0 ;
2043 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2044 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2045 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2046 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2048 bool temp4
= False
;
2051 bool temp9
= False
;
2052 PyObject
* obj0
= 0 ;
2053 PyObject
* obj1
= 0 ;
2054 PyObject
* obj2
= 0 ;
2055 PyObject
* obj3
= 0 ;
2056 PyObject
* obj4
= 0 ;
2057 PyObject
* obj5
= 0 ;
2058 PyObject
* obj6
= 0 ;
2059 PyObject
* obj7
= 0 ;
2060 PyObject
* obj8
= 0 ;
2062 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2068 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2070 arg3
= (int) SWIG_AsInt(obj2
);
2071 if (PyErr_Occurred()) SWIG_fail
;
2073 arg4
= wxString_in_helper(obj3
);
2074 if (arg4
== NULL
) SWIG_fail
;
2080 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2086 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2090 arg7
= (long) SWIG_AsLong(obj6
);
2091 if (PyErr_Occurred()) SWIG_fail
;
2094 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2095 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2098 PyErr_SetString(PyExc_TypeError
,"null reference");
2104 arg9
= wxString_in_helper(obj8
);
2105 if (arg9
== NULL
) SWIG_fail
;
2110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2111 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2113 wxPyEndAllowThreads(__tstate
);
2114 if (PyErr_Occurred()) SWIG_fail
;
2116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2139 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
*resultobj
;
2141 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2143 PyObject
* obj0
= 0 ;
2145 (char *) "self", NULL
2148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2153 result
= (bool)(arg1
)->GetValue();
2155 wxPyEndAllowThreads(__tstate
);
2156 if (PyErr_Occurred()) SWIG_fail
;
2158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2165 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2166 PyObject
*resultobj
;
2167 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2169 PyObject
* obj0
= 0 ;
2171 (char *) "self", NULL
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2179 result
= (bool)(arg1
)->IsChecked();
2181 wxPyEndAllowThreads(__tstate
);
2182 if (PyErr_Occurred()) SWIG_fail
;
2184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2191 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2192 PyObject
*resultobj
;
2193 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2195 PyObject
* obj0
= 0 ;
2196 PyObject
* obj1
= 0 ;
2198 (char *) "self",(char *) "state", NULL
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2204 arg2
= (bool const) SWIG_AsBool(obj1
);
2205 if (PyErr_Occurred()) SWIG_fail
;
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2208 (arg1
)->SetValue(arg2
);
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) SWIG_fail
;
2213 Py_INCREF(Py_None
); resultobj
= Py_None
;
2220 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
*resultobj
;
2222 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2224 PyObject
* obj0
= 0 ;
2226 (char *) "self", NULL
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2234 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2236 wxPyEndAllowThreads(__tstate
);
2237 if (PyErr_Occurred()) SWIG_fail
;
2239 resultobj
= SWIG_FromInt((int)result
);
2246 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2247 PyObject
*resultobj
;
2248 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2250 PyObject
* obj0
= 0 ;
2251 PyObject
* obj1
= 0 ;
2253 (char *) "self",(char *) "state", NULL
2256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2259 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2260 if (PyErr_Occurred()) SWIG_fail
;
2262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2263 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2265 wxPyEndAllowThreads(__tstate
);
2266 if (PyErr_Occurred()) SWIG_fail
;
2268 Py_INCREF(Py_None
); resultobj
= Py_None
;
2275 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2276 PyObject
*resultobj
;
2277 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2279 PyObject
* obj0
= 0 ;
2281 (char *) "self", NULL
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2289 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2291 wxPyEndAllowThreads(__tstate
);
2292 if (PyErr_Occurred()) SWIG_fail
;
2294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2301 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*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_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2315 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2317 wxPyEndAllowThreads(__tstate
);
2318 if (PyErr_Occurred()) SWIG_fail
;
2320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2327 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2330 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2332 return Py_BuildValue((char *)"");
2334 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2335 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2340 static PyObject
*_wrap_ChoiceNameStr_get() {
2345 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2347 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2354 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2355 PyObject
*resultobj
;
2356 wxWindow
*arg1
= (wxWindow
*) 0 ;
2358 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2359 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2360 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2361 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2362 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2363 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2364 long arg6
= (long) 0 ;
2365 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2366 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2367 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2368 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2372 bool temp5
= False
;
2373 bool temp8
= False
;
2374 PyObject
* obj0
= 0 ;
2375 PyObject
* obj1
= 0 ;
2376 PyObject
* obj2
= 0 ;
2377 PyObject
* obj3
= 0 ;
2378 PyObject
* obj4
= 0 ;
2379 PyObject
* obj5
= 0 ;
2380 PyObject
* obj6
= 0 ;
2381 PyObject
* obj7
= 0 ;
2383 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2389 arg2
= (int) SWIG_AsInt(obj1
);
2390 if (PyErr_Occurred()) SWIG_fail
;
2394 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2400 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2405 if (! PySequence_Check(obj4
)) {
2406 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2409 arg5
= new wxArrayString
;
2411 int i
, len
=PySequence_Length(obj4
);
2412 for (i
=0; i
<len
; i
++) {
2413 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2415 PyObject
* str
= PyObject_Unicode(item
);
2417 PyObject
* str
= PyObject_Str(item
);
2419 arg5
->Add(Py2wxString(str
));
2426 arg6
= (long) SWIG_AsLong(obj5
);
2427 if (PyErr_Occurred()) SWIG_fail
;
2430 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2431 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2434 PyErr_SetString(PyExc_TypeError
,"null reference");
2440 arg8
= wxString_in_helper(obj7
);
2441 if (arg8
== NULL
) SWIG_fail
;
2446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2447 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2449 wxPyEndAllowThreads(__tstate
);
2450 if (PyErr_Occurred()) SWIG_fail
;
2452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2454 if (temp5
) delete arg5
;
2463 if (temp5
) delete arg5
;
2473 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2474 PyObject
*resultobj
;
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2483 result
= (wxChoice
*)new wxChoice();
2485 wxPyEndAllowThreads(__tstate
);
2486 if (PyErr_Occurred()) SWIG_fail
;
2488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2495 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2496 PyObject
*resultobj
;
2497 wxChoice
*arg1
= (wxChoice
*) 0 ;
2498 wxWindow
*arg2
= (wxWindow
*) 0 ;
2500 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2501 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2502 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2503 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2504 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2505 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2506 long arg7
= (long) 0 ;
2507 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2508 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2509 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2510 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2514 bool temp6
= False
;
2515 bool temp9
= False
;
2516 PyObject
* obj0
= 0 ;
2517 PyObject
* obj1
= 0 ;
2518 PyObject
* obj2
= 0 ;
2519 PyObject
* obj3
= 0 ;
2520 PyObject
* obj4
= 0 ;
2521 PyObject
* obj5
= 0 ;
2522 PyObject
* obj6
= 0 ;
2523 PyObject
* obj7
= 0 ;
2524 PyObject
* obj8
= 0 ;
2526 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2532 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2534 arg3
= (int) SWIG_AsInt(obj2
);
2535 if (PyErr_Occurred()) SWIG_fail
;
2539 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2545 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2550 if (! PySequence_Check(obj5
)) {
2551 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2554 arg6
= new wxArrayString
;
2556 int i
, len
=PySequence_Length(obj5
);
2557 for (i
=0; i
<len
; i
++) {
2558 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2560 PyObject
* str
= PyObject_Unicode(item
);
2562 PyObject
* str
= PyObject_Str(item
);
2564 arg6
->Add(Py2wxString(str
));
2571 arg7
= (long) SWIG_AsLong(obj6
);
2572 if (PyErr_Occurred()) SWIG_fail
;
2575 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2576 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2579 PyErr_SetString(PyExc_TypeError
,"null reference");
2585 arg9
= wxString_in_helper(obj8
);
2586 if (arg9
== NULL
) SWIG_fail
;
2591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2592 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2594 wxPyEndAllowThreads(__tstate
);
2595 if (PyErr_Occurred()) SWIG_fail
;
2597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2599 if (temp6
) delete arg6
;
2608 if (temp6
) delete arg6
;
2618 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
*resultobj
;
2620 wxChoice
*arg1
= (wxChoice
*) 0 ;
2622 PyObject
* obj0
= 0 ;
2623 PyObject
* obj1
= 0 ;
2625 (char *) "self",(char *) "n", NULL
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2631 arg2
= (int const) SWIG_AsInt(obj1
);
2632 if (PyErr_Occurred()) SWIG_fail
;
2634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2635 (arg1
)->SetSelection(arg2
);
2637 wxPyEndAllowThreads(__tstate
);
2638 if (PyErr_Occurred()) SWIG_fail
;
2640 Py_INCREF(Py_None
); resultobj
= Py_None
;
2647 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
*resultobj
;
2649 wxChoice
*arg1
= (wxChoice
*) 0 ;
2650 wxString
*arg2
= 0 ;
2651 bool temp2
= False
;
2652 PyObject
* obj0
= 0 ;
2653 PyObject
* obj1
= 0 ;
2655 (char *) "self",(char *) "string", NULL
2658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2662 arg2
= wxString_in_helper(obj1
);
2663 if (arg2
== NULL
) SWIG_fail
;
2667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2668 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2670 wxPyEndAllowThreads(__tstate
);
2671 if (PyErr_Occurred()) SWIG_fail
;
2673 Py_INCREF(Py_None
); resultobj
= Py_None
;
2688 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2689 PyObject
*resultobj
;
2690 wxChoice
*arg1
= (wxChoice
*) 0 ;
2692 wxString
*arg3
= 0 ;
2693 bool temp3
= False
;
2694 PyObject
* obj0
= 0 ;
2695 PyObject
* obj1
= 0 ;
2696 PyObject
* obj2
= 0 ;
2698 (char *) "self",(char *) "n",(char *) "string", NULL
2701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2704 arg2
= (int) SWIG_AsInt(obj1
);
2705 if (PyErr_Occurred()) SWIG_fail
;
2707 arg3
= wxString_in_helper(obj2
);
2708 if (arg3
== NULL
) SWIG_fail
;
2712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2713 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2715 wxPyEndAllowThreads(__tstate
);
2716 if (PyErr_Occurred()) SWIG_fail
;
2718 Py_INCREF(Py_None
); resultobj
= Py_None
;
2733 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2736 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2738 return Py_BuildValue((char *)"");
2740 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2741 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2746 static PyObject
*_wrap_ComboBoxNameStr_get() {
2751 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2753 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2760 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
*resultobj
;
2762 wxWindow
*arg1
= (wxWindow
*) 0 ;
2764 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2765 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2766 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2767 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2768 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2769 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2770 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2771 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2772 long arg7
= (long) 0 ;
2773 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2774 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2775 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2776 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2778 bool temp3
= False
;
2781 bool temp6
= False
;
2782 bool temp9
= False
;
2783 PyObject
* obj0
= 0 ;
2784 PyObject
* obj1
= 0 ;
2785 PyObject
* obj2
= 0 ;
2786 PyObject
* obj3
= 0 ;
2787 PyObject
* obj4
= 0 ;
2788 PyObject
* obj5
= 0 ;
2789 PyObject
* obj6
= 0 ;
2790 PyObject
* obj7
= 0 ;
2791 PyObject
* obj8
= 0 ;
2793 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2799 arg2
= (int) SWIG_AsInt(obj1
);
2800 if (PyErr_Occurred()) SWIG_fail
;
2803 arg3
= wxString_in_helper(obj2
);
2804 if (arg3
== NULL
) SWIG_fail
;
2811 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2817 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2822 if (! PySequence_Check(obj5
)) {
2823 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2826 arg6
= new wxArrayString
;
2828 int i
, len
=PySequence_Length(obj5
);
2829 for (i
=0; i
<len
; i
++) {
2830 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2832 PyObject
* str
= PyObject_Unicode(item
);
2834 PyObject
* str
= PyObject_Str(item
);
2836 arg6
->Add(Py2wxString(str
));
2843 arg7
= (long) SWIG_AsLong(obj6
);
2844 if (PyErr_Occurred()) SWIG_fail
;
2847 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2851 PyErr_SetString(PyExc_TypeError
,"null reference");
2857 arg9
= wxString_in_helper(obj8
);
2858 if (arg9
== NULL
) SWIG_fail
;
2863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2864 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2866 wxPyEndAllowThreads(__tstate
);
2867 if (PyErr_Occurred()) SWIG_fail
;
2869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2875 if (temp6
) delete arg6
;
2888 if (temp6
) delete arg6
;
2898 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
*resultobj
;
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2908 result
= (wxComboBox
*)new wxComboBox();
2910 wxPyEndAllowThreads(__tstate
);
2911 if (PyErr_Occurred()) SWIG_fail
;
2913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2920 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
*resultobj
;
2922 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2923 wxWindow
*arg2
= (wxWindow
*) 0 ;
2925 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2926 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2927 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2928 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2929 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2930 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2931 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2932 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2933 long arg8
= (long) 0 ;
2934 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2935 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2936 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2937 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2939 bool temp4
= False
;
2942 bool temp7
= False
;
2943 bool temp10
= False
;
2944 PyObject
* obj0
= 0 ;
2945 PyObject
* obj1
= 0 ;
2946 PyObject
* obj2
= 0 ;
2947 PyObject
* obj3
= 0 ;
2948 PyObject
* obj4
= 0 ;
2949 PyObject
* obj5
= 0 ;
2950 PyObject
* obj6
= 0 ;
2951 PyObject
* obj7
= 0 ;
2952 PyObject
* obj8
= 0 ;
2953 PyObject
* obj9
= 0 ;
2955 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
2960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2963 arg3
= (int) SWIG_AsInt(obj2
);
2964 if (PyErr_Occurred()) SWIG_fail
;
2967 arg4
= wxString_in_helper(obj3
);
2968 if (arg4
== NULL
) SWIG_fail
;
2975 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2981 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2986 if (! PySequence_Check(obj6
)) {
2987 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2990 arg7
= new wxArrayString
;
2992 int i
, len
=PySequence_Length(obj6
);
2993 for (i
=0; i
<len
; i
++) {
2994 PyObject
* item
= PySequence_GetItem(obj6
, i
);
2996 PyObject
* str
= PyObject_Unicode(item
);
2998 PyObject
* str
= PyObject_Str(item
);
3000 arg7
->Add(Py2wxString(str
));
3007 arg8
= (long) SWIG_AsLong(obj7
);
3008 if (PyErr_Occurred()) SWIG_fail
;
3011 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3012 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3015 PyErr_SetString(PyExc_TypeError
,"null reference");
3021 arg10
= wxString_in_helper(obj9
);
3022 if (arg10
== NULL
) SWIG_fail
;
3027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3028 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
3030 wxPyEndAllowThreads(__tstate
);
3031 if (PyErr_Occurred()) SWIG_fail
;
3033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3039 if (temp7
) delete arg7
;
3052 if (temp7
) delete arg7
;
3062 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
*resultobj
;
3064 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3066 PyObject
* obj0
= 0 ;
3068 (char *) "self", NULL
3071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3076 result
= ((wxComboBox
const *)arg1
)->GetValue();
3078 wxPyEndAllowThreads(__tstate
);
3079 if (PyErr_Occurred()) SWIG_fail
;
3083 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3085 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3094 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3095 PyObject
*resultobj
;
3096 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3097 wxString
*arg2
= 0 ;
3098 bool temp2
= False
;
3099 PyObject
* obj0
= 0 ;
3100 PyObject
* obj1
= 0 ;
3102 (char *) "self",(char *) "value", NULL
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3109 arg2
= wxString_in_helper(obj1
);
3110 if (arg2
== NULL
) SWIG_fail
;
3114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3115 (arg1
)->SetValue((wxString
const &)*arg2
);
3117 wxPyEndAllowThreads(__tstate
);
3118 if (PyErr_Occurred()) SWIG_fail
;
3120 Py_INCREF(Py_None
); resultobj
= Py_None
;
3135 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
*resultobj
;
3137 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3138 PyObject
* obj0
= 0 ;
3140 (char *) "self", NULL
3143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) SWIG_fail
;
3153 Py_INCREF(Py_None
); resultobj
= Py_None
;
3160 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3161 PyObject
*resultobj
;
3162 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3163 PyObject
* obj0
= 0 ;
3165 (char *) "self", NULL
3168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3175 wxPyEndAllowThreads(__tstate
);
3176 if (PyErr_Occurred()) SWIG_fail
;
3178 Py_INCREF(Py_None
); resultobj
= Py_None
;
3185 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
*resultobj
;
3187 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3188 PyObject
* obj0
= 0 ;
3190 (char *) "self", NULL
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3200 wxPyEndAllowThreads(__tstate
);
3201 if (PyErr_Occurred()) SWIG_fail
;
3203 Py_INCREF(Py_None
); resultobj
= Py_None
;
3210 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3211 PyObject
*resultobj
;
3212 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3214 PyObject
* obj0
= 0 ;
3215 PyObject
* obj1
= 0 ;
3217 (char *) "self",(char *) "pos", NULL
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3223 arg2
= (long) SWIG_AsLong(obj1
);
3224 if (PyErr_Occurred()) SWIG_fail
;
3226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3227 (arg1
)->SetInsertionPoint(arg2
);
3229 wxPyEndAllowThreads(__tstate
);
3230 if (PyErr_Occurred()) SWIG_fail
;
3232 Py_INCREF(Py_None
); resultobj
= Py_None
;
3239 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3240 PyObject
*resultobj
;
3241 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3243 PyObject
* obj0
= 0 ;
3245 (char *) "self", NULL
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3253 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3255 wxPyEndAllowThreads(__tstate
);
3256 if (PyErr_Occurred()) SWIG_fail
;
3258 resultobj
= SWIG_FromLong((long)result
);
3265 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
*resultobj
;
3267 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3269 PyObject
* obj0
= 0 ;
3271 (char *) "self", NULL
3274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3279 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3281 wxPyEndAllowThreads(__tstate
);
3282 if (PyErr_Occurred()) SWIG_fail
;
3284 resultobj
= SWIG_FromLong((long)result
);
3291 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3292 PyObject
*resultobj
;
3293 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3296 wxString
*arg4
= 0 ;
3297 bool temp4
= False
;
3298 PyObject
* obj0
= 0 ;
3299 PyObject
* obj1
= 0 ;
3300 PyObject
* obj2
= 0 ;
3301 PyObject
* obj3
= 0 ;
3303 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3309 arg2
= (long) SWIG_AsLong(obj1
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3311 arg3
= (long) SWIG_AsLong(obj2
);
3312 if (PyErr_Occurred()) SWIG_fail
;
3314 arg4
= wxString_in_helper(obj3
);
3315 if (arg4
== NULL
) SWIG_fail
;
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3325 Py_INCREF(Py_None
); resultobj
= Py_None
;
3340 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
*resultobj
;
3342 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3344 PyObject
* obj0
= 0 ;
3345 PyObject
* obj1
= 0 ;
3347 (char *) "self",(char *) "n", NULL
3350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3353 arg2
= (int) SWIG_AsInt(obj1
);
3354 if (PyErr_Occurred()) SWIG_fail
;
3356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3357 (arg1
)->SetSelection(arg2
);
3359 wxPyEndAllowThreads(__tstate
);
3360 if (PyErr_Occurred()) SWIG_fail
;
3362 Py_INCREF(Py_None
); resultobj
= Py_None
;
3369 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
*resultobj
;
3371 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3374 PyObject
* obj0
= 0 ;
3375 PyObject
* obj1
= 0 ;
3376 PyObject
* obj2
= 0 ;
3378 (char *) "self",(char *) "from",(char *) "to", NULL
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3384 arg2
= (long) SWIG_AsLong(obj1
);
3385 if (PyErr_Occurred()) SWIG_fail
;
3386 arg3
= (long) SWIG_AsLong(obj2
);
3387 if (PyErr_Occurred()) SWIG_fail
;
3389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3390 (arg1
)->SetSelection(arg2
,arg3
);
3392 wxPyEndAllowThreads(__tstate
);
3393 if (PyErr_Occurred()) SWIG_fail
;
3395 Py_INCREF(Py_None
); resultobj
= Py_None
;
3402 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
*resultobj
;
3404 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3406 PyObject
* obj0
= 0 ;
3407 PyObject
* obj1
= 0 ;
3409 (char *) "self",(char *) "editable", NULL
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3415 arg2
= (bool) SWIG_AsBool(obj1
);
3416 if (PyErr_Occurred()) SWIG_fail
;
3418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3419 (arg1
)->SetEditable(arg2
);
3421 wxPyEndAllowThreads(__tstate
);
3422 if (PyErr_Occurred()) SWIG_fail
;
3424 Py_INCREF(Py_None
); resultobj
= Py_None
;
3431 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3432 PyObject
*resultobj
;
3433 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3434 PyObject
* obj0
= 0 ;
3436 (char *) "self", NULL
3439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3444 (arg1
)->SetInsertionPointEnd();
3446 wxPyEndAllowThreads(__tstate
);
3447 if (PyErr_Occurred()) SWIG_fail
;
3449 Py_INCREF(Py_None
); resultobj
= Py_None
;
3456 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
*resultobj
;
3458 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3461 PyObject
* obj0
= 0 ;
3462 PyObject
* obj1
= 0 ;
3463 PyObject
* obj2
= 0 ;
3465 (char *) "self",(char *) "from",(char *) "to", NULL
3468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3471 arg2
= (long) SWIG_AsLong(obj1
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3473 arg3
= (long) SWIG_AsLong(obj2
);
3474 if (PyErr_Occurred()) SWIG_fail
;
3476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3477 (arg1
)->Remove(arg2
,arg3
);
3479 wxPyEndAllowThreads(__tstate
);
3480 if (PyErr_Occurred()) SWIG_fail
;
3482 Py_INCREF(Py_None
); resultobj
= Py_None
;
3489 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3491 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3492 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3494 return Py_BuildValue((char *)"");
3496 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3497 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3502 static PyObject
*_wrap_GaugeNameStr_get() {
3507 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3509 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3516 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
*resultobj
;
3518 wxWindow
*arg1
= (wxWindow
*) 0 ;
3521 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3522 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3523 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3524 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3525 long arg6
= (long) wxGA_HORIZONTAL
;
3526 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3527 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3528 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3529 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3533 bool temp8
= False
;
3534 PyObject
* obj0
= 0 ;
3535 PyObject
* obj1
= 0 ;
3536 PyObject
* obj2
= 0 ;
3537 PyObject
* obj3
= 0 ;
3538 PyObject
* obj4
= 0 ;
3539 PyObject
* obj5
= 0 ;
3540 PyObject
* obj6
= 0 ;
3541 PyObject
* obj7
= 0 ;
3543 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3549 arg2
= (int) SWIG_AsInt(obj1
);
3550 if (PyErr_Occurred()) SWIG_fail
;
3551 arg3
= (int) SWIG_AsInt(obj2
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3556 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3562 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3566 arg6
= (long) SWIG_AsLong(obj5
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3570 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3574 PyErr_SetString(PyExc_TypeError
,"null reference");
3580 arg8
= wxString_in_helper(obj7
);
3581 if (arg8
== NULL
) SWIG_fail
;
3586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3587 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3589 wxPyEndAllowThreads(__tstate
);
3590 if (PyErr_Occurred()) SWIG_fail
;
3592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3607 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3608 PyObject
*resultobj
;
3614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 result
= (wxGauge
*)new wxGauge();
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) SWIG_fail
;
3622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3629 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3630 PyObject
*resultobj
;
3631 wxGauge
*arg1
= (wxGauge
*) 0 ;
3632 wxWindow
*arg2
= (wxWindow
*) 0 ;
3635 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3636 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3637 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3638 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3639 long arg7
= (long) wxGA_HORIZONTAL
;
3640 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3641 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3642 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3643 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3647 bool temp9
= False
;
3648 PyObject
* obj0
= 0 ;
3649 PyObject
* obj1
= 0 ;
3650 PyObject
* obj2
= 0 ;
3651 PyObject
* obj3
= 0 ;
3652 PyObject
* obj4
= 0 ;
3653 PyObject
* obj5
= 0 ;
3654 PyObject
* obj6
= 0 ;
3655 PyObject
* obj7
= 0 ;
3656 PyObject
* obj8
= 0 ;
3658 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3666 arg3
= (int) SWIG_AsInt(obj2
);
3667 if (PyErr_Occurred()) SWIG_fail
;
3668 arg4
= (int) SWIG_AsInt(obj3
);
3669 if (PyErr_Occurred()) SWIG_fail
;
3673 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3679 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3683 arg7
= (long) SWIG_AsLong(obj6
);
3684 if (PyErr_Occurred()) SWIG_fail
;
3687 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3688 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3691 PyErr_SetString(PyExc_TypeError
,"null reference");
3697 arg9
= wxString_in_helper(obj8
);
3698 if (arg9
== NULL
) SWIG_fail
;
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3724 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
;
3726 wxGauge
*arg1
= (wxGauge
*) 0 ;
3728 PyObject
* obj0
= 0 ;
3729 PyObject
* obj1
= 0 ;
3731 (char *) "self",(char *) "range", NULL
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3737 arg2
= (int) SWIG_AsInt(obj1
);
3738 if (PyErr_Occurred()) SWIG_fail
;
3740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3741 (arg1
)->SetRange(arg2
);
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3746 Py_INCREF(Py_None
); resultobj
= Py_None
;
3753 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3754 PyObject
*resultobj
;
3755 wxGauge
*arg1
= (wxGauge
*) 0 ;
3757 PyObject
* obj0
= 0 ;
3759 (char *) "self", NULL
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3767 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3769 wxPyEndAllowThreads(__tstate
);
3770 if (PyErr_Occurred()) SWIG_fail
;
3772 resultobj
= SWIG_FromInt((int)result
);
3779 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
*resultobj
;
3781 wxGauge
*arg1
= (wxGauge
*) 0 ;
3783 PyObject
* obj0
= 0 ;
3784 PyObject
* obj1
= 0 ;
3786 (char *) "self",(char *) "pos", NULL
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3792 arg2
= (int) SWIG_AsInt(obj1
);
3793 if (PyErr_Occurred()) SWIG_fail
;
3795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3796 (arg1
)->SetValue(arg2
);
3798 wxPyEndAllowThreads(__tstate
);
3799 if (PyErr_Occurred()) SWIG_fail
;
3801 Py_INCREF(Py_None
); resultobj
= Py_None
;
3808 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3809 PyObject
*resultobj
;
3810 wxGauge
*arg1
= (wxGauge
*) 0 ;
3812 PyObject
* obj0
= 0 ;
3814 (char *) "self", NULL
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) SWIG_fail
;
3827 resultobj
= SWIG_FromInt((int)result
);
3834 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3835 PyObject
*resultobj
;
3836 wxGauge
*arg1
= (wxGauge
*) 0 ;
3838 PyObject
* obj0
= 0 ;
3840 (char *) "self", NULL
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) SWIG_fail
;
3853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3860 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
*resultobj
;
3862 wxGauge
*arg1
= (wxGauge
*) 0 ;
3864 PyObject
* obj0
= 0 ;
3865 PyObject
* obj1
= 0 ;
3867 (char *) "self",(char *) "w", NULL
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3873 arg2
= (int) SWIG_AsInt(obj1
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3877 (arg1
)->SetShadowWidth(arg2
);
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3882 Py_INCREF(Py_None
); resultobj
= Py_None
;
3889 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
*resultobj
;
3891 wxGauge
*arg1
= (wxGauge
*) 0 ;
3893 PyObject
* obj0
= 0 ;
3895 (char *) "self", NULL
3898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3903 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3905 wxPyEndAllowThreads(__tstate
);
3906 if (PyErr_Occurred()) SWIG_fail
;
3908 resultobj
= SWIG_FromInt((int)result
);
3915 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
*resultobj
;
3917 wxGauge
*arg1
= (wxGauge
*) 0 ;
3919 PyObject
* obj0
= 0 ;
3920 PyObject
* obj1
= 0 ;
3922 (char *) "self",(char *) "w", NULL
3925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3928 arg2
= (int) SWIG_AsInt(obj1
);
3929 if (PyErr_Occurred()) SWIG_fail
;
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 (arg1
)->SetBezelFace(arg2
);
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3937 Py_INCREF(Py_None
); resultobj
= Py_None
;
3944 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3945 PyObject
*resultobj
;
3946 wxGauge
*arg1
= (wxGauge
*) 0 ;
3948 PyObject
* obj0
= 0 ;
3950 (char *) "self", NULL
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3958 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3960 wxPyEndAllowThreads(__tstate
);
3961 if (PyErr_Occurred()) SWIG_fail
;
3963 resultobj
= SWIG_FromInt((int)result
);
3970 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3973 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3975 return Py_BuildValue((char *)"");
3977 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
3978 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
3983 static PyObject
*_wrap_StaticBitmapNameStr_get() {
3988 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3990 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3997 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
3998 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4003 static PyObject
*_wrap_StaticBoxNameStr_get() {
4008 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4010 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4017 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4018 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4023 static PyObject
*_wrap_StaticTextNameStr_get() {
4028 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4030 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4037 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4038 PyObject
*resultobj
;
4039 wxWindow
*arg1
= (wxWindow
*) 0 ;
4041 wxString
*arg3
= 0 ;
4042 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4043 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4044 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4045 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4046 long arg6
= (long) 0 ;
4047 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4048 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4049 wxStaticBox
*result
;
4050 bool temp3
= False
;
4053 bool temp7
= False
;
4054 PyObject
* obj0
= 0 ;
4055 PyObject
* obj1
= 0 ;
4056 PyObject
* obj2
= 0 ;
4057 PyObject
* obj3
= 0 ;
4058 PyObject
* obj4
= 0 ;
4059 PyObject
* obj5
= 0 ;
4060 PyObject
* obj6
= 0 ;
4062 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4068 arg2
= (int) SWIG_AsInt(obj1
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 arg3
= wxString_in_helper(obj2
);
4072 if (arg3
== NULL
) SWIG_fail
;
4078 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4084 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4088 arg6
= (long) SWIG_AsLong(obj5
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4093 arg7
= wxString_in_helper(obj6
);
4094 if (arg7
== NULL
) SWIG_fail
;
4099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4100 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4102 wxPyEndAllowThreads(__tstate
);
4103 if (PyErr_Occurred()) SWIG_fail
;
4106 resultobj
= wxPyMake_wxObject(result
);
4130 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
*resultobj
;
4132 wxStaticBox
*result
;
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4140 result
= (wxStaticBox
*)new wxStaticBox();
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= wxPyMake_wxObject(result
);
4154 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
*resultobj
;
4156 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4157 wxWindow
*arg2
= (wxWindow
*) 0 ;
4159 wxString
*arg4
= 0 ;
4160 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4161 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4162 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4163 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4164 long arg7
= (long) 0 ;
4165 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4166 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4168 bool temp4
= False
;
4171 bool temp8
= False
;
4172 PyObject
* obj0
= 0 ;
4173 PyObject
* obj1
= 0 ;
4174 PyObject
* obj2
= 0 ;
4175 PyObject
* obj3
= 0 ;
4176 PyObject
* obj4
= 0 ;
4177 PyObject
* obj5
= 0 ;
4178 PyObject
* obj6
= 0 ;
4179 PyObject
* obj7
= 0 ;
4181 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4189 arg3
= (int) SWIG_AsInt(obj2
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 arg4
= wxString_in_helper(obj3
);
4193 if (arg4
== NULL
) SWIG_fail
;
4199 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4205 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4209 arg7
= (long) SWIG_AsLong(obj6
);
4210 if (PyErr_Occurred()) SWIG_fail
;
4214 arg8
= wxString_in_helper(obj7
);
4215 if (arg8
== NULL
) SWIG_fail
;
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4223 wxPyEndAllowThreads(__tstate
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4249 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4252 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4254 return Py_BuildValue((char *)"");
4256 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
*resultobj
;
4258 wxWindow
*arg1
= (wxWindow
*) 0 ;
4260 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4261 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4262 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4263 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4264 long arg5
= (long) wxLI_HORIZONTAL
;
4265 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4266 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4267 wxStaticLine
*result
;
4270 bool temp6
= False
;
4271 PyObject
* obj0
= 0 ;
4272 PyObject
* obj1
= 0 ;
4273 PyObject
* obj2
= 0 ;
4274 PyObject
* obj3
= 0 ;
4275 PyObject
* obj4
= 0 ;
4276 PyObject
* obj5
= 0 ;
4278 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4284 arg2
= (int) SWIG_AsInt(obj1
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4289 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4295 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4299 arg5
= (long) SWIG_AsLong(obj4
);
4300 if (PyErr_Occurred()) SWIG_fail
;
4304 arg6
= wxString_in_helper(obj5
);
4305 if (arg6
== NULL
) SWIG_fail
;
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4331 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4332 PyObject
*resultobj
;
4333 wxStaticLine
*result
;
4338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 result
= (wxStaticLine
*)new wxStaticLine();
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4353 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
*resultobj
;
4355 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4356 wxWindow
*arg2
= (wxWindow
*) 0 ;
4358 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4359 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4360 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4361 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4362 long arg6
= (long) wxLI_HORIZONTAL
;
4363 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4364 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4368 bool temp7
= False
;
4369 PyObject
* obj0
= 0 ;
4370 PyObject
* obj1
= 0 ;
4371 PyObject
* obj2
= 0 ;
4372 PyObject
* obj3
= 0 ;
4373 PyObject
* obj4
= 0 ;
4374 PyObject
* obj5
= 0 ;
4375 PyObject
* obj6
= 0 ;
4377 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4385 arg3
= (int) SWIG_AsInt(obj2
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4390 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4396 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4400 arg6
= (long) SWIG_AsLong(obj5
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4405 arg7
= wxString_in_helper(obj6
);
4406 if (arg7
== NULL
) SWIG_fail
;
4411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4412 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4414 wxPyEndAllowThreads(__tstate
);
4415 if (PyErr_Occurred()) SWIG_fail
;
4417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4432 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
*resultobj
;
4434 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4436 PyObject
* obj0
= 0 ;
4438 (char *) "self", NULL
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4458 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
*resultobj
;
4465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 result
= (int)wxStaticLine::GetDefaultSize();
4470 wxPyEndAllowThreads(__tstate
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4473 resultobj
= SWIG_FromInt((int)result
);
4480 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4483 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4485 return Py_BuildValue((char *)"");
4487 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
*resultobj
;
4489 wxWindow
*arg1
= (wxWindow
*) 0 ;
4491 wxString
*arg3
= 0 ;
4492 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4493 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4494 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4495 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4496 long arg6
= (long) 0 ;
4497 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4498 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4499 wxStaticText
*result
;
4500 bool temp3
= False
;
4503 bool temp7
= False
;
4504 PyObject
* obj0
= 0 ;
4505 PyObject
* obj1
= 0 ;
4506 PyObject
* obj2
= 0 ;
4507 PyObject
* obj3
= 0 ;
4508 PyObject
* obj4
= 0 ;
4509 PyObject
* obj5
= 0 ;
4510 PyObject
* obj6
= 0 ;
4512 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4518 arg2
= (int) SWIG_AsInt(obj1
);
4519 if (PyErr_Occurred()) SWIG_fail
;
4521 arg3
= wxString_in_helper(obj2
);
4522 if (arg3
== NULL
) SWIG_fail
;
4528 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4534 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4538 arg6
= (long) SWIG_AsLong(obj5
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4543 arg7
= wxString_in_helper(obj6
);
4544 if (arg7
== NULL
) SWIG_fail
;
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4578 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
*resultobj
;
4580 wxStaticText
*result
;
4585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 result
= (wxStaticText
*)new wxStaticText();
4590 wxPyEndAllowThreads(__tstate
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4600 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
*resultobj
;
4602 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4603 wxWindow
*arg2
= (wxWindow
*) 0 ;
4605 wxString
*arg4
= 0 ;
4606 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4607 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4608 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4609 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4610 long arg7
= (long) 0 ;
4611 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4612 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4614 bool temp4
= False
;
4617 bool temp8
= False
;
4618 PyObject
* obj0
= 0 ;
4619 PyObject
* obj1
= 0 ;
4620 PyObject
* obj2
= 0 ;
4621 PyObject
* obj3
= 0 ;
4622 PyObject
* obj4
= 0 ;
4623 PyObject
* obj5
= 0 ;
4624 PyObject
* obj6
= 0 ;
4625 PyObject
* obj7
= 0 ;
4627 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
4632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4635 arg3
= (int) SWIG_AsInt(obj2
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4638 arg4
= wxString_in_helper(obj3
);
4639 if (arg4
== NULL
) SWIG_fail
;
4645 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4651 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4655 arg7
= (long) SWIG_AsLong(obj6
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4660 arg8
= wxString_in_helper(obj7
);
4661 if (arg8
== NULL
) SWIG_fail
;
4666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4667 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4669 wxPyEndAllowThreads(__tstate
);
4670 if (PyErr_Occurred()) SWIG_fail
;
4672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4695 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4698 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4700 return Py_BuildValue((char *)"");
4702 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
*resultobj
;
4704 wxWindow
*arg1
= (wxWindow
*) 0 ;
4706 wxBitmap
*arg3
= 0 ;
4707 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4708 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4709 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4710 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4711 long arg6
= (long) 0 ;
4712 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4713 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4714 wxStaticBitmap
*result
;
4717 bool temp7
= False
;
4718 PyObject
* obj0
= 0 ;
4719 PyObject
* obj1
= 0 ;
4720 PyObject
* obj2
= 0 ;
4721 PyObject
* obj3
= 0 ;
4722 PyObject
* obj4
= 0 ;
4723 PyObject
* obj5
= 0 ;
4724 PyObject
* obj6
= 0 ;
4726 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4732 arg2
= (int) SWIG_AsInt(obj1
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4734 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
4735 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4738 PyErr_SetString(PyExc_TypeError
,"null reference");
4744 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4750 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4754 arg6
= (long) SWIG_AsLong(obj5
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4759 arg7
= wxString_in_helper(obj6
);
4760 if (arg7
== NULL
) SWIG_fail
;
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4768 wxPyEndAllowThreads(__tstate
);
4769 if (PyErr_Occurred()) SWIG_fail
;
4771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4786 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4787 PyObject
*resultobj
;
4788 wxStaticBitmap
*result
;
4793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4796 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4808 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4809 PyObject
*resultobj
;
4810 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4811 wxWindow
*arg2
= (wxWindow
*) 0 ;
4813 wxBitmap
*arg4
= 0 ;
4814 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4815 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4816 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4817 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4818 long arg7
= (long) 0 ;
4819 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4820 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4824 bool temp8
= False
;
4825 PyObject
* obj0
= 0 ;
4826 PyObject
* obj1
= 0 ;
4827 PyObject
* obj2
= 0 ;
4828 PyObject
* obj3
= 0 ;
4829 PyObject
* obj4
= 0 ;
4830 PyObject
* obj5
= 0 ;
4831 PyObject
* obj6
= 0 ;
4832 PyObject
* obj7
= 0 ;
4834 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4842 arg3
= (int) SWIG_AsInt(obj2
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4844 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
4845 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4848 PyErr_SetString(PyExc_TypeError
,"null reference");
4854 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4860 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4864 arg7
= (long) SWIG_AsLong(obj6
);
4865 if (PyErr_Occurred()) SWIG_fail
;
4869 arg8
= wxString_in_helper(obj7
);
4870 if (arg8
== NULL
) SWIG_fail
;
4875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4876 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4878 wxPyEndAllowThreads(__tstate
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4896 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
*resultobj
;
4898 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4900 PyObject
* obj0
= 0 ;
4902 (char *) "self", NULL
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 result
= (arg1
)->GetBitmap();
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4916 wxBitmap
* resultptr
;
4917 resultptr
= new wxBitmap((wxBitmap
&) result
);
4918 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4926 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
*resultobj
;
4928 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4929 wxBitmap
*arg2
= 0 ;
4930 PyObject
* obj0
= 0 ;
4931 PyObject
* obj1
= 0 ;
4933 (char *) "self",(char *) "bitmap", NULL
4936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4940 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4943 PyErr_SetString(PyExc_TypeError
,"null reference");
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 Py_INCREF(Py_None
); resultobj
= Py_None
;
4960 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
*resultobj
;
4962 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4964 PyObject
* obj0
= 0 ;
4965 PyObject
* obj1
= 0 ;
4967 (char *) "self",(char *) "icon", NULL
4970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4974 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4977 PyErr_SetString(PyExc_TypeError
,"null reference");
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4987 Py_INCREF(Py_None
); resultobj
= Py_None
;
4994 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4997 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4999 return Py_BuildValue((char *)"");
5001 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5002 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5007 static PyObject
*_wrap_ListBoxNameStr_get() {
5012 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5014 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5021 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
;
5023 wxWindow
*arg1
= (wxWindow
*) 0 ;
5025 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5026 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5027 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5028 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5029 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5030 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5031 long arg6
= (long) 0 ;
5032 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5033 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5034 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5035 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5039 bool temp5
= False
;
5040 bool temp8
= False
;
5041 PyObject
* obj0
= 0 ;
5042 PyObject
* obj1
= 0 ;
5043 PyObject
* obj2
= 0 ;
5044 PyObject
* obj3
= 0 ;
5045 PyObject
* obj4
= 0 ;
5046 PyObject
* obj5
= 0 ;
5047 PyObject
* obj6
= 0 ;
5048 PyObject
* obj7
= 0 ;
5050 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5056 arg2
= (int) SWIG_AsInt(obj1
);
5057 if (PyErr_Occurred()) SWIG_fail
;
5061 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5067 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5072 if (! PySequence_Check(obj4
)) {
5073 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5076 arg5
= new wxArrayString
;
5078 int i
, len
=PySequence_Length(obj4
);
5079 for (i
=0; i
<len
; i
++) {
5080 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5082 PyObject
* str
= PyObject_Unicode(item
);
5084 PyObject
* str
= PyObject_Str(item
);
5086 arg5
->Add(Py2wxString(str
));
5093 arg6
= (long) SWIG_AsLong(obj5
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5097 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5098 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5101 PyErr_SetString(PyExc_TypeError
,"null reference");
5107 arg8
= wxString_in_helper(obj7
);
5108 if (arg8
== NULL
) SWIG_fail
;
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5121 if (temp5
) delete arg5
;
5130 if (temp5
) delete arg5
;
5140 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5141 PyObject
*resultobj
;
5147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5150 result
= (wxListBox
*)new wxListBox();
5152 wxPyEndAllowThreads(__tstate
);
5153 if (PyErr_Occurred()) SWIG_fail
;
5155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5162 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5163 PyObject
*resultobj
;
5164 wxListBox
*arg1
= (wxListBox
*) 0 ;
5165 wxWindow
*arg2
= (wxWindow
*) 0 ;
5167 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5168 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5169 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5170 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5171 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5172 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5173 long arg7
= (long) 0 ;
5174 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5175 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5176 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5177 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5181 bool temp6
= False
;
5182 bool temp9
= False
;
5183 PyObject
* obj0
= 0 ;
5184 PyObject
* obj1
= 0 ;
5185 PyObject
* obj2
= 0 ;
5186 PyObject
* obj3
= 0 ;
5187 PyObject
* obj4
= 0 ;
5188 PyObject
* obj5
= 0 ;
5189 PyObject
* obj6
= 0 ;
5190 PyObject
* obj7
= 0 ;
5191 PyObject
* obj8
= 0 ;
5193 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5201 arg3
= (int) SWIG_AsInt(obj2
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5206 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5212 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5217 if (! PySequence_Check(obj5
)) {
5218 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5221 arg6
= new wxArrayString
;
5223 int i
, len
=PySequence_Length(obj5
);
5224 for (i
=0; i
<len
; i
++) {
5225 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5227 PyObject
* str
= PyObject_Unicode(item
);
5229 PyObject
* str
= PyObject_Str(item
);
5231 arg6
->Add(Py2wxString(str
));
5238 arg7
= (long) SWIG_AsLong(obj6
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5242 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5243 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5246 PyErr_SetString(PyExc_TypeError
,"null reference");
5252 arg9
= wxString_in_helper(obj8
);
5253 if (arg9
== NULL
) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5266 if (temp6
) delete arg6
;
5275 if (temp6
) delete arg6
;
5285 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
*resultobj
;
5287 wxListBox
*arg1
= (wxListBox
*) 0 ;
5288 wxString
*arg2
= 0 ;
5290 PyObject
*arg4
= (PyObject
*) NULL
;
5291 bool temp2
= False
;
5292 PyObject
* obj0
= 0 ;
5293 PyObject
* obj1
= 0 ;
5294 PyObject
* obj2
= 0 ;
5295 PyObject
* obj3
= 0 ;
5297 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5304 arg2
= wxString_in_helper(obj1
);
5305 if (arg2
== NULL
) SWIG_fail
;
5308 arg3
= (int) SWIG_AsInt(obj2
);
5309 if (PyErr_Occurred()) SWIG_fail
;
5314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5315 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5317 wxPyEndAllowThreads(__tstate
);
5318 if (PyErr_Occurred()) SWIG_fail
;
5320 Py_INCREF(Py_None
); resultobj
= Py_None
;
5335 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
*resultobj
;
5337 wxListBox
*arg1
= (wxListBox
*) 0 ;
5338 wxArrayString
*arg2
= 0 ;
5340 bool temp2
= False
;
5341 PyObject
* obj0
= 0 ;
5342 PyObject
* obj1
= 0 ;
5343 PyObject
* obj2
= 0 ;
5345 (char *) "self",(char *) "items",(char *) "pos", NULL
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5352 if (! PySequence_Check(obj1
)) {
5353 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5356 arg2
= new wxArrayString
;
5358 int i
, len
=PySequence_Length(obj1
);
5359 for (i
=0; i
<len
; i
++) {
5360 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5362 PyObject
* str
= PyObject_Unicode(item
);
5364 PyObject
* str
= PyObject_Str(item
);
5366 arg2
->Add(Py2wxString(str
));
5371 arg3
= (int) SWIG_AsInt(obj2
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5375 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5377 wxPyEndAllowThreads(__tstate
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5380 Py_INCREF(Py_None
); resultobj
= Py_None
;
5382 if (temp2
) delete arg2
;
5387 if (temp2
) delete arg2
;
5393 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
*resultobj
;
5395 wxListBox
*arg1
= (wxListBox
*) 0 ;
5396 wxArrayString
*arg2
= 0 ;
5397 bool temp2
= False
;
5398 PyObject
* obj0
= 0 ;
5399 PyObject
* obj1
= 0 ;
5401 (char *) "self",(char *) "items", NULL
5404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5408 if (! PySequence_Check(obj1
)) {
5409 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5412 arg2
= new wxArrayString
;
5414 int i
, len
=PySequence_Length(obj1
);
5415 for (i
=0; i
<len
; i
++) {
5416 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5418 PyObject
* str
= PyObject_Unicode(item
);
5420 PyObject
* str
= PyObject_Str(item
);
5422 arg2
->Add(Py2wxString(str
));
5428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5429 (arg1
)->Set((wxArrayString
const &)*arg2
);
5431 wxPyEndAllowThreads(__tstate
);
5432 if (PyErr_Occurred()) SWIG_fail
;
5434 Py_INCREF(Py_None
); resultobj
= Py_None
;
5436 if (temp2
) delete arg2
;
5441 if (temp2
) delete arg2
;
5447 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5448 PyObject
*resultobj
;
5449 wxListBox
*arg1
= (wxListBox
*) 0 ;
5452 PyObject
* obj0
= 0 ;
5453 PyObject
* obj1
= 0 ;
5455 (char *) "self",(char *) "n", NULL
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5461 arg2
= (int) SWIG_AsInt(obj1
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5477 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
*resultobj
;
5479 wxListBox
*arg1
= (wxListBox
*) 0 ;
5481 bool arg3
= (bool) True
;
5482 PyObject
* obj0
= 0 ;
5483 PyObject
* obj1
= 0 ;
5484 PyObject
* obj2
= 0 ;
5486 (char *) "self",(char *) "n",(char *) "select", NULL
5489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5492 arg2
= (int) SWIG_AsInt(obj1
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5495 arg3
= (bool) SWIG_AsBool(obj2
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5500 (arg1
)->SetSelection(arg2
,arg3
);
5502 wxPyEndAllowThreads(__tstate
);
5503 if (PyErr_Occurred()) SWIG_fail
;
5505 Py_INCREF(Py_None
); resultobj
= Py_None
;
5512 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5513 PyObject
*resultobj
;
5514 wxListBox
*arg1
= (wxListBox
*) 0 ;
5516 PyObject
* obj0
= 0 ;
5517 PyObject
* obj1
= 0 ;
5519 (char *) "self",(char *) "n", NULL
5522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5525 arg2
= (int) SWIG_AsInt(obj1
);
5526 if (PyErr_Occurred()) SWIG_fail
;
5528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5529 (arg1
)->Select(arg2
);
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5534 Py_INCREF(Py_None
); resultobj
= Py_None
;
5541 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
*resultobj
;
5543 wxListBox
*arg1
= (wxListBox
*) 0 ;
5545 PyObject
* obj0
= 0 ;
5546 PyObject
* obj1
= 0 ;
5548 (char *) "self",(char *) "n", NULL
5551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5554 arg2
= (int) SWIG_AsInt(obj1
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 (arg1
)->Deselect(arg2
);
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5563 Py_INCREF(Py_None
); resultobj
= Py_None
;
5570 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
*resultobj
;
5572 wxListBox
*arg1
= (wxListBox
*) 0 ;
5573 int arg2
= (int) -1 ;
5574 PyObject
* obj0
= 0 ;
5575 PyObject
* obj1
= 0 ;
5577 (char *) "self",(char *) "itemToLeaveSelected", NULL
5580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5584 arg2
= (int) SWIG_AsInt(obj1
);
5585 if (PyErr_Occurred()) SWIG_fail
;
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 (arg1
)->DeselectAll(arg2
);
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5594 Py_INCREF(Py_None
); resultobj
= Py_None
;
5601 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5602 PyObject
*resultobj
;
5603 wxListBox
*arg1
= (wxListBox
*) 0 ;
5604 wxString
*arg2
= 0 ;
5605 bool arg3
= (bool) True
;
5607 bool temp2
= False
;
5608 PyObject
* obj0
= 0 ;
5609 PyObject
* obj1
= 0 ;
5610 PyObject
* obj2
= 0 ;
5612 (char *) "self",(char *) "s",(char *) "select", NULL
5615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5619 arg2
= wxString_in_helper(obj1
);
5620 if (arg2
== NULL
) SWIG_fail
;
5624 arg3
= (bool) SWIG_AsBool(obj2
);
5625 if (PyErr_Occurred()) SWIG_fail
;
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5649 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5650 PyObject
*resultobj
;
5651 wxListBox
*arg1
= (wxListBox
*) 0 ;
5653 PyObject
* obj0
= 0 ;
5655 (char *) "self", NULL
5658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5675 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5676 PyObject
*resultobj
;
5677 wxListBox
*arg1
= (wxListBox
*) 0 ;
5679 PyObject
* obj0
= 0 ;
5680 PyObject
* obj1
= 0 ;
5682 (char *) "self",(char *) "n", NULL
5685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5688 arg2
= (int) SWIG_AsInt(obj1
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5692 (arg1
)->SetFirstItem(arg2
);
5694 wxPyEndAllowThreads(__tstate
);
5695 if (PyErr_Occurred()) SWIG_fail
;
5697 Py_INCREF(Py_None
); resultobj
= Py_None
;
5704 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5705 PyObject
*resultobj
;
5706 wxListBox
*arg1
= (wxListBox
*) 0 ;
5707 wxString
*arg2
= 0 ;
5708 bool temp2
= False
;
5709 PyObject
* obj0
= 0 ;
5710 PyObject
* obj1
= 0 ;
5712 (char *) "self",(char *) "s", NULL
5715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5719 arg2
= wxString_in_helper(obj1
);
5720 if (arg2
== NULL
) SWIG_fail
;
5724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5725 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5727 wxPyEndAllowThreads(__tstate
);
5728 if (PyErr_Occurred()) SWIG_fail
;
5730 Py_INCREF(Py_None
); resultobj
= Py_None
;
5745 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxListBox
*arg1
= (wxListBox
*) 0 ;
5749 PyObject
* obj0
= 0 ;
5750 PyObject
* obj1
= 0 ;
5752 (char *) "self",(char *) "n", NULL
5755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5758 arg2
= (int) SWIG_AsInt(obj1
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5762 (arg1
)->EnsureVisible(arg2
);
5764 wxPyEndAllowThreads(__tstate
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5767 Py_INCREF(Py_None
); resultobj
= Py_None
;
5774 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
*resultobj
;
5776 wxListBox
*arg1
= (wxListBox
*) 0 ;
5777 wxString
*arg2
= 0 ;
5778 bool temp2
= False
;
5779 PyObject
* obj0
= 0 ;
5780 PyObject
* obj1
= 0 ;
5782 (char *) "self",(char *) "s", NULL
5785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5789 arg2
= wxString_in_helper(obj1
);
5790 if (arg2
== NULL
) SWIG_fail
;
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5800 Py_INCREF(Py_None
); resultobj
= Py_None
;
5815 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
*resultobj
;
5817 wxListBox
*arg1
= (wxListBox
*) 0 ;
5819 PyObject
* obj0
= 0 ;
5821 (char *) "self", NULL
5824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5841 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
*resultobj
;
5843 wxListBox
*arg1
= (wxListBox
*) 0 ;
5845 wxColour
*arg3
= 0 ;
5847 PyObject
* obj0
= 0 ;
5848 PyObject
* obj1
= 0 ;
5849 PyObject
* obj2
= 0 ;
5851 (char *) "self",(char *) "item",(char *) "c", NULL
5854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5857 arg2
= (int) SWIG_AsInt(obj1
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5861 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5865 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5867 wxPyEndAllowThreads(__tstate
);
5868 if (PyErr_Occurred()) SWIG_fail
;
5870 Py_INCREF(Py_None
); resultobj
= Py_None
;
5877 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5878 PyObject
*resultobj
;
5879 wxListBox
*arg1
= (wxListBox
*) 0 ;
5881 wxColour
*arg3
= 0 ;
5883 PyObject
* obj0
= 0 ;
5884 PyObject
* obj1
= 0 ;
5885 PyObject
* obj2
= 0 ;
5887 (char *) "self",(char *) "item",(char *) "c", NULL
5890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5893 arg2
= (int) SWIG_AsInt(obj1
);
5894 if (PyErr_Occurred()) SWIG_fail
;
5897 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5901 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5903 wxPyEndAllowThreads(__tstate
);
5904 if (PyErr_Occurred()) SWIG_fail
;
5906 Py_INCREF(Py_None
); resultobj
= Py_None
;
5913 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5914 PyObject
*resultobj
;
5915 wxListBox
*arg1
= (wxListBox
*) 0 ;
5918 PyObject
* obj0
= 0 ;
5919 PyObject
* obj1
= 0 ;
5920 PyObject
* obj2
= 0 ;
5922 (char *) "self",(char *) "item",(char *) "f", NULL
5925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5928 arg2
= (int) SWIG_AsInt(obj1
);
5929 if (PyErr_Occurred()) SWIG_fail
;
5930 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
5931 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5934 PyErr_SetString(PyExc_TypeError
,"null reference");
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5939 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5944 Py_INCREF(Py_None
); resultobj
= Py_None
;
5951 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5954 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5956 return Py_BuildValue((char *)"");
5958 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
*resultobj
;
5960 wxWindow
*arg1
= (wxWindow
*) 0 ;
5962 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5963 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5964 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5965 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5966 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5967 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5968 long arg6
= (long) 0 ;
5969 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5970 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5971 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5972 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5973 wxCheckListBox
*result
;
5976 bool temp5
= False
;
5977 bool temp8
= False
;
5978 PyObject
* obj0
= 0 ;
5979 PyObject
* obj1
= 0 ;
5980 PyObject
* obj2
= 0 ;
5981 PyObject
* obj3
= 0 ;
5982 PyObject
* obj4
= 0 ;
5983 PyObject
* obj5
= 0 ;
5984 PyObject
* obj6
= 0 ;
5985 PyObject
* obj7
= 0 ;
5987 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5993 arg2
= (int) SWIG_AsInt(obj1
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5998 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6004 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6009 if (! PySequence_Check(obj4
)) {
6010 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6013 arg5
= new wxArrayString
;
6015 int i
, len
=PySequence_Length(obj4
);
6016 for (i
=0; i
<len
; i
++) {
6017 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6019 PyObject
* str
= PyObject_Unicode(item
);
6021 PyObject
* str
= PyObject_Str(item
);
6023 arg5
->Add(Py2wxString(str
));
6030 arg6
= (long) SWIG_AsLong(obj5
);
6031 if (PyErr_Occurred()) SWIG_fail
;
6034 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6035 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6038 PyErr_SetString(PyExc_TypeError
,"null reference");
6044 arg8
= wxString_in_helper(obj7
);
6045 if (arg8
== NULL
) SWIG_fail
;
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6058 if (temp5
) delete arg5
;
6067 if (temp5
) delete arg5
;
6077 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6078 PyObject
*resultobj
;
6079 wxCheckListBox
*result
;
6084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 result
= (wxCheckListBox
*)new wxCheckListBox();
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6099 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6100 PyObject
*resultobj
;
6101 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6102 wxWindow
*arg2
= (wxWindow
*) 0 ;
6104 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6105 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6106 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6107 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6108 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6109 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6110 long arg7
= (long) 0 ;
6111 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6112 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6113 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6114 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6118 bool temp6
= False
;
6119 bool temp9
= False
;
6120 PyObject
* obj0
= 0 ;
6121 PyObject
* obj1
= 0 ;
6122 PyObject
* obj2
= 0 ;
6123 PyObject
* obj3
= 0 ;
6124 PyObject
* obj4
= 0 ;
6125 PyObject
* obj5
= 0 ;
6126 PyObject
* obj6
= 0 ;
6127 PyObject
* obj7
= 0 ;
6128 PyObject
* obj8
= 0 ;
6130 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6138 arg3
= (int) SWIG_AsInt(obj2
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6143 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6149 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6154 if (! PySequence_Check(obj5
)) {
6155 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6158 arg6
= new wxArrayString
;
6160 int i
, len
=PySequence_Length(obj5
);
6161 for (i
=0; i
<len
; i
++) {
6162 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6164 PyObject
* str
= PyObject_Unicode(item
);
6166 PyObject
* str
= PyObject_Str(item
);
6168 arg6
->Add(Py2wxString(str
));
6175 arg7
= (long) SWIG_AsLong(obj6
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6179 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6180 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6183 PyErr_SetString(PyExc_TypeError
,"null reference");
6189 arg9
= wxString_in_helper(obj8
);
6190 if (arg9
== NULL
) SWIG_fail
;
6195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6196 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6198 wxPyEndAllowThreads(__tstate
);
6199 if (PyErr_Occurred()) SWIG_fail
;
6201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6203 if (temp6
) delete arg6
;
6212 if (temp6
) delete arg6
;
6222 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
*resultobj
;
6224 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6227 PyObject
* obj0
= 0 ;
6228 PyObject
* obj1
= 0 ;
6230 (char *) "self",(char *) "index", NULL
6233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6236 arg2
= (int) SWIG_AsInt(obj1
);
6237 if (PyErr_Occurred()) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 result
= (bool)(arg1
)->IsChecked(arg2
);
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6252 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
*resultobj
;
6254 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6256 int arg3
= (int) True
;
6257 PyObject
* obj0
= 0 ;
6258 PyObject
* obj1
= 0 ;
6259 PyObject
* obj2
= 0 ;
6261 (char *) "self",(char *) "index",(char *) "check", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6267 arg2
= (int) SWIG_AsInt(obj1
);
6268 if (PyErr_Occurred()) SWIG_fail
;
6270 arg3
= (int) SWIG_AsInt(obj2
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6275 (arg1
)->Check(arg2
,arg3
);
6277 wxPyEndAllowThreads(__tstate
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6280 Py_INCREF(Py_None
); resultobj
= Py_None
;
6287 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
*resultobj
;
6289 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6291 PyObject
* obj0
= 0 ;
6293 (char *) "self", NULL
6296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6301 result
= (int)(arg1
)->GetItemHeight();
6303 wxPyEndAllowThreads(__tstate
);
6304 if (PyErr_Occurred()) SWIG_fail
;
6306 resultobj
= SWIG_FromInt((int)result
);
6313 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
*resultobj
;
6315 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6319 PyObject
* obj0
= 0 ;
6320 PyObject
* obj1
= 0 ;
6322 (char *) "self",(char *) "pt", NULL
6325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6330 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6334 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6336 wxPyEndAllowThreads(__tstate
);
6337 if (PyErr_Occurred()) SWIG_fail
;
6339 resultobj
= SWIG_FromInt((int)result
);
6346 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6347 PyObject
*resultobj
;
6348 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6352 PyObject
* obj0
= 0 ;
6353 PyObject
* obj1
= 0 ;
6354 PyObject
* obj2
= 0 ;
6356 (char *) "self",(char *) "x",(char *) "y", NULL
6359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6362 arg2
= (int) SWIG_AsInt(obj1
);
6363 if (PyErr_Occurred()) SWIG_fail
;
6364 arg3
= (int) SWIG_AsInt(obj2
);
6365 if (PyErr_Occurred()) SWIG_fail
;
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6373 resultobj
= SWIG_FromInt((int)result
);
6380 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6383 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6385 return Py_BuildValue((char *)"");
6387 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6388 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6393 static PyObject
*_wrap_TextCtrlNameStr_get() {
6398 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6400 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6407 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6408 PyObject
*resultobj
;
6411 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 result
= (wxTextAttr
*)new wxTextAttr();
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6426 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6427 PyObject
*resultobj
;
6428 wxColour
*arg1
= 0 ;
6429 wxColour
const &arg2_defvalue
= wxNullColour
;
6430 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6431 wxFont
const &arg3_defvalue
= wxNullFont
;
6432 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6433 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6437 PyObject
* obj0
= 0 ;
6438 PyObject
* obj1
= 0 ;
6439 PyObject
* obj2
= 0 ;
6440 PyObject
* obj3
= 0 ;
6442 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6445 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6450 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6454 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6455 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6458 PyErr_SetString(PyExc_TypeError
,"null reference");
6463 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6468 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6470 wxPyEndAllowThreads(__tstate
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6480 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6485 argc
= PyObject_Length(args
);
6486 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6487 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6490 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6492 if ((argc
>= 1) && (argc
<= 4)) {
6495 _v
= wxColour_typecheck(argv
[0]);
6499 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6502 _v
= wxColour_typecheck(argv
[1]);
6506 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6510 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6519 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6521 _v
= SWIG_CheckInt(argv
[3]);
6523 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6530 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6535 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
*resultobj
;
6537 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6538 PyObject
* obj0
= 0 ;
6540 (char *) "self", NULL
6543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6550 wxPyEndAllowThreads(__tstate
);
6551 if (PyErr_Occurred()) SWIG_fail
;
6553 Py_INCREF(Py_None
); resultobj
= Py_None
;
6560 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
*resultobj
;
6562 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6563 PyObject
* obj0
= 0 ;
6565 (char *) "self", NULL
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 Py_INCREF(Py_None
); resultobj
= Py_None
;
6585 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
*resultobj
;
6587 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6588 wxColour
*arg2
= 0 ;
6590 PyObject
* obj0
= 0 ;
6591 PyObject
* obj1
= 0 ;
6593 (char *) "self",(char *) "colText", NULL
6596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6601 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6605 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6607 wxPyEndAllowThreads(__tstate
);
6608 if (PyErr_Occurred()) SWIG_fail
;
6610 Py_INCREF(Py_None
); resultobj
= Py_None
;
6617 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6618 PyObject
*resultobj
;
6619 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6620 wxColour
*arg2
= 0 ;
6622 PyObject
* obj0
= 0 ;
6623 PyObject
* obj1
= 0 ;
6625 (char *) "self",(char *) "colBack", NULL
6628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6633 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6637 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6639 wxPyEndAllowThreads(__tstate
);
6640 if (PyErr_Occurred()) SWIG_fail
;
6642 Py_INCREF(Py_None
); resultobj
= Py_None
;
6649 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6650 PyObject
*resultobj
;
6651 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6653 long arg3
= (long) wxTEXT_ATTR_FONT
;
6654 PyObject
* obj0
= 0 ;
6655 PyObject
* obj1
= 0 ;
6656 PyObject
* obj2
= 0 ;
6658 (char *) "self",(char *) "font",(char *) "flags", NULL
6661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6665 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6668 PyErr_SetString(PyExc_TypeError
,"null reference");
6672 arg3
= (long) SWIG_AsLong(obj2
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6677 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6679 wxPyEndAllowThreads(__tstate
);
6680 if (PyErr_Occurred()) SWIG_fail
;
6682 Py_INCREF(Py_None
); resultobj
= Py_None
;
6689 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6690 PyObject
*resultobj
;
6691 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6693 PyObject
* obj0
= 0 ;
6694 PyObject
* obj1
= 0 ;
6696 (char *) "self",(char *) "alignment", NULL
6699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6702 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
6703 if (PyErr_Occurred()) SWIG_fail
;
6705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6706 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6708 wxPyEndAllowThreads(__tstate
);
6709 if (PyErr_Occurred()) SWIG_fail
;
6711 Py_INCREF(Py_None
); resultobj
= Py_None
;
6718 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6719 PyObject
*resultobj
;
6720 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6721 wxArrayInt
*arg2
= 0 ;
6722 bool temp2
= False
;
6723 PyObject
* obj0
= 0 ;
6724 PyObject
* obj1
= 0 ;
6726 (char *) "self",(char *) "tabs", NULL
6729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6733 if (! PySequence_Check(obj1
)) {
6734 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6737 arg2
= new wxArrayInt
;
6739 int i
, len
=PySequence_Length(obj1
);
6740 for (i
=0; i
<len
; i
++) {
6741 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6742 PyObject
* number
= PyNumber_Int(item
);
6743 arg2
->Add(PyInt_AS_LONG(number
));
6749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6750 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6752 wxPyEndAllowThreads(__tstate
);
6753 if (PyErr_Occurred()) SWIG_fail
;
6755 Py_INCREF(Py_None
); resultobj
= Py_None
;
6757 if (temp2
) delete arg2
;
6762 if (temp2
) delete arg2
;
6768 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6769 PyObject
*resultobj
;
6770 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6772 PyObject
* obj0
= 0 ;
6773 PyObject
* obj1
= 0 ;
6775 (char *) "self",(char *) "indent", NULL
6778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6781 arg2
= (int) SWIG_AsInt(obj1
);
6782 if (PyErr_Occurred()) SWIG_fail
;
6784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6785 (arg1
)->SetLeftIndent(arg2
);
6787 wxPyEndAllowThreads(__tstate
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6790 Py_INCREF(Py_None
); resultobj
= Py_None
;
6797 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
*resultobj
;
6799 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6801 PyObject
* obj0
= 0 ;
6802 PyObject
* obj1
= 0 ;
6804 (char *) "self",(char *) "indent", NULL
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6810 arg2
= (int) SWIG_AsInt(obj1
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 (arg1
)->SetRightIndent(arg2
);
6816 wxPyEndAllowThreads(__tstate
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6819 Py_INCREF(Py_None
); resultobj
= Py_None
;
6826 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6827 PyObject
*resultobj
;
6828 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6830 PyObject
* obj0
= 0 ;
6831 PyObject
* obj1
= 0 ;
6833 (char *) "self",(char *) "flags", NULL
6836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6839 arg2
= (long) SWIG_AsLong(obj1
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 (arg1
)->SetFlags(arg2
);
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6848 Py_INCREF(Py_None
); resultobj
= Py_None
;
6855 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
*resultobj
;
6857 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6859 PyObject
* obj0
= 0 ;
6861 (char *) "self", NULL
6864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) SWIG_fail
;
6874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6881 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6882 PyObject
*resultobj
;
6883 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6885 PyObject
* obj0
= 0 ;
6887 (char *) "self", NULL
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6895 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6897 wxPyEndAllowThreads(__tstate
);
6898 if (PyErr_Occurred()) SWIG_fail
;
6900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6907 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
*resultobj
;
6909 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6911 PyObject
* obj0
= 0 ;
6913 (char *) "self", NULL
6916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6933 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6934 PyObject
*resultobj
;
6935 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6937 PyObject
* obj0
= 0 ;
6939 (char *) "self", NULL
6942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6959 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6960 PyObject
*resultobj
;
6961 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6963 PyObject
* obj0
= 0 ;
6965 (char *) "self", NULL
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
6969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6973 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
6975 wxPyEndAllowThreads(__tstate
);
6976 if (PyErr_Occurred()) SWIG_fail
;
6978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6985 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
*resultobj
;
6987 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6989 PyObject
* obj0
= 0 ;
6991 (char *) "self", NULL
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
6995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7011 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
*resultobj
;
7013 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7015 PyObject
* obj0
= 0 ;
7017 (char *) "self", NULL
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7027 wxPyEndAllowThreads(__tstate
);
7028 if (PyErr_Occurred()) SWIG_fail
;
7030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7037 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7038 PyObject
*resultobj
;
7039 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7042 PyObject
* obj0
= 0 ;
7043 PyObject
* obj1
= 0 ;
7045 (char *) "self",(char *) "flag", NULL
7048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7051 arg2
= (long) SWIG_AsLong(obj1
);
7052 if (PyErr_Occurred()) SWIG_fail
;
7054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7055 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7057 wxPyEndAllowThreads(__tstate
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7067 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7068 PyObject
*resultobj
;
7069 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7071 PyObject
* obj0
= 0 ;
7073 (char *) "self", NULL
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7082 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7083 result
= (wxColour
*) &_result_ref
;
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7096 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7097 PyObject
*resultobj
;
7098 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7100 PyObject
* obj0
= 0 ;
7102 (char *) "self", NULL
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7112 result
= (wxColour
*) &_result_ref
;
7115 wxPyEndAllowThreads(__tstate
);
7116 if (PyErr_Occurred()) SWIG_fail
;
7118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7125 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7126 PyObject
*resultobj
;
7127 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7129 PyObject
* obj0
= 0 ;
7131 (char *) "self", NULL
7134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7140 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7141 result
= (wxFont
*) &_result_ref
;
7144 wxPyEndAllowThreads(__tstate
);
7145 if (PyErr_Occurred()) SWIG_fail
;
7147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
7154 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7155 PyObject
*resultobj
;
7156 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7158 PyObject
* obj0
= 0 ;
7160 (char *) "self", NULL
7163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7173 resultobj
= SWIG_FromInt((int)result
);
7180 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7181 PyObject
*resultobj
;
7182 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7184 PyObject
* obj0
= 0 ;
7186 (char *) "self", NULL
7189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7195 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7196 result
= (wxArrayInt
*) &_result_ref
;
7199 wxPyEndAllowThreads(__tstate
);
7200 if (PyErr_Occurred()) SWIG_fail
;
7203 resultobj
= PyList_New(0);
7205 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7206 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7207 PyList_Append(resultobj
, val
);
7217 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
*resultobj
;
7219 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7221 PyObject
* obj0
= 0 ;
7223 (char *) "self", NULL
7226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7236 resultobj
= SWIG_FromLong((long)result
);
7243 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
*resultobj
;
7245 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7247 PyObject
* obj0
= 0 ;
7249 (char *) "self", NULL
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7257 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7259 wxPyEndAllowThreads(__tstate
);
7260 if (PyErr_Occurred()) SWIG_fail
;
7262 resultobj
= SWIG_FromLong((long)result
);
7269 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7270 PyObject
*resultobj
;
7271 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7273 PyObject
* obj0
= 0 ;
7275 (char *) "self", NULL
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7285 wxPyEndAllowThreads(__tstate
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7288 resultobj
= SWIG_FromLong((long)result
);
7295 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
*resultobj
;
7297 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7299 PyObject
* obj0
= 0 ;
7301 (char *) "self", NULL
7304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7309 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7311 wxPyEndAllowThreads(__tstate
);
7312 if (PyErr_Occurred()) SWIG_fail
;
7314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7321 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7322 PyObject
*resultobj
;
7323 wxTextAttr
*arg1
= 0 ;
7324 wxTextAttr
*arg2
= 0 ;
7325 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7327 PyObject
* obj0
= 0 ;
7328 PyObject
* obj1
= 0 ;
7329 PyObject
* obj2
= 0 ;
7331 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7336 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7339 PyErr_SetString(PyExc_TypeError
,"null reference");
7342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7343 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7346 PyErr_SetString(PyExc_TypeError
,"null reference");
7349 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7353 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7355 wxPyEndAllowThreads(__tstate
);
7356 if (PyErr_Occurred()) SWIG_fail
;
7359 wxTextAttr
* resultptr
;
7360 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7361 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7369 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7372 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7374 return Py_BuildValue((char *)"");
7376 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
*resultobj
;
7378 wxWindow
*arg1
= (wxWindow
*) 0 ;
7380 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7381 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7382 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7383 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7384 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7385 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7386 long arg6
= (long) 0 ;
7387 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7388 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7389 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7390 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7392 bool temp3
= False
;
7395 bool temp8
= False
;
7396 PyObject
* obj0
= 0 ;
7397 PyObject
* obj1
= 0 ;
7398 PyObject
* obj2
= 0 ;
7399 PyObject
* obj3
= 0 ;
7400 PyObject
* obj4
= 0 ;
7401 PyObject
* obj5
= 0 ;
7402 PyObject
* obj6
= 0 ;
7403 PyObject
* obj7
= 0 ;
7405 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7411 arg2
= (int) SWIG_AsInt(obj1
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7415 arg3
= wxString_in_helper(obj2
);
7416 if (arg3
== NULL
) SWIG_fail
;
7423 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7429 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7433 arg6
= (long) SWIG_AsLong(obj5
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7437 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7438 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7441 PyErr_SetString(PyExc_TypeError
,"null reference");
7447 arg8
= wxString_in_helper(obj7
);
7448 if (arg8
== NULL
) SWIG_fail
;
7453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7456 wxPyEndAllowThreads(__tstate
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7460 resultobj
= wxPyMake_wxObject(result
);
7484 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7485 PyObject
*resultobj
;
7491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7494 result
= (wxTextCtrl
*)new wxTextCtrl();
7496 wxPyEndAllowThreads(__tstate
);
7497 if (PyErr_Occurred()) SWIG_fail
;
7500 resultobj
= wxPyMake_wxObject(result
);
7508 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7509 PyObject
*resultobj
;
7510 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7511 wxWindow
*arg2
= (wxWindow
*) 0 ;
7513 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7514 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7515 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7516 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7517 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7518 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7519 long arg7
= (long) 0 ;
7520 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7521 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7522 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7523 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7525 bool temp4
= False
;
7528 bool temp9
= False
;
7529 PyObject
* obj0
= 0 ;
7530 PyObject
* obj1
= 0 ;
7531 PyObject
* obj2
= 0 ;
7532 PyObject
* obj3
= 0 ;
7533 PyObject
* obj4
= 0 ;
7534 PyObject
* obj5
= 0 ;
7535 PyObject
* obj6
= 0 ;
7536 PyObject
* obj7
= 0 ;
7537 PyObject
* obj8
= 0 ;
7539 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7545 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7547 arg3
= (int) SWIG_AsInt(obj2
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7551 arg4
= wxString_in_helper(obj3
);
7552 if (arg4
== NULL
) SWIG_fail
;
7559 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7565 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7569 arg7
= (long) SWIG_AsLong(obj6
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7573 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
7574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7577 PyErr_SetString(PyExc_TypeError
,"null reference");
7583 arg9
= wxString_in_helper(obj8
);
7584 if (arg9
== NULL
) SWIG_fail
;
7589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7590 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7592 wxPyEndAllowThreads(__tstate
);
7593 if (PyErr_Occurred()) SWIG_fail
;
7595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7618 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7619 PyObject
*resultobj
;
7620 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7622 PyObject
* obj0
= 0 ;
7624 (char *) "self", NULL
7627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7634 wxPyEndAllowThreads(__tstate
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7639 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7641 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7650 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
*resultobj
;
7652 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7653 wxString
*arg2
= 0 ;
7654 bool temp2
= False
;
7655 PyObject
* obj0
= 0 ;
7656 PyObject
* obj1
= 0 ;
7658 (char *) "self",(char *) "value", NULL
7661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7665 arg2
= wxString_in_helper(obj1
);
7666 if (arg2
== NULL
) SWIG_fail
;
7670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7671 (arg1
)->SetValue((wxString
const &)*arg2
);
7673 wxPyEndAllowThreads(__tstate
);
7674 if (PyErr_Occurred()) SWIG_fail
;
7676 Py_INCREF(Py_None
); resultobj
= Py_None
;
7691 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
*resultobj
;
7693 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7697 PyObject
* obj0
= 0 ;
7698 PyObject
* obj1
= 0 ;
7699 PyObject
* obj2
= 0 ;
7701 (char *) "self",(char *) "from",(char *) "to", NULL
7704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7707 arg2
= (long) SWIG_AsLong(obj1
);
7708 if (PyErr_Occurred()) SWIG_fail
;
7709 arg3
= (long) SWIG_AsLong(obj2
);
7710 if (PyErr_Occurred()) SWIG_fail
;
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7713 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7731 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7732 PyObject
*resultobj
;
7733 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7736 PyObject
* obj0
= 0 ;
7737 PyObject
* obj1
= 0 ;
7739 (char *) "self",(char *) "lineNo", NULL
7742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7745 arg2
= (long) SWIG_AsLong(obj1
);
7746 if (PyErr_Occurred()) SWIG_fail
;
7748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7749 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7751 wxPyEndAllowThreads(__tstate
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7754 resultobj
= SWIG_FromInt((int)result
);
7761 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7762 PyObject
*resultobj
;
7763 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7766 PyObject
* obj0
= 0 ;
7767 PyObject
* obj1
= 0 ;
7769 (char *) "self",(char *) "lineNo", NULL
7772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7775 arg2
= (long) SWIG_AsLong(obj1
);
7776 if (PyErr_Occurred()) SWIG_fail
;
7778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7779 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7781 wxPyEndAllowThreads(__tstate
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7786 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7788 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7797 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
*resultobj
;
7799 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7801 PyObject
* obj0
= 0 ;
7803 (char *) "self", NULL
7806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7813 wxPyEndAllowThreads(__tstate
);
7814 if (PyErr_Occurred()) SWIG_fail
;
7816 resultobj
= SWIG_FromInt((int)result
);
7823 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7824 PyObject
*resultobj
;
7825 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7827 PyObject
* obj0
= 0 ;
7829 (char *) "self", NULL
7832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7839 wxPyEndAllowThreads(__tstate
);
7840 if (PyErr_Occurred()) SWIG_fail
;
7842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7849 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7850 PyObject
*resultobj
;
7851 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7853 PyObject
* obj0
= 0 ;
7855 (char *) "self", NULL
7858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7863 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7865 wxPyEndAllowThreads(__tstate
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7875 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
*resultobj
;
7877 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7879 PyObject
* obj0
= 0 ;
7881 (char *) "self", NULL
7884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7901 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7902 PyObject
*resultobj
;
7903 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7905 PyObject
* obj0
= 0 ;
7907 (char *) "self", NULL
7910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7915 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7917 wxPyEndAllowThreads(__tstate
);
7918 if (PyErr_Occurred()) SWIG_fail
;
7920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7927 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
*resultobj
;
7929 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7930 long *arg2
= (long *) 0 ;
7931 long *arg3
= (long *) 0 ;
7934 PyObject
* obj0
= 0 ;
7936 (char *) "self", NULL
7941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
7942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7946 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
7948 wxPyEndAllowThreads(__tstate
);
7949 if (PyErr_Occurred()) SWIG_fail
;
7951 Py_INCREF(Py_None
); resultobj
= Py_None
;
7953 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7954 resultobj
= t_output_helper(resultobj
,o
);
7957 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7958 resultobj
= t_output_helper(resultobj
,o
);
7966 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
*resultobj
;
7968 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7970 PyObject
* obj0
= 0 ;
7972 (char *) "self", NULL
7975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
7976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7980 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
7982 wxPyEndAllowThreads(__tstate
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7987 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7989 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7998 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
;
8000 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8001 PyObject
* obj0
= 0 ;
8003 (char *) "self", NULL
8006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 wxPyEndAllowThreads(__tstate
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8016 Py_INCREF(Py_None
); resultobj
= Py_None
;
8023 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8024 PyObject
*resultobj
;
8025 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8028 wxString
*arg4
= 0 ;
8029 bool temp4
= False
;
8030 PyObject
* obj0
= 0 ;
8031 PyObject
* obj1
= 0 ;
8032 PyObject
* obj2
= 0 ;
8033 PyObject
* obj3
= 0 ;
8035 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8041 arg2
= (long) SWIG_AsLong(obj1
);
8042 if (PyErr_Occurred()) SWIG_fail
;
8043 arg3
= (long) SWIG_AsLong(obj2
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8046 arg4
= wxString_in_helper(obj3
);
8047 if (arg4
== NULL
) SWIG_fail
;
8051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8052 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8054 wxPyEndAllowThreads(__tstate
);
8055 if (PyErr_Occurred()) SWIG_fail
;
8057 Py_INCREF(Py_None
); resultobj
= Py_None
;
8072 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8077 PyObject
* obj0
= 0 ;
8078 PyObject
* obj1
= 0 ;
8079 PyObject
* obj2
= 0 ;
8081 (char *) "self",(char *) "from",(char *) "to", NULL
8084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8087 arg2
= (long) SWIG_AsLong(obj1
);
8088 if (PyErr_Occurred()) SWIG_fail
;
8089 arg3
= (long) SWIG_AsLong(obj2
);
8090 if (PyErr_Occurred()) SWIG_fail
;
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8093 (arg1
)->Remove(arg2
,arg3
);
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 Py_INCREF(Py_None
); resultobj
= Py_None
;
8105 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
*resultobj
;
8107 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8108 wxString
*arg2
= 0 ;
8110 bool temp2
= False
;
8111 PyObject
* obj0
= 0 ;
8112 PyObject
* obj1
= 0 ;
8114 (char *) "self",(char *) "file", NULL
8117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8121 arg2
= wxString_in_helper(obj1
);
8122 if (arg2
== NULL
) SWIG_fail
;
8126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8127 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8129 wxPyEndAllowThreads(__tstate
);
8130 if (PyErr_Occurred()) SWIG_fail
;
8132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8147 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
*resultobj
;
8149 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8150 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8151 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8153 bool temp2
= False
;
8154 PyObject
* obj0
= 0 ;
8155 PyObject
* obj1
= 0 ;
8157 (char *) "self",(char *) "file", NULL
8160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8165 arg2
= wxString_in_helper(obj1
);
8166 if (arg2
== NULL
) SWIG_fail
;
8171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8172 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8192 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
*resultobj
;
8194 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8195 PyObject
* obj0
= 0 ;
8197 (char *) "self", NULL
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8205 (arg1
)->MarkDirty();
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8210 Py_INCREF(Py_None
); resultobj
= Py_None
;
8217 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
*resultobj
;
8219 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8220 PyObject
* obj0
= 0 ;
8222 (char *) "self", NULL
8225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8230 (arg1
)->DiscardEdits();
8232 wxPyEndAllowThreads(__tstate
);
8233 if (PyErr_Occurred()) SWIG_fail
;
8235 Py_INCREF(Py_None
); resultobj
= Py_None
;
8242 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
*resultobj
;
8244 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8245 unsigned long arg2
;
8246 PyObject
* obj0
= 0 ;
8247 PyObject
* obj1
= 0 ;
8249 (char *) "self",(char *) "len", NULL
8252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8255 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 (arg1
)->SetMaxLength(arg2
);
8261 wxPyEndAllowThreads(__tstate
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8264 Py_INCREF(Py_None
); resultobj
= Py_None
;
8271 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8272 PyObject
*resultobj
;
8273 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8274 wxString
*arg2
= 0 ;
8275 bool temp2
= False
;
8276 PyObject
* obj0
= 0 ;
8277 PyObject
* obj1
= 0 ;
8279 (char *) "self",(char *) "text", NULL
8282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8286 arg2
= wxString_in_helper(obj1
);
8287 if (arg2
== NULL
) SWIG_fail
;
8291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8292 (arg1
)->WriteText((wxString
const &)*arg2
);
8294 wxPyEndAllowThreads(__tstate
);
8295 if (PyErr_Occurred()) SWIG_fail
;
8297 Py_INCREF(Py_None
); resultobj
= Py_None
;
8312 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8313 PyObject
*resultobj
;
8314 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8315 wxString
*arg2
= 0 ;
8316 bool temp2
= False
;
8317 PyObject
* obj0
= 0 ;
8318 PyObject
* obj1
= 0 ;
8320 (char *) "self",(char *) "text", NULL
8323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8327 arg2
= wxString_in_helper(obj1
);
8328 if (arg2
== NULL
) SWIG_fail
;
8332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8333 (arg1
)->AppendText((wxString
const &)*arg2
);
8335 wxPyEndAllowThreads(__tstate
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8338 Py_INCREF(Py_None
); resultobj
= Py_None
;
8353 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
*resultobj
;
8355 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8356 wxKeyEvent
*arg2
= 0 ;
8358 PyObject
* obj0
= 0 ;
8359 PyObject
* obj1
= 0 ;
8361 (char *) "self",(char *) "event", NULL
8364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8367 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8368 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8371 PyErr_SetString(PyExc_TypeError
,"null reference");
8375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8376 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8378 wxPyEndAllowThreads(__tstate
);
8379 if (PyErr_Occurred()) SWIG_fail
;
8381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8388 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8389 PyObject
*resultobj
;
8390 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8393 wxTextAttr
*arg4
= 0 ;
8395 PyObject
* obj0
= 0 ;
8396 PyObject
* obj1
= 0 ;
8397 PyObject
* obj2
= 0 ;
8398 PyObject
* obj3
= 0 ;
8400 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8406 arg2
= (long) SWIG_AsLong(obj1
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8408 arg3
= (long) SWIG_AsLong(obj2
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8410 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8411 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8414 PyErr_SetString(PyExc_TypeError
,"null reference");
8418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8419 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8431 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
*resultobj
;
8433 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8435 wxTextAttr
*arg3
= 0 ;
8437 PyObject
* obj0
= 0 ;
8438 PyObject
* obj1
= 0 ;
8439 PyObject
* obj2
= 0 ;
8441 (char *) "self",(char *) "position",(char *) "style", NULL
8444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8447 arg2
= (long) SWIG_AsLong(obj1
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8449 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8450 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8453 PyErr_SetString(PyExc_TypeError
,"null reference");
8457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8458 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8460 wxPyEndAllowThreads(__tstate
);
8461 if (PyErr_Occurred()) SWIG_fail
;
8463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8470 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
*resultobj
;
8472 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8473 wxTextAttr
*arg2
= 0 ;
8475 PyObject
* obj0
= 0 ;
8476 PyObject
* obj1
= 0 ;
8478 (char *) "self",(char *) "style", NULL
8481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8485 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8488 PyErr_SetString(PyExc_TypeError
,"null reference");
8492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8493 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8495 wxPyEndAllowThreads(__tstate
);
8496 if (PyErr_Occurred()) SWIG_fail
;
8498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8505 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8506 PyObject
*resultobj
;
8507 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8509 PyObject
* obj0
= 0 ;
8511 (char *) "self", NULL
8514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8520 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8521 result
= (wxTextAttr
*) &_result_ref
;
8524 wxPyEndAllowThreads(__tstate
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
8534 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
*resultobj
;
8536 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8540 PyObject
* obj0
= 0 ;
8541 PyObject
* obj1
= 0 ;
8542 PyObject
* obj2
= 0 ;
8544 (char *) "self",(char *) "x",(char *) "y", NULL
8547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8550 arg2
= (long) SWIG_AsLong(obj1
);
8551 if (PyErr_Occurred()) SWIG_fail
;
8552 arg3
= (long) SWIG_AsLong(obj2
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8556 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8558 wxPyEndAllowThreads(__tstate
);
8559 if (PyErr_Occurred()) SWIG_fail
;
8561 resultobj
= SWIG_FromLong((long)result
);
8568 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8569 PyObject
*resultobj
;
8570 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8572 long *arg3
= (long *) 0 ;
8573 long *arg4
= (long *) 0 ;
8576 PyObject
* obj0
= 0 ;
8577 PyObject
* obj1
= 0 ;
8579 (char *) "self",(char *) "pos", NULL
8584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8587 arg2
= (long) SWIG_AsLong(obj1
);
8588 if (PyErr_Occurred()) SWIG_fail
;
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8593 wxPyEndAllowThreads(__tstate
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8596 Py_INCREF(Py_None
); resultobj
= Py_None
;
8598 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8599 resultobj
= t_output_helper(resultobj
,o
);
8602 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8603 resultobj
= t_output_helper(resultobj
,o
);
8611 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8612 PyObject
*resultobj
;
8613 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8615 PyObject
* obj0
= 0 ;
8616 PyObject
* obj1
= 0 ;
8618 (char *) "self",(char *) "pos", NULL
8621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8624 arg2
= (long) SWIG_AsLong(obj1
);
8625 if (PyErr_Occurred()) SWIG_fail
;
8627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 (arg1
)->ShowPosition(arg2
);
8630 wxPyEndAllowThreads(__tstate
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8633 Py_INCREF(Py_None
); resultobj
= Py_None
;
8640 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
*resultobj
;
8642 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8644 long *arg3
= (long *) 0 ;
8645 long *arg4
= (long *) 0 ;
8650 PyObject
* obj0
= 0 ;
8651 PyObject
* obj1
= 0 ;
8653 (char *) "self",(char *) "pt", NULL
8658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8663 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8667 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8669 wxPyEndAllowThreads(__tstate
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8672 resultobj
= SWIG_FromInt((int)result
);
8674 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8675 resultobj
= t_output_helper(resultobj
,o
);
8678 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8679 resultobj
= t_output_helper(resultobj
,o
);
8687 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
*resultobj
;
8689 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8690 PyObject
* obj0
= 0 ;
8692 (char *) "self", NULL
8695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8702 wxPyEndAllowThreads(__tstate
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8705 Py_INCREF(Py_None
); resultobj
= Py_None
;
8712 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8713 PyObject
*resultobj
;
8714 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8715 PyObject
* obj0
= 0 ;
8717 (char *) "self", NULL
8720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8727 wxPyEndAllowThreads(__tstate
);
8728 if (PyErr_Occurred()) SWIG_fail
;
8730 Py_INCREF(Py_None
); resultobj
= Py_None
;
8737 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8738 PyObject
*resultobj
;
8739 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8740 PyObject
* obj0
= 0 ;
8742 (char *) "self", NULL
8745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8752 wxPyEndAllowThreads(__tstate
);
8753 if (PyErr_Occurred()) SWIG_fail
;
8755 Py_INCREF(Py_None
); resultobj
= Py_None
;
8762 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8763 PyObject
*resultobj
;
8764 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8766 PyObject
* obj0
= 0 ;
8768 (char *) "self", NULL
8771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8776 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8778 wxPyEndAllowThreads(__tstate
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8788 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8789 PyObject
*resultobj
;
8790 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8792 PyObject
* obj0
= 0 ;
8794 (char *) "self", NULL
8797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8802 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8804 wxPyEndAllowThreads(__tstate
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8814 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
*resultobj
;
8816 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8818 PyObject
* obj0
= 0 ;
8820 (char *) "self", NULL
8823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",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();
8828 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8830 wxPyEndAllowThreads(__tstate
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8840 static PyObject
*_wrap_TextCtrl_Undo(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_Undo",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_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
*resultobj
;
8867 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8868 PyObject
* obj0
= 0 ;
8870 (char *) "self", NULL
8873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8880 wxPyEndAllowThreads(__tstate
);
8881 if (PyErr_Occurred()) SWIG_fail
;
8883 Py_INCREF(Py_None
); resultobj
= Py_None
;
8890 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8891 PyObject
*resultobj
;
8892 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8894 PyObject
* obj0
= 0 ;
8896 (char *) "self", NULL
8899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
8900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8904 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8916 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
;
8918 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8920 PyObject
* obj0
= 0 ;
8922 (char *) "self", NULL
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
8926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8942 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8943 PyObject
*resultobj
;
8944 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8946 PyObject
* obj0
= 0 ;
8947 PyObject
* obj1
= 0 ;
8949 (char *) "self",(char *) "pos", NULL
8952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
8953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8955 arg2
= (long) SWIG_AsLong(obj1
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 (arg1
)->SetInsertionPoint(arg2
);
8961 wxPyEndAllowThreads(__tstate
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8964 Py_INCREF(Py_None
); resultobj
= Py_None
;
8971 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8972 PyObject
*resultobj
;
8973 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8974 PyObject
* obj0
= 0 ;
8976 (char *) "self", NULL
8979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
8980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8984 (arg1
)->SetInsertionPointEnd();
8986 wxPyEndAllowThreads(__tstate
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8989 Py_INCREF(Py_None
); resultobj
= Py_None
;
8996 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8997 PyObject
*resultobj
;
8998 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9000 PyObject
* obj0
= 0 ;
9002 (char *) "self", NULL
9005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9015 resultobj
= SWIG_FromLong((long)result
);
9022 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9023 PyObject
*resultobj
;
9024 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9026 PyObject
* obj0
= 0 ;
9028 (char *) "self", NULL
9031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9036 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9038 wxPyEndAllowThreads(__tstate
);
9039 if (PyErr_Occurred()) SWIG_fail
;
9041 resultobj
= SWIG_FromLong((long)result
);
9048 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
*resultobj
;
9050 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9053 PyObject
* obj0
= 0 ;
9054 PyObject
* obj1
= 0 ;
9055 PyObject
* obj2
= 0 ;
9057 (char *) "self",(char *) "from",(char *) "to", NULL
9060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9063 arg2
= (long) SWIG_AsLong(obj1
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9065 arg3
= (long) SWIG_AsLong(obj2
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9069 (arg1
)->SetSelection(arg2
,arg3
);
9071 wxPyEndAllowThreads(__tstate
);
9072 if (PyErr_Occurred()) SWIG_fail
;
9074 Py_INCREF(Py_None
); resultobj
= Py_None
;
9081 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
*resultobj
;
9083 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9084 PyObject
* obj0
= 0 ;
9086 (char *) "self", NULL
9089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 (arg1
)->SelectAll();
9096 wxPyEndAllowThreads(__tstate
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9099 Py_INCREF(Py_None
); resultobj
= Py_None
;
9106 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9107 PyObject
*resultobj
;
9108 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9110 PyObject
* obj0
= 0 ;
9111 PyObject
* obj1
= 0 ;
9113 (char *) "self",(char *) "editable", NULL
9116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9119 arg2
= (bool) SWIG_AsBool(obj1
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 (arg1
)->SetEditable(arg2
);
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9128 Py_INCREF(Py_None
); resultobj
= Py_None
;
9135 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9136 PyObject
*resultobj
;
9137 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9138 bool arg2
= (bool) True
;
9140 PyObject
* obj0
= 0 ;
9141 PyObject
* obj1
= 0 ;
9143 (char *) "self",(char *) "show", NULL
9146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
9147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9150 arg2
= (bool) SWIG_AsBool(obj1
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
9157 wxPyEndAllowThreads(__tstate
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9167 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9168 PyObject
*resultobj
;
9169 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9171 PyObject
* obj0
= 0 ;
9173 (char *) "self", NULL
9176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
9177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9181 result
= (bool)(arg1
)->HideNativeCaret();
9183 wxPyEndAllowThreads(__tstate
);
9184 if (PyErr_Occurred()) SWIG_fail
;
9186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9193 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9194 PyObject
*resultobj
;
9195 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9196 wxString
*arg2
= 0 ;
9197 bool temp2
= False
;
9198 PyObject
* obj0
= 0 ;
9199 PyObject
* obj1
= 0 ;
9201 (char *) "self",(char *) "text", NULL
9204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9208 arg2
= wxString_in_helper(obj1
);
9209 if (arg2
== NULL
) SWIG_fail
;
9213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9214 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9216 wxPyEndAllowThreads(__tstate
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9219 Py_INCREF(Py_None
); resultobj
= Py_None
;
9234 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9236 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9240 PyObject
* obj0
= 0 ;
9241 PyObject
* obj1
= 0 ;
9242 PyObject
* obj2
= 0 ;
9244 (char *) "self",(char *) "from",(char *) "to", NULL
9247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9250 arg2
= (long) SWIG_AsLong(obj1
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9252 arg3
= (long) SWIG_AsLong(obj2
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9256 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9258 wxPyEndAllowThreads(__tstate
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9274 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9277 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9279 return Py_BuildValue((char *)"");
9281 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9282 PyObject
*resultobj
;
9284 wxMouseEvent
*arg2
= 0 ;
9287 wxTextUrlEvent
*result
;
9288 PyObject
* obj0
= 0 ;
9289 PyObject
* obj1
= 0 ;
9290 PyObject
* obj2
= 0 ;
9291 PyObject
* obj3
= 0 ;
9293 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9297 arg1
= (int) SWIG_AsInt(obj0
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9299 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9300 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9303 PyErr_SetString(PyExc_TypeError
,"null reference");
9306 arg3
= (long) SWIG_AsLong(obj2
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9308 arg4
= (long) SWIG_AsLong(obj3
);
9309 if (PyErr_Occurred()) SWIG_fail
;
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9324 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
;
9326 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9327 wxMouseEvent
*result
;
9328 PyObject
* obj0
= 0 ;
9330 (char *) "self", NULL
9333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9339 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9340 result
= (wxMouseEvent
*) &_result_ref
;
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9353 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9354 PyObject
*resultobj
;
9355 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9357 PyObject
* obj0
= 0 ;
9359 (char *) "self", NULL
9362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= SWIG_FromLong((long)result
);
9379 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
;
9381 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9383 PyObject
* obj0
= 0 ;
9385 (char *) "self", NULL
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",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();
9393 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9398 resultobj
= SWIG_FromLong((long)result
);
9405 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9408 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9410 return Py_BuildValue((char *)"");
9412 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9413 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9418 static PyObject
*_wrap_ScrollBarNameStr_get() {
9423 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9425 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9432 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9433 PyObject
*resultobj
;
9434 wxWindow
*arg1
= (wxWindow
*) 0 ;
9435 int arg2
= (int) -1 ;
9436 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9437 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9438 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9439 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9440 long arg5
= (long) wxSB_HORIZONTAL
;
9441 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9442 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9443 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9444 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9445 wxScrollBar
*result
;
9448 bool temp7
= False
;
9449 PyObject
* obj0
= 0 ;
9450 PyObject
* obj1
= 0 ;
9451 PyObject
* obj2
= 0 ;
9452 PyObject
* obj3
= 0 ;
9453 PyObject
* obj4
= 0 ;
9454 PyObject
* obj5
= 0 ;
9455 PyObject
* obj6
= 0 ;
9457 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9464 arg2
= (int) SWIG_AsInt(obj1
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9470 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9476 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9480 arg5
= (long) SWIG_AsLong(obj4
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9484 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
9485 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9488 PyErr_SetString(PyExc_TypeError
,"null reference");
9494 arg7
= wxString_in_helper(obj6
);
9495 if (arg7
== NULL
) SWIG_fail
;
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9501 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9521 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9522 PyObject
*resultobj
;
9523 wxScrollBar
*result
;
9528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 result
= (wxScrollBar
*)new wxScrollBar();
9533 wxPyEndAllowThreads(__tstate
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9543 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
*resultobj
;
9545 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9546 wxWindow
*arg2
= (wxWindow
*) 0 ;
9547 int arg3
= (int) -1 ;
9548 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9549 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9550 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9551 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9552 long arg6
= (long) wxSB_HORIZONTAL
;
9553 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9554 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9555 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9556 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9560 bool temp8
= False
;
9561 PyObject
* obj0
= 0 ;
9562 PyObject
* obj1
= 0 ;
9563 PyObject
* obj2
= 0 ;
9564 PyObject
* obj3
= 0 ;
9565 PyObject
* obj4
= 0 ;
9566 PyObject
* obj5
= 0 ;
9567 PyObject
* obj6
= 0 ;
9568 PyObject
* obj7
= 0 ;
9570 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9579 arg3
= (int) SWIG_AsInt(obj2
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9585 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9591 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9595 arg6
= (long) SWIG_AsLong(obj5
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9599 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
9600 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9603 PyErr_SetString(PyExc_TypeError
,"null reference");
9609 arg8
= wxString_in_helper(obj7
);
9610 if (arg8
== NULL
) SWIG_fail
;
9615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9616 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9636 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9637 PyObject
*resultobj
;
9638 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9640 PyObject
* obj0
= 0 ;
9642 (char *) "self", NULL
9645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9650 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9652 wxPyEndAllowThreads(__tstate
);
9653 if (PyErr_Occurred()) SWIG_fail
;
9655 resultobj
= SWIG_FromInt((int)result
);
9662 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
*resultobj
;
9664 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9666 PyObject
* obj0
= 0 ;
9668 (char *) "self", NULL
9671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9676 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9681 resultobj
= SWIG_FromInt((int)result
);
9688 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
;
9690 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9692 PyObject
* obj0
= 0 ;
9694 (char *) "self", NULL
9697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9702 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9704 wxPyEndAllowThreads(__tstate
);
9705 if (PyErr_Occurred()) SWIG_fail
;
9707 resultobj
= SWIG_FromInt((int)result
);
9714 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9715 PyObject
*resultobj
;
9716 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9718 PyObject
* obj0
= 0 ;
9720 (char *) "self", NULL
9723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9728 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9730 wxPyEndAllowThreads(__tstate
);
9731 if (PyErr_Occurred()) SWIG_fail
;
9733 resultobj
= SWIG_FromInt((int)result
);
9740 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9741 PyObject
*resultobj
;
9742 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9744 PyObject
* obj0
= 0 ;
9746 (char *) "self", NULL
9749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9754 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9756 wxPyEndAllowThreads(__tstate
);
9757 if (PyErr_Occurred()) SWIG_fail
;
9759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9766 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9767 PyObject
*resultobj
;
9768 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9770 PyObject
* obj0
= 0 ;
9771 PyObject
* obj1
= 0 ;
9773 (char *) "self",(char *) "viewStart", NULL
9776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9779 arg2
= (int) SWIG_AsInt(obj1
);
9780 if (PyErr_Occurred()) SWIG_fail
;
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 (arg1
)->SetThumbPosition(arg2
);
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) SWIG_fail
;
9788 Py_INCREF(Py_None
); resultobj
= Py_None
;
9795 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9796 PyObject
*resultobj
;
9797 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9802 bool arg6
= (bool) True
;
9803 PyObject
* obj0
= 0 ;
9804 PyObject
* obj1
= 0 ;
9805 PyObject
* obj2
= 0 ;
9806 PyObject
* obj3
= 0 ;
9807 PyObject
* obj4
= 0 ;
9808 PyObject
* obj5
= 0 ;
9810 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9816 arg2
= (int) SWIG_AsInt(obj1
);
9817 if (PyErr_Occurred()) SWIG_fail
;
9818 arg3
= (int) SWIG_AsInt(obj2
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9820 arg4
= (int) SWIG_AsInt(obj3
);
9821 if (PyErr_Occurred()) SWIG_fail
;
9822 arg5
= (int) SWIG_AsInt(obj4
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9825 arg6
= (bool) SWIG_AsBool(obj5
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9830 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9835 Py_INCREF(Py_None
); resultobj
= Py_None
;
9842 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9845 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9847 return Py_BuildValue((char *)"");
9849 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
9850 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9855 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9860 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9862 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9869 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
9870 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9875 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9880 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9882 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9889 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
;
9891 wxWindow
*arg1
= (wxWindow
*) 0 ;
9892 int arg2
= (int) -1 ;
9893 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9894 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9895 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9896 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9897 long arg5
= (long) wxSP_HORIZONTAL
;
9898 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9899 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9900 wxSpinButton
*result
;
9903 bool temp6
= False
;
9904 PyObject
* obj0
= 0 ;
9905 PyObject
* obj1
= 0 ;
9906 PyObject
* obj2
= 0 ;
9907 PyObject
* obj3
= 0 ;
9908 PyObject
* obj4
= 0 ;
9909 PyObject
* obj5
= 0 ;
9911 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9918 arg2
= (int) SWIG_AsInt(obj1
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9924 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9930 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9934 arg5
= (long) SWIG_AsLong(obj4
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9939 arg6
= wxString_in_helper(obj5
);
9940 if (arg6
== NULL
) SWIG_fail
;
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
9966 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9967 PyObject
*resultobj
;
9968 wxSpinButton
*result
;
9973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 result
= (wxSpinButton
*)new wxSpinButton();
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
9988 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9989 PyObject
*resultobj
;
9990 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9991 wxWindow
*arg2
= (wxWindow
*) 0 ;
9992 int arg3
= (int) -1 ;
9993 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9994 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9995 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9996 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9997 long arg6
= (long) wxSP_HORIZONTAL
;
9998 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
9999 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10003 bool temp7
= False
;
10004 PyObject
* obj0
= 0 ;
10005 PyObject
* obj1
= 0 ;
10006 PyObject
* obj2
= 0 ;
10007 PyObject
* obj3
= 0 ;
10008 PyObject
* obj4
= 0 ;
10009 PyObject
* obj5
= 0 ;
10010 PyObject
* obj6
= 0 ;
10011 char *kwnames
[] = {
10012 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10021 arg3
= (int) SWIG_AsInt(obj2
);
10022 if (PyErr_Occurred()) SWIG_fail
;
10027 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10033 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10037 arg6
= (long) SWIG_AsLong(obj5
);
10038 if (PyErr_Occurred()) SWIG_fail
;
10042 arg7
= wxString_in_helper(obj6
);
10043 if (arg7
== NULL
) SWIG_fail
;
10048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10049 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10051 wxPyEndAllowThreads(__tstate
);
10052 if (PyErr_Occurred()) SWIG_fail
;
10054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10069 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10070 PyObject
*resultobj
;
10071 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10073 PyObject
* obj0
= 0 ;
10074 char *kwnames
[] = {
10075 (char *) "self", NULL
10078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10085 wxPyEndAllowThreads(__tstate
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10088 resultobj
= SWIG_FromInt((int)result
);
10095 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10096 PyObject
*resultobj
;
10097 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10099 PyObject
* obj0
= 0 ;
10100 char *kwnames
[] = {
10101 (char *) "self", NULL
10104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10109 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10111 wxPyEndAllowThreads(__tstate
);
10112 if (PyErr_Occurred()) SWIG_fail
;
10114 resultobj
= SWIG_FromInt((int)result
);
10121 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
*resultobj
;
10123 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10125 PyObject
* obj0
= 0 ;
10126 char *kwnames
[] = {
10127 (char *) "self", NULL
10130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10135 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10137 wxPyEndAllowThreads(__tstate
);
10138 if (PyErr_Occurred()) SWIG_fail
;
10140 resultobj
= SWIG_FromInt((int)result
);
10147 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10148 PyObject
*resultobj
;
10149 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10151 PyObject
* obj0
= 0 ;
10152 PyObject
* obj1
= 0 ;
10153 char *kwnames
[] = {
10154 (char *) "self",(char *) "val", NULL
10157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10160 arg2
= (int) SWIG_AsInt(obj1
);
10161 if (PyErr_Occurred()) SWIG_fail
;
10163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10164 (arg1
)->SetValue(arg2
);
10166 wxPyEndAllowThreads(__tstate
);
10167 if (PyErr_Occurred()) SWIG_fail
;
10169 Py_INCREF(Py_None
); resultobj
= Py_None
;
10176 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10177 PyObject
*resultobj
;
10178 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10180 PyObject
* obj0
= 0 ;
10181 PyObject
* obj1
= 0 ;
10182 char *kwnames
[] = {
10183 (char *) "self",(char *) "minVal", NULL
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10189 arg2
= (int) SWIG_AsInt(obj1
);
10190 if (PyErr_Occurred()) SWIG_fail
;
10192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10193 (arg1
)->SetMin(arg2
);
10195 wxPyEndAllowThreads(__tstate
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10198 Py_INCREF(Py_None
); resultobj
= Py_None
;
10205 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10206 PyObject
*resultobj
;
10207 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10209 PyObject
* obj0
= 0 ;
10210 PyObject
* obj1
= 0 ;
10211 char *kwnames
[] = {
10212 (char *) "self",(char *) "maxVal", NULL
10215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10218 arg2
= (int) SWIG_AsInt(obj1
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10222 (arg1
)->SetMax(arg2
);
10224 wxPyEndAllowThreads(__tstate
);
10225 if (PyErr_Occurred()) SWIG_fail
;
10227 Py_INCREF(Py_None
); resultobj
= Py_None
;
10234 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10235 PyObject
*resultobj
;
10236 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10239 PyObject
* obj0
= 0 ;
10240 PyObject
* obj1
= 0 ;
10241 PyObject
* obj2
= 0 ;
10242 char *kwnames
[] = {
10243 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10249 arg2
= (int) SWIG_AsInt(obj1
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10251 arg3
= (int) SWIG_AsInt(obj2
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 (arg1
)->SetRange(arg2
,arg3
);
10257 wxPyEndAllowThreads(__tstate
);
10258 if (PyErr_Occurred()) SWIG_fail
;
10260 Py_INCREF(Py_None
); resultobj
= Py_None
;
10267 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10268 PyObject
*resultobj
;
10269 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10271 PyObject
* obj0
= 0 ;
10272 char *kwnames
[] = {
10273 (char *) "self", NULL
10276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10281 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10293 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10296 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10298 return Py_BuildValue((char *)"");
10300 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10301 PyObject
*resultobj
;
10302 wxWindow
*arg1
= (wxWindow
*) 0 ;
10303 int arg2
= (int) -1 ;
10304 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10305 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10306 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10307 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10308 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10309 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10310 long arg6
= (long) wxSP_ARROW_KEYS
;
10311 int arg7
= (int) 0 ;
10312 int arg8
= (int) 100 ;
10313 int arg9
= (int) 0 ;
10314 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10315 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10316 wxSpinCtrl
*result
;
10317 bool temp3
= False
;
10320 bool temp10
= False
;
10321 PyObject
* obj0
= 0 ;
10322 PyObject
* obj1
= 0 ;
10323 PyObject
* obj2
= 0 ;
10324 PyObject
* obj3
= 0 ;
10325 PyObject
* obj4
= 0 ;
10326 PyObject
* obj5
= 0 ;
10327 PyObject
* obj6
= 0 ;
10328 PyObject
* obj7
= 0 ;
10329 PyObject
* obj8
= 0 ;
10330 PyObject
* obj9
= 0 ;
10331 char *kwnames
[] = {
10332 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10339 arg2
= (int) SWIG_AsInt(obj1
);
10340 if (PyErr_Occurred()) SWIG_fail
;
10344 arg3
= wxString_in_helper(obj2
);
10345 if (arg3
== NULL
) SWIG_fail
;
10352 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10358 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10362 arg6
= (long) SWIG_AsLong(obj5
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10366 arg7
= (int) SWIG_AsInt(obj6
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10370 arg8
= (int) SWIG_AsInt(obj7
);
10371 if (PyErr_Occurred()) SWIG_fail
;
10374 arg9
= (int) SWIG_AsInt(obj8
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10379 arg10
= wxString_in_helper(obj9
);
10380 if (arg10
== NULL
) SWIG_fail
;
10385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10386 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10388 wxPyEndAllowThreads(__tstate
);
10389 if (PyErr_Occurred()) SWIG_fail
;
10391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10414 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10415 PyObject
*resultobj
;
10416 wxSpinCtrl
*result
;
10417 char *kwnames
[] = {
10421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10424 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10426 wxPyEndAllowThreads(__tstate
);
10427 if (PyErr_Occurred()) SWIG_fail
;
10429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10436 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10437 PyObject
*resultobj
;
10438 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10439 wxWindow
*arg2
= (wxWindow
*) 0 ;
10440 int arg3
= (int) -1 ;
10441 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10442 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10443 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10444 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10445 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10446 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10447 long arg7
= (long) wxSP_ARROW_KEYS
;
10448 int arg8
= (int) 0 ;
10449 int arg9
= (int) 100 ;
10450 int arg10
= (int) 0 ;
10451 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10452 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10454 bool temp4
= False
;
10457 bool temp11
= False
;
10458 PyObject
* obj0
= 0 ;
10459 PyObject
* obj1
= 0 ;
10460 PyObject
* obj2
= 0 ;
10461 PyObject
* obj3
= 0 ;
10462 PyObject
* obj4
= 0 ;
10463 PyObject
* obj5
= 0 ;
10464 PyObject
* obj6
= 0 ;
10465 PyObject
* obj7
= 0 ;
10466 PyObject
* obj8
= 0 ;
10467 PyObject
* obj9
= 0 ;
10468 PyObject
* obj10
= 0 ;
10469 char *kwnames
[] = {
10470 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10479 arg3
= (int) SWIG_AsInt(obj2
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10484 arg4
= wxString_in_helper(obj3
);
10485 if (arg4
== NULL
) SWIG_fail
;
10492 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10498 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10502 arg7
= (long) SWIG_AsLong(obj6
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10506 arg8
= (int) SWIG_AsInt(obj7
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10510 arg9
= (int) SWIG_AsInt(obj8
);
10511 if (PyErr_Occurred()) SWIG_fail
;
10514 arg10
= (int) SWIG_AsInt(obj9
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10519 arg11
= wxString_in_helper(obj10
);
10520 if (arg11
== NULL
) SWIG_fail
;
10525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10526 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10528 wxPyEndAllowThreads(__tstate
);
10529 if (PyErr_Occurred()) SWIG_fail
;
10531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10554 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10555 PyObject
*resultobj
;
10556 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10558 PyObject
* obj0
= 0 ;
10559 char *kwnames
[] = {
10560 (char *) "self", NULL
10563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10568 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10570 wxPyEndAllowThreads(__tstate
);
10571 if (PyErr_Occurred()) SWIG_fail
;
10573 resultobj
= SWIG_FromInt((int)result
);
10580 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10581 PyObject
*resultobj
;
10582 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10584 PyObject
* obj0
= 0 ;
10585 PyObject
* obj1
= 0 ;
10586 char *kwnames
[] = {
10587 (char *) "self",(char *) "value", NULL
10590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10593 arg2
= (int) SWIG_AsInt(obj1
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10597 (arg1
)->SetValue(arg2
);
10599 wxPyEndAllowThreads(__tstate
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10602 Py_INCREF(Py_None
); resultobj
= Py_None
;
10609 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10610 PyObject
*resultobj
;
10611 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10612 wxString
*arg2
= 0 ;
10613 bool temp2
= False
;
10614 PyObject
* obj0
= 0 ;
10615 PyObject
* obj1
= 0 ;
10616 char *kwnames
[] = {
10617 (char *) "self",(char *) "text", NULL
10620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10624 arg2
= wxString_in_helper(obj1
);
10625 if (arg2
== NULL
) SWIG_fail
;
10629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10630 (arg1
)->SetValue((wxString
const &)*arg2
);
10632 wxPyEndAllowThreads(__tstate
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10635 Py_INCREF(Py_None
); resultobj
= Py_None
;
10650 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10651 PyObject
*resultobj
;
10652 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10655 PyObject
* obj0
= 0 ;
10656 PyObject
* obj1
= 0 ;
10657 PyObject
* obj2
= 0 ;
10658 char *kwnames
[] = {
10659 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10665 arg2
= (int) SWIG_AsInt(obj1
);
10666 if (PyErr_Occurred()) SWIG_fail
;
10667 arg3
= (int) SWIG_AsInt(obj2
);
10668 if (PyErr_Occurred()) SWIG_fail
;
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 (arg1
)->SetRange(arg2
,arg3
);
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10676 Py_INCREF(Py_None
); resultobj
= Py_None
;
10683 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
*resultobj
;
10685 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10687 PyObject
* obj0
= 0 ;
10688 char *kwnames
[] = {
10689 (char *) "self", NULL
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10702 resultobj
= SWIG_FromInt((int)result
);
10709 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10710 PyObject
*resultobj
;
10711 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10713 PyObject
* obj0
= 0 ;
10714 char *kwnames
[] = {
10715 (char *) "self", NULL
10718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10725 wxPyEndAllowThreads(__tstate
);
10726 if (PyErr_Occurred()) SWIG_fail
;
10728 resultobj
= SWIG_FromInt((int)result
);
10735 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
*resultobj
;
10737 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10740 PyObject
* obj0
= 0 ;
10741 PyObject
* obj1
= 0 ;
10742 PyObject
* obj2
= 0 ;
10743 char *kwnames
[] = {
10744 (char *) "self",(char *) "from",(char *) "to", NULL
10747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10750 arg2
= (long) SWIG_AsLong(obj1
);
10751 if (PyErr_Occurred()) SWIG_fail
;
10752 arg3
= (long) SWIG_AsLong(obj2
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10756 (arg1
)->SetSelection(arg2
,arg3
);
10758 wxPyEndAllowThreads(__tstate
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10761 Py_INCREF(Py_None
); resultobj
= Py_None
;
10768 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10771 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10773 return Py_BuildValue((char *)"");
10775 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
*resultobj
;
10777 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10778 int arg2
= (int) 0 ;
10779 wxSpinEvent
*result
;
10780 PyObject
* obj0
= 0 ;
10781 PyObject
* obj1
= 0 ;
10782 char *kwnames
[] = {
10783 (char *) "commandType",(char *) "winid", NULL
10786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10788 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10789 if (PyErr_Occurred()) SWIG_fail
;
10792 arg2
= (int) SWIG_AsInt(obj1
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10799 wxPyEndAllowThreads(__tstate
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
10809 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10810 PyObject
*resultobj
;
10811 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10813 PyObject
* obj0
= 0 ;
10814 char *kwnames
[] = {
10815 (char *) "self", NULL
10818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10823 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10828 resultobj
= SWIG_FromInt((int)result
);
10835 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
*resultobj
;
10837 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10839 PyObject
* obj0
= 0 ;
10840 PyObject
* obj1
= 0 ;
10841 char *kwnames
[] = {
10842 (char *) "self",(char *) "pos", NULL
10845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10848 arg2
= (int) SWIG_AsInt(obj1
);
10849 if (PyErr_Occurred()) SWIG_fail
;
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 (arg1
)->SetPosition(arg2
);
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10857 Py_INCREF(Py_None
); resultobj
= Py_None
;
10864 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10867 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10869 return Py_BuildValue((char *)"");
10871 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
10872 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10877 static PyObject
*_wrap_RadioBoxNameStr_get() {
10882 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10884 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10891 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
10892 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10897 static PyObject
*_wrap_RadioButtonNameStr_get() {
10902 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10904 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10911 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10912 PyObject
*resultobj
;
10913 wxWindow
*arg1
= (wxWindow
*) 0 ;
10915 wxString
*arg3
= 0 ;
10916 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10917 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10918 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10919 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10920 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10921 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10922 int arg7
= (int) 0 ;
10923 long arg8
= (long) wxRA_HORIZONTAL
;
10924 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10925 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10926 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
10927 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10928 wxRadioBox
*result
;
10929 bool temp3
= False
;
10932 bool temp6
= False
;
10933 bool temp10
= False
;
10934 PyObject
* obj0
= 0 ;
10935 PyObject
* obj1
= 0 ;
10936 PyObject
* obj2
= 0 ;
10937 PyObject
* obj3
= 0 ;
10938 PyObject
* obj4
= 0 ;
10939 PyObject
* obj5
= 0 ;
10940 PyObject
* obj6
= 0 ;
10941 PyObject
* obj7
= 0 ;
10942 PyObject
* obj8
= 0 ;
10943 PyObject
* obj9
= 0 ;
10944 char *kwnames
[] = {
10945 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10951 arg2
= (int) SWIG_AsInt(obj1
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10954 arg3
= wxString_in_helper(obj2
);
10955 if (arg3
== NULL
) SWIG_fail
;
10961 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10967 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10972 if (! PySequence_Check(obj5
)) {
10973 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10976 arg6
= new wxArrayString
;
10978 int i
, len
=PySequence_Length(obj5
);
10979 for (i
=0; i
<len
; i
++) {
10980 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10982 PyObject
* str
= PyObject_Unicode(item
);
10984 PyObject
* str
= PyObject_Str(item
);
10986 arg6
->Add(Py2wxString(str
));
10993 arg7
= (int) SWIG_AsInt(obj6
);
10994 if (PyErr_Occurred()) SWIG_fail
;
10997 arg8
= (long) SWIG_AsLong(obj7
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11001 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11002 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11004 if (arg9
== NULL
) {
11005 PyErr_SetString(PyExc_TypeError
,"null reference");
11011 arg10
= wxString_in_helper(obj9
);
11012 if (arg10
== NULL
) SWIG_fail
;
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 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
);
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11029 if (temp6
) delete arg6
;
11042 if (temp6
) delete arg6
;
11052 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11053 PyObject
*resultobj
;
11054 wxRadioBox
*result
;
11055 char *kwnames
[] = {
11059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11062 result
= (wxRadioBox
*)new wxRadioBox();
11064 wxPyEndAllowThreads(__tstate
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11074 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11075 PyObject
*resultobj
;
11076 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11077 wxWindow
*arg2
= (wxWindow
*) 0 ;
11079 wxString
*arg4
= 0 ;
11080 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11081 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11082 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11083 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11084 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11085 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11086 int arg8
= (int) 0 ;
11087 long arg9
= (long) wxRA_HORIZONTAL
;
11088 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11089 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11090 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11091 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11093 bool temp4
= False
;
11096 bool temp7
= False
;
11097 bool temp11
= False
;
11098 PyObject
* obj0
= 0 ;
11099 PyObject
* obj1
= 0 ;
11100 PyObject
* obj2
= 0 ;
11101 PyObject
* obj3
= 0 ;
11102 PyObject
* obj4
= 0 ;
11103 PyObject
* obj5
= 0 ;
11104 PyObject
* obj6
= 0 ;
11105 PyObject
* obj7
= 0 ;
11106 PyObject
* obj8
= 0 ;
11107 PyObject
* obj9
= 0 ;
11108 PyObject
* obj10
= 0 ;
11109 char *kwnames
[] = {
11110 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11118 arg3
= (int) SWIG_AsInt(obj2
);
11119 if (PyErr_Occurred()) SWIG_fail
;
11121 arg4
= wxString_in_helper(obj3
);
11122 if (arg4
== NULL
) SWIG_fail
;
11128 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11134 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11139 if (! PySequence_Check(obj6
)) {
11140 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11143 arg7
= new wxArrayString
;
11145 int i
, len
=PySequence_Length(obj6
);
11146 for (i
=0; i
<len
; i
++) {
11147 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11149 PyObject
* str
= PyObject_Unicode(item
);
11151 PyObject
* str
= PyObject_Str(item
);
11153 arg7
->Add(Py2wxString(str
));
11160 arg8
= (int) SWIG_AsInt(obj7
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11164 arg9
= (long) SWIG_AsLong(obj8
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11168 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11169 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11171 if (arg10
== NULL
) {
11172 PyErr_SetString(PyExc_TypeError
,"null reference");
11178 arg11
= wxString_in_helper(obj10
);
11179 if (arg11
== NULL
) SWIG_fail
;
11184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11185 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
);
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11196 if (temp7
) delete arg7
;
11209 if (temp7
) delete arg7
;
11219 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11220 PyObject
*resultobj
;
11221 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11223 PyObject
* obj0
= 0 ;
11224 PyObject
* obj1
= 0 ;
11225 char *kwnames
[] = {
11226 (char *) "self",(char *) "n", NULL
11229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11232 arg2
= (int) SWIG_AsInt(obj1
);
11233 if (PyErr_Occurred()) SWIG_fail
;
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 (arg1
)->SetSelection(arg2
);
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11241 Py_INCREF(Py_None
); resultobj
= Py_None
;
11248 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11249 PyObject
*resultobj
;
11250 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11252 PyObject
* obj0
= 0 ;
11253 char *kwnames
[] = {
11254 (char *) "self", NULL
11257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11262 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11264 wxPyEndAllowThreads(__tstate
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11267 resultobj
= SWIG_FromInt((int)result
);
11274 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11275 PyObject
*resultobj
;
11276 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11278 PyObject
* obj0
= 0 ;
11279 char *kwnames
[] = {
11280 (char *) "self", NULL
11283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11288 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11290 wxPyEndAllowThreads(__tstate
);
11291 if (PyErr_Occurred()) SWIG_fail
;
11295 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11297 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11306 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11307 PyObject
*resultobj
;
11308 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11309 wxString
*arg2
= 0 ;
11311 bool temp2
= False
;
11312 PyObject
* obj0
= 0 ;
11313 PyObject
* obj1
= 0 ;
11314 char *kwnames
[] = {
11315 (char *) "self",(char *) "s", NULL
11318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11322 arg2
= wxString_in_helper(obj1
);
11323 if (arg2
== NULL
) SWIG_fail
;
11327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11328 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11330 wxPyEndAllowThreads(__tstate
);
11331 if (PyErr_Occurred()) SWIG_fail
;
11333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11348 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11349 PyObject
*resultobj
;
11350 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11352 PyObject
* obj0
= 0 ;
11353 char *kwnames
[] = {
11354 (char *) "self", NULL
11357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11362 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11364 wxPyEndAllowThreads(__tstate
);
11365 if (PyErr_Occurred()) SWIG_fail
;
11367 resultobj
= SWIG_FromInt((int)result
);
11374 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11375 PyObject
*resultobj
;
11376 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11377 wxString
*arg2
= 0 ;
11379 bool temp2
= False
;
11380 PyObject
* obj0
= 0 ;
11381 PyObject
* obj1
= 0 ;
11382 char *kwnames
[] = {
11383 (char *) "self",(char *) "s", NULL
11386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11390 arg2
= wxString_in_helper(obj1
);
11391 if (arg2
== NULL
) SWIG_fail
;
11395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11396 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11398 wxPyEndAllowThreads(__tstate
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11401 resultobj
= SWIG_FromInt((int)result
);
11416 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11417 PyObject
*resultobj
;
11418 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11421 PyObject
* obj0
= 0 ;
11422 PyObject
* obj1
= 0 ;
11423 char *kwnames
[] = {
11424 (char *) "self",(char *) "n", NULL
11427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11430 arg2
= (int) SWIG_AsInt(obj1
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11434 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11436 wxPyEndAllowThreads(__tstate
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11441 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11443 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11452 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11453 PyObject
*resultobj
;
11454 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11456 wxString
*arg3
= 0 ;
11457 bool temp3
= False
;
11458 PyObject
* obj0
= 0 ;
11459 PyObject
* obj1
= 0 ;
11460 PyObject
* obj2
= 0 ;
11461 char *kwnames
[] = {
11462 (char *) "self",(char *) "n",(char *) "label", NULL
11465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11468 arg2
= (int) SWIG_AsInt(obj1
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11471 arg3
= wxString_in_helper(obj2
);
11472 if (arg3
== NULL
) SWIG_fail
;
11476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11477 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11479 wxPyEndAllowThreads(__tstate
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11482 Py_INCREF(Py_None
); resultobj
= Py_None
;
11497 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11498 PyObject
*resultobj
;
11499 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11501 bool arg3
= (bool) True
;
11502 PyObject
* obj0
= 0 ;
11503 PyObject
* obj1
= 0 ;
11504 PyObject
* obj2
= 0 ;
11505 char *kwnames
[] = {
11506 (char *) "self",(char *) "n",(char *) "enable", NULL
11509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11512 arg2
= (int) SWIG_AsInt(obj1
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11515 arg3
= (bool) SWIG_AsBool(obj2
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11520 (arg1
)->Enable(arg2
,arg3
);
11522 wxPyEndAllowThreads(__tstate
);
11523 if (PyErr_Occurred()) SWIG_fail
;
11525 Py_INCREF(Py_None
); resultobj
= Py_None
;
11532 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11533 PyObject
*resultobj
;
11534 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11536 bool arg3
= (bool) True
;
11537 PyObject
* obj0
= 0 ;
11538 PyObject
* obj1
= 0 ;
11539 PyObject
* obj2
= 0 ;
11540 char *kwnames
[] = {
11541 (char *) "self",(char *) "n",(char *) "show", NULL
11544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11547 arg2
= (int) SWIG_AsInt(obj1
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11550 arg3
= (bool) SWIG_AsBool(obj2
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 (arg1
)->Show(arg2
,arg3
);
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11560 Py_INCREF(Py_None
); resultobj
= Py_None
;
11567 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11568 PyObject
*resultobj
;
11569 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11571 PyObject
* obj0
= 0 ;
11572 char *kwnames
[] = {
11573 (char *) "self", NULL
11576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11581 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
11583 wxPyEndAllowThreads(__tstate
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11586 resultobj
= SWIG_FromInt((int)result
);
11593 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11594 PyObject
*resultobj
;
11595 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11597 PyObject
* obj0
= 0 ;
11598 char *kwnames
[] = {
11599 (char *) "self", NULL
11602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11607 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
11609 wxPyEndAllowThreads(__tstate
);
11610 if (PyErr_Occurred()) SWIG_fail
;
11612 resultobj
= SWIG_FromInt((int)result
);
11619 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11620 PyObject
*resultobj
;
11621 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11626 PyObject
* obj0
= 0 ;
11627 PyObject
* obj1
= 0 ;
11628 PyObject
* obj2
= 0 ;
11629 PyObject
* obj3
= 0 ;
11630 char *kwnames
[] = {
11631 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11637 arg2
= (int) SWIG_AsInt(obj1
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11639 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11641 arg4
= (long) SWIG_AsLong(obj3
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11645 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
11647 wxPyEndAllowThreads(__tstate
);
11648 if (PyErr_Occurred()) SWIG_fail
;
11650 resultobj
= SWIG_FromInt((int)result
);
11657 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11660 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11662 return Py_BuildValue((char *)"");
11664 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11665 PyObject
*resultobj
;
11666 wxWindow
*arg1
= (wxWindow
*) 0 ;
11668 wxString
*arg3
= 0 ;
11669 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11670 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11671 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11672 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11673 long arg6
= (long) 0 ;
11674 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11675 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11676 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11677 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11678 wxRadioButton
*result
;
11679 bool temp3
= False
;
11682 bool temp8
= False
;
11683 PyObject
* obj0
= 0 ;
11684 PyObject
* obj1
= 0 ;
11685 PyObject
* obj2
= 0 ;
11686 PyObject
* obj3
= 0 ;
11687 PyObject
* obj4
= 0 ;
11688 PyObject
* obj5
= 0 ;
11689 PyObject
* obj6
= 0 ;
11690 PyObject
* obj7
= 0 ;
11691 char *kwnames
[] = {
11692 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11698 arg2
= (int) SWIG_AsInt(obj1
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 arg3
= wxString_in_helper(obj2
);
11702 if (arg3
== NULL
) SWIG_fail
;
11708 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11714 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11718 arg6
= (long) SWIG_AsLong(obj5
);
11719 if (PyErr_Occurred()) SWIG_fail
;
11722 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
11723 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11725 if (arg7
== NULL
) {
11726 PyErr_SetString(PyExc_TypeError
,"null reference");
11732 arg8
= wxString_in_helper(obj7
);
11733 if (arg8
== NULL
) SWIG_fail
;
11738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11739 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11741 wxPyEndAllowThreads(__tstate
);
11742 if (PyErr_Occurred()) SWIG_fail
;
11744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11767 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11768 PyObject
*resultobj
;
11769 wxRadioButton
*result
;
11770 char *kwnames
[] = {
11774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11777 result
= (wxRadioButton
*)new wxRadioButton();
11779 wxPyEndAllowThreads(__tstate
);
11780 if (PyErr_Occurred()) SWIG_fail
;
11782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11789 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
;
11791 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11792 wxWindow
*arg2
= (wxWindow
*) 0 ;
11794 wxString
*arg4
= 0 ;
11795 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11796 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11797 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11798 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11799 long arg7
= (long) 0 ;
11800 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11801 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11802 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11803 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11805 bool temp4
= False
;
11808 bool temp9
= False
;
11809 PyObject
* obj0
= 0 ;
11810 PyObject
* obj1
= 0 ;
11811 PyObject
* obj2
= 0 ;
11812 PyObject
* obj3
= 0 ;
11813 PyObject
* obj4
= 0 ;
11814 PyObject
* obj5
= 0 ;
11815 PyObject
* obj6
= 0 ;
11816 PyObject
* obj7
= 0 ;
11817 PyObject
* obj8
= 0 ;
11818 char *kwnames
[] = {
11819 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11825 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11827 arg3
= (int) SWIG_AsInt(obj2
);
11828 if (PyErr_Occurred()) SWIG_fail
;
11830 arg4
= wxString_in_helper(obj3
);
11831 if (arg4
== NULL
) SWIG_fail
;
11837 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11843 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11847 arg7
= (long) SWIG_AsLong(obj6
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11851 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
11852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11854 if (arg8
== NULL
) {
11855 PyErr_SetString(PyExc_TypeError
,"null reference");
11861 arg9
= wxString_in_helper(obj8
);
11862 if (arg9
== NULL
) SWIG_fail
;
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11868 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11870 wxPyEndAllowThreads(__tstate
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11896 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11897 PyObject
*resultobj
;
11898 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11900 PyObject
* obj0
= 0 ;
11901 char *kwnames
[] = {
11902 (char *) "self", NULL
11905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11910 result
= (bool)(arg1
)->GetValue();
11912 wxPyEndAllowThreads(__tstate
);
11913 if (PyErr_Occurred()) SWIG_fail
;
11915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11922 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11923 PyObject
*resultobj
;
11924 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11926 PyObject
* obj0
= 0 ;
11927 PyObject
* obj1
= 0 ;
11928 char *kwnames
[] = {
11929 (char *) "self",(char *) "value", NULL
11932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11935 arg2
= (bool) SWIG_AsBool(obj1
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11939 (arg1
)->SetValue(arg2
);
11941 wxPyEndAllowThreads(__tstate
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11944 Py_INCREF(Py_None
); resultobj
= Py_None
;
11951 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
11953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11954 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
11956 return Py_BuildValue((char *)"");
11958 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
11959 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
11964 static PyObject
*_wrap_SliderNameStr_get() {
11969 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11971 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11978 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11979 PyObject
*resultobj
;
11980 wxWindow
*arg1
= (wxWindow
*) 0 ;
11985 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11986 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11987 wxSize
const &arg7_defvalue
= wxDefaultSize
;
11988 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
11989 long arg8
= (long) wxSL_HORIZONTAL
;
11990 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11991 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11992 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
11993 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11997 bool temp10
= False
;
11998 PyObject
* obj0
= 0 ;
11999 PyObject
* obj1
= 0 ;
12000 PyObject
* obj2
= 0 ;
12001 PyObject
* obj3
= 0 ;
12002 PyObject
* obj4
= 0 ;
12003 PyObject
* obj5
= 0 ;
12004 PyObject
* obj6
= 0 ;
12005 PyObject
* obj7
= 0 ;
12006 PyObject
* obj8
= 0 ;
12007 PyObject
* obj9
= 0 ;
12008 char *kwnames
[] = {
12009 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12015 arg2
= (int) SWIG_AsInt(obj1
);
12016 if (PyErr_Occurred()) SWIG_fail
;
12017 arg3
= (int) SWIG_AsInt(obj2
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12019 arg4
= (int) SWIG_AsInt(obj3
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12021 arg5
= (int) SWIG_AsInt(obj4
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12026 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12032 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12036 arg8
= (long) SWIG_AsLong(obj7
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12040 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12041 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12043 if (arg9
== NULL
) {
12044 PyErr_SetString(PyExc_TypeError
,"null reference");
12050 arg10
= wxString_in_helper(obj9
);
12051 if (arg10
== NULL
) SWIG_fail
;
12056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12057 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12059 wxPyEndAllowThreads(__tstate
);
12060 if (PyErr_Occurred()) SWIG_fail
;
12062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12077 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12078 PyObject
*resultobj
;
12080 char *kwnames
[] = {
12084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 result
= (wxSlider
*)new wxSlider();
12089 wxPyEndAllowThreads(__tstate
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12099 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12100 PyObject
*resultobj
;
12101 wxSlider
*arg1
= (wxSlider
*) 0 ;
12102 wxWindow
*arg2
= (wxWindow
*) 0 ;
12107 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12108 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12109 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12110 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12111 long arg9
= (long) wxSL_HORIZONTAL
;
12112 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12113 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12114 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12115 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12119 bool temp11
= False
;
12120 PyObject
* obj0
= 0 ;
12121 PyObject
* obj1
= 0 ;
12122 PyObject
* obj2
= 0 ;
12123 PyObject
* obj3
= 0 ;
12124 PyObject
* obj4
= 0 ;
12125 PyObject
* obj5
= 0 ;
12126 PyObject
* obj6
= 0 ;
12127 PyObject
* obj7
= 0 ;
12128 PyObject
* obj8
= 0 ;
12129 PyObject
* obj9
= 0 ;
12130 PyObject
* obj10
= 0 ;
12131 char *kwnames
[] = {
12132 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12138 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12140 arg3
= (int) SWIG_AsInt(obj2
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12142 arg4
= (int) SWIG_AsInt(obj3
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12144 arg5
= (int) SWIG_AsInt(obj4
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12146 arg6
= (int) SWIG_AsInt(obj5
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12151 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12157 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12161 arg9
= (long) SWIG_AsLong(obj8
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12165 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12166 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12168 if (arg10
== NULL
) {
12169 PyErr_SetString(PyExc_TypeError
,"null reference");
12175 arg11
= wxString_in_helper(obj10
);
12176 if (arg11
== NULL
) SWIG_fail
;
12181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12182 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12202 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12203 PyObject
*resultobj
;
12204 wxSlider
*arg1
= (wxSlider
*) 0 ;
12206 PyObject
* obj0
= 0 ;
12207 char *kwnames
[] = {
12208 (char *) "self", NULL
12211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12221 resultobj
= SWIG_FromInt((int)result
);
12228 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12229 PyObject
*resultobj
;
12230 wxSlider
*arg1
= (wxSlider
*) 0 ;
12232 PyObject
* obj0
= 0 ;
12233 PyObject
* obj1
= 0 ;
12234 char *kwnames
[] = {
12235 (char *) "self",(char *) "value", NULL
12238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12241 arg2
= (int) SWIG_AsInt(obj1
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 (arg1
)->SetValue(arg2
);
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12250 Py_INCREF(Py_None
); resultobj
= Py_None
;
12257 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12258 PyObject
*resultobj
;
12259 wxSlider
*arg1
= (wxSlider
*) 0 ;
12262 PyObject
* obj0
= 0 ;
12263 PyObject
* obj1
= 0 ;
12264 PyObject
* obj2
= 0 ;
12265 char *kwnames
[] = {
12266 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12272 arg2
= (int) SWIG_AsInt(obj1
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12274 arg3
= (int) SWIG_AsInt(obj2
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12278 (arg1
)->SetRange(arg2
,arg3
);
12280 wxPyEndAllowThreads(__tstate
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12283 Py_INCREF(Py_None
); resultobj
= Py_None
;
12290 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12291 PyObject
*resultobj
;
12292 wxSlider
*arg1
= (wxSlider
*) 0 ;
12294 PyObject
* obj0
= 0 ;
12295 char *kwnames
[] = {
12296 (char *) "self", NULL
12299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12304 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12306 wxPyEndAllowThreads(__tstate
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12309 resultobj
= SWIG_FromInt((int)result
);
12316 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12317 PyObject
*resultobj
;
12318 wxSlider
*arg1
= (wxSlider
*) 0 ;
12320 PyObject
* obj0
= 0 ;
12321 char *kwnames
[] = {
12322 (char *) "self", NULL
12325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12330 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12332 wxPyEndAllowThreads(__tstate
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12335 resultobj
= SWIG_FromInt((int)result
);
12342 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12343 PyObject
*resultobj
;
12344 wxSlider
*arg1
= (wxSlider
*) 0 ;
12346 PyObject
* obj0
= 0 ;
12347 PyObject
* obj1
= 0 ;
12348 char *kwnames
[] = {
12349 (char *) "self",(char *) "minValue", NULL
12352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12355 arg2
= (int) SWIG_AsInt(obj1
);
12356 if (PyErr_Occurred()) SWIG_fail
;
12358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12359 (arg1
)->SetMin(arg2
);
12361 wxPyEndAllowThreads(__tstate
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12364 Py_INCREF(Py_None
); resultobj
= Py_None
;
12371 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
;
12373 wxSlider
*arg1
= (wxSlider
*) 0 ;
12375 PyObject
* obj0
= 0 ;
12376 PyObject
* obj1
= 0 ;
12377 char *kwnames
[] = {
12378 (char *) "self",(char *) "maxValue", NULL
12381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12384 arg2
= (int) SWIG_AsInt(obj1
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12388 (arg1
)->SetMax(arg2
);
12390 wxPyEndAllowThreads(__tstate
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12393 Py_INCREF(Py_None
); resultobj
= Py_None
;
12400 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12401 PyObject
*resultobj
;
12402 wxSlider
*arg1
= (wxSlider
*) 0 ;
12404 PyObject
* obj0
= 0 ;
12405 PyObject
* obj1
= 0 ;
12406 char *kwnames
[] = {
12407 (char *) "self",(char *) "lineSize", NULL
12410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12413 arg2
= (int) SWIG_AsInt(obj1
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12417 (arg1
)->SetLineSize(arg2
);
12419 wxPyEndAllowThreads(__tstate
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12422 Py_INCREF(Py_None
); resultobj
= Py_None
;
12429 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12430 PyObject
*resultobj
;
12431 wxSlider
*arg1
= (wxSlider
*) 0 ;
12433 PyObject
* obj0
= 0 ;
12434 PyObject
* obj1
= 0 ;
12435 char *kwnames
[] = {
12436 (char *) "self",(char *) "pageSize", NULL
12439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12442 arg2
= (int) SWIG_AsInt(obj1
);
12443 if (PyErr_Occurred()) SWIG_fail
;
12445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12446 (arg1
)->SetPageSize(arg2
);
12448 wxPyEndAllowThreads(__tstate
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12451 Py_INCREF(Py_None
); resultobj
= Py_None
;
12458 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12459 PyObject
*resultobj
;
12460 wxSlider
*arg1
= (wxSlider
*) 0 ;
12462 PyObject
* obj0
= 0 ;
12463 char *kwnames
[] = {
12464 (char *) "self", NULL
12467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12474 wxPyEndAllowThreads(__tstate
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12477 resultobj
= SWIG_FromInt((int)result
);
12484 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12485 PyObject
*resultobj
;
12486 wxSlider
*arg1
= (wxSlider
*) 0 ;
12488 PyObject
* obj0
= 0 ;
12489 char *kwnames
[] = {
12490 (char *) "self", NULL
12493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= SWIG_FromInt((int)result
);
12510 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
;
12512 wxSlider
*arg1
= (wxSlider
*) 0 ;
12514 PyObject
* obj0
= 0 ;
12515 PyObject
* obj1
= 0 ;
12516 char *kwnames
[] = {
12517 (char *) "self",(char *) "lenPixels", NULL
12520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12523 arg2
= (int) SWIG_AsInt(obj1
);
12524 if (PyErr_Occurred()) SWIG_fail
;
12526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12527 (arg1
)->SetThumbLength(arg2
);
12529 wxPyEndAllowThreads(__tstate
);
12530 if (PyErr_Occurred()) SWIG_fail
;
12532 Py_INCREF(Py_None
); resultobj
= Py_None
;
12539 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12540 PyObject
*resultobj
;
12541 wxSlider
*arg1
= (wxSlider
*) 0 ;
12543 PyObject
* obj0
= 0 ;
12544 char *kwnames
[] = {
12545 (char *) "self", NULL
12548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12553 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12555 wxPyEndAllowThreads(__tstate
);
12556 if (PyErr_Occurred()) SWIG_fail
;
12558 resultobj
= SWIG_FromInt((int)result
);
12565 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12566 PyObject
*resultobj
;
12567 wxSlider
*arg1
= (wxSlider
*) 0 ;
12569 int arg3
= (int) 1 ;
12570 PyObject
* obj0
= 0 ;
12571 PyObject
* obj1
= 0 ;
12572 PyObject
* obj2
= 0 ;
12573 char *kwnames
[] = {
12574 (char *) "self",(char *) "n",(char *) "pos", NULL
12577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12580 arg2
= (int) SWIG_AsInt(obj1
);
12581 if (PyErr_Occurred()) SWIG_fail
;
12583 arg3
= (int) SWIG_AsInt(obj2
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12588 (arg1
)->SetTickFreq(arg2
,arg3
);
12590 wxPyEndAllowThreads(__tstate
);
12591 if (PyErr_Occurred()) SWIG_fail
;
12593 Py_INCREF(Py_None
); resultobj
= Py_None
;
12600 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12601 PyObject
*resultobj
;
12602 wxSlider
*arg1
= (wxSlider
*) 0 ;
12604 PyObject
* obj0
= 0 ;
12605 char *kwnames
[] = {
12606 (char *) "self", NULL
12609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12614 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12616 wxPyEndAllowThreads(__tstate
);
12617 if (PyErr_Occurred()) SWIG_fail
;
12619 resultobj
= SWIG_FromInt((int)result
);
12626 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12627 PyObject
*resultobj
;
12628 wxSlider
*arg1
= (wxSlider
*) 0 ;
12629 PyObject
* obj0
= 0 ;
12630 char *kwnames
[] = {
12631 (char *) "self", NULL
12634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12639 (arg1
)->ClearTicks();
12641 wxPyEndAllowThreads(__tstate
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12644 Py_INCREF(Py_None
); resultobj
= Py_None
;
12651 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12652 PyObject
*resultobj
;
12653 wxSlider
*arg1
= (wxSlider
*) 0 ;
12655 PyObject
* obj0
= 0 ;
12656 PyObject
* obj1
= 0 ;
12657 char *kwnames
[] = {
12658 (char *) "self",(char *) "tickPos", NULL
12661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12664 arg2
= (int) SWIG_AsInt(obj1
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12668 (arg1
)->SetTick(arg2
);
12670 wxPyEndAllowThreads(__tstate
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12673 Py_INCREF(Py_None
); resultobj
= Py_None
;
12680 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12681 PyObject
*resultobj
;
12682 wxSlider
*arg1
= (wxSlider
*) 0 ;
12683 PyObject
* obj0
= 0 ;
12684 char *kwnames
[] = {
12685 (char *) "self", NULL
12688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12693 (arg1
)->ClearSel();
12695 wxPyEndAllowThreads(__tstate
);
12696 if (PyErr_Occurred()) SWIG_fail
;
12698 Py_INCREF(Py_None
); resultobj
= Py_None
;
12705 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12706 PyObject
*resultobj
;
12707 wxSlider
*arg1
= (wxSlider
*) 0 ;
12709 PyObject
* obj0
= 0 ;
12710 char *kwnames
[] = {
12711 (char *) "self", NULL
12714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12719 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12721 wxPyEndAllowThreads(__tstate
);
12722 if (PyErr_Occurred()) SWIG_fail
;
12724 resultobj
= SWIG_FromInt((int)result
);
12731 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12732 PyObject
*resultobj
;
12733 wxSlider
*arg1
= (wxSlider
*) 0 ;
12735 PyObject
* obj0
= 0 ;
12736 char *kwnames
[] = {
12737 (char *) "self", NULL
12740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12745 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12750 resultobj
= SWIG_FromInt((int)result
);
12757 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12758 PyObject
*resultobj
;
12759 wxSlider
*arg1
= (wxSlider
*) 0 ;
12762 PyObject
* obj0
= 0 ;
12763 PyObject
* obj1
= 0 ;
12764 PyObject
* obj2
= 0 ;
12765 char *kwnames
[] = {
12766 (char *) "self",(char *) "min",(char *) "max", NULL
12769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12772 arg2
= (int) SWIG_AsInt(obj1
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12774 arg3
= (int) SWIG_AsInt(obj2
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 (arg1
)->SetSelection(arg2
,arg3
);
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 Py_INCREF(Py_None
); resultobj
= Py_None
;
12790 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12792 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12793 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12795 return Py_BuildValue((char *)"");
12797 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
12798 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12803 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12808 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12810 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12817 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12818 PyObject
*resultobj
;
12819 wxWindow
*arg1
= (wxWindow
*) 0 ;
12821 wxString
*arg3
= 0 ;
12822 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12823 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12824 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12825 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12826 long arg6
= (long) 0 ;
12827 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12828 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12829 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12830 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12831 wxToggleButton
*result
;
12832 bool temp3
= False
;
12835 bool temp8
= False
;
12836 PyObject
* obj0
= 0 ;
12837 PyObject
* obj1
= 0 ;
12838 PyObject
* obj2
= 0 ;
12839 PyObject
* obj3
= 0 ;
12840 PyObject
* obj4
= 0 ;
12841 PyObject
* obj5
= 0 ;
12842 PyObject
* obj6
= 0 ;
12843 PyObject
* obj7
= 0 ;
12844 char *kwnames
[] = {
12845 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12851 arg2
= (int) SWIG_AsInt(obj1
);
12852 if (PyErr_Occurred()) SWIG_fail
;
12854 arg3
= wxString_in_helper(obj2
);
12855 if (arg3
== NULL
) SWIG_fail
;
12861 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12867 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12871 arg6
= (long) SWIG_AsLong(obj5
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12875 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12876 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12878 if (arg7
== NULL
) {
12879 PyErr_SetString(PyExc_TypeError
,"null reference");
12885 arg8
= wxString_in_helper(obj7
);
12886 if (arg8
== NULL
) SWIG_fail
;
12891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12892 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12894 wxPyEndAllowThreads(__tstate
);
12895 if (PyErr_Occurred()) SWIG_fail
;
12897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
12920 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12921 PyObject
*resultobj
;
12922 wxToggleButton
*result
;
12923 char *kwnames
[] = {
12927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
12929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12930 result
= (wxToggleButton
*)new wxToggleButton();
12932 wxPyEndAllowThreads(__tstate
);
12933 if (PyErr_Occurred()) SWIG_fail
;
12935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
12942 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12943 PyObject
*resultobj
;
12944 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12945 wxWindow
*arg2
= (wxWindow
*) 0 ;
12947 wxString
*arg4
= 0 ;
12948 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12949 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12950 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12951 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12952 long arg7
= (long) 0 ;
12953 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12954 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12955 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
12956 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12958 bool temp4
= False
;
12961 bool temp9
= False
;
12962 PyObject
* obj0
= 0 ;
12963 PyObject
* obj1
= 0 ;
12964 PyObject
* obj2
= 0 ;
12965 PyObject
* obj3
= 0 ;
12966 PyObject
* obj4
= 0 ;
12967 PyObject
* obj5
= 0 ;
12968 PyObject
* obj6
= 0 ;
12969 PyObject
* obj7
= 0 ;
12970 PyObject
* obj8
= 0 ;
12971 char *kwnames
[] = {
12972 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
12977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12980 arg3
= (int) SWIG_AsInt(obj2
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12983 arg4
= wxString_in_helper(obj3
);
12984 if (arg4
== NULL
) SWIG_fail
;
12990 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12996 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13000 arg7
= (long) SWIG_AsLong(obj6
);
13001 if (PyErr_Occurred()) SWIG_fail
;
13004 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13005 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13007 if (arg8
== NULL
) {
13008 PyErr_SetString(PyExc_TypeError
,"null reference");
13014 arg9
= wxString_in_helper(obj8
);
13015 if (arg9
== NULL
) SWIG_fail
;
13020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13021 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13023 wxPyEndAllowThreads(__tstate
);
13024 if (PyErr_Occurred()) SWIG_fail
;
13026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13049 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13050 PyObject
*resultobj
;
13051 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13053 PyObject
* obj0
= 0 ;
13054 PyObject
* obj1
= 0 ;
13055 char *kwnames
[] = {
13056 (char *) "self",(char *) "value", NULL
13059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13062 arg2
= (bool) SWIG_AsBool(obj1
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13066 (arg1
)->SetValue(arg2
);
13068 wxPyEndAllowThreads(__tstate
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13071 Py_INCREF(Py_None
); resultobj
= Py_None
;
13078 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13079 PyObject
*resultobj
;
13080 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13082 PyObject
* obj0
= 0 ;
13083 char *kwnames
[] = {
13084 (char *) "self", NULL
13087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13092 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13094 wxPyEndAllowThreads(__tstate
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13104 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13105 PyObject
*resultobj
;
13106 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13107 wxString
*arg2
= 0 ;
13108 bool temp2
= False
;
13109 PyObject
* obj0
= 0 ;
13110 PyObject
* obj1
= 0 ;
13111 char *kwnames
[] = {
13112 (char *) "self",(char *) "label", NULL
13115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13119 arg2
= wxString_in_helper(obj1
);
13120 if (arg2
== NULL
) SWIG_fail
;
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 (arg1
)->SetLabel((wxString
const &)*arg2
);
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13130 Py_INCREF(Py_None
); resultobj
= Py_None
;
13145 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13148 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13150 return Py_BuildValue((char *)"");
13152 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13153 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13158 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13163 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13165 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13172 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13173 PyObject
*resultobj
;
13174 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13176 PyObject
* obj0
= 0 ;
13177 char *kwnames
[] = {
13178 (char *) "self", NULL
13181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13186 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13188 wxPyEndAllowThreads(__tstate
);
13189 if (PyErr_Occurred()) SWIG_fail
;
13191 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
13198 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13199 PyObject
*resultobj
;
13200 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13203 PyObject
* obj0
= 0 ;
13204 PyObject
* obj1
= 0 ;
13205 char *kwnames
[] = {
13206 (char *) "self",(char *) "n", NULL
13209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13212 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13216 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13218 wxPyEndAllowThreads(__tstate
);
13219 if (PyErr_Occurred()) SWIG_fail
;
13222 resultobj
= wxPyMake_wxObject(result
);
13230 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13231 PyObject
*resultobj
;
13232 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13234 PyObject
* obj0
= 0 ;
13235 char *kwnames
[] = {
13236 (char *) "self", NULL
13239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13246 wxPyEndAllowThreads(__tstate
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13249 resultobj
= SWIG_FromInt((int)result
);
13256 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13257 PyObject
*resultobj
;
13258 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13260 wxString
*arg3
= 0 ;
13262 bool temp3
= False
;
13263 PyObject
* obj0
= 0 ;
13264 PyObject
* obj1
= 0 ;
13265 PyObject
* obj2
= 0 ;
13266 char *kwnames
[] = {
13267 (char *) "self",(char *) "n",(char *) "strText", NULL
13270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13273 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13276 arg3
= wxString_in_helper(obj2
);
13277 if (arg3
== NULL
) SWIG_fail
;
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13284 wxPyEndAllowThreads(__tstate
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13302 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13303 PyObject
*resultobj
;
13304 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13307 PyObject
* obj0
= 0 ;
13308 PyObject
* obj1
= 0 ;
13309 char *kwnames
[] = {
13310 (char *) "self",(char *) "n", NULL
13313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13316 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13320 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13322 wxPyEndAllowThreads(__tstate
);
13323 if (PyErr_Occurred()) SWIG_fail
;
13327 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13329 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13338 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13339 PyObject
*resultobj
;
13340 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13341 wxImageList
*arg2
= (wxImageList
*) 0 ;
13342 PyObject
* obj0
= 0 ;
13343 PyObject
* obj1
= 0 ;
13344 char *kwnames
[] = {
13345 (char *) "self",(char *) "imageList", NULL
13348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13355 (arg1
)->SetImageList(arg2
);
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13360 Py_INCREF(Py_None
); resultobj
= Py_None
;
13367 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13368 PyObject
*resultobj
;
13369 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13370 wxImageList
*arg2
= (wxImageList
*) 0 ;
13371 PyObject
* obj0
= 0 ;
13372 PyObject
* obj1
= 0 ;
13373 char *kwnames
[] = {
13374 (char *) "self",(char *) "imageList", NULL
13377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13380 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13381 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13384 (arg1
)->AssignImageList(arg2
);
13386 wxPyEndAllowThreads(__tstate
);
13387 if (PyErr_Occurred()) SWIG_fail
;
13389 Py_INCREF(Py_None
); resultobj
= Py_None
;
13396 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13397 PyObject
*resultobj
;
13398 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13399 wxImageList
*result
;
13400 PyObject
* obj0
= 0 ;
13401 char *kwnames
[] = {
13402 (char *) "self", NULL
13405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13416 resultobj
= wxPyMake_wxObject(result
);
13424 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13425 PyObject
*resultobj
;
13426 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13429 PyObject
* obj0
= 0 ;
13430 PyObject
* obj1
= 0 ;
13431 char *kwnames
[] = {
13432 (char *) "self",(char *) "n", NULL
13435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13438 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13439 if (PyErr_Occurred()) SWIG_fail
;
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13447 resultobj
= SWIG_FromInt((int)result
);
13454 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13455 PyObject
*resultobj
;
13456 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13460 PyObject
* obj0
= 0 ;
13461 PyObject
* obj1
= 0 ;
13462 PyObject
* obj2
= 0 ;
13463 char *kwnames
[] = {
13464 (char *) "self",(char *) "n",(char *) "imageId", NULL
13467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13470 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13472 arg3
= (int) SWIG_AsInt(obj2
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13476 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13478 wxPyEndAllowThreads(__tstate
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13488 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13489 PyObject
*resultobj
;
13490 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13493 PyObject
* obj0
= 0 ;
13494 PyObject
* obj1
= 0 ;
13495 char *kwnames
[] = {
13496 (char *) "self",(char *) "size", NULL
13499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13504 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13508 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13513 Py_INCREF(Py_None
); resultobj
= Py_None
;
13520 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13521 PyObject
*resultobj
;
13522 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13526 PyObject
* obj0
= 0 ;
13527 PyObject
* obj1
= 0 ;
13528 char *kwnames
[] = {
13529 (char *) "self",(char *) "sizePage", NULL
13532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13537 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13541 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13543 wxPyEndAllowThreads(__tstate
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13547 wxSize
* resultptr
;
13548 resultptr
= new wxSize((wxSize
&) result
);
13549 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13557 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13558 PyObject
*resultobj
;
13559 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13562 PyObject
* obj0
= 0 ;
13563 PyObject
* obj1
= 0 ;
13564 char *kwnames
[] = {
13565 (char *) "self",(char *) "n", NULL
13568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13571 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 result
= (bool)(arg1
)->DeletePage(arg2
);
13577 wxPyEndAllowThreads(__tstate
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13587 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13588 PyObject
*resultobj
;
13589 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13592 PyObject
* obj0
= 0 ;
13593 PyObject
* obj1
= 0 ;
13594 char *kwnames
[] = {
13595 (char *) "self",(char *) "n", NULL
13598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13601 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13605 result
= (bool)(arg1
)->RemovePage(arg2
);
13607 wxPyEndAllowThreads(__tstate
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13617 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13618 PyObject
*resultobj
;
13619 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13621 PyObject
* obj0
= 0 ;
13622 char *kwnames
[] = {
13623 (char *) "self", NULL
13626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13631 result
= (bool)(arg1
)->DeleteAllPages();
13633 wxPyEndAllowThreads(__tstate
);
13634 if (PyErr_Occurred()) SWIG_fail
;
13636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13643 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13644 PyObject
*resultobj
;
13645 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13646 wxWindow
*arg2
= (wxWindow
*) 0 ;
13647 wxString
*arg3
= 0 ;
13648 bool arg4
= (bool) False
;
13649 int arg5
= (int) -1 ;
13651 bool temp3
= False
;
13652 PyObject
* obj0
= 0 ;
13653 PyObject
* obj1
= 0 ;
13654 PyObject
* obj2
= 0 ;
13655 PyObject
* obj3
= 0 ;
13656 PyObject
* obj4
= 0 ;
13657 char *kwnames
[] = {
13658 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13667 arg3
= wxString_in_helper(obj2
);
13668 if (arg3
== NULL
) SWIG_fail
;
13672 arg4
= (bool) SWIG_AsBool(obj3
);
13673 if (PyErr_Occurred()) SWIG_fail
;
13676 arg5
= (int) SWIG_AsInt(obj4
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13681 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13683 wxPyEndAllowThreads(__tstate
);
13684 if (PyErr_Occurred()) SWIG_fail
;
13686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13701 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13702 PyObject
*resultobj
;
13703 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13705 wxWindow
*arg3
= (wxWindow
*) 0 ;
13706 wxString
*arg4
= 0 ;
13707 bool arg5
= (bool) False
;
13708 int arg6
= (int) -1 ;
13710 bool temp4
= False
;
13711 PyObject
* obj0
= 0 ;
13712 PyObject
* obj1
= 0 ;
13713 PyObject
* obj2
= 0 ;
13714 PyObject
* obj3
= 0 ;
13715 PyObject
* obj4
= 0 ;
13716 PyObject
* obj5
= 0 ;
13717 char *kwnames
[] = {
13718 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13724 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13725 if (PyErr_Occurred()) SWIG_fail
;
13726 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
13727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13729 arg4
= wxString_in_helper(obj3
);
13730 if (arg4
== NULL
) SWIG_fail
;
13734 arg5
= (bool) SWIG_AsBool(obj4
);
13735 if (PyErr_Occurred()) SWIG_fail
;
13738 arg6
= (int) SWIG_AsInt(obj5
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13743 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13763 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13764 PyObject
*resultobj
;
13765 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13768 PyObject
* obj0
= 0 ;
13769 PyObject
* obj1
= 0 ;
13770 char *kwnames
[] = {
13771 (char *) "self",(char *) "n", NULL
13774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13777 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13778 if (PyErr_Occurred()) SWIG_fail
;
13780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13781 result
= (int)(arg1
)->SetSelection(arg2
);
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13786 resultobj
= SWIG_FromInt((int)result
);
13793 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13794 PyObject
*resultobj
;
13795 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13796 bool arg2
= (bool) True
;
13797 PyObject
* obj0
= 0 ;
13798 PyObject
* obj1
= 0 ;
13799 char *kwnames
[] = {
13800 (char *) "self",(char *) "forward", NULL
13803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13807 arg2
= (bool) SWIG_AsBool(obj1
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13812 (arg1
)->AdvanceSelection(arg2
);
13814 wxPyEndAllowThreads(__tstate
);
13815 if (PyErr_Occurred()) SWIG_fail
;
13817 Py_INCREF(Py_None
); resultobj
= Py_None
;
13824 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13827 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13829 return Py_BuildValue((char *)"");
13831 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13832 PyObject
*resultobj
;
13833 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13834 int arg2
= (int) 0 ;
13835 int arg3
= (int) -1 ;
13836 int arg4
= (int) -1 ;
13837 wxBookCtrlEvent
*result
;
13838 PyObject
* obj0
= 0 ;
13839 PyObject
* obj1
= 0 ;
13840 PyObject
* obj2
= 0 ;
13841 PyObject
* obj3
= 0 ;
13842 char *kwnames
[] = {
13843 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13848 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13849 if (PyErr_Occurred()) SWIG_fail
;
13852 arg2
= (int) SWIG_AsInt(obj1
);
13853 if (PyErr_Occurred()) SWIG_fail
;
13856 arg3
= (int) SWIG_AsInt(obj2
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13860 arg4
= (int) SWIG_AsInt(obj3
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13865 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13867 wxPyEndAllowThreads(__tstate
);
13868 if (PyErr_Occurred()) SWIG_fail
;
13870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
13877 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13878 PyObject
*resultobj
;
13879 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13881 PyObject
* obj0
= 0 ;
13882 char *kwnames
[] = {
13883 (char *) "self", NULL
13886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13891 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13893 wxPyEndAllowThreads(__tstate
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13896 resultobj
= SWIG_FromInt((int)result
);
13903 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13904 PyObject
*resultobj
;
13905 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13907 PyObject
* obj0
= 0 ;
13908 PyObject
* obj1
= 0 ;
13909 char *kwnames
[] = {
13910 (char *) "self",(char *) "nSel", NULL
13913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13916 arg2
= (int) SWIG_AsInt(obj1
);
13917 if (PyErr_Occurred()) SWIG_fail
;
13919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13920 (arg1
)->SetSelection(arg2
);
13922 wxPyEndAllowThreads(__tstate
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13925 Py_INCREF(Py_None
); resultobj
= Py_None
;
13932 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13933 PyObject
*resultobj
;
13934 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13936 PyObject
* obj0
= 0 ;
13937 char *kwnames
[] = {
13938 (char *) "self", NULL
13941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
13942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13946 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
13948 wxPyEndAllowThreads(__tstate
);
13949 if (PyErr_Occurred()) SWIG_fail
;
13951 resultobj
= SWIG_FromInt((int)result
);
13958 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13959 PyObject
*resultobj
;
13960 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13962 PyObject
* obj0
= 0 ;
13963 PyObject
* obj1
= 0 ;
13964 char *kwnames
[] = {
13965 (char *) "self",(char *) "nOldSel", NULL
13968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13971 arg2
= (int) SWIG_AsInt(obj1
);
13972 if (PyErr_Occurred()) SWIG_fail
;
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 (arg1
)->SetOldSelection(arg2
);
13977 wxPyEndAllowThreads(__tstate
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13980 Py_INCREF(Py_None
); resultobj
= Py_None
;
13987 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13990 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
13992 return Py_BuildValue((char *)"");
13994 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13995 PyObject
*resultobj
;
13996 wxWindow
*arg1
= (wxWindow
*) 0 ;
13998 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13999 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14000 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14001 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14002 long arg5
= (long) 0 ;
14003 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14004 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14005 wxNotebook
*result
;
14008 bool temp6
= False
;
14009 PyObject
* obj0
= 0 ;
14010 PyObject
* obj1
= 0 ;
14011 PyObject
* obj2
= 0 ;
14012 PyObject
* obj3
= 0 ;
14013 PyObject
* obj4
= 0 ;
14014 PyObject
* obj5
= 0 ;
14015 char *kwnames
[] = {
14016 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14022 arg2
= (int) SWIG_AsInt(obj1
);
14023 if (PyErr_Occurred()) SWIG_fail
;
14027 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14033 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14037 arg5
= (long) SWIG_AsLong(obj4
);
14038 if (PyErr_Occurred()) SWIG_fail
;
14042 arg6
= wxString_in_helper(obj5
);
14043 if (arg6
== NULL
) SWIG_fail
;
14048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14049 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14051 wxPyEndAllowThreads(__tstate
);
14052 if (PyErr_Occurred()) SWIG_fail
;
14055 resultobj
= wxPyMake_wxObject(result
);
14071 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14072 PyObject
*resultobj
;
14073 wxNotebook
*result
;
14074 char *kwnames
[] = {
14078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14081 result
= (wxNotebook
*)new wxNotebook();
14083 wxPyEndAllowThreads(__tstate
);
14084 if (PyErr_Occurred()) SWIG_fail
;
14087 resultobj
= wxPyMake_wxObject(result
);
14095 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14096 PyObject
*resultobj
;
14097 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14098 wxWindow
*arg2
= (wxWindow
*) 0 ;
14100 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14101 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14102 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14103 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14104 long arg6
= (long) 0 ;
14105 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14106 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14110 bool temp7
= False
;
14111 PyObject
* obj0
= 0 ;
14112 PyObject
* obj1
= 0 ;
14113 PyObject
* obj2
= 0 ;
14114 PyObject
* obj3
= 0 ;
14115 PyObject
* obj4
= 0 ;
14116 PyObject
* obj5
= 0 ;
14117 PyObject
* obj6
= 0 ;
14118 char *kwnames
[] = {
14119 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14127 arg3
= (int) SWIG_AsInt(obj2
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14132 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14138 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14142 arg6
= (long) SWIG_AsLong(obj5
);
14143 if (PyErr_Occurred()) SWIG_fail
;
14147 arg7
= wxString_in_helper(obj6
);
14148 if (arg7
== NULL
) SWIG_fail
;
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14154 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14156 wxPyEndAllowThreads(__tstate
);
14157 if (PyErr_Occurred()) SWIG_fail
;
14159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14174 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14175 PyObject
*resultobj
;
14176 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14178 PyObject
* obj0
= 0 ;
14179 char *kwnames
[] = {
14180 (char *) "self", NULL
14183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14188 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14190 wxPyEndAllowThreads(__tstate
);
14191 if (PyErr_Occurred()) SWIG_fail
;
14193 resultobj
= SWIG_FromInt((int)result
);
14200 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14201 PyObject
*resultobj
;
14202 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14205 PyObject
* obj0
= 0 ;
14206 PyObject
* obj1
= 0 ;
14207 char *kwnames
[] = {
14208 (char *) "self",(char *) "padding", NULL
14211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14216 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14220 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14222 wxPyEndAllowThreads(__tstate
);
14223 if (PyErr_Occurred()) SWIG_fail
;
14225 Py_INCREF(Py_None
); resultobj
= Py_None
;
14232 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14233 PyObject
*resultobj
;
14234 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14237 PyObject
* obj0
= 0 ;
14238 PyObject
* obj1
= 0 ;
14239 char *kwnames
[] = {
14240 (char *) "self",(char *) "sz", NULL
14243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14248 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14252 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14254 wxPyEndAllowThreads(__tstate
);
14255 if (PyErr_Occurred()) SWIG_fail
;
14257 Py_INCREF(Py_None
); resultobj
= Py_None
;
14264 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14265 PyObject
*resultobj
;
14266 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14267 wxPoint
*arg2
= 0 ;
14268 long *arg3
= (long *) 0 ;
14272 PyObject
* obj0
= 0 ;
14273 PyObject
* obj1
= 0 ;
14274 char *kwnames
[] = {
14275 (char *) "self",(char *) "pt", NULL
14279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14284 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14288 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14290 wxPyEndAllowThreads(__tstate
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14293 resultobj
= SWIG_FromInt((int)result
);
14295 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14296 resultobj
= t_output_helper(resultobj
,o
);
14304 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14305 PyObject
*resultobj
;
14306 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14310 PyObject
* obj0
= 0 ;
14311 PyObject
* obj1
= 0 ;
14312 char *kwnames
[] = {
14313 (char *) "self",(char *) "sizePage", NULL
14316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14321 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14325 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14327 wxPyEndAllowThreads(__tstate
);
14328 if (PyErr_Occurred()) SWIG_fail
;
14331 wxSize
* resultptr
;
14332 resultptr
= new wxSize((wxSize
&) result
);
14333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14341 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14342 PyObject
*resultobj
;
14343 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14344 wxWindow
*arg2
= (wxWindow
*) 0 ;
14345 wxColour
*arg3
= 0 ;
14347 PyObject
* obj0
= 0 ;
14348 PyObject
* obj1
= 0 ;
14349 PyObject
* obj2
= 0 ;
14350 char *kwnames
[] = {
14351 (char *) "self",(char *) "window",(char *) "colour", NULL
14354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14361 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14365 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
14367 wxPyEndAllowThreads(__tstate
);
14368 if (PyErr_Occurred()) SWIG_fail
;
14370 Py_INCREF(Py_None
); resultobj
= Py_None
;
14377 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
14379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14380 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14382 return Py_BuildValue((char *)"");
14384 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14385 PyObject
*resultobj
;
14386 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14387 int arg2
= (int) 0 ;
14388 int arg3
= (int) -1 ;
14389 int arg4
= (int) -1 ;
14390 wxNotebookEvent
*result
;
14391 PyObject
* obj0
= 0 ;
14392 PyObject
* obj1
= 0 ;
14393 PyObject
* obj2
= 0 ;
14394 PyObject
* obj3
= 0 ;
14395 char *kwnames
[] = {
14396 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14401 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14402 if (PyErr_Occurred()) SWIG_fail
;
14405 arg2
= (int) SWIG_AsInt(obj1
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14409 arg3
= (int) SWIG_AsInt(obj2
);
14410 if (PyErr_Occurred()) SWIG_fail
;
14413 arg4
= (int) SWIG_AsInt(obj3
);
14414 if (PyErr_Occurred()) SWIG_fail
;
14417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14418 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14420 wxPyEndAllowThreads(__tstate
);
14421 if (PyErr_Occurred()) SWIG_fail
;
14423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
14430 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14433 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14435 return Py_BuildValue((char *)"");
14437 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14438 PyObject
*resultobj
;
14439 wxWindow
*arg1
= (wxWindow
*) 0 ;
14441 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14442 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14443 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14444 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14445 long arg5
= (long) 0 ;
14446 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14447 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14448 wxListbook
*result
;
14451 bool temp6
= False
;
14452 PyObject
* obj0
= 0 ;
14453 PyObject
* obj1
= 0 ;
14454 PyObject
* obj2
= 0 ;
14455 PyObject
* obj3
= 0 ;
14456 PyObject
* obj4
= 0 ;
14457 PyObject
* obj5
= 0 ;
14458 char *kwnames
[] = {
14459 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14465 arg2
= (int) SWIG_AsInt(obj1
);
14466 if (PyErr_Occurred()) SWIG_fail
;
14470 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14476 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14480 arg5
= (long) SWIG_AsLong(obj4
);
14481 if (PyErr_Occurred()) SWIG_fail
;
14485 arg6
= wxString_in_helper(obj5
);
14486 if (arg6
== NULL
) SWIG_fail
;
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14512 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14513 PyObject
*resultobj
;
14514 wxListbook
*result
;
14515 char *kwnames
[] = {
14519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14522 result
= (wxListbook
*)new wxListbook();
14524 wxPyEndAllowThreads(__tstate
);
14525 if (PyErr_Occurred()) SWIG_fail
;
14527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14534 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14535 PyObject
*resultobj
;
14536 wxListbook
*arg1
= (wxListbook
*) 0 ;
14537 wxWindow
*arg2
= (wxWindow
*) 0 ;
14539 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14540 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14541 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14542 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14543 long arg6
= (long) 0 ;
14544 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14545 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14549 bool temp7
= False
;
14550 PyObject
* obj0
= 0 ;
14551 PyObject
* obj1
= 0 ;
14552 PyObject
* obj2
= 0 ;
14553 PyObject
* obj3
= 0 ;
14554 PyObject
* obj4
= 0 ;
14555 PyObject
* obj5
= 0 ;
14556 PyObject
* obj6
= 0 ;
14557 char *kwnames
[] = {
14558 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14566 arg3
= (int) SWIG_AsInt(obj2
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14571 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14577 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14581 arg6
= (long) SWIG_AsLong(obj5
);
14582 if (PyErr_Occurred()) SWIG_fail
;
14586 arg7
= wxString_in_helper(obj6
);
14587 if (arg7
== NULL
) SWIG_fail
;
14592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14593 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14595 wxPyEndAllowThreads(__tstate
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14613 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14614 PyObject
*resultobj
;
14615 wxListbook
*arg1
= (wxListbook
*) 0 ;
14617 PyObject
* obj0
= 0 ;
14618 char *kwnames
[] = {
14619 (char *) "self", NULL
14622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14627 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14629 wxPyEndAllowThreads(__tstate
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14639 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14642 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14644 return Py_BuildValue((char *)"");
14646 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14647 PyObject
*resultobj
;
14648 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14649 int arg2
= (int) 0 ;
14650 int arg3
= (int) -1 ;
14651 int arg4
= (int) -1 ;
14652 wxListbookEvent
*result
;
14653 PyObject
* obj0
= 0 ;
14654 PyObject
* obj1
= 0 ;
14655 PyObject
* obj2
= 0 ;
14656 PyObject
* obj3
= 0 ;
14657 char *kwnames
[] = {
14658 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14663 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14664 if (PyErr_Occurred()) SWIG_fail
;
14667 arg2
= (int) SWIG_AsInt(obj1
);
14668 if (PyErr_Occurred()) SWIG_fail
;
14671 arg3
= (int) SWIG_AsInt(obj2
);
14672 if (PyErr_Occurred()) SWIG_fail
;
14675 arg4
= (int) SWIG_AsInt(obj3
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14680 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
14692 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14695 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14697 return Py_BuildValue((char *)"");
14699 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14700 PyObject
*resultobj
;
14701 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14702 wxBookCtrlSizer
*result
;
14703 PyObject
* obj0
= 0 ;
14704 char *kwnames
[] = {
14705 (char *) "nb", NULL
14708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14713 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14715 wxPyEndAllowThreads(__tstate
);
14716 if (PyErr_Occurred()) SWIG_fail
;
14718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
14725 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14726 PyObject
*resultobj
;
14727 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14728 PyObject
* obj0
= 0 ;
14729 char *kwnames
[] = {
14730 (char *) "self", NULL
14733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14738 (arg1
)->RecalcSizes();
14740 wxPyEndAllowThreads(__tstate
);
14741 if (PyErr_Occurred()) SWIG_fail
;
14743 Py_INCREF(Py_None
); resultobj
= Py_None
;
14750 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
;
14752 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14754 PyObject
* obj0
= 0 ;
14755 char *kwnames
[] = {
14756 (char *) "self", NULL
14759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14764 result
= (arg1
)->CalcMin();
14766 wxPyEndAllowThreads(__tstate
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14770 wxSize
* resultptr
;
14771 resultptr
= new wxSize((wxSize
&) result
);
14772 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14780 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14781 PyObject
*resultobj
;
14782 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14783 wxBookCtrl
*result
;
14784 PyObject
* obj0
= 0 ;
14785 char *kwnames
[] = {
14786 (char *) "self", NULL
14789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
14806 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14809 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14811 return Py_BuildValue((char *)"");
14813 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14814 PyObject
*resultobj
;
14815 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14816 wxNotebookSizer
*result
;
14817 PyObject
* obj0
= 0 ;
14818 char *kwnames
[] = {
14819 (char *) "nb", NULL
14822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14829 wxPyEndAllowThreads(__tstate
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
14839 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14840 PyObject
*resultobj
;
14841 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14842 PyObject
* obj0
= 0 ;
14843 char *kwnames
[] = {
14844 (char *) "self", NULL
14847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14852 (arg1
)->RecalcSizes();
14854 wxPyEndAllowThreads(__tstate
);
14855 if (PyErr_Occurred()) SWIG_fail
;
14857 Py_INCREF(Py_None
); resultobj
= Py_None
;
14864 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14865 PyObject
*resultobj
;
14866 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14868 PyObject
* obj0
= 0 ;
14869 char *kwnames
[] = {
14870 (char *) "self", NULL
14873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14878 result
= (arg1
)->CalcMin();
14880 wxPyEndAllowThreads(__tstate
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14884 wxSize
* resultptr
;
14885 resultptr
= new wxSize((wxSize
&) result
);
14886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14894 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14895 PyObject
*resultobj
;
14896 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14897 wxNotebook
*result
;
14898 PyObject
* obj0
= 0 ;
14899 char *kwnames
[] = {
14900 (char *) "self", NULL
14903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14910 wxPyEndAllowThreads(__tstate
);
14911 if (PyErr_Occurred()) SWIG_fail
;
14914 resultobj
= wxPyMake_wxObject(result
);
14922 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14924 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14925 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14927 return Py_BuildValue((char *)"");
14929 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14930 PyObject
*resultobj
;
14931 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14933 PyObject
* obj0
= 0 ;
14934 char *kwnames
[] = {
14935 (char *) "self", NULL
14938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14943 result
= (int)(arg1
)->GetId();
14945 wxPyEndAllowThreads(__tstate
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14948 resultobj
= SWIG_FromInt((int)result
);
14955 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14956 PyObject
*resultobj
;
14957 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14959 PyObject
* obj0
= 0 ;
14960 char *kwnames
[] = {
14961 (char *) "self", NULL
14964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
14965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14969 result
= (wxControl
*)(arg1
)->GetControl();
14971 wxPyEndAllowThreads(__tstate
);
14972 if (PyErr_Occurred()) SWIG_fail
;
14975 resultobj
= wxPyMake_wxObject(result
);
14983 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14984 PyObject
*resultobj
;
14985 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14986 wxToolBarBase
*result
;
14987 PyObject
* obj0
= 0 ;
14988 char *kwnames
[] = {
14989 (char *) "self", NULL
14992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
14993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14997 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
14999 wxPyEndAllowThreads(__tstate
);
15000 if (PyErr_Occurred()) SWIG_fail
;
15003 resultobj
= wxPyMake_wxObject(result
);
15011 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15012 PyObject
*resultobj
;
15013 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15015 PyObject
* obj0
= 0 ;
15016 char *kwnames
[] = {
15017 (char *) "self", NULL
15020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15025 result
= (int)(arg1
)->IsButton();
15027 wxPyEndAllowThreads(__tstate
);
15028 if (PyErr_Occurred()) SWIG_fail
;
15030 resultobj
= SWIG_FromInt((int)result
);
15037 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15038 PyObject
*resultobj
;
15039 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15041 PyObject
* obj0
= 0 ;
15042 char *kwnames
[] = {
15043 (char *) "self", NULL
15046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15051 result
= (int)(arg1
)->IsControl();
15053 wxPyEndAllowThreads(__tstate
);
15054 if (PyErr_Occurred()) SWIG_fail
;
15056 resultobj
= SWIG_FromInt((int)result
);
15063 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15064 PyObject
*resultobj
;
15065 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15067 PyObject
* obj0
= 0 ;
15068 char *kwnames
[] = {
15069 (char *) "self", NULL
15072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
15073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15077 result
= (int)(arg1
)->IsSeparator();
15079 wxPyEndAllowThreads(__tstate
);
15080 if (PyErr_Occurred()) SWIG_fail
;
15082 resultobj
= SWIG_FromInt((int)result
);
15089 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15090 PyObject
*resultobj
;
15091 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15093 PyObject
* obj0
= 0 ;
15094 char *kwnames
[] = {
15095 (char *) "self", NULL
15098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15103 result
= (int)(arg1
)->GetStyle();
15105 wxPyEndAllowThreads(__tstate
);
15106 if (PyErr_Occurred()) SWIG_fail
;
15108 resultobj
= SWIG_FromInt((int)result
);
15115 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15116 PyObject
*resultobj
;
15117 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15119 PyObject
* obj0
= 0 ;
15120 char *kwnames
[] = {
15121 (char *) "self", NULL
15124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15129 result
= (int)(arg1
)->GetKind();
15131 wxPyEndAllowThreads(__tstate
);
15132 if (PyErr_Occurred()) SWIG_fail
;
15134 resultobj
= SWIG_FromInt((int)result
);
15141 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15142 PyObject
*resultobj
;
15143 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15145 PyObject
* obj0
= 0 ;
15146 char *kwnames
[] = {
15147 (char *) "self", NULL
15150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15155 result
= (bool)(arg1
)->IsEnabled();
15157 wxPyEndAllowThreads(__tstate
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15167 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15168 PyObject
*resultobj
;
15169 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15171 PyObject
* obj0
= 0 ;
15172 char *kwnames
[] = {
15173 (char *) "self", NULL
15176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15181 result
= (bool)(arg1
)->IsToggled();
15183 wxPyEndAllowThreads(__tstate
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15193 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15194 PyObject
*resultobj
;
15195 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15197 PyObject
* obj0
= 0 ;
15198 char *kwnames
[] = {
15199 (char *) "self", NULL
15202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15207 result
= (bool)(arg1
)->CanBeToggled();
15209 wxPyEndAllowThreads(__tstate
);
15210 if (PyErr_Occurred()) SWIG_fail
;
15212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15219 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15220 PyObject
*resultobj
;
15221 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15223 PyObject
* obj0
= 0 ;
15224 char *kwnames
[] = {
15225 (char *) "self", NULL
15228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15234 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15235 result
= (wxBitmap
*) &_result_ref
;
15238 wxPyEndAllowThreads(__tstate
);
15239 if (PyErr_Occurred()) SWIG_fail
;
15241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
15248 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15249 PyObject
*resultobj
;
15250 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15252 PyObject
* obj0
= 0 ;
15253 char *kwnames
[] = {
15254 (char *) "self", NULL
15257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15263 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15264 result
= (wxBitmap
*) &_result_ref
;
15267 wxPyEndAllowThreads(__tstate
);
15268 if (PyErr_Occurred()) SWIG_fail
;
15270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
15277 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15278 PyObject
*resultobj
;
15279 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15281 PyObject
* obj0
= 0 ;
15282 char *kwnames
[] = {
15283 (char *) "self", NULL
15286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15291 result
= (arg1
)->GetBitmap();
15293 wxPyEndAllowThreads(__tstate
);
15294 if (PyErr_Occurred()) SWIG_fail
;
15297 wxBitmap
* resultptr
;
15298 resultptr
= new wxBitmap((wxBitmap
&) result
);
15299 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15307 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15308 PyObject
*resultobj
;
15309 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15311 PyObject
* obj0
= 0 ;
15312 char *kwnames
[] = {
15313 (char *) "self", NULL
15316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 result
= (arg1
)->GetLabel();
15323 wxPyEndAllowThreads(__tstate
);
15324 if (PyErr_Occurred()) SWIG_fail
;
15328 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15330 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15339 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15340 PyObject
*resultobj
;
15341 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15343 PyObject
* obj0
= 0 ;
15344 char *kwnames
[] = {
15345 (char *) "self", NULL
15348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15353 result
= (arg1
)->GetShortHelp();
15355 wxPyEndAllowThreads(__tstate
);
15356 if (PyErr_Occurred()) SWIG_fail
;
15360 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15362 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15371 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15372 PyObject
*resultobj
;
15373 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15375 PyObject
* obj0
= 0 ;
15376 char *kwnames
[] = {
15377 (char *) "self", NULL
15380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15385 result
= (arg1
)->GetLongHelp();
15387 wxPyEndAllowThreads(__tstate
);
15388 if (PyErr_Occurred()) SWIG_fail
;
15392 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15394 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15403 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
;
15405 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15408 PyObject
* obj0
= 0 ;
15409 PyObject
* obj1
= 0 ;
15410 char *kwnames
[] = {
15411 (char *) "self",(char *) "enable", NULL
15414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15417 arg2
= (bool) SWIG_AsBool(obj1
);
15418 if (PyErr_Occurred()) SWIG_fail
;
15420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15421 result
= (bool)(arg1
)->Enable(arg2
);
15423 wxPyEndAllowThreads(__tstate
);
15424 if (PyErr_Occurred()) SWIG_fail
;
15426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15433 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15434 PyObject
*resultobj
;
15435 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15436 PyObject
* obj0
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "self", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15451 Py_INCREF(Py_None
); resultobj
= Py_None
;
15458 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15459 PyObject
*resultobj
;
15460 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15463 PyObject
* obj0
= 0 ;
15464 PyObject
* obj1
= 0 ;
15465 char *kwnames
[] = {
15466 (char *) "self",(char *) "toggle", NULL
15469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15472 arg2
= (bool) SWIG_AsBool(obj1
);
15473 if (PyErr_Occurred()) SWIG_fail
;
15475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15476 result
= (bool)(arg1
)->SetToggle(arg2
);
15478 wxPyEndAllowThreads(__tstate
);
15479 if (PyErr_Occurred()) SWIG_fail
;
15481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15488 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15489 PyObject
*resultobj
;
15490 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15491 wxString
*arg2
= 0 ;
15493 bool temp2
= False
;
15494 PyObject
* obj0
= 0 ;
15495 PyObject
* obj1
= 0 ;
15496 char *kwnames
[] = {
15497 (char *) "self",(char *) "help", NULL
15500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15504 arg2
= wxString_in_helper(obj1
);
15505 if (arg2
== NULL
) SWIG_fail
;
15509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15510 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15512 wxPyEndAllowThreads(__tstate
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15530 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15531 PyObject
*resultobj
;
15532 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15533 wxString
*arg2
= 0 ;
15535 bool temp2
= False
;
15536 PyObject
* obj0
= 0 ;
15537 PyObject
* obj1
= 0 ;
15538 char *kwnames
[] = {
15539 (char *) "self",(char *) "help", NULL
15542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15546 arg2
= wxString_in_helper(obj1
);
15547 if (arg2
== NULL
) SWIG_fail
;
15551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15552 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15554 wxPyEndAllowThreads(__tstate
);
15555 if (PyErr_Occurred()) SWIG_fail
;
15557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15572 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15573 PyObject
*resultobj
;
15574 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15575 wxBitmap
*arg2
= 0 ;
15576 PyObject
* obj0
= 0 ;
15577 PyObject
* obj1
= 0 ;
15578 char *kwnames
[] = {
15579 (char *) "self",(char *) "bmp", NULL
15582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15586 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15588 if (arg2
== NULL
) {
15589 PyErr_SetString(PyExc_TypeError
,"null reference");
15593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15594 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15596 wxPyEndAllowThreads(__tstate
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15599 Py_INCREF(Py_None
); resultobj
= Py_None
;
15606 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15607 PyObject
*resultobj
;
15608 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15609 wxBitmap
*arg2
= 0 ;
15610 PyObject
* obj0
= 0 ;
15611 PyObject
* obj1
= 0 ;
15612 char *kwnames
[] = {
15613 (char *) "self",(char *) "bmp", NULL
15616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15620 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15622 if (arg2
== NULL
) {
15623 PyErr_SetString(PyExc_TypeError
,"null reference");
15627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15628 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15630 wxPyEndAllowThreads(__tstate
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15633 Py_INCREF(Py_None
); resultobj
= Py_None
;
15640 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15641 PyObject
*resultobj
;
15642 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15643 wxString
*arg2
= 0 ;
15644 bool temp2
= False
;
15645 PyObject
* obj0
= 0 ;
15646 PyObject
* obj1
= 0 ;
15647 char *kwnames
[] = {
15648 (char *) "self",(char *) "label", NULL
15651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15655 arg2
= wxString_in_helper(obj1
);
15656 if (arg2
== NULL
) SWIG_fail
;
15660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15661 (arg1
)->SetLabel((wxString
const &)*arg2
);
15663 wxPyEndAllowThreads(__tstate
);
15664 if (PyErr_Occurred()) SWIG_fail
;
15666 Py_INCREF(Py_None
); resultobj
= Py_None
;
15681 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15682 PyObject
*resultobj
;
15683 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15684 PyObject
* obj0
= 0 ;
15685 char *kwnames
[] = {
15686 (char *) "self", NULL
15689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15696 wxPyEndAllowThreads(__tstate
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15699 Py_INCREF(Py_None
); resultobj
= Py_None
;
15706 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
;
15708 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15709 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15710 PyObject
* obj0
= 0 ;
15711 PyObject
* obj1
= 0 ;
15712 char *kwnames
[] = {
15713 (char *) "self",(char *) "tbar", NULL
15716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
15720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15723 (arg1
)->Attach(arg2
);
15725 wxPyEndAllowThreads(__tstate
);
15726 if (PyErr_Occurred()) SWIG_fail
;
15728 Py_INCREF(Py_None
); resultobj
= Py_None
;
15735 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15736 PyObject
*resultobj
;
15737 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15739 PyObject
* obj0
= 0 ;
15740 char *kwnames
[] = {
15741 (char *) "self", NULL
15744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15749 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15751 wxPyEndAllowThreads(__tstate
);
15752 if (PyErr_Occurred()) SWIG_fail
;
15754 resultobj
= result
;
15761 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15762 PyObject
*resultobj
;
15763 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15764 PyObject
*arg2
= (PyObject
*) 0 ;
15765 PyObject
* obj0
= 0 ;
15766 PyObject
* obj1
= 0 ;
15767 char *kwnames
[] = {
15768 (char *) "self",(char *) "clientData", NULL
15771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15777 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15779 wxPyEndAllowThreads(__tstate
);
15780 if (PyErr_Occurred()) SWIG_fail
;
15782 Py_INCREF(Py_None
); resultobj
= Py_None
;
15789 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15791 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15792 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15794 return Py_BuildValue((char *)"");
15796 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15797 PyObject
*resultobj
;
15798 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15800 wxString
*arg3
= 0 ;
15801 wxBitmap
*arg4
= 0 ;
15802 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15803 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15804 int arg6
= (int) wxITEM_NORMAL
;
15805 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15806 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15807 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15808 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15809 PyObject
*arg9
= (PyObject
*) NULL
;
15810 wxToolBarToolBase
*result
;
15811 bool temp3
= False
;
15812 bool temp7
= False
;
15813 bool temp8
= False
;
15814 PyObject
* obj0
= 0 ;
15815 PyObject
* obj1
= 0 ;
15816 PyObject
* obj2
= 0 ;
15817 PyObject
* obj3
= 0 ;
15818 PyObject
* obj4
= 0 ;
15819 PyObject
* obj5
= 0 ;
15820 PyObject
* obj6
= 0 ;
15821 PyObject
* obj7
= 0 ;
15822 PyObject
* obj8
= 0 ;
15823 char *kwnames
[] = {
15824 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15830 arg2
= (int) SWIG_AsInt(obj1
);
15831 if (PyErr_Occurred()) SWIG_fail
;
15833 arg3
= wxString_in_helper(obj2
);
15834 if (arg3
== NULL
) SWIG_fail
;
15837 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
15838 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15840 if (arg4
== NULL
) {
15841 PyErr_SetString(PyExc_TypeError
,"null reference");
15845 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15846 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15848 if (arg5
== NULL
) {
15849 PyErr_SetString(PyExc_TypeError
,"null reference");
15854 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15859 arg7
= wxString_in_helper(obj6
);
15860 if (arg7
== NULL
) SWIG_fail
;
15866 arg8
= wxString_in_helper(obj7
);
15867 if (arg8
== NULL
) SWIG_fail
;
15875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15876 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15878 wxPyEndAllowThreads(__tstate
);
15879 if (PyErr_Occurred()) SWIG_fail
;
15882 resultobj
= wxPyMake_wxObject(result
);
15914 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15915 PyObject
*resultobj
;
15916 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15919 wxString
*arg4
= 0 ;
15920 wxBitmap
*arg5
= 0 ;
15921 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
15922 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
15923 int arg7
= (int) wxITEM_NORMAL
;
15924 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15925 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15926 wxString
const &arg9_defvalue
= wxPyEmptyString
;
15927 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15928 PyObject
*arg10
= (PyObject
*) NULL
;
15929 wxToolBarToolBase
*result
;
15930 bool temp4
= False
;
15931 bool temp8
= False
;
15932 bool temp9
= False
;
15933 PyObject
* obj0
= 0 ;
15934 PyObject
* obj1
= 0 ;
15935 PyObject
* obj2
= 0 ;
15936 PyObject
* obj3
= 0 ;
15937 PyObject
* obj4
= 0 ;
15938 PyObject
* obj5
= 0 ;
15939 PyObject
* obj6
= 0 ;
15940 PyObject
* obj7
= 0 ;
15941 PyObject
* obj8
= 0 ;
15942 PyObject
* obj9
= 0 ;
15943 char *kwnames
[] = {
15944 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15950 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
15951 if (PyErr_Occurred()) SWIG_fail
;
15952 arg3
= (int) SWIG_AsInt(obj2
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15955 arg4
= wxString_in_helper(obj3
);
15956 if (arg4
== NULL
) SWIG_fail
;
15959 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15960 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15962 if (arg5
== NULL
) {
15963 PyErr_SetString(PyExc_TypeError
,"null reference");
15967 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
15968 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15970 if (arg6
== NULL
) {
15971 PyErr_SetString(PyExc_TypeError
,"null reference");
15976 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
15977 if (PyErr_Occurred()) SWIG_fail
;
15981 arg8
= wxString_in_helper(obj7
);
15982 if (arg8
== NULL
) SWIG_fail
;
15988 arg9
= wxString_in_helper(obj8
);
15989 if (arg9
== NULL
) SWIG_fail
;
15997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15998 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
);
16000 wxPyEndAllowThreads(__tstate
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16004 resultobj
= wxPyMake_wxObject(result
);
16036 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16037 PyObject
*resultobj
;
16038 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16039 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
16040 wxToolBarToolBase
*result
;
16041 PyObject
* obj0
= 0 ;
16042 PyObject
* obj1
= 0 ;
16043 char *kwnames
[] = {
16044 (char *) "self",(char *) "tool", NULL
16047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
16048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16050 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
16051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16054 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
16056 wxPyEndAllowThreads(__tstate
);
16057 if (PyErr_Occurred()) SWIG_fail
;
16060 resultobj
= wxPyMake_wxObject(result
);
16068 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16069 PyObject
*resultobj
;
16070 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16072 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
16073 wxToolBarToolBase
*result
;
16074 PyObject
* obj0
= 0 ;
16075 PyObject
* obj1
= 0 ;
16076 PyObject
* obj2
= 0 ;
16077 char *kwnames
[] = {
16078 (char *) "self",(char *) "pos",(char *) "tool", NULL
16081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16084 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16086 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
16087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16090 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
16092 wxPyEndAllowThreads(__tstate
);
16093 if (PyErr_Occurred()) SWIG_fail
;
16096 resultobj
= wxPyMake_wxObject(result
);
16104 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16105 PyObject
*resultobj
;
16106 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16107 wxControl
*arg2
= (wxControl
*) 0 ;
16108 wxToolBarToolBase
*result
;
16109 PyObject
* obj0
= 0 ;
16110 PyObject
* obj1
= 0 ;
16111 char *kwnames
[] = {
16112 (char *) "self",(char *) "control", NULL
16115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16118 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
16119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16122 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
16124 wxPyEndAllowThreads(__tstate
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16128 resultobj
= wxPyMake_wxObject(result
);
16136 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16137 PyObject
*resultobj
;
16138 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16140 wxControl
*arg3
= (wxControl
*) 0 ;
16141 wxToolBarToolBase
*result
;
16142 PyObject
* obj0
= 0 ;
16143 PyObject
* obj1
= 0 ;
16144 PyObject
* obj2
= 0 ;
16145 char *kwnames
[] = {
16146 (char *) "self",(char *) "pos",(char *) "control", NULL
16149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16152 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16153 if (PyErr_Occurred()) SWIG_fail
;
16154 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
16155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16158 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16160 wxPyEndAllowThreads(__tstate
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16164 resultobj
= wxPyMake_wxObject(result
);
16172 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16173 PyObject
*resultobj
;
16174 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16177 PyObject
* obj0
= 0 ;
16178 PyObject
* obj1
= 0 ;
16179 char *kwnames
[] = {
16180 (char *) "self",(char *) "id", NULL
16183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16186 arg2
= (int) SWIG_AsInt(obj1
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16190 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16192 wxPyEndAllowThreads(__tstate
);
16193 if (PyErr_Occurred()) SWIG_fail
;
16196 resultobj
= wxPyMake_wxObject(result
);
16204 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16205 PyObject
*resultobj
;
16206 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16207 wxToolBarToolBase
*result
;
16208 PyObject
* obj0
= 0 ;
16209 char *kwnames
[] = {
16210 (char *) "self", NULL
16213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16218 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16220 wxPyEndAllowThreads(__tstate
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16224 resultobj
= wxPyMake_wxObject(result
);
16232 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16233 PyObject
*resultobj
;
16234 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16236 wxToolBarToolBase
*result
;
16237 PyObject
* obj0
= 0 ;
16238 PyObject
* obj1
= 0 ;
16239 char *kwnames
[] = {
16240 (char *) "self",(char *) "pos", NULL
16243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16246 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16247 if (PyErr_Occurred()) SWIG_fail
;
16249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16250 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16252 wxPyEndAllowThreads(__tstate
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16256 resultobj
= wxPyMake_wxObject(result
);
16264 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16265 PyObject
*resultobj
;
16266 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16268 wxToolBarToolBase
*result
;
16269 PyObject
* obj0
= 0 ;
16270 PyObject
* obj1
= 0 ;
16271 char *kwnames
[] = {
16272 (char *) "self",(char *) "id", NULL
16275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16278 arg2
= (int) SWIG_AsInt(obj1
);
16279 if (PyErr_Occurred()) SWIG_fail
;
16281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16282 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16284 wxPyEndAllowThreads(__tstate
);
16285 if (PyErr_Occurred()) SWIG_fail
;
16288 resultobj
= wxPyMake_wxObject(result
);
16296 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16297 PyObject
*resultobj
;
16298 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16301 PyObject
* obj0
= 0 ;
16302 PyObject
* obj1
= 0 ;
16303 char *kwnames
[] = {
16304 (char *) "self",(char *) "pos", NULL
16307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16310 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16311 if (PyErr_Occurred()) SWIG_fail
;
16313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16314 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16316 wxPyEndAllowThreads(__tstate
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16326 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16327 PyObject
*resultobj
;
16328 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16331 PyObject
* obj0
= 0 ;
16332 PyObject
* obj1
= 0 ;
16333 char *kwnames
[] = {
16334 (char *) "self",(char *) "id", NULL
16337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16340 arg2
= (int) SWIG_AsInt(obj1
);
16341 if (PyErr_Occurred()) SWIG_fail
;
16343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16344 result
= (bool)(arg1
)->DeleteTool(arg2
);
16346 wxPyEndAllowThreads(__tstate
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16356 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16357 PyObject
*resultobj
;
16358 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16359 PyObject
* obj0
= 0 ;
16360 char *kwnames
[] = {
16361 (char *) "self", NULL
16364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16369 (arg1
)->ClearTools();
16371 wxPyEndAllowThreads(__tstate
);
16372 if (PyErr_Occurred()) SWIG_fail
;
16374 Py_INCREF(Py_None
); resultobj
= Py_None
;
16381 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16382 PyObject
*resultobj
;
16383 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16385 PyObject
* obj0
= 0 ;
16386 char *kwnames
[] = {
16387 (char *) "self", NULL
16390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16395 result
= (bool)(arg1
)->Realize();
16397 wxPyEndAllowThreads(__tstate
);
16398 if (PyErr_Occurred()) SWIG_fail
;
16400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16407 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16408 PyObject
*resultobj
;
16409 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16412 PyObject
* obj0
= 0 ;
16413 PyObject
* obj1
= 0 ;
16414 PyObject
* obj2
= 0 ;
16415 char *kwnames
[] = {
16416 (char *) "self",(char *) "id",(char *) "enable", NULL
16419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16422 arg2
= (int) SWIG_AsInt(obj1
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16424 arg3
= (bool) SWIG_AsBool(obj2
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16428 (arg1
)->EnableTool(arg2
,arg3
);
16430 wxPyEndAllowThreads(__tstate
);
16431 if (PyErr_Occurred()) SWIG_fail
;
16433 Py_INCREF(Py_None
); resultobj
= Py_None
;
16440 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16441 PyObject
*resultobj
;
16442 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16445 PyObject
* obj0
= 0 ;
16446 PyObject
* obj1
= 0 ;
16447 PyObject
* obj2
= 0 ;
16448 char *kwnames
[] = {
16449 (char *) "self",(char *) "id",(char *) "toggle", NULL
16452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16455 arg2
= (int) SWIG_AsInt(obj1
);
16456 if (PyErr_Occurred()) SWIG_fail
;
16457 arg3
= (bool) SWIG_AsBool(obj2
);
16458 if (PyErr_Occurred()) SWIG_fail
;
16460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16461 (arg1
)->ToggleTool(arg2
,arg3
);
16463 wxPyEndAllowThreads(__tstate
);
16464 if (PyErr_Occurred()) SWIG_fail
;
16466 Py_INCREF(Py_None
); resultobj
= Py_None
;
16473 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16474 PyObject
*resultobj
;
16475 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16478 PyObject
* obj0
= 0 ;
16479 PyObject
* obj1
= 0 ;
16480 PyObject
* obj2
= 0 ;
16481 char *kwnames
[] = {
16482 (char *) "self",(char *) "id",(char *) "toggle", NULL
16485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16488 arg2
= (int) SWIG_AsInt(obj1
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16490 arg3
= (bool) SWIG_AsBool(obj2
);
16491 if (PyErr_Occurred()) SWIG_fail
;
16493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16494 (arg1
)->SetToggle(arg2
,arg3
);
16496 wxPyEndAllowThreads(__tstate
);
16497 if (PyErr_Occurred()) SWIG_fail
;
16499 Py_INCREF(Py_None
); resultobj
= Py_None
;
16506 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16507 PyObject
*resultobj
;
16508 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16511 PyObject
* obj0
= 0 ;
16512 PyObject
* obj1
= 0 ;
16513 char *kwnames
[] = {
16514 (char *) "self",(char *) "id", NULL
16517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16520 arg2
= (int) SWIG_AsInt(obj1
);
16521 if (PyErr_Occurred()) SWIG_fail
;
16523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16524 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16526 wxPyEndAllowThreads(__tstate
);
16527 if (PyErr_Occurred()) SWIG_fail
;
16529 resultobj
= result
;
16536 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16537 PyObject
*resultobj
;
16538 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16540 PyObject
*arg3
= (PyObject
*) 0 ;
16541 PyObject
* obj0
= 0 ;
16542 PyObject
* obj1
= 0 ;
16543 PyObject
* obj2
= 0 ;
16544 char *kwnames
[] = {
16545 (char *) "self",(char *) "id",(char *) "clientData", NULL
16548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16551 arg2
= (int) SWIG_AsInt(obj1
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16558 wxPyEndAllowThreads(__tstate
);
16559 if (PyErr_Occurred()) SWIG_fail
;
16561 Py_INCREF(Py_None
); resultobj
= Py_None
;
16568 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16569 PyObject
*resultobj
;
16570 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16573 PyObject
* obj0
= 0 ;
16574 PyObject
* obj1
= 0 ;
16575 char *kwnames
[] = {
16576 (char *) "self",(char *) "id", NULL
16579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16582 arg2
= (int) SWIG_AsInt(obj1
);
16583 if (PyErr_Occurred()) SWIG_fail
;
16585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16586 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16588 wxPyEndAllowThreads(__tstate
);
16589 if (PyErr_Occurred()) SWIG_fail
;
16591 resultobj
= SWIG_FromInt((int)result
);
16598 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16599 PyObject
*resultobj
;
16600 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16603 PyObject
* obj0
= 0 ;
16604 PyObject
* obj1
= 0 ;
16605 char *kwnames
[] = {
16606 (char *) "self",(char *) "id", NULL
16609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16612 arg2
= (int) SWIG_AsInt(obj1
);
16613 if (PyErr_Occurred()) SWIG_fail
;
16615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16616 result
= (bool)(arg1
)->GetToolState(arg2
);
16618 wxPyEndAllowThreads(__tstate
);
16619 if (PyErr_Occurred()) SWIG_fail
;
16621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16628 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16629 PyObject
*resultobj
;
16630 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16633 PyObject
* obj0
= 0 ;
16634 PyObject
* obj1
= 0 ;
16635 char *kwnames
[] = {
16636 (char *) "self",(char *) "id", NULL
16639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16642 arg2
= (int) SWIG_AsInt(obj1
);
16643 if (PyErr_Occurred()) SWIG_fail
;
16645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16646 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16648 wxPyEndAllowThreads(__tstate
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16658 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16659 PyObject
*resultobj
;
16660 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16662 wxString
*arg3
= 0 ;
16663 bool temp3
= False
;
16664 PyObject
* obj0
= 0 ;
16665 PyObject
* obj1
= 0 ;
16666 PyObject
* obj2
= 0 ;
16667 char *kwnames
[] = {
16668 (char *) "self",(char *) "id",(char *) "helpString", NULL
16671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16674 arg2
= (int) SWIG_AsInt(obj1
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16677 arg3
= wxString_in_helper(obj2
);
16678 if (arg3
== NULL
) SWIG_fail
;
16682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16683 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16685 wxPyEndAllowThreads(__tstate
);
16686 if (PyErr_Occurred()) SWIG_fail
;
16688 Py_INCREF(Py_None
); resultobj
= Py_None
;
16703 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16704 PyObject
*resultobj
;
16705 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16708 PyObject
* obj0
= 0 ;
16709 PyObject
* obj1
= 0 ;
16710 char *kwnames
[] = {
16711 (char *) "self",(char *) "id", NULL
16714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16717 arg2
= (int) SWIG_AsInt(obj1
);
16718 if (PyErr_Occurred()) SWIG_fail
;
16720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16721 result
= (arg1
)->GetToolShortHelp(arg2
);
16723 wxPyEndAllowThreads(__tstate
);
16724 if (PyErr_Occurred()) SWIG_fail
;
16728 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16730 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16739 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16740 PyObject
*resultobj
;
16741 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16743 wxString
*arg3
= 0 ;
16744 bool temp3
= False
;
16745 PyObject
* obj0
= 0 ;
16746 PyObject
* obj1
= 0 ;
16747 PyObject
* obj2
= 0 ;
16748 char *kwnames
[] = {
16749 (char *) "self",(char *) "id",(char *) "helpString", NULL
16752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16755 arg2
= (int) SWIG_AsInt(obj1
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16758 arg3
= wxString_in_helper(obj2
);
16759 if (arg3
== NULL
) SWIG_fail
;
16763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16764 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16766 wxPyEndAllowThreads(__tstate
);
16767 if (PyErr_Occurred()) SWIG_fail
;
16769 Py_INCREF(Py_None
); resultobj
= Py_None
;
16784 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16785 PyObject
*resultobj
;
16786 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16789 PyObject
* obj0
= 0 ;
16790 PyObject
* obj1
= 0 ;
16791 char *kwnames
[] = {
16792 (char *) "self",(char *) "id", NULL
16795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16798 arg2
= (int) SWIG_AsInt(obj1
);
16799 if (PyErr_Occurred()) SWIG_fail
;
16801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16802 result
= (arg1
)->GetToolLongHelp(arg2
);
16804 wxPyEndAllowThreads(__tstate
);
16805 if (PyErr_Occurred()) SWIG_fail
;
16809 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16811 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16820 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16821 PyObject
*resultobj
;
16822 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16825 PyObject
* obj0
= 0 ;
16826 PyObject
* obj1
= 0 ;
16827 PyObject
* obj2
= 0 ;
16828 char *kwnames
[] = {
16829 (char *) "self",(char *) "x",(char *) "y", NULL
16832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16835 arg2
= (int) SWIG_AsInt(obj1
);
16836 if (PyErr_Occurred()) SWIG_fail
;
16837 arg3
= (int) SWIG_AsInt(obj2
);
16838 if (PyErr_Occurred()) SWIG_fail
;
16840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16841 (arg1
)->SetMargins(arg2
,arg3
);
16843 wxPyEndAllowThreads(__tstate
);
16844 if (PyErr_Occurred()) SWIG_fail
;
16846 Py_INCREF(Py_None
); resultobj
= Py_None
;
16853 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16854 PyObject
*resultobj
;
16855 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16858 PyObject
* obj0
= 0 ;
16859 PyObject
* obj1
= 0 ;
16860 char *kwnames
[] = {
16861 (char *) "self",(char *) "size", NULL
16864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16869 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16873 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16875 wxPyEndAllowThreads(__tstate
);
16876 if (PyErr_Occurred()) SWIG_fail
;
16878 Py_INCREF(Py_None
); resultobj
= Py_None
;
16885 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16886 PyObject
*resultobj
;
16887 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16889 PyObject
* obj0
= 0 ;
16890 PyObject
* obj1
= 0 ;
16891 char *kwnames
[] = {
16892 (char *) "self",(char *) "packing", NULL
16895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16898 arg2
= (int) SWIG_AsInt(obj1
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16902 (arg1
)->SetToolPacking(arg2
);
16904 wxPyEndAllowThreads(__tstate
);
16905 if (PyErr_Occurred()) SWIG_fail
;
16907 Py_INCREF(Py_None
); resultobj
= Py_None
;
16914 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16915 PyObject
*resultobj
;
16916 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16918 PyObject
* obj0
= 0 ;
16919 PyObject
* obj1
= 0 ;
16920 char *kwnames
[] = {
16921 (char *) "self",(char *) "separation", NULL
16924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
16925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16927 arg2
= (int) SWIG_AsInt(obj1
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16931 (arg1
)->SetToolSeparation(arg2
);
16933 wxPyEndAllowThreads(__tstate
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16936 Py_INCREF(Py_None
); resultobj
= Py_None
;
16943 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
;
16945 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16947 PyObject
* obj0
= 0 ;
16948 char *kwnames
[] = {
16949 (char *) "self", NULL
16952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
16953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 result
= (arg1
)->GetToolMargins();
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16963 wxSize
* resultptr
;
16964 resultptr
= new wxSize((wxSize
&) result
);
16965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16973 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16974 PyObject
*resultobj
;
16975 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16977 PyObject
* obj0
= 0 ;
16978 char *kwnames
[] = {
16979 (char *) "self", NULL
16982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
16983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 result
= (arg1
)->GetMargins();
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16993 wxSize
* resultptr
;
16994 resultptr
= new wxSize((wxSize
&) result
);
16995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17003 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17004 PyObject
*resultobj
;
17005 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17007 PyObject
* obj0
= 0 ;
17008 char *kwnames
[] = {
17009 (char *) "self", NULL
17012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17017 result
= (int)(arg1
)->GetToolPacking();
17019 wxPyEndAllowThreads(__tstate
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17022 resultobj
= SWIG_FromInt((int)result
);
17029 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17030 PyObject
*resultobj
;
17031 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17033 PyObject
* obj0
= 0 ;
17034 char *kwnames
[] = {
17035 (char *) "self", NULL
17038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
17039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17043 result
= (int)(arg1
)->GetToolSeparation();
17045 wxPyEndAllowThreads(__tstate
);
17046 if (PyErr_Occurred()) SWIG_fail
;
17048 resultobj
= SWIG_FromInt((int)result
);
17055 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17056 PyObject
*resultobj
;
17057 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17059 PyObject
* obj0
= 0 ;
17060 PyObject
* obj1
= 0 ;
17061 char *kwnames
[] = {
17062 (char *) "self",(char *) "nRows", NULL
17065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
17066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17068 arg2
= (int) SWIG_AsInt(obj1
);
17069 if (PyErr_Occurred()) SWIG_fail
;
17071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17072 (arg1
)->SetRows(arg2
);
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17077 Py_INCREF(Py_None
); resultobj
= Py_None
;
17084 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17085 PyObject
*resultobj
;
17086 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17089 PyObject
* obj0
= 0 ;
17090 PyObject
* obj1
= 0 ;
17091 PyObject
* obj2
= 0 ;
17092 char *kwnames
[] = {
17093 (char *) "self",(char *) "rows",(char *) "cols", NULL
17096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17099 arg2
= (int) SWIG_AsInt(obj1
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17101 arg3
= (int) SWIG_AsInt(obj2
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17105 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17107 wxPyEndAllowThreads(__tstate
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17110 Py_INCREF(Py_None
); resultobj
= Py_None
;
17117 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17118 PyObject
*resultobj
;
17119 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17121 PyObject
* obj0
= 0 ;
17122 char *kwnames
[] = {
17123 (char *) "self", NULL
17126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17131 result
= (int)(arg1
)->GetMaxRows();
17133 wxPyEndAllowThreads(__tstate
);
17134 if (PyErr_Occurred()) SWIG_fail
;
17136 resultobj
= SWIG_FromInt((int)result
);
17143 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17144 PyObject
*resultobj
;
17145 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17147 PyObject
* obj0
= 0 ;
17148 char *kwnames
[] = {
17149 (char *) "self", NULL
17152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17157 result
= (int)(arg1
)->GetMaxCols();
17159 wxPyEndAllowThreads(__tstate
);
17160 if (PyErr_Occurred()) SWIG_fail
;
17162 resultobj
= SWIG_FromInt((int)result
);
17169 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17170 PyObject
*resultobj
;
17171 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17174 PyObject
* obj0
= 0 ;
17175 PyObject
* obj1
= 0 ;
17176 char *kwnames
[] = {
17177 (char *) "self",(char *) "size", NULL
17180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17185 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17189 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17191 wxPyEndAllowThreads(__tstate
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17194 Py_INCREF(Py_None
); resultobj
= Py_None
;
17201 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17202 PyObject
*resultobj
;
17203 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17205 PyObject
* obj0
= 0 ;
17206 char *kwnames
[] = {
17207 (char *) "self", NULL
17210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17215 result
= (arg1
)->GetToolBitmapSize();
17217 wxPyEndAllowThreads(__tstate
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17221 wxSize
* resultptr
;
17222 resultptr
= new wxSize((wxSize
&) result
);
17223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17231 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17232 PyObject
*resultobj
;
17233 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17235 PyObject
* obj0
= 0 ;
17236 char *kwnames
[] = {
17237 (char *) "self", NULL
17240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17245 result
= (arg1
)->GetToolSize();
17247 wxPyEndAllowThreads(__tstate
);
17248 if (PyErr_Occurred()) SWIG_fail
;
17251 wxSize
* resultptr
;
17252 resultptr
= new wxSize((wxSize
&) result
);
17253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17261 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17262 PyObject
*resultobj
;
17263 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17266 wxToolBarToolBase
*result
;
17267 PyObject
* obj0
= 0 ;
17268 PyObject
* obj1
= 0 ;
17269 PyObject
* obj2
= 0 ;
17270 char *kwnames
[] = {
17271 (char *) "self",(char *) "x",(char *) "y", NULL
17274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17277 arg2
= (int) SWIG_AsInt(obj1
);
17278 if (PyErr_Occurred()) SWIG_fail
;
17279 arg3
= (int) SWIG_AsInt(obj2
);
17280 if (PyErr_Occurred()) SWIG_fail
;
17282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17283 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17285 wxPyEndAllowThreads(__tstate
);
17286 if (PyErr_Occurred()) SWIG_fail
;
17289 resultobj
= wxPyMake_wxObject(result
);
17297 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17298 PyObject
*resultobj
;
17299 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17301 wxToolBarToolBase
*result
;
17302 PyObject
* obj0
= 0 ;
17303 PyObject
* obj1
= 0 ;
17304 char *kwnames
[] = {
17305 (char *) "self",(char *) "toolid", NULL
17308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17311 arg2
= (int) SWIG_AsInt(obj1
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17315 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17317 wxPyEndAllowThreads(__tstate
);
17318 if (PyErr_Occurred()) SWIG_fail
;
17321 resultobj
= wxPyMake_wxObject(result
);
17329 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17330 PyObject
*resultobj
;
17331 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17333 PyObject
* obj0
= 0 ;
17334 char *kwnames
[] = {
17335 (char *) "self", NULL
17338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17343 result
= (bool)(arg1
)->IsVertical();
17345 wxPyEndAllowThreads(__tstate
);
17346 if (PyErr_Occurred()) SWIG_fail
;
17348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17355 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
17357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17358 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17360 return Py_BuildValue((char *)"");
17362 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17363 PyObject
*resultobj
;
17364 wxWindow
*arg1
= (wxWindow
*) 0 ;
17366 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17367 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17368 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17369 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17370 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17371 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17372 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17376 bool temp6
= False
;
17377 PyObject
* obj0
= 0 ;
17378 PyObject
* obj1
= 0 ;
17379 PyObject
* obj2
= 0 ;
17380 PyObject
* obj3
= 0 ;
17381 PyObject
* obj4
= 0 ;
17382 PyObject
* obj5
= 0 ;
17383 char *kwnames
[] = {
17384 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17390 arg2
= (int) SWIG_AsInt(obj1
);
17391 if (PyErr_Occurred()) SWIG_fail
;
17395 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17401 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17405 arg5
= (long) SWIG_AsLong(obj4
);
17406 if (PyErr_Occurred()) SWIG_fail
;
17410 arg6
= wxString_in_helper(obj5
);
17411 if (arg6
== NULL
) SWIG_fail
;
17416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17417 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17419 wxPyEndAllowThreads(__tstate
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17423 resultobj
= wxPyMake_wxObject(result
);
17439 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17440 PyObject
*resultobj
;
17442 char *kwnames
[] = {
17446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17449 result
= (wxToolBar
*)new wxToolBar();
17451 wxPyEndAllowThreads(__tstate
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17455 resultobj
= wxPyMake_wxObject(result
);
17463 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17464 PyObject
*resultobj
;
17465 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17466 wxWindow
*arg2
= (wxWindow
*) 0 ;
17468 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17469 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17470 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17471 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17472 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17473 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17474 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17478 bool temp7
= False
;
17479 PyObject
* obj0
= 0 ;
17480 PyObject
* obj1
= 0 ;
17481 PyObject
* obj2
= 0 ;
17482 PyObject
* obj3
= 0 ;
17483 PyObject
* obj4
= 0 ;
17484 PyObject
* obj5
= 0 ;
17485 PyObject
* obj6
= 0 ;
17486 char *kwnames
[] = {
17487 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17495 arg3
= (int) SWIG_AsInt(obj2
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17500 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17506 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17510 arg6
= (long) SWIG_AsLong(obj5
);
17511 if (PyErr_Occurred()) SWIG_fail
;
17515 arg7
= wxString_in_helper(obj6
);
17516 if (arg7
== NULL
) SWIG_fail
;
17521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17522 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17524 wxPyEndAllowThreads(__tstate
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17542 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17543 PyObject
*resultobj
;
17544 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17547 wxToolBarToolBase
*result
;
17548 PyObject
* obj0
= 0 ;
17549 PyObject
* obj1
= 0 ;
17550 PyObject
* obj2
= 0 ;
17551 char *kwnames
[] = {
17552 (char *) "self",(char *) "x",(char *) "y", NULL
17555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17558 arg2
= (int) SWIG_AsInt(obj1
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17560 arg3
= (int) SWIG_AsInt(obj2
);
17561 if (PyErr_Occurred()) SWIG_fail
;
17563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17564 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17566 wxPyEndAllowThreads(__tstate
);
17567 if (PyErr_Occurred()) SWIG_fail
;
17570 resultobj
= wxPyMake_wxObject(result
);
17578 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17581 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17583 return Py_BuildValue((char *)"");
17585 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
17586 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17591 static PyObject
*_wrap_ListCtrlNameStr_get() {
17596 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17598 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17605 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17606 PyObject
*resultobj
;
17607 wxColour
const &arg1_defvalue
= wxNullColour
;
17608 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17609 wxColour
const &arg2_defvalue
= wxNullColour
;
17610 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17611 wxFont
const &arg3_defvalue
= wxNullFont
;
17612 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17613 wxListItemAttr
*result
;
17616 PyObject
* obj0
= 0 ;
17617 PyObject
* obj1
= 0 ;
17618 PyObject
* obj2
= 0 ;
17619 char *kwnames
[] = {
17620 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17627 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17633 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17637 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
17638 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17640 if (arg3
== NULL
) {
17641 PyErr_SetString(PyExc_TypeError
,"null reference");
17646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17647 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17649 wxPyEndAllowThreads(__tstate
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
17659 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17660 PyObject
*resultobj
;
17661 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17662 wxColour
*arg2
= 0 ;
17664 PyObject
* obj0
= 0 ;
17665 PyObject
* obj1
= 0 ;
17666 char *kwnames
[] = {
17667 (char *) "self",(char *) "colText", NULL
17670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17675 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17679 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17681 wxPyEndAllowThreads(__tstate
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17684 Py_INCREF(Py_None
); resultobj
= Py_None
;
17691 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17692 PyObject
*resultobj
;
17693 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17694 wxColour
*arg2
= 0 ;
17696 PyObject
* obj0
= 0 ;
17697 PyObject
* obj1
= 0 ;
17698 char *kwnames
[] = {
17699 (char *) "self",(char *) "colBack", NULL
17702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17707 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17711 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17713 wxPyEndAllowThreads(__tstate
);
17714 if (PyErr_Occurred()) SWIG_fail
;
17716 Py_INCREF(Py_None
); resultobj
= Py_None
;
17723 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17724 PyObject
*resultobj
;
17725 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17727 PyObject
* obj0
= 0 ;
17728 PyObject
* obj1
= 0 ;
17729 char *kwnames
[] = {
17730 (char *) "self",(char *) "font", NULL
17733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17737 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17739 if (arg2
== NULL
) {
17740 PyErr_SetString(PyExc_TypeError
,"null reference");
17744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17745 (arg1
)->SetFont((wxFont
const &)*arg2
);
17747 wxPyEndAllowThreads(__tstate
);
17748 if (PyErr_Occurred()) SWIG_fail
;
17750 Py_INCREF(Py_None
); resultobj
= Py_None
;
17757 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17758 PyObject
*resultobj
;
17759 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17761 PyObject
* obj0
= 0 ;
17762 char *kwnames
[] = {
17763 (char *) "self", NULL
17766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17771 result
= (bool)(arg1
)->HasTextColour();
17773 wxPyEndAllowThreads(__tstate
);
17774 if (PyErr_Occurred()) SWIG_fail
;
17776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17783 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17784 PyObject
*resultobj
;
17785 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17787 PyObject
* obj0
= 0 ;
17788 char *kwnames
[] = {
17789 (char *) "self", NULL
17792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17797 result
= (bool)(arg1
)->HasBackgroundColour();
17799 wxPyEndAllowThreads(__tstate
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17809 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17810 PyObject
*resultobj
;
17811 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17813 PyObject
* obj0
= 0 ;
17814 char *kwnames
[] = {
17815 (char *) "self", NULL
17818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17823 result
= (bool)(arg1
)->HasFont();
17825 wxPyEndAllowThreads(__tstate
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17835 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17836 PyObject
*resultobj
;
17837 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17839 PyObject
* obj0
= 0 ;
17840 char *kwnames
[] = {
17841 (char *) "self", NULL
17844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17849 result
= (arg1
)->GetTextColour();
17851 wxPyEndAllowThreads(__tstate
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17855 wxColour
* resultptr
;
17856 resultptr
= new wxColour((wxColour
&) result
);
17857 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17865 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17866 PyObject
*resultobj
;
17867 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17869 PyObject
* obj0
= 0 ;
17870 char *kwnames
[] = {
17871 (char *) "self", NULL
17874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17879 result
= (arg1
)->GetBackgroundColour();
17881 wxPyEndAllowThreads(__tstate
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17885 wxColour
* resultptr
;
17886 resultptr
= new wxColour((wxColour
&) result
);
17887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17895 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17896 PyObject
*resultobj
;
17897 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17899 PyObject
* obj0
= 0 ;
17900 char *kwnames
[] = {
17901 (char *) "self", NULL
17904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
17905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17909 result
= (arg1
)->GetFont();
17911 wxPyEndAllowThreads(__tstate
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17915 wxFont
* resultptr
;
17916 resultptr
= new wxFont((wxFont
&) result
);
17917 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
17925 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17926 PyObject
*resultobj
;
17927 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17928 PyObject
* obj0
= 0 ;
17929 char *kwnames
[] = {
17930 (char *) "self", NULL
17933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
17934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17938 wxListItemAttr_Destroy(arg1
);
17940 wxPyEndAllowThreads(__tstate
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17943 Py_INCREF(Py_None
); resultobj
= Py_None
;
17950 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
17952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17953 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
17955 return Py_BuildValue((char *)"");
17957 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17958 PyObject
*resultobj
;
17959 wxListItem
*result
;
17960 char *kwnames
[] = {
17964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
17966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17967 result
= (wxListItem
*)new wxListItem();
17969 wxPyEndAllowThreads(__tstate
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17973 resultobj
= wxPyMake_wxObject(result
);
17981 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17982 PyObject
*resultobj
;
17983 wxListItem
*arg1
= (wxListItem
*) 0 ;
17984 PyObject
* obj0
= 0 ;
17985 char *kwnames
[] = {
17986 (char *) "self", NULL
17989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
17990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17996 wxPyEndAllowThreads(__tstate
);
17997 if (PyErr_Occurred()) SWIG_fail
;
17999 Py_INCREF(Py_None
); resultobj
= Py_None
;
18006 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18007 PyObject
*resultobj
;
18008 wxListItem
*arg1
= (wxListItem
*) 0 ;
18009 PyObject
* obj0
= 0 ;
18010 char *kwnames
[] = {
18011 (char *) "self", NULL
18014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
18015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18024 Py_INCREF(Py_None
); resultobj
= Py_None
;
18031 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18032 PyObject
*resultobj
;
18033 wxListItem
*arg1
= (wxListItem
*) 0 ;
18034 PyObject
* obj0
= 0 ;
18035 char *kwnames
[] = {
18036 (char *) "self", NULL
18039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
18040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18044 (arg1
)->ClearAttributes();
18046 wxPyEndAllowThreads(__tstate
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18049 Py_INCREF(Py_None
); resultobj
= Py_None
;
18056 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18057 PyObject
*resultobj
;
18058 wxListItem
*arg1
= (wxListItem
*) 0 ;
18060 PyObject
* obj0
= 0 ;
18061 PyObject
* obj1
= 0 ;
18062 char *kwnames
[] = {
18063 (char *) "self",(char *) "mask", NULL
18066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18069 arg2
= (long) SWIG_AsLong(obj1
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18073 (arg1
)->SetMask(arg2
);
18075 wxPyEndAllowThreads(__tstate
);
18076 if (PyErr_Occurred()) SWIG_fail
;
18078 Py_INCREF(Py_None
); resultobj
= Py_None
;
18085 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18086 PyObject
*resultobj
;
18087 wxListItem
*arg1
= (wxListItem
*) 0 ;
18089 PyObject
* obj0
= 0 ;
18090 PyObject
* obj1
= 0 ;
18091 char *kwnames
[] = {
18092 (char *) "self",(char *) "id", NULL
18095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
18096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18098 arg2
= (long) SWIG_AsLong(obj1
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18102 (arg1
)->SetId(arg2
);
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 Py_INCREF(Py_None
); resultobj
= Py_None
;
18114 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18115 PyObject
*resultobj
;
18116 wxListItem
*arg1
= (wxListItem
*) 0 ;
18118 PyObject
* obj0
= 0 ;
18119 PyObject
* obj1
= 0 ;
18120 char *kwnames
[] = {
18121 (char *) "self",(char *) "col", NULL
18124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
18125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18127 arg2
= (int) SWIG_AsInt(obj1
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 (arg1
)->SetColumn(arg2
);
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18136 Py_INCREF(Py_None
); resultobj
= Py_None
;
18143 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18144 PyObject
*resultobj
;
18145 wxListItem
*arg1
= (wxListItem
*) 0 ;
18147 PyObject
* obj0
= 0 ;
18148 PyObject
* obj1
= 0 ;
18149 char *kwnames
[] = {
18150 (char *) "self",(char *) "state", NULL
18153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18156 arg2
= (long) SWIG_AsLong(obj1
);
18157 if (PyErr_Occurred()) SWIG_fail
;
18159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18160 (arg1
)->SetState(arg2
);
18162 wxPyEndAllowThreads(__tstate
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18165 Py_INCREF(Py_None
); resultobj
= Py_None
;
18172 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18173 PyObject
*resultobj
;
18174 wxListItem
*arg1
= (wxListItem
*) 0 ;
18176 PyObject
* obj0
= 0 ;
18177 PyObject
* obj1
= 0 ;
18178 char *kwnames
[] = {
18179 (char *) "self",(char *) "stateMask", NULL
18182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18185 arg2
= (long) SWIG_AsLong(obj1
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18189 (arg1
)->SetStateMask(arg2
);
18191 wxPyEndAllowThreads(__tstate
);
18192 if (PyErr_Occurred()) SWIG_fail
;
18194 Py_INCREF(Py_None
); resultobj
= Py_None
;
18201 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18202 PyObject
*resultobj
;
18203 wxListItem
*arg1
= (wxListItem
*) 0 ;
18204 wxString
*arg2
= 0 ;
18205 bool temp2
= False
;
18206 PyObject
* obj0
= 0 ;
18207 PyObject
* obj1
= 0 ;
18208 char *kwnames
[] = {
18209 (char *) "self",(char *) "text", NULL
18212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18216 arg2
= wxString_in_helper(obj1
);
18217 if (arg2
== NULL
) SWIG_fail
;
18221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18222 (arg1
)->SetText((wxString
const &)*arg2
);
18224 wxPyEndAllowThreads(__tstate
);
18225 if (PyErr_Occurred()) SWIG_fail
;
18227 Py_INCREF(Py_None
); resultobj
= Py_None
;
18242 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18243 PyObject
*resultobj
;
18244 wxListItem
*arg1
= (wxListItem
*) 0 ;
18246 PyObject
* obj0
= 0 ;
18247 PyObject
* obj1
= 0 ;
18248 char *kwnames
[] = {
18249 (char *) "self",(char *) "image", NULL
18252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18255 arg2
= (int) SWIG_AsInt(obj1
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18259 (arg1
)->SetImage(arg2
);
18261 wxPyEndAllowThreads(__tstate
);
18262 if (PyErr_Occurred()) SWIG_fail
;
18264 Py_INCREF(Py_None
); resultobj
= Py_None
;
18271 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18272 PyObject
*resultobj
;
18273 wxListItem
*arg1
= (wxListItem
*) 0 ;
18275 PyObject
* obj0
= 0 ;
18276 PyObject
* obj1
= 0 ;
18277 char *kwnames
[] = {
18278 (char *) "self",(char *) "data", NULL
18281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18284 arg2
= (long) SWIG_AsLong(obj1
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18288 (arg1
)->SetData(arg2
);
18290 wxPyEndAllowThreads(__tstate
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18293 Py_INCREF(Py_None
); resultobj
= Py_None
;
18300 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18301 PyObject
*resultobj
;
18302 wxListItem
*arg1
= (wxListItem
*) 0 ;
18304 PyObject
* obj0
= 0 ;
18305 PyObject
* obj1
= 0 ;
18306 char *kwnames
[] = {
18307 (char *) "self",(char *) "width", NULL
18310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18313 arg2
= (int) SWIG_AsInt(obj1
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18317 (arg1
)->SetWidth(arg2
);
18319 wxPyEndAllowThreads(__tstate
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18322 Py_INCREF(Py_None
); resultobj
= Py_None
;
18329 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18330 PyObject
*resultobj
;
18331 wxListItem
*arg1
= (wxListItem
*) 0 ;
18333 PyObject
* obj0
= 0 ;
18334 PyObject
* obj1
= 0 ;
18335 char *kwnames
[] = {
18336 (char *) "self",(char *) "align", NULL
18339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18342 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18346 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18348 wxPyEndAllowThreads(__tstate
);
18349 if (PyErr_Occurred()) SWIG_fail
;
18351 Py_INCREF(Py_None
); resultobj
= Py_None
;
18358 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18359 PyObject
*resultobj
;
18360 wxListItem
*arg1
= (wxListItem
*) 0 ;
18361 wxColour
*arg2
= 0 ;
18363 PyObject
* obj0
= 0 ;
18364 PyObject
* obj1
= 0 ;
18365 char *kwnames
[] = {
18366 (char *) "self",(char *) "colText", NULL
18369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18374 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18378 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18380 wxPyEndAllowThreads(__tstate
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18383 Py_INCREF(Py_None
); resultobj
= Py_None
;
18390 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18391 PyObject
*resultobj
;
18392 wxListItem
*arg1
= (wxListItem
*) 0 ;
18393 wxColour
*arg2
= 0 ;
18395 PyObject
* obj0
= 0 ;
18396 PyObject
* obj1
= 0 ;
18397 char *kwnames
[] = {
18398 (char *) "self",(char *) "colBack", NULL
18401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18406 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18410 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18412 wxPyEndAllowThreads(__tstate
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18415 Py_INCREF(Py_None
); resultobj
= Py_None
;
18422 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18423 PyObject
*resultobj
;
18424 wxListItem
*arg1
= (wxListItem
*) 0 ;
18426 PyObject
* obj0
= 0 ;
18427 PyObject
* obj1
= 0 ;
18428 char *kwnames
[] = {
18429 (char *) "self",(char *) "font", NULL
18432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18435 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18436 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18438 if (arg2
== NULL
) {
18439 PyErr_SetString(PyExc_TypeError
,"null reference");
18443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18444 (arg1
)->SetFont((wxFont
const &)*arg2
);
18446 wxPyEndAllowThreads(__tstate
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18449 Py_INCREF(Py_None
); resultobj
= Py_None
;
18456 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18457 PyObject
*resultobj
;
18458 wxListItem
*arg1
= (wxListItem
*) 0 ;
18460 PyObject
* obj0
= 0 ;
18461 char *kwnames
[] = {
18462 (char *) "self", NULL
18465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18470 result
= (long)(arg1
)->GetMask();
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18475 resultobj
= SWIG_FromLong((long)result
);
18482 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxListItem
*arg1
= (wxListItem
*) 0 ;
18486 PyObject
* obj0
= 0 ;
18487 char *kwnames
[] = {
18488 (char *) "self", NULL
18491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 result
= (long)(arg1
)->GetId();
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18501 resultobj
= SWIG_FromLong((long)result
);
18508 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18509 PyObject
*resultobj
;
18510 wxListItem
*arg1
= (wxListItem
*) 0 ;
18512 PyObject
* obj0
= 0 ;
18513 char *kwnames
[] = {
18514 (char *) "self", NULL
18517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18522 result
= (int)(arg1
)->GetColumn();
18524 wxPyEndAllowThreads(__tstate
);
18525 if (PyErr_Occurred()) SWIG_fail
;
18527 resultobj
= SWIG_FromInt((int)result
);
18534 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18535 PyObject
*resultobj
;
18536 wxListItem
*arg1
= (wxListItem
*) 0 ;
18538 PyObject
* obj0
= 0 ;
18539 char *kwnames
[] = {
18540 (char *) "self", NULL
18543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18548 result
= (long)(arg1
)->GetState();
18550 wxPyEndAllowThreads(__tstate
);
18551 if (PyErr_Occurred()) SWIG_fail
;
18553 resultobj
= SWIG_FromLong((long)result
);
18560 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18561 PyObject
*resultobj
;
18562 wxListItem
*arg1
= (wxListItem
*) 0 ;
18564 PyObject
* obj0
= 0 ;
18565 char *kwnames
[] = {
18566 (char *) "self", NULL
18569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18575 wxString
const &_result_ref
= (arg1
)->GetText();
18576 result
= (wxString
*) &_result_ref
;
18579 wxPyEndAllowThreads(__tstate
);
18580 if (PyErr_Occurred()) SWIG_fail
;
18584 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18586 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18595 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18596 PyObject
*resultobj
;
18597 wxListItem
*arg1
= (wxListItem
*) 0 ;
18599 PyObject
* obj0
= 0 ;
18600 char *kwnames
[] = {
18601 (char *) "self", NULL
18604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18609 result
= (int)(arg1
)->GetImage();
18611 wxPyEndAllowThreads(__tstate
);
18612 if (PyErr_Occurred()) SWIG_fail
;
18614 resultobj
= SWIG_FromInt((int)result
);
18621 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18622 PyObject
*resultobj
;
18623 wxListItem
*arg1
= (wxListItem
*) 0 ;
18625 PyObject
* obj0
= 0 ;
18626 char *kwnames
[] = {
18627 (char *) "self", NULL
18630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18635 result
= (long)(arg1
)->GetData();
18637 wxPyEndAllowThreads(__tstate
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18640 resultobj
= SWIG_FromLong((long)result
);
18647 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18648 PyObject
*resultobj
;
18649 wxListItem
*arg1
= (wxListItem
*) 0 ;
18651 PyObject
* obj0
= 0 ;
18652 char *kwnames
[] = {
18653 (char *) "self", NULL
18656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18661 result
= (int)(arg1
)->GetWidth();
18663 wxPyEndAllowThreads(__tstate
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18666 resultobj
= SWIG_FromInt((int)result
);
18673 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18674 PyObject
*resultobj
;
18675 wxListItem
*arg1
= (wxListItem
*) 0 ;
18677 PyObject
* obj0
= 0 ;
18678 char *kwnames
[] = {
18679 (char *) "self", NULL
18682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18687 result
= (int)(arg1
)->GetAlign();
18689 wxPyEndAllowThreads(__tstate
);
18690 if (PyErr_Occurred()) SWIG_fail
;
18692 resultobj
= SWIG_FromInt((int)result
);
18699 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18700 PyObject
*resultobj
;
18701 wxListItem
*arg1
= (wxListItem
*) 0 ;
18702 wxListItemAttr
*result
;
18703 PyObject
* obj0
= 0 ;
18704 char *kwnames
[] = {
18705 (char *) "self", NULL
18708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18713 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18715 wxPyEndAllowThreads(__tstate
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
18725 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18726 PyObject
*resultobj
;
18727 wxListItem
*arg1
= (wxListItem
*) 0 ;
18729 PyObject
* obj0
= 0 ;
18730 char *kwnames
[] = {
18731 (char *) "self", NULL
18734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18739 result
= (bool)(arg1
)->HasAttributes();
18741 wxPyEndAllowThreads(__tstate
);
18742 if (PyErr_Occurred()) SWIG_fail
;
18744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18751 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18752 PyObject
*resultobj
;
18753 wxListItem
*arg1
= (wxListItem
*) 0 ;
18755 PyObject
* obj0
= 0 ;
18756 char *kwnames
[] = {
18757 (char *) "self", NULL
18760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18765 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18767 wxPyEndAllowThreads(__tstate
);
18768 if (PyErr_Occurred()) SWIG_fail
;
18771 wxColour
* resultptr
;
18772 resultptr
= new wxColour((wxColour
&) result
);
18773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18781 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18782 PyObject
*resultobj
;
18783 wxListItem
*arg1
= (wxListItem
*) 0 ;
18785 PyObject
* obj0
= 0 ;
18786 char *kwnames
[] = {
18787 (char *) "self", NULL
18790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18795 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18797 wxPyEndAllowThreads(__tstate
);
18798 if (PyErr_Occurred()) SWIG_fail
;
18801 wxColour
* resultptr
;
18802 resultptr
= new wxColour((wxColour
&) result
);
18803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18811 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18812 PyObject
*resultobj
;
18813 wxListItem
*arg1
= (wxListItem
*) 0 ;
18815 PyObject
* obj0
= 0 ;
18816 char *kwnames
[] = {
18817 (char *) "self", NULL
18820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18825 result
= ((wxListItem
const *)arg1
)->GetFont();
18827 wxPyEndAllowThreads(__tstate
);
18828 if (PyErr_Occurred()) SWIG_fail
;
18831 wxFont
* resultptr
;
18832 resultptr
= new wxFont((wxFont
&) result
);
18833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18841 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18842 PyObject
*resultobj
;
18843 wxListItem
*arg1
= (wxListItem
*) 0 ;
18845 PyObject
* obj0
= 0 ;
18846 PyObject
* obj1
= 0 ;
18847 char *kwnames
[] = {
18848 (char *) "self",(char *) "m_mask", NULL
18851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18854 arg2
= (long) SWIG_AsLong(obj1
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18856 if (arg1
) (arg1
)->m_mask
= arg2
;
18858 Py_INCREF(Py_None
); resultobj
= Py_None
;
18865 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18866 PyObject
*resultobj
;
18867 wxListItem
*arg1
= (wxListItem
*) 0 ;
18869 PyObject
* obj0
= 0 ;
18870 char *kwnames
[] = {
18871 (char *) "self", NULL
18874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18877 result
= (long) ((arg1
)->m_mask
);
18879 resultobj
= SWIG_FromLong((long)result
);
18886 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18887 PyObject
*resultobj
;
18888 wxListItem
*arg1
= (wxListItem
*) 0 ;
18890 PyObject
* obj0
= 0 ;
18891 PyObject
* obj1
= 0 ;
18892 char *kwnames
[] = {
18893 (char *) "self",(char *) "m_itemId", NULL
18896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18899 arg2
= (long) SWIG_AsLong(obj1
);
18900 if (PyErr_Occurred()) SWIG_fail
;
18901 if (arg1
) (arg1
)->m_itemId
= arg2
;
18903 Py_INCREF(Py_None
); resultobj
= Py_None
;
18910 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18911 PyObject
*resultobj
;
18912 wxListItem
*arg1
= (wxListItem
*) 0 ;
18914 PyObject
* obj0
= 0 ;
18915 char *kwnames
[] = {
18916 (char *) "self", NULL
18919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
18920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18922 result
= (long) ((arg1
)->m_itemId
);
18924 resultobj
= SWIG_FromLong((long)result
);
18931 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18932 PyObject
*resultobj
;
18933 wxListItem
*arg1
= (wxListItem
*) 0 ;
18935 PyObject
* obj0
= 0 ;
18936 PyObject
* obj1
= 0 ;
18937 char *kwnames
[] = {
18938 (char *) "self",(char *) "m_col", NULL
18941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18944 arg2
= (int) SWIG_AsInt(obj1
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18946 if (arg1
) (arg1
)->m_col
= arg2
;
18948 Py_INCREF(Py_None
); resultobj
= Py_None
;
18955 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18956 PyObject
*resultobj
;
18957 wxListItem
*arg1
= (wxListItem
*) 0 ;
18959 PyObject
* obj0
= 0 ;
18960 char *kwnames
[] = {
18961 (char *) "self", NULL
18964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
18965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18967 result
= (int) ((arg1
)->m_col
);
18969 resultobj
= SWIG_FromInt((int)result
);
18976 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18977 PyObject
*resultobj
;
18978 wxListItem
*arg1
= (wxListItem
*) 0 ;
18980 PyObject
* obj0
= 0 ;
18981 PyObject
* obj1
= 0 ;
18982 char *kwnames
[] = {
18983 (char *) "self",(char *) "m_state", NULL
18986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18989 arg2
= (long) SWIG_AsLong(obj1
);
18990 if (PyErr_Occurred()) SWIG_fail
;
18991 if (arg1
) (arg1
)->m_state
= arg2
;
18993 Py_INCREF(Py_None
); resultobj
= Py_None
;
19000 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19001 PyObject
*resultobj
;
19002 wxListItem
*arg1
= (wxListItem
*) 0 ;
19004 PyObject
* obj0
= 0 ;
19005 char *kwnames
[] = {
19006 (char *) "self", NULL
19009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
19010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19012 result
= (long) ((arg1
)->m_state
);
19014 resultobj
= SWIG_FromLong((long)result
);
19021 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19022 PyObject
*resultobj
;
19023 wxListItem
*arg1
= (wxListItem
*) 0 ;
19025 PyObject
* obj0
= 0 ;
19026 PyObject
* obj1
= 0 ;
19027 char *kwnames
[] = {
19028 (char *) "self",(char *) "m_stateMask", NULL
19031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19034 arg2
= (long) SWIG_AsLong(obj1
);
19035 if (PyErr_Occurred()) SWIG_fail
;
19036 if (arg1
) (arg1
)->m_stateMask
= arg2
;
19038 Py_INCREF(Py_None
); resultobj
= Py_None
;
19045 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
;
19047 wxListItem
*arg1
= (wxListItem
*) 0 ;
19049 PyObject
* obj0
= 0 ;
19050 char *kwnames
[] = {
19051 (char *) "self", NULL
19054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
19055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19057 result
= (long) ((arg1
)->m_stateMask
);
19059 resultobj
= SWIG_FromLong((long)result
);
19066 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19067 PyObject
*resultobj
;
19068 wxListItem
*arg1
= (wxListItem
*) 0 ;
19069 wxString
*arg2
= (wxString
*) 0 ;
19070 bool temp2
= False
;
19071 PyObject
* obj0
= 0 ;
19072 PyObject
* obj1
= 0 ;
19073 char *kwnames
[] = {
19074 (char *) "self",(char *) "m_text", NULL
19077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19081 arg2
= wxString_in_helper(obj1
);
19082 if (arg2
== NULL
) SWIG_fail
;
19085 if (arg1
) (arg1
)->m_text
= *arg2
;
19087 Py_INCREF(Py_None
); resultobj
= Py_None
;
19102 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19103 PyObject
*resultobj
;
19104 wxListItem
*arg1
= (wxListItem
*) 0 ;
19106 PyObject
* obj0
= 0 ;
19107 char *kwnames
[] = {
19108 (char *) "self", NULL
19111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
19112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19114 result
= (wxString
*)& ((arg1
)->m_text
);
19118 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19120 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19129 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19130 PyObject
*resultobj
;
19131 wxListItem
*arg1
= (wxListItem
*) 0 ;
19133 PyObject
* obj0
= 0 ;
19134 PyObject
* obj1
= 0 ;
19135 char *kwnames
[] = {
19136 (char *) "self",(char *) "m_image", NULL
19139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19142 arg2
= (int) SWIG_AsInt(obj1
);
19143 if (PyErr_Occurred()) SWIG_fail
;
19144 if (arg1
) (arg1
)->m_image
= arg2
;
19146 Py_INCREF(Py_None
); resultobj
= Py_None
;
19153 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19154 PyObject
*resultobj
;
19155 wxListItem
*arg1
= (wxListItem
*) 0 ;
19157 PyObject
* obj0
= 0 ;
19158 char *kwnames
[] = {
19159 (char *) "self", NULL
19162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19165 result
= (int) ((arg1
)->m_image
);
19167 resultobj
= SWIG_FromInt((int)result
);
19174 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19175 PyObject
*resultobj
;
19176 wxListItem
*arg1
= (wxListItem
*) 0 ;
19178 PyObject
* obj0
= 0 ;
19179 PyObject
* obj1
= 0 ;
19180 char *kwnames
[] = {
19181 (char *) "self",(char *) "m_data", NULL
19184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19187 arg2
= (long) SWIG_AsLong(obj1
);
19188 if (PyErr_Occurred()) SWIG_fail
;
19189 if (arg1
) (arg1
)->m_data
= arg2
;
19191 Py_INCREF(Py_None
); resultobj
= Py_None
;
19198 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19199 PyObject
*resultobj
;
19200 wxListItem
*arg1
= (wxListItem
*) 0 ;
19202 PyObject
* obj0
= 0 ;
19203 char *kwnames
[] = {
19204 (char *) "self", NULL
19207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
19208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19210 result
= (long) ((arg1
)->m_data
);
19212 resultobj
= SWIG_FromLong((long)result
);
19219 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19220 PyObject
*resultobj
;
19221 wxListItem
*arg1
= (wxListItem
*) 0 ;
19223 PyObject
* obj0
= 0 ;
19224 PyObject
* obj1
= 0 ;
19225 char *kwnames
[] = {
19226 (char *) "self",(char *) "m_format", NULL
19229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19232 arg2
= (int) SWIG_AsInt(obj1
);
19233 if (PyErr_Occurred()) SWIG_fail
;
19234 if (arg1
) (arg1
)->m_format
= arg2
;
19236 Py_INCREF(Py_None
); resultobj
= Py_None
;
19243 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19244 PyObject
*resultobj
;
19245 wxListItem
*arg1
= (wxListItem
*) 0 ;
19247 PyObject
* obj0
= 0 ;
19248 char *kwnames
[] = {
19249 (char *) "self", NULL
19252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19255 result
= (int) ((arg1
)->m_format
);
19257 resultobj
= SWIG_FromInt((int)result
);
19264 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19265 PyObject
*resultobj
;
19266 wxListItem
*arg1
= (wxListItem
*) 0 ;
19268 PyObject
* obj0
= 0 ;
19269 PyObject
* obj1
= 0 ;
19270 char *kwnames
[] = {
19271 (char *) "self",(char *) "m_width", NULL
19274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19277 arg2
= (int) SWIG_AsInt(obj1
);
19278 if (PyErr_Occurred()) SWIG_fail
;
19279 if (arg1
) (arg1
)->m_width
= arg2
;
19281 Py_INCREF(Py_None
); resultobj
= Py_None
;
19288 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19289 PyObject
*resultobj
;
19290 wxListItem
*arg1
= (wxListItem
*) 0 ;
19292 PyObject
* obj0
= 0 ;
19293 char *kwnames
[] = {
19294 (char *) "self", NULL
19297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19300 result
= (int) ((arg1
)->m_width
);
19302 resultobj
= SWIG_FromInt((int)result
);
19309 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
19311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19312 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19314 return Py_BuildValue((char *)"");
19316 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19317 PyObject
*resultobj
;
19318 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19319 int arg2
= (int) 0 ;
19320 wxListEvent
*result
;
19321 PyObject
* obj0
= 0 ;
19322 PyObject
* obj1
= 0 ;
19323 char *kwnames
[] = {
19324 (char *) "commandType",(char *) "id", NULL
19327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19329 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19333 arg2
= (int) SWIG_AsInt(obj1
);
19334 if (PyErr_Occurred()) SWIG_fail
;
19337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19338 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19340 wxPyEndAllowThreads(__tstate
);
19341 if (PyErr_Occurred()) SWIG_fail
;
19343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
19350 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19351 PyObject
*resultobj
;
19352 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19354 PyObject
* obj0
= 0 ;
19355 PyObject
* obj1
= 0 ;
19356 char *kwnames
[] = {
19357 (char *) "self",(char *) "m_code", NULL
19360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19363 arg2
= (int) SWIG_AsInt(obj1
);
19364 if (PyErr_Occurred()) SWIG_fail
;
19365 if (arg1
) (arg1
)->m_code
= arg2
;
19367 Py_INCREF(Py_None
); resultobj
= Py_None
;
19374 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19375 PyObject
*resultobj
;
19376 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19378 PyObject
* obj0
= 0 ;
19379 char *kwnames
[] = {
19380 (char *) "self", NULL
19383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19386 result
= (int) ((arg1
)->m_code
);
19388 resultobj
= SWIG_FromInt((int)result
);
19395 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19396 PyObject
*resultobj
;
19397 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19399 PyObject
* obj0
= 0 ;
19400 PyObject
* obj1
= 0 ;
19401 char *kwnames
[] = {
19402 (char *) "self",(char *) "m_oldItemIndex", NULL
19405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19408 arg2
= (long) SWIG_AsLong(obj1
);
19409 if (PyErr_Occurred()) SWIG_fail
;
19410 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19412 Py_INCREF(Py_None
); resultobj
= Py_None
;
19419 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19420 PyObject
*resultobj
;
19421 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19423 PyObject
* obj0
= 0 ;
19424 char *kwnames
[] = {
19425 (char *) "self", NULL
19428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19431 result
= (long) ((arg1
)->m_oldItemIndex
);
19433 resultobj
= SWIG_FromLong((long)result
);
19440 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19441 PyObject
*resultobj
;
19442 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19444 PyObject
* obj0
= 0 ;
19445 PyObject
* obj1
= 0 ;
19446 char *kwnames
[] = {
19447 (char *) "self",(char *) "m_itemIndex", NULL
19450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19453 arg2
= (long) SWIG_AsLong(obj1
);
19454 if (PyErr_Occurred()) SWIG_fail
;
19455 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19457 Py_INCREF(Py_None
); resultobj
= Py_None
;
19464 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19465 PyObject
*resultobj
;
19466 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19468 PyObject
* obj0
= 0 ;
19469 char *kwnames
[] = {
19470 (char *) "self", NULL
19473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19476 result
= (long) ((arg1
)->m_itemIndex
);
19478 resultobj
= SWIG_FromLong((long)result
);
19485 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19486 PyObject
*resultobj
;
19487 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19489 PyObject
* obj0
= 0 ;
19490 PyObject
* obj1
= 0 ;
19491 char *kwnames
[] = {
19492 (char *) "self",(char *) "m_col", NULL
19495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19498 arg2
= (int) SWIG_AsInt(obj1
);
19499 if (PyErr_Occurred()) SWIG_fail
;
19500 if (arg1
) (arg1
)->m_col
= arg2
;
19502 Py_INCREF(Py_None
); resultobj
= Py_None
;
19509 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19510 PyObject
*resultobj
;
19511 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19513 PyObject
* obj0
= 0 ;
19514 char *kwnames
[] = {
19515 (char *) "self", NULL
19518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19521 result
= (int) ((arg1
)->m_col
);
19523 resultobj
= SWIG_FromInt((int)result
);
19530 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19531 PyObject
*resultobj
;
19532 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19533 wxPoint
*arg2
= (wxPoint
*) 0 ;
19534 PyObject
* obj0
= 0 ;
19535 PyObject
* obj1
= 0 ;
19536 char *kwnames
[] = {
19537 (char *) "self",(char *) "m_pointDrag", NULL
19540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
19544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19545 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19547 Py_INCREF(Py_None
); resultobj
= Py_None
;
19554 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19555 PyObject
*resultobj
;
19556 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19558 PyObject
* obj0
= 0 ;
19559 char *kwnames
[] = {
19560 (char *) "self", NULL
19563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19566 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19575 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19576 PyObject
*resultobj
;
19577 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19578 wxListItem
*result
;
19579 PyObject
* obj0
= 0 ;
19580 char *kwnames
[] = {
19581 (char *) "self", NULL
19584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19587 result
= (wxListItem
*)& ((arg1
)->m_item
);
19590 resultobj
= wxPyMake_wxObject(result
);
19598 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19599 PyObject
*resultobj
;
19600 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19602 PyObject
* obj0
= 0 ;
19603 char *kwnames
[] = {
19604 (char *) "self", NULL
19607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19612 result
= (int)(arg1
)->GetKeyCode();
19614 wxPyEndAllowThreads(__tstate
);
19615 if (PyErr_Occurred()) SWIG_fail
;
19617 resultobj
= SWIG_FromInt((int)result
);
19624 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19625 PyObject
*resultobj
;
19626 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19628 PyObject
* obj0
= 0 ;
19629 char *kwnames
[] = {
19630 (char *) "self", NULL
19633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19638 result
= (long)(arg1
)->GetIndex();
19640 wxPyEndAllowThreads(__tstate
);
19641 if (PyErr_Occurred()) SWIG_fail
;
19643 resultobj
= SWIG_FromLong((long)result
);
19650 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19651 PyObject
*resultobj
;
19652 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19654 PyObject
* obj0
= 0 ;
19655 char *kwnames
[] = {
19656 (char *) "self", NULL
19659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19664 result
= (int)(arg1
)->GetColumn();
19666 wxPyEndAllowThreads(__tstate
);
19667 if (PyErr_Occurred()) SWIG_fail
;
19669 resultobj
= SWIG_FromInt((int)result
);
19676 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19677 PyObject
*resultobj
;
19678 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19680 PyObject
* obj0
= 0 ;
19681 char *kwnames
[] = {
19682 (char *) "self", NULL
19685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19690 result
= (arg1
)->GetPoint();
19692 wxPyEndAllowThreads(__tstate
);
19693 if (PyErr_Occurred()) SWIG_fail
;
19696 wxPoint
* resultptr
;
19697 resultptr
= new wxPoint((wxPoint
&) result
);
19698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19706 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19707 PyObject
*resultobj
;
19708 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19710 PyObject
* obj0
= 0 ;
19711 char *kwnames
[] = {
19712 (char *) "self", NULL
19715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19721 wxString
const &_result_ref
= (arg1
)->GetLabel();
19722 result
= (wxString
*) &_result_ref
;
19725 wxPyEndAllowThreads(__tstate
);
19726 if (PyErr_Occurred()) SWIG_fail
;
19730 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19732 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19741 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19742 PyObject
*resultobj
;
19743 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19745 PyObject
* obj0
= 0 ;
19746 char *kwnames
[] = {
19747 (char *) "self", NULL
19750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19756 wxString
const &_result_ref
= (arg1
)->GetText();
19757 result
= (wxString
*) &_result_ref
;
19760 wxPyEndAllowThreads(__tstate
);
19761 if (PyErr_Occurred()) SWIG_fail
;
19765 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19767 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19776 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19777 PyObject
*resultobj
;
19778 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19780 PyObject
* obj0
= 0 ;
19781 char *kwnames
[] = {
19782 (char *) "self", NULL
19785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19790 result
= (int)(arg1
)->GetImage();
19792 wxPyEndAllowThreads(__tstate
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19795 resultobj
= SWIG_FromInt((int)result
);
19802 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19803 PyObject
*resultobj
;
19804 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19806 PyObject
* obj0
= 0 ;
19807 char *kwnames
[] = {
19808 (char *) "self", NULL
19811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 result
= (long)(arg1
)->GetData();
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19821 resultobj
= SWIG_FromLong((long)result
);
19828 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19829 PyObject
*resultobj
;
19830 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19832 PyObject
* obj0
= 0 ;
19833 char *kwnames
[] = {
19834 (char *) "self", NULL
19837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19842 result
= (long)(arg1
)->GetMask();
19844 wxPyEndAllowThreads(__tstate
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19847 resultobj
= SWIG_FromLong((long)result
);
19854 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19855 PyObject
*resultobj
;
19856 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19857 wxListItem
*result
;
19858 PyObject
* obj0
= 0 ;
19859 char *kwnames
[] = {
19860 (char *) "self", NULL
19863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19869 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19870 result
= (wxListItem
*) &_result_ref
;
19873 wxPyEndAllowThreads(__tstate
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
19883 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
;
19885 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19887 PyObject
* obj0
= 0 ;
19888 char *kwnames
[] = {
19889 (char *) "self", NULL
19892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19897 result
= (long)(arg1
)->GetCacheFrom();
19899 wxPyEndAllowThreads(__tstate
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19902 resultobj
= SWIG_FromLong((long)result
);
19909 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19910 PyObject
*resultobj
;
19911 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19913 PyObject
* obj0
= 0 ;
19914 char *kwnames
[] = {
19915 (char *) "self", NULL
19918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
19919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19923 result
= (long)(arg1
)->GetCacheTo();
19925 wxPyEndAllowThreads(__tstate
);
19926 if (PyErr_Occurred()) SWIG_fail
;
19928 resultobj
= SWIG_FromLong((long)result
);
19935 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19936 PyObject
*resultobj
;
19937 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19939 PyObject
* obj0
= 0 ;
19940 char *kwnames
[] = {
19941 (char *) "self", NULL
19944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
19945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19949 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
19951 wxPyEndAllowThreads(__tstate
);
19952 if (PyErr_Occurred()) SWIG_fail
;
19954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19961 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19962 PyObject
*resultobj
;
19963 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19965 PyObject
* obj0
= 0 ;
19966 PyObject
* obj1
= 0 ;
19967 char *kwnames
[] = {
19968 (char *) "self",(char *) "editCancelled", NULL
19971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
19972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19974 arg2
= (bool) SWIG_AsBool(obj1
);
19975 if (PyErr_Occurred()) SWIG_fail
;
19977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19978 (arg1
)->SetEditCanceled(arg2
);
19980 wxPyEndAllowThreads(__tstate
);
19981 if (PyErr_Occurred()) SWIG_fail
;
19983 Py_INCREF(Py_None
); resultobj
= Py_None
;
19990 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19993 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
19995 return Py_BuildValue((char *)"");
19997 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19998 PyObject
*resultobj
;
19999 wxWindow
*arg1
= (wxWindow
*) 0 ;
20000 int arg2
= (int) -1 ;
20001 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20002 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20003 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20004 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20005 long arg5
= (long) wxLC_ICON
;
20006 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20007 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20008 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
20009 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20010 wxPyListCtrl
*result
;
20013 bool temp7
= False
;
20014 PyObject
* obj0
= 0 ;
20015 PyObject
* obj1
= 0 ;
20016 PyObject
* obj2
= 0 ;
20017 PyObject
* obj3
= 0 ;
20018 PyObject
* obj4
= 0 ;
20019 PyObject
* obj5
= 0 ;
20020 PyObject
* obj6
= 0 ;
20021 char *kwnames
[] = {
20022 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20029 arg2
= (int) SWIG_AsInt(obj1
);
20030 if (PyErr_Occurred()) SWIG_fail
;
20035 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20041 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20045 arg5
= (long) SWIG_AsLong(obj4
);
20046 if (PyErr_Occurred()) SWIG_fail
;
20049 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
20050 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20052 if (arg6
== NULL
) {
20053 PyErr_SetString(PyExc_TypeError
,"null reference");
20059 arg7
= wxString_in_helper(obj6
);
20060 if (arg7
== NULL
) SWIG_fail
;
20065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20066 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20086 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20087 PyObject
*resultobj
;
20088 wxPyListCtrl
*result
;
20089 char *kwnames
[] = {
20093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
20095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20096 result
= (wxPyListCtrl
*)new wxPyListCtrl();
20098 wxPyEndAllowThreads(__tstate
);
20099 if (PyErr_Occurred()) SWIG_fail
;
20101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20108 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20109 PyObject
*resultobj
;
20110 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20111 wxWindow
*arg2
= (wxWindow
*) 0 ;
20112 int arg3
= (int) -1 ;
20113 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20114 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20115 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20116 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20117 long arg6
= (long) wxLC_ICON
;
20118 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20119 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20120 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20121 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20125 bool temp8
= False
;
20126 PyObject
* obj0
= 0 ;
20127 PyObject
* obj1
= 0 ;
20128 PyObject
* obj2
= 0 ;
20129 PyObject
* obj3
= 0 ;
20130 PyObject
* obj4
= 0 ;
20131 PyObject
* obj5
= 0 ;
20132 PyObject
* obj6
= 0 ;
20133 PyObject
* obj7
= 0 ;
20134 char *kwnames
[] = {
20135 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20141 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20144 arg3
= (int) SWIG_AsInt(obj2
);
20145 if (PyErr_Occurred()) SWIG_fail
;
20150 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20156 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20160 arg6
= (long) SWIG_AsLong(obj5
);
20161 if (PyErr_Occurred()) SWIG_fail
;
20164 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
20165 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20167 if (arg7
== NULL
) {
20168 PyErr_SetString(PyExc_TypeError
,"null reference");
20174 arg8
= wxString_in_helper(obj7
);
20175 if (arg8
== NULL
) SWIG_fail
;
20180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20181 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20183 wxPyEndAllowThreads(__tstate
);
20184 if (PyErr_Occurred()) SWIG_fail
;
20186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20201 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20202 PyObject
*resultobj
;
20203 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20204 PyObject
*arg2
= (PyObject
*) 0 ;
20205 PyObject
*arg3
= (PyObject
*) 0 ;
20206 PyObject
* obj0
= 0 ;
20207 PyObject
* obj1
= 0 ;
20208 PyObject
* obj2
= 0 ;
20209 char *kwnames
[] = {
20210 (char *) "self",(char *) "self",(char *) "_class", NULL
20213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20220 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20222 wxPyEndAllowThreads(__tstate
);
20223 if (PyErr_Occurred()) SWIG_fail
;
20225 Py_INCREF(Py_None
); resultobj
= Py_None
;
20232 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20233 PyObject
*resultobj
;
20234 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20235 wxColour
*arg2
= 0 ;
20238 PyObject
* obj0
= 0 ;
20239 PyObject
* obj1
= 0 ;
20240 char *kwnames
[] = {
20241 (char *) "self",(char *) "col", NULL
20244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20249 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20253 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20255 wxPyEndAllowThreads(__tstate
);
20256 if (PyErr_Occurred()) SWIG_fail
;
20258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20265 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20266 PyObject
*resultobj
;
20267 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20268 wxColour
*arg2
= 0 ;
20271 PyObject
* obj0
= 0 ;
20272 PyObject
* obj1
= 0 ;
20273 char *kwnames
[] = {
20274 (char *) "self",(char *) "col", NULL
20277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20282 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20286 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20288 wxPyEndAllowThreads(__tstate
);
20289 if (PyErr_Occurred()) SWIG_fail
;
20291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20298 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20299 PyObject
*resultobj
;
20300 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20302 wxListItem
*result
;
20303 PyObject
* obj0
= 0 ;
20304 PyObject
* obj1
= 0 ;
20305 char *kwnames
[] = {
20306 (char *) "self",(char *) "col", NULL
20309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20312 arg2
= (int) SWIG_AsInt(obj1
);
20313 if (PyErr_Occurred()) SWIG_fail
;
20315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20316 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20318 wxPyEndAllowThreads(__tstate
);
20319 if (PyErr_Occurred()) SWIG_fail
;
20322 resultobj
= wxPyMake_wxObject(result
);
20330 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20331 PyObject
*resultobj
;
20332 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20334 wxListItem
*arg3
= 0 ;
20336 PyObject
* obj0
= 0 ;
20337 PyObject
* obj1
= 0 ;
20338 PyObject
* obj2
= 0 ;
20339 char *kwnames
[] = {
20340 (char *) "self",(char *) "col",(char *) "item", NULL
20343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20346 arg2
= (int) SWIG_AsInt(obj1
);
20347 if (PyErr_Occurred()) SWIG_fail
;
20348 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
20349 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20351 if (arg3
== NULL
) {
20352 PyErr_SetString(PyExc_TypeError
,"null reference");
20356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20357 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20359 wxPyEndAllowThreads(__tstate
);
20360 if (PyErr_Occurred()) SWIG_fail
;
20362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20369 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20370 PyObject
*resultobj
;
20371 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20374 PyObject
* obj0
= 0 ;
20375 PyObject
* obj1
= 0 ;
20376 char *kwnames
[] = {
20377 (char *) "self",(char *) "col", NULL
20380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20383 arg2
= (int) SWIG_AsInt(obj1
);
20384 if (PyErr_Occurred()) SWIG_fail
;
20386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20387 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20389 wxPyEndAllowThreads(__tstate
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20392 resultobj
= SWIG_FromInt((int)result
);
20399 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20400 PyObject
*resultobj
;
20401 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20405 PyObject
* obj0
= 0 ;
20406 PyObject
* obj1
= 0 ;
20407 PyObject
* obj2
= 0 ;
20408 char *kwnames
[] = {
20409 (char *) "self",(char *) "col",(char *) "width", NULL
20412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20415 arg2
= (int) SWIG_AsInt(obj1
);
20416 if (PyErr_Occurred()) SWIG_fail
;
20417 arg3
= (int) SWIG_AsInt(obj2
);
20418 if (PyErr_Occurred()) SWIG_fail
;
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20423 wxPyEndAllowThreads(__tstate
);
20424 if (PyErr_Occurred()) SWIG_fail
;
20426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20433 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20434 PyObject
*resultobj
;
20435 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20437 PyObject
* obj0
= 0 ;
20438 char *kwnames
[] = {
20439 (char *) "self", NULL
20442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20447 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20449 wxPyEndAllowThreads(__tstate
);
20450 if (PyErr_Occurred()) SWIG_fail
;
20452 resultobj
= SWIG_FromInt((int)result
);
20459 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20460 PyObject
*resultobj
;
20461 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20463 PyObject
* obj0
= 0 ;
20464 char *kwnames
[] = {
20465 (char *) "self", NULL
20468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20473 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20475 wxPyEndAllowThreads(__tstate
);
20476 if (PyErr_Occurred()) SWIG_fail
;
20479 wxRect
* resultptr
;
20480 resultptr
= new wxRect((wxRect
&) result
);
20481 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20489 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
;
20491 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20492 wxTextCtrl
*result
;
20493 PyObject
* obj0
= 0 ;
20494 char *kwnames
[] = {
20495 (char *) "self", NULL
20498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
20499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20503 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
20505 wxPyEndAllowThreads(__tstate
);
20506 if (PyErr_Occurred()) SWIG_fail
;
20509 resultobj
= wxPyMake_wxObject(result
);
20517 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20518 PyObject
*resultobj
;
20519 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20521 int arg3
= (int) 0 ;
20522 wxListItem
*result
;
20523 PyObject
* obj0
= 0 ;
20524 PyObject
* obj1
= 0 ;
20525 PyObject
* obj2
= 0 ;
20526 char *kwnames
[] = {
20527 (char *) "self",(char *) "itemId",(char *) "col", NULL
20530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20533 arg2
= (long) SWIG_AsLong(obj1
);
20534 if (PyErr_Occurred()) SWIG_fail
;
20536 arg3
= (int) SWIG_AsInt(obj2
);
20537 if (PyErr_Occurred()) SWIG_fail
;
20540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20541 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20543 wxPyEndAllowThreads(__tstate
);
20544 if (PyErr_Occurred()) SWIG_fail
;
20547 resultobj
= wxPyMake_wxObject(result
);
20555 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20556 PyObject
*resultobj
;
20557 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20558 wxListItem
*arg2
= 0 ;
20560 PyObject
* obj0
= 0 ;
20561 PyObject
* obj1
= 0 ;
20562 char *kwnames
[] = {
20563 (char *) "self",(char *) "info", NULL
20566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
20570 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20572 if (arg2
== NULL
) {
20573 PyErr_SetString(PyExc_TypeError
,"null reference");
20577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20578 result
= (bool)(arg1
)->SetItem(*arg2
);
20580 wxPyEndAllowThreads(__tstate
);
20581 if (PyErr_Occurred()) SWIG_fail
;
20583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20590 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20591 PyObject
*resultobj
;
20592 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20595 wxString
*arg4
= 0 ;
20596 int arg5
= (int) -1 ;
20598 bool temp4
= False
;
20599 PyObject
* obj0
= 0 ;
20600 PyObject
* obj1
= 0 ;
20601 PyObject
* obj2
= 0 ;
20602 PyObject
* obj3
= 0 ;
20603 PyObject
* obj4
= 0 ;
20604 char *kwnames
[] = {
20605 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20611 arg2
= (long) SWIG_AsLong(obj1
);
20612 if (PyErr_Occurred()) SWIG_fail
;
20613 arg3
= (int) SWIG_AsInt(obj2
);
20614 if (PyErr_Occurred()) SWIG_fail
;
20616 arg4
= wxString_in_helper(obj3
);
20617 if (arg4
== NULL
) SWIG_fail
;
20621 arg5
= (int) SWIG_AsInt(obj4
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20626 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20628 wxPyEndAllowThreads(__tstate
);
20629 if (PyErr_Occurred()) SWIG_fail
;
20631 resultobj
= SWIG_FromLong((long)result
);
20646 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20647 PyObject
*resultobj
;
20648 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20652 PyObject
* obj0
= 0 ;
20653 PyObject
* obj1
= 0 ;
20654 PyObject
* obj2
= 0 ;
20655 char *kwnames
[] = {
20656 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20662 arg2
= (long) SWIG_AsLong(obj1
);
20663 if (PyErr_Occurred()) SWIG_fail
;
20664 arg3
= (long) SWIG_AsLong(obj2
);
20665 if (PyErr_Occurred()) SWIG_fail
;
20667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20668 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20670 wxPyEndAllowThreads(__tstate
);
20671 if (PyErr_Occurred()) SWIG_fail
;
20673 resultobj
= SWIG_FromInt((int)result
);
20680 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20681 PyObject
*resultobj
;
20682 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20687 PyObject
* obj0
= 0 ;
20688 PyObject
* obj1
= 0 ;
20689 PyObject
* obj2
= 0 ;
20690 PyObject
* obj3
= 0 ;
20691 char *kwnames
[] = {
20692 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20698 arg2
= (long) SWIG_AsLong(obj1
);
20699 if (PyErr_Occurred()) SWIG_fail
;
20700 arg3
= (long) SWIG_AsLong(obj2
);
20701 if (PyErr_Occurred()) SWIG_fail
;
20702 arg4
= (long) SWIG_AsLong(obj3
);
20703 if (PyErr_Occurred()) SWIG_fail
;
20705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20706 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20708 wxPyEndAllowThreads(__tstate
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20718 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20719 PyObject
*resultobj
;
20720 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20725 PyObject
* obj0
= 0 ;
20726 PyObject
* obj1
= 0 ;
20727 PyObject
* obj2
= 0 ;
20728 PyObject
* obj3
= 0 ;
20729 char *kwnames
[] = {
20730 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20736 arg2
= (long) SWIG_AsLong(obj1
);
20737 if (PyErr_Occurred()) SWIG_fail
;
20738 arg3
= (int) SWIG_AsInt(obj2
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20740 arg4
= (int) SWIG_AsInt(obj3
);
20741 if (PyErr_Occurred()) SWIG_fail
;
20743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20744 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20746 wxPyEndAllowThreads(__tstate
);
20747 if (PyErr_Occurred()) SWIG_fail
;
20749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20756 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20757 PyObject
*resultobj
;
20758 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20761 PyObject
* obj0
= 0 ;
20762 PyObject
* obj1
= 0 ;
20763 char *kwnames
[] = {
20764 (char *) "self",(char *) "item", NULL
20767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20770 arg2
= (long) SWIG_AsLong(obj1
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20774 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20776 wxPyEndAllowThreads(__tstate
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20781 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20783 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20792 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20793 PyObject
*resultobj
;
20794 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20796 wxString
*arg3
= 0 ;
20797 bool temp3
= False
;
20798 PyObject
* obj0
= 0 ;
20799 PyObject
* obj1
= 0 ;
20800 PyObject
* obj2
= 0 ;
20801 char *kwnames
[] = {
20802 (char *) "self",(char *) "item",(char *) "str", NULL
20805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20808 arg2
= (long) SWIG_AsLong(obj1
);
20809 if (PyErr_Occurred()) SWIG_fail
;
20811 arg3
= wxString_in_helper(obj2
);
20812 if (arg3
== NULL
) SWIG_fail
;
20816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20817 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20819 wxPyEndAllowThreads(__tstate
);
20820 if (PyErr_Occurred()) SWIG_fail
;
20822 Py_INCREF(Py_None
); resultobj
= Py_None
;
20837 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20838 PyObject
*resultobj
;
20839 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20842 PyObject
* obj0
= 0 ;
20843 PyObject
* obj1
= 0 ;
20844 char *kwnames
[] = {
20845 (char *) "self",(char *) "item", NULL
20848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20851 arg2
= (long) SWIG_AsLong(obj1
);
20852 if (PyErr_Occurred()) SWIG_fail
;
20854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20855 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20857 wxPyEndAllowThreads(__tstate
);
20858 if (PyErr_Occurred()) SWIG_fail
;
20860 resultobj
= SWIG_FromLong((long)result
);
20867 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20868 PyObject
*resultobj
;
20869 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20873 PyObject
* obj0
= 0 ;
20874 PyObject
* obj1
= 0 ;
20875 PyObject
* obj2
= 0 ;
20876 char *kwnames
[] = {
20877 (char *) "self",(char *) "item",(char *) "data", NULL
20880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20883 arg2
= (long) SWIG_AsLong(obj1
);
20884 if (PyErr_Occurred()) SWIG_fail
;
20885 arg3
= (long) SWIG_AsLong(obj2
);
20886 if (PyErr_Occurred()) SWIG_fail
;
20888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20889 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20891 wxPyEndAllowThreads(__tstate
);
20892 if (PyErr_Occurred()) SWIG_fail
;
20894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20901 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20902 PyObject
*resultobj
;
20903 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20906 PyObject
* obj0
= 0 ;
20907 PyObject
* obj1
= 0 ;
20908 char *kwnames
[] = {
20909 (char *) "self",(char *) "item", NULL
20912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20915 arg2
= (long) SWIG_AsLong(obj1
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20919 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
20921 wxPyEndAllowThreads(__tstate
);
20922 if (PyErr_Occurred()) SWIG_fail
;
20925 wxPoint
* resultptr
;
20926 resultptr
= new wxPoint((wxPoint
&) result
);
20927 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20935 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20936 PyObject
*resultobj
;
20937 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20939 int arg3
= (int) wxLIST_RECT_BOUNDS
;
20941 PyObject
* obj0
= 0 ;
20942 PyObject
* obj1
= 0 ;
20943 PyObject
* obj2
= 0 ;
20944 char *kwnames
[] = {
20945 (char *) "self",(char *) "item",(char *) "code", NULL
20948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20951 arg2
= (long) SWIG_AsLong(obj1
);
20952 if (PyErr_Occurred()) SWIG_fail
;
20954 arg3
= (int) SWIG_AsInt(obj2
);
20955 if (PyErr_Occurred()) SWIG_fail
;
20958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20959 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
20961 wxPyEndAllowThreads(__tstate
);
20962 if (PyErr_Occurred()) SWIG_fail
;
20965 wxRect
* resultptr
;
20966 resultptr
= new wxRect((wxRect
&) result
);
20967 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20975 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20976 PyObject
*resultobj
;
20977 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20979 wxPoint
*arg3
= 0 ;
20982 PyObject
* obj0
= 0 ;
20983 PyObject
* obj1
= 0 ;
20984 PyObject
* obj2
= 0 ;
20985 char *kwnames
[] = {
20986 (char *) "self",(char *) "item",(char *) "pos", NULL
20989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20992 arg2
= (long) SWIG_AsLong(obj1
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20996 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21000 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
21002 wxPyEndAllowThreads(__tstate
);
21003 if (PyErr_Occurred()) SWIG_fail
;
21005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21012 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21013 PyObject
*resultobj
;
21014 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21016 PyObject
* obj0
= 0 ;
21017 char *kwnames
[] = {
21018 (char *) "self", NULL
21021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
21022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21026 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
21028 wxPyEndAllowThreads(__tstate
);
21029 if (PyErr_Occurred()) SWIG_fail
;
21031 resultobj
= SWIG_FromInt((int)result
);
21038 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21039 PyObject
*resultobj
;
21040 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21042 PyObject
* obj0
= 0 ;
21043 char *kwnames
[] = {
21044 (char *) "self", NULL
21047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
21048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21052 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
21054 wxPyEndAllowThreads(__tstate
);
21055 if (PyErr_Occurred()) SWIG_fail
;
21057 resultobj
= SWIG_FromInt((int)result
);
21064 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21065 PyObject
*resultobj
;
21066 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21068 PyObject
* obj0
= 0 ;
21069 char *kwnames
[] = {
21070 (char *) "self", NULL
21073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
21074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21078 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
21080 wxPyEndAllowThreads(__tstate
);
21081 if (PyErr_Occurred()) SWIG_fail
;
21084 wxSize
* resultptr
;
21085 resultptr
= new wxSize((wxSize
&) result
);
21086 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21094 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21095 PyObject
*resultobj
;
21096 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21098 PyObject
* obj0
= 0 ;
21099 char *kwnames
[] = {
21100 (char *) "self", NULL
21103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
21104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21108 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
21110 wxPyEndAllowThreads(__tstate
);
21111 if (PyErr_Occurred()) SWIG_fail
;
21113 resultobj
= SWIG_FromInt((int)result
);
21120 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21121 PyObject
*resultobj
;
21122 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21124 PyObject
* obj0
= 0 ;
21125 char *kwnames
[] = {
21126 (char *) "self", NULL
21129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
21130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21134 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
21136 wxPyEndAllowThreads(__tstate
);
21137 if (PyErr_Occurred()) SWIG_fail
;
21140 wxColour
* resultptr
;
21141 resultptr
= new wxColour((wxColour
&) result
);
21142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21150 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21151 PyObject
*resultobj
;
21152 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21153 wxColour
*arg2
= 0 ;
21155 PyObject
* obj0
= 0 ;
21156 PyObject
* obj1
= 0 ;
21157 char *kwnames
[] = {
21158 (char *) "self",(char *) "col", NULL
21161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21166 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21170 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21172 wxPyEndAllowThreads(__tstate
);
21173 if (PyErr_Occurred()) SWIG_fail
;
21175 Py_INCREF(Py_None
); resultobj
= Py_None
;
21182 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21183 PyObject
*resultobj
;
21184 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21186 PyObject
* obj0
= 0 ;
21187 char *kwnames
[] = {
21188 (char *) "self", NULL
21191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21196 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21198 wxPyEndAllowThreads(__tstate
);
21199 if (PyErr_Occurred()) SWIG_fail
;
21201 resultobj
= SWIG_FromLong((long)result
);
21208 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21209 PyObject
*resultobj
;
21210 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21212 bool arg3
= (bool) True
;
21213 PyObject
* obj0
= 0 ;
21214 PyObject
* obj1
= 0 ;
21215 PyObject
* obj2
= 0 ;
21216 char *kwnames
[] = {
21217 (char *) "self",(char *) "style",(char *) "add", NULL
21220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21223 arg2
= (long) SWIG_AsLong(obj1
);
21224 if (PyErr_Occurred()) SWIG_fail
;
21226 arg3
= (bool) SWIG_AsBool(obj2
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21231 (arg1
)->SetSingleStyle(arg2
,arg3
);
21233 wxPyEndAllowThreads(__tstate
);
21234 if (PyErr_Occurred()) SWIG_fail
;
21236 Py_INCREF(Py_None
); resultobj
= Py_None
;
21243 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21244 PyObject
*resultobj
;
21245 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21247 PyObject
* obj0
= 0 ;
21248 PyObject
* obj1
= 0 ;
21249 char *kwnames
[] = {
21250 (char *) "self",(char *) "style", NULL
21253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21256 arg2
= (long) SWIG_AsLong(obj1
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21260 (arg1
)->SetWindowStyleFlag(arg2
);
21262 wxPyEndAllowThreads(__tstate
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21265 Py_INCREF(Py_None
); resultobj
= Py_None
;
21272 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21273 PyObject
*resultobj
;
21274 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21276 int arg3
= (int) wxLIST_NEXT_ALL
;
21277 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21279 PyObject
* obj0
= 0 ;
21280 PyObject
* obj1
= 0 ;
21281 PyObject
* obj2
= 0 ;
21282 PyObject
* obj3
= 0 ;
21283 char *kwnames
[] = {
21284 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21290 arg2
= (long) SWIG_AsLong(obj1
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21293 arg3
= (int) SWIG_AsInt(obj2
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21297 arg4
= (int) SWIG_AsInt(obj3
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21302 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21304 wxPyEndAllowThreads(__tstate
);
21305 if (PyErr_Occurred()) SWIG_fail
;
21307 resultobj
= SWIG_FromLong((long)result
);
21314 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21315 PyObject
*resultobj
;
21316 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21318 wxImageList
*result
;
21319 PyObject
* obj0
= 0 ;
21320 PyObject
* obj1
= 0 ;
21321 char *kwnames
[] = {
21322 (char *) "self",(char *) "which", NULL
21325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21328 arg2
= (int) SWIG_AsInt(obj1
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21332 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21334 wxPyEndAllowThreads(__tstate
);
21335 if (PyErr_Occurred()) SWIG_fail
;
21338 resultobj
= wxPyMake_wxObject(result
);
21346 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21347 PyObject
*resultobj
;
21348 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21349 wxImageList
*arg2
= (wxImageList
*) 0 ;
21351 PyObject
* obj0
= 0 ;
21352 PyObject
* obj1
= 0 ;
21353 PyObject
* obj2
= 0 ;
21354 char *kwnames
[] = {
21355 (char *) "self",(char *) "imageList",(char *) "which", NULL
21358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",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 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21363 arg3
= (int) SWIG_AsInt(obj2
);
21364 if (PyErr_Occurred()) SWIG_fail
;
21366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21367 (arg1
)->SetImageList(arg2
,arg3
);
21369 wxPyEndAllowThreads(__tstate
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21372 Py_INCREF(Py_None
); resultobj
= Py_None
;
21379 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21380 PyObject
*resultobj
;
21381 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21382 wxImageList
*arg2
= (wxImageList
*) 0 ;
21384 PyObject
* obj0
= 0 ;
21385 PyObject
* obj1
= 0 ;
21386 PyObject
* obj2
= 0 ;
21387 char *kwnames
[] = {
21388 (char *) "self",(char *) "imageList",(char *) "which", NULL
21391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21395 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21396 arg3
= (int) SWIG_AsInt(obj2
);
21397 if (PyErr_Occurred()) SWIG_fail
;
21399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21400 (arg1
)->AssignImageList(arg2
,arg3
);
21402 wxPyEndAllowThreads(__tstate
);
21403 if (PyErr_Occurred()) SWIG_fail
;
21405 Py_INCREF(Py_None
); resultobj
= Py_None
;
21412 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21413 PyObject
*resultobj
;
21414 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21416 PyObject
* obj0
= 0 ;
21417 char *kwnames
[] = {
21418 (char *) "self", NULL
21421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21426 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21428 wxPyEndAllowThreads(__tstate
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21438 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21439 PyObject
*resultobj
;
21440 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21442 PyObject
* obj0
= 0 ;
21443 PyObject
* obj1
= 0 ;
21444 char *kwnames
[] = {
21445 (char *) "self",(char *) "item", NULL
21448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21451 arg2
= (long) SWIG_AsLong(obj1
);
21452 if (PyErr_Occurred()) SWIG_fail
;
21454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21455 (arg1
)->RefreshItem(arg2
);
21457 wxPyEndAllowThreads(__tstate
);
21458 if (PyErr_Occurred()) SWIG_fail
;
21460 Py_INCREF(Py_None
); resultobj
= Py_None
;
21467 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21468 PyObject
*resultobj
;
21469 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21472 PyObject
* obj0
= 0 ;
21473 PyObject
* obj1
= 0 ;
21474 PyObject
* obj2
= 0 ;
21475 char *kwnames
[] = {
21476 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21482 arg2
= (long) SWIG_AsLong(obj1
);
21483 if (PyErr_Occurred()) SWIG_fail
;
21484 arg3
= (long) SWIG_AsLong(obj2
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21488 (arg1
)->RefreshItems(arg2
,arg3
);
21490 wxPyEndAllowThreads(__tstate
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21493 Py_INCREF(Py_None
); resultobj
= Py_None
;
21500 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21501 PyObject
*resultobj
;
21502 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21503 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21505 PyObject
* obj0
= 0 ;
21506 PyObject
* obj1
= 0 ;
21507 char *kwnames
[] = {
21508 (char *) "self",(char *) "flag", NULL
21511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21515 arg2
= (int) SWIG_AsInt(obj1
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21520 result
= (bool)(arg1
)->Arrange(arg2
);
21522 wxPyEndAllowThreads(__tstate
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21532 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21533 PyObject
*resultobj
;
21534 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21537 PyObject
* obj0
= 0 ;
21538 PyObject
* obj1
= 0 ;
21539 char *kwnames
[] = {
21540 (char *) "self",(char *) "item", NULL
21543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21546 arg2
= (long) SWIG_AsLong(obj1
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21550 result
= (bool)(arg1
)->DeleteItem(arg2
);
21552 wxPyEndAllowThreads(__tstate
);
21553 if (PyErr_Occurred()) SWIG_fail
;
21555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21562 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21563 PyObject
*resultobj
;
21564 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21566 PyObject
* obj0
= 0 ;
21567 char *kwnames
[] = {
21568 (char *) "self", NULL
21571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21576 result
= (bool)(arg1
)->DeleteAllItems();
21578 wxPyEndAllowThreads(__tstate
);
21579 if (PyErr_Occurred()) SWIG_fail
;
21581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21588 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21589 PyObject
*resultobj
;
21590 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21593 PyObject
* obj0
= 0 ;
21594 PyObject
* obj1
= 0 ;
21595 char *kwnames
[] = {
21596 (char *) "self",(char *) "col", NULL
21599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21602 arg2
= (int) SWIG_AsInt(obj1
);
21603 if (PyErr_Occurred()) SWIG_fail
;
21605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21606 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21608 wxPyEndAllowThreads(__tstate
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21618 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21619 PyObject
*resultobj
;
21620 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21622 PyObject
* obj0
= 0 ;
21623 char *kwnames
[] = {
21624 (char *) "self", NULL
21627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21632 result
= (bool)(arg1
)->DeleteAllColumns();
21634 wxPyEndAllowThreads(__tstate
);
21635 if (PyErr_Occurred()) SWIG_fail
;
21637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21644 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21645 PyObject
*resultobj
;
21646 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21647 PyObject
* obj0
= 0 ;
21648 char *kwnames
[] = {
21649 (char *) "self", NULL
21652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21657 (arg1
)->ClearAll();
21659 wxPyEndAllowThreads(__tstate
);
21660 if (PyErr_Occurred()) SWIG_fail
;
21662 Py_INCREF(Py_None
); resultobj
= Py_None
;
21669 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21670 PyObject
*resultobj
;
21671 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21673 wxTextCtrl
*result
;
21674 PyObject
* obj0
= 0 ;
21675 PyObject
* obj1
= 0 ;
21676 char *kwnames
[] = {
21677 (char *) "self",(char *) "item", NULL
21680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21683 arg2
= (long) SWIG_AsLong(obj1
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21687 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
21689 wxPyEndAllowThreads(__tstate
);
21690 if (PyErr_Occurred()) SWIG_fail
;
21693 resultobj
= wxPyMake_wxObject(result
);
21701 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21702 PyObject
*resultobj
;
21703 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21706 PyObject
* obj0
= 0 ;
21707 PyObject
* obj1
= 0 ;
21708 char *kwnames
[] = {
21709 (char *) "self",(char *) "cancel", NULL
21712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21715 arg2
= (bool) SWIG_AsBool(obj1
);
21716 if (PyErr_Occurred()) SWIG_fail
;
21718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21719 result
= (bool)(arg1
)->EndEditLabel(arg2
);
21721 wxPyEndAllowThreads(__tstate
);
21722 if (PyErr_Occurred()) SWIG_fail
;
21724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21731 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21732 PyObject
*resultobj
;
21733 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21736 PyObject
* obj0
= 0 ;
21737 PyObject
* obj1
= 0 ;
21738 char *kwnames
[] = {
21739 (char *) "self",(char *) "item", NULL
21742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21745 arg2
= (long) SWIG_AsLong(obj1
);
21746 if (PyErr_Occurred()) SWIG_fail
;
21748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21749 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21751 wxPyEndAllowThreads(__tstate
);
21752 if (PyErr_Occurred()) SWIG_fail
;
21754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21761 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21762 PyObject
*resultobj
;
21763 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21765 wxString
*arg3
= 0 ;
21766 bool arg4
= (bool) False
;
21768 bool temp3
= False
;
21769 PyObject
* obj0
= 0 ;
21770 PyObject
* obj1
= 0 ;
21771 PyObject
* obj2
= 0 ;
21772 PyObject
* obj3
= 0 ;
21773 char *kwnames
[] = {
21774 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21780 arg2
= (long) SWIG_AsLong(obj1
);
21781 if (PyErr_Occurred()) SWIG_fail
;
21783 arg3
= wxString_in_helper(obj2
);
21784 if (arg3
== NULL
) SWIG_fail
;
21788 arg4
= (bool) SWIG_AsBool(obj3
);
21789 if (PyErr_Occurred()) SWIG_fail
;
21792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21793 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21798 resultobj
= SWIG_FromLong((long)result
);
21813 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21814 PyObject
*resultobj
;
21815 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21819 PyObject
* obj0
= 0 ;
21820 PyObject
* obj1
= 0 ;
21821 PyObject
* obj2
= 0 ;
21822 char *kwnames
[] = {
21823 (char *) "self",(char *) "start",(char *) "data", NULL
21826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21829 arg2
= (long) SWIG_AsLong(obj1
);
21830 if (PyErr_Occurred()) SWIG_fail
;
21831 arg3
= (long) SWIG_AsLong(obj2
);
21832 if (PyErr_Occurred()) SWIG_fail
;
21834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21835 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21837 wxPyEndAllowThreads(__tstate
);
21838 if (PyErr_Occurred()) SWIG_fail
;
21840 resultobj
= SWIG_FromLong((long)result
);
21847 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21848 PyObject
*resultobj
;
21849 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21851 wxPoint
*arg3
= 0 ;
21855 PyObject
* obj0
= 0 ;
21856 PyObject
* obj1
= 0 ;
21857 PyObject
* obj2
= 0 ;
21858 PyObject
* obj3
= 0 ;
21859 char *kwnames
[] = {
21860 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21866 arg2
= (long) SWIG_AsLong(obj1
);
21867 if (PyErr_Occurred()) SWIG_fail
;
21870 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21872 arg4
= (int) SWIG_AsInt(obj3
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21876 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
21878 wxPyEndAllowThreads(__tstate
);
21879 if (PyErr_Occurred()) SWIG_fail
;
21881 resultobj
= SWIG_FromLong((long)result
);
21888 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21889 PyObject
*resultobj
;
21890 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21891 wxPoint
*arg2
= 0 ;
21896 PyObject
* obj0
= 0 ;
21897 PyObject
* obj1
= 0 ;
21898 char *kwnames
[] = {
21899 (char *) "self",(char *) "point", NULL
21903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
21904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21908 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21912 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
21914 wxPyEndAllowThreads(__tstate
);
21915 if (PyErr_Occurred()) SWIG_fail
;
21917 resultobj
= SWIG_FromLong((long)result
);
21919 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21920 resultobj
= t_output_helper(resultobj
,o
);
21928 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21929 PyObject
*resultobj
;
21930 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21931 wxListItem
*arg2
= 0 ;
21933 PyObject
* obj0
= 0 ;
21934 PyObject
* obj1
= 0 ;
21935 char *kwnames
[] = {
21936 (char *) "self",(char *) "info", NULL
21939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21942 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21943 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21945 if (arg2
== NULL
) {
21946 PyErr_SetString(PyExc_TypeError
,"null reference");
21950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21951 result
= (long)(arg1
)->InsertItem(*arg2
);
21953 wxPyEndAllowThreads(__tstate
);
21954 if (PyErr_Occurred()) SWIG_fail
;
21956 resultobj
= SWIG_FromLong((long)result
);
21963 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21964 PyObject
*resultobj
;
21965 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21967 wxString
*arg3
= 0 ;
21969 bool temp3
= False
;
21970 PyObject
* obj0
= 0 ;
21971 PyObject
* obj1
= 0 ;
21972 PyObject
* obj2
= 0 ;
21973 char *kwnames
[] = {
21974 (char *) "self",(char *) "index",(char *) "label", NULL
21977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21980 arg2
= (long) SWIG_AsLong(obj1
);
21981 if (PyErr_Occurred()) SWIG_fail
;
21983 arg3
= wxString_in_helper(obj2
);
21984 if (arg3
== NULL
) SWIG_fail
;
21988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21989 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
21991 wxPyEndAllowThreads(__tstate
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21994 resultobj
= SWIG_FromLong((long)result
);
22009 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22010 PyObject
*resultobj
;
22011 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22015 PyObject
* obj0
= 0 ;
22016 PyObject
* obj1
= 0 ;
22017 PyObject
* obj2
= 0 ;
22018 char *kwnames
[] = {
22019 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22025 arg2
= (long) SWIG_AsLong(obj1
);
22026 if (PyErr_Occurred()) SWIG_fail
;
22027 arg3
= (int) SWIG_AsInt(obj2
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22031 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
22033 wxPyEndAllowThreads(__tstate
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22036 resultobj
= SWIG_FromLong((long)result
);
22043 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22044 PyObject
*resultobj
;
22045 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22047 wxString
*arg3
= 0 ;
22050 bool temp3
= False
;
22051 PyObject
* obj0
= 0 ;
22052 PyObject
* obj1
= 0 ;
22053 PyObject
* obj2
= 0 ;
22054 PyObject
* obj3
= 0 ;
22055 char *kwnames
[] = {
22056 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22062 arg2
= (long) SWIG_AsLong(obj1
);
22063 if (PyErr_Occurred()) SWIG_fail
;
22065 arg3
= wxString_in_helper(obj2
);
22066 if (arg3
== NULL
) SWIG_fail
;
22069 arg4
= (int) SWIG_AsInt(obj3
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22073 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
22075 wxPyEndAllowThreads(__tstate
);
22076 if (PyErr_Occurred()) SWIG_fail
;
22078 resultobj
= SWIG_FromLong((long)result
);
22093 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22094 PyObject
*resultobj
;
22095 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22097 wxListItem
*arg3
= 0 ;
22099 PyObject
* obj0
= 0 ;
22100 PyObject
* obj1
= 0 ;
22101 PyObject
* obj2
= 0 ;
22102 char *kwnames
[] = {
22103 (char *) "self",(char *) "col",(char *) "info", NULL
22106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22109 arg2
= (long) SWIG_AsLong(obj1
);
22110 if (PyErr_Occurred()) SWIG_fail
;
22111 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
22112 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22114 if (arg3
== NULL
) {
22115 PyErr_SetString(PyExc_TypeError
,"null reference");
22119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22120 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
22122 wxPyEndAllowThreads(__tstate
);
22123 if (PyErr_Occurred()) SWIG_fail
;
22125 resultobj
= SWIG_FromLong((long)result
);
22132 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22133 PyObject
*resultobj
;
22134 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22136 wxString
*arg3
= 0 ;
22137 int arg4
= (int) wxLIST_FORMAT_LEFT
;
22138 int arg5
= (int) -1 ;
22140 bool temp3
= False
;
22141 PyObject
* obj0
= 0 ;
22142 PyObject
* obj1
= 0 ;
22143 PyObject
* obj2
= 0 ;
22144 PyObject
* obj3
= 0 ;
22145 PyObject
* obj4
= 0 ;
22146 char *kwnames
[] = {
22147 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22153 arg2
= (long) SWIG_AsLong(obj1
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22156 arg3
= wxString_in_helper(obj2
);
22157 if (arg3
== NULL
) SWIG_fail
;
22161 arg4
= (int) SWIG_AsInt(obj3
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22165 arg5
= (int) SWIG_AsInt(obj4
);
22166 if (PyErr_Occurred()) SWIG_fail
;
22169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22175 resultobj
= SWIG_FromLong((long)result
);
22190 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22191 PyObject
*resultobj
;
22192 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22194 PyObject
* obj0
= 0 ;
22195 PyObject
* obj1
= 0 ;
22196 char *kwnames
[] = {
22197 (char *) "self",(char *) "count", NULL
22200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
22201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22203 arg2
= (long) SWIG_AsLong(obj1
);
22204 if (PyErr_Occurred()) SWIG_fail
;
22206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22207 (arg1
)->SetItemCount(arg2
);
22209 wxPyEndAllowThreads(__tstate
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22212 Py_INCREF(Py_None
); resultobj
= Py_None
;
22219 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22220 PyObject
*resultobj
;
22221 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22225 PyObject
* obj0
= 0 ;
22226 PyObject
* obj1
= 0 ;
22227 PyObject
* obj2
= 0 ;
22228 char *kwnames
[] = {
22229 (char *) "self",(char *) "dx",(char *) "dy", NULL
22232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22235 arg2
= (int) SWIG_AsInt(obj1
);
22236 if (PyErr_Occurred()) SWIG_fail
;
22237 arg3
= (int) SWIG_AsInt(obj2
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22241 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22243 wxPyEndAllowThreads(__tstate
);
22244 if (PyErr_Occurred()) SWIG_fail
;
22246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22253 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22254 PyObject
*resultobj
;
22255 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22257 wxColour
*arg3
= 0 ;
22259 PyObject
* obj0
= 0 ;
22260 PyObject
* obj1
= 0 ;
22261 PyObject
* obj2
= 0 ;
22262 char *kwnames
[] = {
22263 (char *) "self",(char *) "item",(char *) "col", NULL
22266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22269 arg2
= (long) SWIG_AsLong(obj1
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22273 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22277 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22279 wxPyEndAllowThreads(__tstate
);
22280 if (PyErr_Occurred()) SWIG_fail
;
22282 Py_INCREF(Py_None
); resultobj
= Py_None
;
22289 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22290 PyObject
*resultobj
;
22291 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22294 PyObject
* obj0
= 0 ;
22295 PyObject
* obj1
= 0 ;
22296 char *kwnames
[] = {
22297 (char *) "self",(char *) "item", NULL
22300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22303 arg2
= (long) SWIG_AsLong(obj1
);
22304 if (PyErr_Occurred()) SWIG_fail
;
22306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22307 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22309 wxPyEndAllowThreads(__tstate
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22313 wxColour
* resultptr
;
22314 resultptr
= new wxColour((wxColour
&) result
);
22315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22323 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22324 PyObject
*resultobj
;
22325 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22327 wxColour
*arg3
= 0 ;
22329 PyObject
* obj0
= 0 ;
22330 PyObject
* obj1
= 0 ;
22331 PyObject
* obj2
= 0 ;
22332 char *kwnames
[] = {
22333 (char *) "self",(char *) "item",(char *) "col", NULL
22336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22339 arg2
= (long) SWIG_AsLong(obj1
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22343 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22347 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22349 wxPyEndAllowThreads(__tstate
);
22350 if (PyErr_Occurred()) SWIG_fail
;
22352 Py_INCREF(Py_None
); resultobj
= Py_None
;
22359 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22360 PyObject
*resultobj
;
22361 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22364 PyObject
* obj0
= 0 ;
22365 PyObject
* obj1
= 0 ;
22366 char *kwnames
[] = {
22367 (char *) "self",(char *) "item", NULL
22370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22373 arg2
= (long) SWIG_AsLong(obj1
);
22374 if (PyErr_Occurred()) SWIG_fail
;
22376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22377 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22383 wxColour
* resultptr
;
22384 resultptr
= new wxColour((wxColour
&) result
);
22385 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22393 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22394 PyObject
*resultobj
;
22395 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22396 PyObject
*arg2
= (PyObject
*) 0 ;
22398 PyObject
* obj0
= 0 ;
22399 PyObject
* obj1
= 0 ;
22400 char *kwnames
[] = {
22401 (char *) "self",(char *) "func", NULL
22404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22410 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22412 wxPyEndAllowThreads(__tstate
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22422 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22423 PyObject
*resultobj
;
22424 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22426 PyObject
* obj0
= 0 ;
22427 char *kwnames
[] = {
22428 (char *) "self", NULL
22431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22436 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22438 wxPyEndAllowThreads(__tstate
);
22439 if (PyErr_Occurred()) SWIG_fail
;
22442 resultobj
= wxPyMake_wxObject(result
);
22450 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22453 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22455 return Py_BuildValue((char *)"");
22457 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22458 PyObject
*resultobj
;
22459 wxWindow
*arg1
= (wxWindow
*) 0 ;
22460 int arg2
= (int) -1 ;
22461 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22462 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22463 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22464 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22465 long arg5
= (long) wxLC_REPORT
;
22466 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22467 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22468 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22469 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22470 wxListView
*result
;
22473 bool temp7
= False
;
22474 PyObject
* obj0
= 0 ;
22475 PyObject
* obj1
= 0 ;
22476 PyObject
* obj2
= 0 ;
22477 PyObject
* obj3
= 0 ;
22478 PyObject
* obj4
= 0 ;
22479 PyObject
* obj5
= 0 ;
22480 PyObject
* obj6
= 0 ;
22481 char *kwnames
[] = {
22482 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22489 arg2
= (int) SWIG_AsInt(obj1
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22495 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22501 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22505 arg5
= (long) SWIG_AsLong(obj4
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22509 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
22510 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22512 if (arg6
== NULL
) {
22513 PyErr_SetString(PyExc_TypeError
,"null reference");
22519 arg7
= wxString_in_helper(obj6
);
22520 if (arg7
== NULL
) SWIG_fail
;
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22546 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22547 PyObject
*resultobj
;
22548 wxListView
*result
;
22549 char *kwnames
[] = {
22553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22556 result
= (wxListView
*)new wxListView();
22558 wxPyEndAllowThreads(__tstate
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22568 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22569 PyObject
*resultobj
;
22570 wxListView
*arg1
= (wxListView
*) 0 ;
22571 wxWindow
*arg2
= (wxWindow
*) 0 ;
22572 int arg3
= (int) -1 ;
22573 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22574 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22575 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22576 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22577 long arg6
= (long) wxLC_REPORT
;
22578 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22579 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22580 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22581 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22585 bool temp8
= False
;
22586 PyObject
* obj0
= 0 ;
22587 PyObject
* obj1
= 0 ;
22588 PyObject
* obj2
= 0 ;
22589 PyObject
* obj3
= 0 ;
22590 PyObject
* obj4
= 0 ;
22591 PyObject
* obj5
= 0 ;
22592 PyObject
* obj6
= 0 ;
22593 PyObject
* obj7
= 0 ;
22594 char *kwnames
[] = {
22595 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22604 arg3
= (int) SWIG_AsInt(obj2
);
22605 if (PyErr_Occurred()) SWIG_fail
;
22610 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22616 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22620 arg6
= (long) SWIG_AsLong(obj5
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22624 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
22625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22627 if (arg7
== NULL
) {
22628 PyErr_SetString(PyExc_TypeError
,"null reference");
22634 arg8
= wxString_in_helper(obj7
);
22635 if (arg8
== NULL
) SWIG_fail
;
22640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22641 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22643 wxPyEndAllowThreads(__tstate
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22661 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22662 PyObject
*resultobj
;
22663 wxListView
*arg1
= (wxListView
*) 0 ;
22665 bool arg3
= (bool) True
;
22666 PyObject
* obj0
= 0 ;
22667 PyObject
* obj1
= 0 ;
22668 PyObject
* obj2
= 0 ;
22669 char *kwnames
[] = {
22670 (char *) "self",(char *) "n",(char *) "on", NULL
22673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22676 arg2
= (long) SWIG_AsLong(obj1
);
22677 if (PyErr_Occurred()) SWIG_fail
;
22679 arg3
= (bool) SWIG_AsBool(obj2
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22684 (arg1
)->Select(arg2
,arg3
);
22686 wxPyEndAllowThreads(__tstate
);
22687 if (PyErr_Occurred()) SWIG_fail
;
22689 Py_INCREF(Py_None
); resultobj
= Py_None
;
22696 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22697 PyObject
*resultobj
;
22698 wxListView
*arg1
= (wxListView
*) 0 ;
22700 PyObject
* obj0
= 0 ;
22701 PyObject
* obj1
= 0 ;
22702 char *kwnames
[] = {
22703 (char *) "self",(char *) "index", NULL
22706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22709 arg2
= (long) SWIG_AsLong(obj1
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22713 (arg1
)->Focus(arg2
);
22715 wxPyEndAllowThreads(__tstate
);
22716 if (PyErr_Occurred()) SWIG_fail
;
22718 Py_INCREF(Py_None
); resultobj
= Py_None
;
22725 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22726 PyObject
*resultobj
;
22727 wxListView
*arg1
= (wxListView
*) 0 ;
22729 PyObject
* obj0
= 0 ;
22730 char *kwnames
[] = {
22731 (char *) "self", NULL
22734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22739 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22741 wxPyEndAllowThreads(__tstate
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22744 resultobj
= SWIG_FromLong((long)result
);
22751 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22752 PyObject
*resultobj
;
22753 wxListView
*arg1
= (wxListView
*) 0 ;
22756 PyObject
* obj0
= 0 ;
22757 PyObject
* obj1
= 0 ;
22758 char *kwnames
[] = {
22759 (char *) "self",(char *) "item", NULL
22762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22765 arg2
= (long) SWIG_AsLong(obj1
);
22766 if (PyErr_Occurred()) SWIG_fail
;
22768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22769 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22771 wxPyEndAllowThreads(__tstate
);
22772 if (PyErr_Occurred()) SWIG_fail
;
22774 resultobj
= SWIG_FromLong((long)result
);
22781 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22782 PyObject
*resultobj
;
22783 wxListView
*arg1
= (wxListView
*) 0 ;
22785 PyObject
* obj0
= 0 ;
22786 char *kwnames
[] = {
22787 (char *) "self", NULL
22790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22795 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22797 wxPyEndAllowThreads(__tstate
);
22798 if (PyErr_Occurred()) SWIG_fail
;
22800 resultobj
= SWIG_FromLong((long)result
);
22807 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22808 PyObject
*resultobj
;
22809 wxListView
*arg1
= (wxListView
*) 0 ;
22812 PyObject
* obj0
= 0 ;
22813 PyObject
* obj1
= 0 ;
22814 char *kwnames
[] = {
22815 (char *) "self",(char *) "index", NULL
22818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22821 arg2
= (long) SWIG_AsLong(obj1
);
22822 if (PyErr_Occurred()) SWIG_fail
;
22824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22825 result
= (bool)(arg1
)->IsSelected(arg2
);
22827 wxPyEndAllowThreads(__tstate
);
22828 if (PyErr_Occurred()) SWIG_fail
;
22830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22837 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22838 PyObject
*resultobj
;
22839 wxListView
*arg1
= (wxListView
*) 0 ;
22842 PyObject
* obj0
= 0 ;
22843 PyObject
* obj1
= 0 ;
22844 PyObject
* obj2
= 0 ;
22845 char *kwnames
[] = {
22846 (char *) "self",(char *) "col",(char *) "image", NULL
22849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22852 arg2
= (int) SWIG_AsInt(obj1
);
22853 if (PyErr_Occurred()) SWIG_fail
;
22854 arg3
= (int) SWIG_AsInt(obj2
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22858 (arg1
)->SetColumnImage(arg2
,arg3
);
22860 wxPyEndAllowThreads(__tstate
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22863 Py_INCREF(Py_None
); resultobj
= Py_None
;
22870 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22871 PyObject
*resultobj
;
22872 wxListView
*arg1
= (wxListView
*) 0 ;
22874 PyObject
* obj0
= 0 ;
22875 PyObject
* obj1
= 0 ;
22876 char *kwnames
[] = {
22877 (char *) "self",(char *) "col", NULL
22880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22883 arg2
= (int) SWIG_AsInt(obj1
);
22884 if (PyErr_Occurred()) SWIG_fail
;
22886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22887 (arg1
)->ClearColumnImage(arg2
);
22889 wxPyEndAllowThreads(__tstate
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22892 Py_INCREF(Py_None
); resultobj
= Py_None
;
22899 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
22901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22902 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
22904 return Py_BuildValue((char *)"");
22906 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
22907 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
22912 static PyObject
*_wrap_TreeCtrlNameStr_get() {
22917 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22919 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22926 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22927 PyObject
*resultobj
;
22928 wxTreeItemId
*result
;
22929 char *kwnames
[] = {
22933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
22935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22936 result
= (wxTreeItemId
*)new wxTreeItemId();
22938 wxPyEndAllowThreads(__tstate
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
22948 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22949 PyObject
*resultobj
;
22950 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22951 PyObject
* obj0
= 0 ;
22952 char *kwnames
[] = {
22953 (char *) "self", NULL
22956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
22957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22963 wxPyEndAllowThreads(__tstate
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22966 Py_INCREF(Py_None
); resultobj
= Py_None
;
22973 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22974 PyObject
*resultobj
;
22975 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22977 PyObject
* obj0
= 0 ;
22978 char *kwnames
[] = {
22979 (char *) "self", NULL
22982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
22983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22987 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
22989 wxPyEndAllowThreads(__tstate
);
22990 if (PyErr_Occurred()) SWIG_fail
;
22992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22999 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23000 PyObject
*resultobj
;
23001 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23002 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23004 PyObject
* obj0
= 0 ;
23005 PyObject
* obj1
= 0 ;
23006 char *kwnames
[] = {
23007 (char *) "self",(char *) "other", NULL
23010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23017 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
23019 wxPyEndAllowThreads(__tstate
);
23020 if (PyErr_Occurred()) SWIG_fail
;
23022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23029 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23030 PyObject
*resultobj
;
23031 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23032 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23034 PyObject
* obj0
= 0 ;
23035 PyObject
* obj1
= 0 ;
23036 char *kwnames
[] = {
23037 (char *) "self",(char *) "other", NULL
23040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23043 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23047 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
23049 wxPyEndAllowThreads(__tstate
);
23050 if (PyErr_Occurred()) SWIG_fail
;
23052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23059 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23060 PyObject
*resultobj
;
23061 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23062 void *arg2
= (void *) 0 ;
23063 PyObject
* obj0
= 0 ;
23064 PyObject
* obj1
= 0 ;
23065 char *kwnames
[] = {
23066 (char *) "self",(char *) "m_pItem", NULL
23069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23072 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23073 if (arg1
) (arg1
)->m_pItem
= arg2
;
23075 Py_INCREF(Py_None
); resultobj
= Py_None
;
23082 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23083 PyObject
*resultobj
;
23084 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23086 PyObject
* obj0
= 0 ;
23087 char *kwnames
[] = {
23088 (char *) "self", NULL
23091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
23092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23094 result
= (void *) ((arg1
)->m_pItem
);
23096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
23103 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
23105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23106 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
23108 return Py_BuildValue((char *)"");
23110 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23111 PyObject
*resultobj
;
23112 PyObject
*arg1
= (PyObject
*) NULL
;
23113 wxPyTreeItemData
*result
;
23114 PyObject
* obj0
= 0 ;
23115 char *kwnames
[] = {
23116 (char *) "obj", NULL
23119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
23124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23125 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
23127 wxPyEndAllowThreads(__tstate
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
23137 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23138 PyObject
*resultobj
;
23139 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23141 PyObject
* obj0
= 0 ;
23142 char *kwnames
[] = {
23143 (char *) "self", NULL
23146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23151 result
= (PyObject
*)(arg1
)->GetData();
23153 wxPyEndAllowThreads(__tstate
);
23154 if (PyErr_Occurred()) SWIG_fail
;
23156 resultobj
= result
;
23163 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23164 PyObject
*resultobj
;
23165 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23166 PyObject
*arg2
= (PyObject
*) 0 ;
23167 PyObject
* obj0
= 0 ;
23168 PyObject
* obj1
= 0 ;
23169 char *kwnames
[] = {
23170 (char *) "self",(char *) "obj", NULL
23173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23179 (arg1
)->SetData(arg2
);
23181 wxPyEndAllowThreads(__tstate
);
23182 if (PyErr_Occurred()) SWIG_fail
;
23184 Py_INCREF(Py_None
); resultobj
= Py_None
;
23191 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23192 PyObject
*resultobj
;
23193 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23194 wxTreeItemId
*result
;
23195 PyObject
* obj0
= 0 ;
23196 char *kwnames
[] = {
23197 (char *) "self", NULL
23200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23206 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23207 result
= (wxTreeItemId
*) &_result_ref
;
23210 wxPyEndAllowThreads(__tstate
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
23220 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23221 PyObject
*resultobj
;
23222 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23223 wxTreeItemId
*arg2
= 0 ;
23224 PyObject
* obj0
= 0 ;
23225 PyObject
* obj1
= 0 ;
23226 char *kwnames
[] = {
23227 (char *) "self",(char *) "id", NULL
23230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23234 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23236 if (arg2
== NULL
) {
23237 PyErr_SetString(PyExc_TypeError
,"null reference");
23241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23242 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23244 wxPyEndAllowThreads(__tstate
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23247 Py_INCREF(Py_None
); resultobj
= Py_None
;
23254 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23255 PyObject
*resultobj
;
23256 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23257 PyObject
* obj0
= 0 ;
23258 char *kwnames
[] = {
23259 (char *) "self", NULL
23262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23267 wxPyTreeItemData_Destroy(arg1
);
23269 wxPyEndAllowThreads(__tstate
);
23270 if (PyErr_Occurred()) SWIG_fail
;
23272 Py_INCREF(Py_None
); resultobj
= Py_None
;
23279 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
23281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23282 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23284 return Py_BuildValue((char *)"");
23286 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23287 PyObject
*resultobj
;
23288 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23289 int arg2
= (int) 0 ;
23290 wxTreeEvent
*result
;
23291 PyObject
* obj0
= 0 ;
23292 PyObject
* obj1
= 0 ;
23293 char *kwnames
[] = {
23294 (char *) "commandType",(char *) "id", NULL
23297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23299 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23303 arg2
= (int) SWIG_AsInt(obj1
);
23304 if (PyErr_Occurred()) SWIG_fail
;
23307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23308 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23310 wxPyEndAllowThreads(__tstate
);
23311 if (PyErr_Occurred()) SWIG_fail
;
23313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
23320 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23321 PyObject
*resultobj
;
23322 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23323 wxTreeItemId result
;
23324 PyObject
* obj0
= 0 ;
23325 char *kwnames
[] = {
23326 (char *) "self", NULL
23329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23334 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23340 wxTreeItemId
* resultptr
;
23341 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23342 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23350 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23351 PyObject
*resultobj
;
23352 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23353 wxTreeItemId
*arg2
= 0 ;
23354 PyObject
* obj0
= 0 ;
23355 PyObject
* obj1
= 0 ;
23356 char *kwnames
[] = {
23357 (char *) "self",(char *) "item", NULL
23360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23364 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23366 if (arg2
== NULL
) {
23367 PyErr_SetString(PyExc_TypeError
,"null reference");
23371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23372 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23374 wxPyEndAllowThreads(__tstate
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23377 Py_INCREF(Py_None
); resultobj
= Py_None
;
23384 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23385 PyObject
*resultobj
;
23386 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23387 wxTreeItemId result
;
23388 PyObject
* obj0
= 0 ;
23389 char *kwnames
[] = {
23390 (char *) "self", NULL
23393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23398 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23400 wxPyEndAllowThreads(__tstate
);
23401 if (PyErr_Occurred()) SWIG_fail
;
23404 wxTreeItemId
* resultptr
;
23405 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23406 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23414 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23415 PyObject
*resultobj
;
23416 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23417 wxTreeItemId
*arg2
= 0 ;
23418 PyObject
* obj0
= 0 ;
23419 PyObject
* obj1
= 0 ;
23420 char *kwnames
[] = {
23421 (char *) "self",(char *) "item", NULL
23424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23428 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23430 if (arg2
== NULL
) {
23431 PyErr_SetString(PyExc_TypeError
,"null reference");
23435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23436 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23438 wxPyEndAllowThreads(__tstate
);
23439 if (PyErr_Occurred()) SWIG_fail
;
23441 Py_INCREF(Py_None
); resultobj
= Py_None
;
23448 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23449 PyObject
*resultobj
;
23450 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23452 PyObject
* obj0
= 0 ;
23453 char *kwnames
[] = {
23454 (char *) "self", NULL
23457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23462 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23464 wxPyEndAllowThreads(__tstate
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23468 wxPoint
* resultptr
;
23469 resultptr
= new wxPoint((wxPoint
&) result
);
23470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23478 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23479 PyObject
*resultobj
;
23480 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23481 wxPoint
*arg2
= 0 ;
23483 PyObject
* obj0
= 0 ;
23484 PyObject
* obj1
= 0 ;
23485 char *kwnames
[] = {
23486 (char *) "self",(char *) "pt", NULL
23489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23494 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23498 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23500 wxPyEndAllowThreads(__tstate
);
23501 if (PyErr_Occurred()) SWIG_fail
;
23503 Py_INCREF(Py_None
); resultobj
= Py_None
;
23510 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23511 PyObject
*resultobj
;
23512 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23513 wxKeyEvent
*result
;
23514 PyObject
* obj0
= 0 ;
23515 char *kwnames
[] = {
23516 (char *) "self", NULL
23519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23525 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23526 result
= (wxKeyEvent
*) &_result_ref
;
23529 wxPyEndAllowThreads(__tstate
);
23530 if (PyErr_Occurred()) SWIG_fail
;
23532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
23539 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23540 PyObject
*resultobj
;
23541 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23543 PyObject
* obj0
= 0 ;
23544 char *kwnames
[] = {
23545 (char *) "self", NULL
23548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23553 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23558 resultobj
= SWIG_FromInt((int)result
);
23565 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23566 PyObject
*resultobj
;
23567 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23568 wxKeyEvent
*arg2
= 0 ;
23569 PyObject
* obj0
= 0 ;
23570 PyObject
* obj1
= 0 ;
23571 char *kwnames
[] = {
23572 (char *) "self",(char *) "evt", NULL
23575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
23579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23581 if (arg2
== NULL
) {
23582 PyErr_SetString(PyExc_TypeError
,"null reference");
23586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23587 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23589 wxPyEndAllowThreads(__tstate
);
23590 if (PyErr_Occurred()) SWIG_fail
;
23592 Py_INCREF(Py_None
); resultobj
= Py_None
;
23599 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23600 PyObject
*resultobj
;
23601 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23603 PyObject
* obj0
= 0 ;
23604 char *kwnames
[] = {
23605 (char *) "self", NULL
23608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23614 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23615 result
= (wxString
*) &_result_ref
;
23618 wxPyEndAllowThreads(__tstate
);
23619 if (PyErr_Occurred()) SWIG_fail
;
23623 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23625 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23634 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23635 PyObject
*resultobj
;
23636 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23637 wxString
*arg2
= 0 ;
23638 bool temp2
= False
;
23639 PyObject
* obj0
= 0 ;
23640 PyObject
* obj1
= 0 ;
23641 char *kwnames
[] = {
23642 (char *) "self",(char *) "label", NULL
23645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23649 arg2
= wxString_in_helper(obj1
);
23650 if (arg2
== NULL
) SWIG_fail
;
23654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23655 (arg1
)->SetLabel((wxString
const &)*arg2
);
23657 wxPyEndAllowThreads(__tstate
);
23658 if (PyErr_Occurred()) SWIG_fail
;
23660 Py_INCREF(Py_None
); resultobj
= Py_None
;
23675 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23676 PyObject
*resultobj
;
23677 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23679 PyObject
* obj0
= 0 ;
23680 char *kwnames
[] = {
23681 (char *) "self", NULL
23684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23689 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23691 wxPyEndAllowThreads(__tstate
);
23692 if (PyErr_Occurred()) SWIG_fail
;
23694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23701 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23702 PyObject
*resultobj
;
23703 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23705 PyObject
* obj0
= 0 ;
23706 PyObject
* obj1
= 0 ;
23707 char *kwnames
[] = {
23708 (char *) "self",(char *) "editCancelled", NULL
23711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23714 arg2
= (bool) SWIG_AsBool(obj1
);
23715 if (PyErr_Occurred()) SWIG_fail
;
23717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23718 (arg1
)->SetEditCanceled(arg2
);
23720 wxPyEndAllowThreads(__tstate
);
23721 if (PyErr_Occurred()) SWIG_fail
;
23723 Py_INCREF(Py_None
); resultobj
= Py_None
;
23730 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23731 PyObject
*resultobj
;
23732 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23733 wxString
*arg2
= 0 ;
23734 bool temp2
= False
;
23735 PyObject
* obj0
= 0 ;
23736 PyObject
* obj1
= 0 ;
23737 char *kwnames
[] = {
23738 (char *) "self",(char *) "toolTip", NULL
23741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23745 arg2
= wxString_in_helper(obj1
);
23746 if (arg2
== NULL
) SWIG_fail
;
23750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23751 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23753 wxPyEndAllowThreads(__tstate
);
23754 if (PyErr_Occurred()) SWIG_fail
;
23756 Py_INCREF(Py_None
); resultobj
= Py_None
;
23771 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
23773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23774 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23776 return Py_BuildValue((char *)"");
23778 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23779 PyObject
*resultobj
;
23780 wxWindow
*arg1
= (wxWindow
*) 0 ;
23781 int arg2
= (int) -1 ;
23782 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23783 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23784 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23785 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23786 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23787 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23788 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23789 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23790 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23791 wxPyTreeCtrl
*result
;
23794 bool temp7
= False
;
23795 PyObject
* obj0
= 0 ;
23796 PyObject
* obj1
= 0 ;
23797 PyObject
* obj2
= 0 ;
23798 PyObject
* obj3
= 0 ;
23799 PyObject
* obj4
= 0 ;
23800 PyObject
* obj5
= 0 ;
23801 PyObject
* obj6
= 0 ;
23802 char *kwnames
[] = {
23803 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23810 arg2
= (int) SWIG_AsInt(obj1
);
23811 if (PyErr_Occurred()) SWIG_fail
;
23816 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23822 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23826 arg5
= (long) SWIG_AsLong(obj4
);
23827 if (PyErr_Occurred()) SWIG_fail
;
23830 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23831 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23833 if (arg6
== NULL
) {
23834 PyErr_SetString(PyExc_TypeError
,"null reference");
23840 arg7
= wxString_in_helper(obj6
);
23841 if (arg7
== NULL
) SWIG_fail
;
23846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23847 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23849 wxPyEndAllowThreads(__tstate
);
23850 if (PyErr_Occurred()) SWIG_fail
;
23853 resultobj
= wxPyMake_wxObject(result
);
23869 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23870 PyObject
*resultobj
;
23871 wxPyTreeCtrl
*result
;
23872 char *kwnames
[] = {
23876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
23878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23879 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
23881 wxPyEndAllowThreads(__tstate
);
23882 if (PyErr_Occurred()) SWIG_fail
;
23885 resultobj
= wxPyMake_wxObject(result
);
23893 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23894 PyObject
*resultobj
;
23895 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23896 wxWindow
*arg2
= (wxWindow
*) 0 ;
23897 int arg3
= (int) -1 ;
23898 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23899 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23900 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23901 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23902 long arg6
= (long) wxTR_DEFAULT_STYLE
;
23903 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23904 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23905 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
23906 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23910 bool temp8
= False
;
23911 PyObject
* obj0
= 0 ;
23912 PyObject
* obj1
= 0 ;
23913 PyObject
* obj2
= 0 ;
23914 PyObject
* obj3
= 0 ;
23915 PyObject
* obj4
= 0 ;
23916 PyObject
* obj5
= 0 ;
23917 PyObject
* obj6
= 0 ;
23918 PyObject
* obj7
= 0 ;
23919 char *kwnames
[] = {
23920 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23926 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23929 arg3
= (int) SWIG_AsInt(obj2
);
23930 if (PyErr_Occurred()) SWIG_fail
;
23935 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23941 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23945 arg6
= (long) SWIG_AsLong(obj5
);
23946 if (PyErr_Occurred()) SWIG_fail
;
23949 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23950 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23952 if (arg7
== NULL
) {
23953 PyErr_SetString(PyExc_TypeError
,"null reference");
23959 arg8
= wxString_in_helper(obj7
);
23960 if (arg8
== NULL
) SWIG_fail
;
23965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23966 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23968 wxPyEndAllowThreads(__tstate
);
23969 if (PyErr_Occurred()) SWIG_fail
;
23971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23986 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23987 PyObject
*resultobj
;
23988 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23989 PyObject
*arg2
= (PyObject
*) 0 ;
23990 PyObject
*arg3
= (PyObject
*) 0 ;
23991 PyObject
* obj0
= 0 ;
23992 PyObject
* obj1
= 0 ;
23993 PyObject
* obj2
= 0 ;
23994 char *kwnames
[] = {
23995 (char *) "self",(char *) "self",(char *) "_class", NULL
23998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24005 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24007 wxPyEndAllowThreads(__tstate
);
24008 if (PyErr_Occurred()) SWIG_fail
;
24010 Py_INCREF(Py_None
); resultobj
= Py_None
;
24017 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24018 PyObject
*resultobj
;
24019 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24021 PyObject
* obj0
= 0 ;
24022 char *kwnames
[] = {
24023 (char *) "self", NULL
24026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
24027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24031 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
24033 wxPyEndAllowThreads(__tstate
);
24034 if (PyErr_Occurred()) SWIG_fail
;
24036 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24043 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24044 PyObject
*resultobj
;
24045 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24046 unsigned int result
;
24047 PyObject
* obj0
= 0 ;
24048 char *kwnames
[] = {
24049 (char *) "self", NULL
24052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
24053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24057 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
24059 wxPyEndAllowThreads(__tstate
);
24060 if (PyErr_Occurred()) SWIG_fail
;
24062 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24069 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24070 PyObject
*resultobj
;
24071 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24072 unsigned int arg2
;
24073 PyObject
* obj0
= 0 ;
24074 PyObject
* obj1
= 0 ;
24075 char *kwnames
[] = {
24076 (char *) "self",(char *) "indent", NULL
24079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
24080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24082 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24083 if (PyErr_Occurred()) SWIG_fail
;
24085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24086 (arg1
)->SetIndent(arg2
);
24088 wxPyEndAllowThreads(__tstate
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24091 Py_INCREF(Py_None
); resultobj
= Py_None
;
24098 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24099 PyObject
*resultobj
;
24100 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24101 unsigned int result
;
24102 PyObject
* obj0
= 0 ;
24103 char *kwnames
[] = {
24104 (char *) "self", NULL
24107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
24108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24112 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
24114 wxPyEndAllowThreads(__tstate
);
24115 if (PyErr_Occurred()) SWIG_fail
;
24117 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24124 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24125 PyObject
*resultobj
;
24126 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24127 unsigned int arg2
;
24128 PyObject
* obj0
= 0 ;
24129 PyObject
* obj1
= 0 ;
24130 char *kwnames
[] = {
24131 (char *) "self",(char *) "spacing", NULL
24134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
24135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24137 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24138 if (PyErr_Occurred()) SWIG_fail
;
24140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24141 (arg1
)->SetSpacing(arg2
);
24143 wxPyEndAllowThreads(__tstate
);
24144 if (PyErr_Occurred()) SWIG_fail
;
24146 Py_INCREF(Py_None
); resultobj
= Py_None
;
24153 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24154 PyObject
*resultobj
;
24155 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24156 wxImageList
*result
;
24157 PyObject
* obj0
= 0 ;
24158 char *kwnames
[] = {
24159 (char *) "self", NULL
24162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
24163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24167 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24169 wxPyEndAllowThreads(__tstate
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24173 resultobj
= wxPyMake_wxObject(result
);
24181 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24182 PyObject
*resultobj
;
24183 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24184 wxImageList
*result
;
24185 PyObject
* obj0
= 0 ;
24186 char *kwnames
[] = {
24187 (char *) "self", NULL
24190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24195 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24197 wxPyEndAllowThreads(__tstate
);
24198 if (PyErr_Occurred()) SWIG_fail
;
24201 resultobj
= wxPyMake_wxObject(result
);
24209 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24210 PyObject
*resultobj
;
24211 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24212 wxImageList
*arg2
= (wxImageList
*) 0 ;
24213 PyObject
* obj0
= 0 ;
24214 PyObject
* obj1
= 0 ;
24215 char *kwnames
[] = {
24216 (char *) "self",(char *) "imageList", NULL
24219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24226 (arg1
)->SetImageList(arg2
);
24228 wxPyEndAllowThreads(__tstate
);
24229 if (PyErr_Occurred()) SWIG_fail
;
24231 Py_INCREF(Py_None
); resultobj
= Py_None
;
24238 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24239 PyObject
*resultobj
;
24240 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24241 wxImageList
*arg2
= (wxImageList
*) 0 ;
24242 PyObject
* obj0
= 0 ;
24243 PyObject
* obj1
= 0 ;
24244 char *kwnames
[] = {
24245 (char *) "self",(char *) "imageList", NULL
24248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24251 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24255 (arg1
)->SetStateImageList(arg2
);
24257 wxPyEndAllowThreads(__tstate
);
24258 if (PyErr_Occurred()) SWIG_fail
;
24260 Py_INCREF(Py_None
); resultobj
= Py_None
;
24267 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24268 PyObject
*resultobj
;
24269 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24270 wxImageList
*arg2
= (wxImageList
*) 0 ;
24271 PyObject
* obj0
= 0 ;
24272 PyObject
* obj1
= 0 ;
24273 char *kwnames
[] = {
24274 (char *) "self",(char *) "imageList", NULL
24277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24280 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24281 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24284 (arg1
)->AssignImageList(arg2
);
24286 wxPyEndAllowThreads(__tstate
);
24287 if (PyErr_Occurred()) SWIG_fail
;
24289 Py_INCREF(Py_None
); resultobj
= Py_None
;
24296 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24297 PyObject
*resultobj
;
24298 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24299 wxImageList
*arg2
= (wxImageList
*) 0 ;
24300 PyObject
* obj0
= 0 ;
24301 PyObject
* obj1
= 0 ;
24302 char *kwnames
[] = {
24303 (char *) "self",(char *) "imageList", NULL
24306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24310 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24313 (arg1
)->AssignStateImageList(arg2
);
24315 wxPyEndAllowThreads(__tstate
);
24316 if (PyErr_Occurred()) SWIG_fail
;
24318 Py_INCREF(Py_None
); resultobj
= Py_None
;
24325 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24326 PyObject
*resultobj
;
24327 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24328 wxTreeItemId
*arg2
= 0 ;
24330 PyObject
* obj0
= 0 ;
24331 PyObject
* obj1
= 0 ;
24332 char *kwnames
[] = {
24333 (char *) "self",(char *) "item", NULL
24336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24340 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24342 if (arg2
== NULL
) {
24343 PyErr_SetString(PyExc_TypeError
,"null reference");
24347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24348 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24355 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24357 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24366 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24367 PyObject
*resultobj
;
24368 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24369 wxTreeItemId
*arg2
= 0 ;
24370 int arg3
= (int) wxTreeItemIcon_Normal
;
24372 PyObject
* obj0
= 0 ;
24373 PyObject
* obj1
= 0 ;
24374 PyObject
* obj2
= 0 ;
24375 char *kwnames
[] = {
24376 (char *) "self",(char *) "item",(char *) "which", NULL
24379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24382 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24383 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24385 if (arg2
== NULL
) {
24386 PyErr_SetString(PyExc_TypeError
,"null reference");
24390 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
24391 if (PyErr_Occurred()) SWIG_fail
;
24394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24395 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24397 wxPyEndAllowThreads(__tstate
);
24398 if (PyErr_Occurred()) SWIG_fail
;
24400 resultobj
= SWIG_FromInt((int)result
);
24407 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24408 PyObject
*resultobj
;
24409 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24410 wxTreeItemId
*arg2
= 0 ;
24411 wxPyTreeItemData
*result
;
24412 PyObject
* obj0
= 0 ;
24413 PyObject
* obj1
= 0 ;
24414 char *kwnames
[] = {
24415 (char *) "self",(char *) "item", NULL
24418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24422 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24424 if (arg2
== NULL
) {
24425 PyErr_SetString(PyExc_TypeError
,"null reference");
24429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24430 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24432 wxPyEndAllowThreads(__tstate
);
24433 if (PyErr_Occurred()) SWIG_fail
;
24435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
24442 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24443 PyObject
*resultobj
;
24444 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24445 wxTreeItemId
*arg2
= 0 ;
24447 PyObject
* obj0
= 0 ;
24448 PyObject
* obj1
= 0 ;
24449 char *kwnames
[] = {
24450 (char *) "self",(char *) "item", NULL
24453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24456 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24457 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24459 if (arg2
== NULL
) {
24460 PyErr_SetString(PyExc_TypeError
,"null reference");
24464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24465 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24467 wxPyEndAllowThreads(__tstate
);
24468 if (PyErr_Occurred()) SWIG_fail
;
24470 resultobj
= result
;
24477 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24478 PyObject
*resultobj
;
24479 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24480 wxTreeItemId
*arg2
= 0 ;
24482 PyObject
* obj0
= 0 ;
24483 PyObject
* obj1
= 0 ;
24484 char *kwnames
[] = {
24485 (char *) "self",(char *) "item", NULL
24488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24492 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24494 if (arg2
== NULL
) {
24495 PyErr_SetString(PyExc_TypeError
,"null reference");
24499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24500 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24502 wxPyEndAllowThreads(__tstate
);
24503 if (PyErr_Occurred()) SWIG_fail
;
24506 wxColour
* resultptr
;
24507 resultptr
= new wxColour((wxColour
&) result
);
24508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24516 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24517 PyObject
*resultobj
;
24518 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24519 wxTreeItemId
*arg2
= 0 ;
24521 PyObject
* obj0
= 0 ;
24522 PyObject
* obj1
= 0 ;
24523 char *kwnames
[] = {
24524 (char *) "self",(char *) "item", NULL
24527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24531 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24533 if (arg2
== NULL
) {
24534 PyErr_SetString(PyExc_TypeError
,"null reference");
24538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24539 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24541 wxPyEndAllowThreads(__tstate
);
24542 if (PyErr_Occurred()) SWIG_fail
;
24545 wxColour
* resultptr
;
24546 resultptr
= new wxColour((wxColour
&) result
);
24547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24555 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24556 PyObject
*resultobj
;
24557 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24558 wxTreeItemId
*arg2
= 0 ;
24560 PyObject
* obj0
= 0 ;
24561 PyObject
* obj1
= 0 ;
24562 char *kwnames
[] = {
24563 (char *) "self",(char *) "item", NULL
24566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24570 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24572 if (arg2
== NULL
) {
24573 PyErr_SetString(PyExc_TypeError
,"null reference");
24577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24578 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24580 wxPyEndAllowThreads(__tstate
);
24581 if (PyErr_Occurred()) SWIG_fail
;
24584 wxFont
* resultptr
;
24585 resultptr
= new wxFont((wxFont
&) result
);
24586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
24594 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24595 PyObject
*resultobj
;
24596 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24597 wxTreeItemId
*arg2
= 0 ;
24598 wxString
*arg3
= 0 ;
24599 bool temp3
= False
;
24600 PyObject
* obj0
= 0 ;
24601 PyObject
* obj1
= 0 ;
24602 PyObject
* obj2
= 0 ;
24603 char *kwnames
[] = {
24604 (char *) "self",(char *) "item",(char *) "text", NULL
24607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24611 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24613 if (arg2
== NULL
) {
24614 PyErr_SetString(PyExc_TypeError
,"null reference");
24618 arg3
= wxString_in_helper(obj2
);
24619 if (arg3
== NULL
) SWIG_fail
;
24623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24624 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24626 wxPyEndAllowThreads(__tstate
);
24627 if (PyErr_Occurred()) SWIG_fail
;
24629 Py_INCREF(Py_None
); resultobj
= Py_None
;
24644 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24645 PyObject
*resultobj
;
24646 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24647 wxTreeItemId
*arg2
= 0 ;
24649 int arg4
= (int) wxTreeItemIcon_Normal
;
24650 PyObject
* obj0
= 0 ;
24651 PyObject
* obj1
= 0 ;
24652 PyObject
* obj2
= 0 ;
24653 PyObject
* obj3
= 0 ;
24654 char *kwnames
[] = {
24655 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24662 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24664 if (arg2
== NULL
) {
24665 PyErr_SetString(PyExc_TypeError
,"null reference");
24668 arg3
= (int) SWIG_AsInt(obj2
);
24669 if (PyErr_Occurred()) SWIG_fail
;
24671 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
24672 if (PyErr_Occurred()) SWIG_fail
;
24675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24676 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24678 wxPyEndAllowThreads(__tstate
);
24679 if (PyErr_Occurred()) SWIG_fail
;
24681 Py_INCREF(Py_None
); resultobj
= Py_None
;
24688 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24689 PyObject
*resultobj
;
24690 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24691 wxTreeItemId
*arg2
= 0 ;
24692 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24693 PyObject
* obj0
= 0 ;
24694 PyObject
* obj1
= 0 ;
24695 PyObject
* obj2
= 0 ;
24696 char *kwnames
[] = {
24697 (char *) "self",(char *) "item",(char *) "data", NULL
24700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24704 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24706 if (arg2
== NULL
) {
24707 PyErr_SetString(PyExc_TypeError
,"null reference");
24710 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
24711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24714 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24716 wxPyEndAllowThreads(__tstate
);
24717 if (PyErr_Occurred()) SWIG_fail
;
24719 Py_INCREF(Py_None
); resultobj
= Py_None
;
24726 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24727 PyObject
*resultobj
;
24728 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24729 wxTreeItemId
*arg2
= 0 ;
24730 PyObject
*arg3
= (PyObject
*) 0 ;
24731 PyObject
* obj0
= 0 ;
24732 PyObject
* obj1
= 0 ;
24733 PyObject
* obj2
= 0 ;
24734 char *kwnames
[] = {
24735 (char *) "self",(char *) "item",(char *) "obj", NULL
24738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24742 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24744 if (arg2
== NULL
) {
24745 PyErr_SetString(PyExc_TypeError
,"null reference");
24750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24751 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24753 wxPyEndAllowThreads(__tstate
);
24754 if (PyErr_Occurred()) SWIG_fail
;
24756 Py_INCREF(Py_None
); resultobj
= Py_None
;
24763 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24764 PyObject
*resultobj
;
24765 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24766 wxTreeItemId
*arg2
= 0 ;
24767 bool arg3
= (bool) True
;
24768 PyObject
* obj0
= 0 ;
24769 PyObject
* obj1
= 0 ;
24770 PyObject
* obj2
= 0 ;
24771 char *kwnames
[] = {
24772 (char *) "self",(char *) "item",(char *) "has", NULL
24775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24779 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24781 if (arg2
== NULL
) {
24782 PyErr_SetString(PyExc_TypeError
,"null reference");
24786 arg3
= (bool) SWIG_AsBool(obj2
);
24787 if (PyErr_Occurred()) SWIG_fail
;
24790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24791 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24793 wxPyEndAllowThreads(__tstate
);
24794 if (PyErr_Occurred()) SWIG_fail
;
24796 Py_INCREF(Py_None
); resultobj
= Py_None
;
24803 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24804 PyObject
*resultobj
;
24805 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24806 wxTreeItemId
*arg2
= 0 ;
24807 bool arg3
= (bool) True
;
24808 PyObject
* obj0
= 0 ;
24809 PyObject
* obj1
= 0 ;
24810 PyObject
* obj2
= 0 ;
24811 char *kwnames
[] = {
24812 (char *) "self",(char *) "item",(char *) "bold", NULL
24815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24821 if (arg2
== NULL
) {
24822 PyErr_SetString(PyExc_TypeError
,"null reference");
24826 arg3
= (bool) SWIG_AsBool(obj2
);
24827 if (PyErr_Occurred()) SWIG_fail
;
24830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24831 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24833 wxPyEndAllowThreads(__tstate
);
24834 if (PyErr_Occurred()) SWIG_fail
;
24836 Py_INCREF(Py_None
); resultobj
= Py_None
;
24843 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24844 PyObject
*resultobj
;
24845 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24846 wxTreeItemId
*arg2
= 0 ;
24847 bool arg3
= (bool) True
;
24848 PyObject
* obj0
= 0 ;
24849 PyObject
* obj1
= 0 ;
24850 PyObject
* obj2
= 0 ;
24851 char *kwnames
[] = {
24852 (char *) "self",(char *) "item",(char *) "highlight", NULL
24855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24859 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24861 if (arg2
== NULL
) {
24862 PyErr_SetString(PyExc_TypeError
,"null reference");
24866 arg3
= (bool) SWIG_AsBool(obj2
);
24867 if (PyErr_Occurred()) SWIG_fail
;
24870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24871 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
24873 wxPyEndAllowThreads(__tstate
);
24874 if (PyErr_Occurred()) SWIG_fail
;
24876 Py_INCREF(Py_None
); resultobj
= Py_None
;
24883 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24884 PyObject
*resultobj
;
24885 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24886 wxTreeItemId
*arg2
= 0 ;
24887 wxColour
*arg3
= 0 ;
24889 PyObject
* obj0
= 0 ;
24890 PyObject
* obj1
= 0 ;
24891 PyObject
* obj2
= 0 ;
24892 char *kwnames
[] = {
24893 (char *) "self",(char *) "item",(char *) "col", NULL
24896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24899 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24900 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24902 if (arg2
== NULL
) {
24903 PyErr_SetString(PyExc_TypeError
,"null reference");
24908 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24912 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24914 wxPyEndAllowThreads(__tstate
);
24915 if (PyErr_Occurred()) SWIG_fail
;
24917 Py_INCREF(Py_None
); resultobj
= Py_None
;
24924 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24925 PyObject
*resultobj
;
24926 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24927 wxTreeItemId
*arg2
= 0 ;
24928 wxColour
*arg3
= 0 ;
24930 PyObject
* obj0
= 0 ;
24931 PyObject
* obj1
= 0 ;
24932 PyObject
* obj2
= 0 ;
24933 char *kwnames
[] = {
24934 (char *) "self",(char *) "item",(char *) "col", NULL
24937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24941 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24943 if (arg2
== NULL
) {
24944 PyErr_SetString(PyExc_TypeError
,"null reference");
24949 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24953 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24955 wxPyEndAllowThreads(__tstate
);
24956 if (PyErr_Occurred()) SWIG_fail
;
24958 Py_INCREF(Py_None
); resultobj
= Py_None
;
24965 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24966 PyObject
*resultobj
;
24967 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24968 wxTreeItemId
*arg2
= 0 ;
24970 PyObject
* obj0
= 0 ;
24971 PyObject
* obj1
= 0 ;
24972 PyObject
* obj2
= 0 ;
24973 char *kwnames
[] = {
24974 (char *) "self",(char *) "item",(char *) "font", NULL
24977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24981 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24983 if (arg2
== NULL
) {
24984 PyErr_SetString(PyExc_TypeError
,"null reference");
24987 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
24988 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24990 if (arg3
== NULL
) {
24991 PyErr_SetString(PyExc_TypeError
,"null reference");
24995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24996 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
24998 wxPyEndAllowThreads(__tstate
);
24999 if (PyErr_Occurred()) SWIG_fail
;
25001 Py_INCREF(Py_None
); resultobj
= Py_None
;
25008 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25009 PyObject
*resultobj
;
25010 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25011 wxTreeItemId
*arg2
= 0 ;
25013 PyObject
* obj0
= 0 ;
25014 PyObject
* obj1
= 0 ;
25015 char *kwnames
[] = {
25016 (char *) "self",(char *) "item", NULL
25019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25022 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25025 if (arg2
== NULL
) {
25026 PyErr_SetString(PyExc_TypeError
,"null reference");
25030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25031 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
25033 wxPyEndAllowThreads(__tstate
);
25034 if (PyErr_Occurred()) SWIG_fail
;
25036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25043 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25044 PyObject
*resultobj
;
25045 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25046 wxTreeItemId
*arg2
= 0 ;
25048 PyObject
* obj0
= 0 ;
25049 PyObject
* obj1
= 0 ;
25050 char *kwnames
[] = {
25051 (char *) "self",(char *) "item", NULL
25054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25058 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25060 if (arg2
== NULL
) {
25061 PyErr_SetString(PyExc_TypeError
,"null reference");
25065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25066 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
25068 wxPyEndAllowThreads(__tstate
);
25069 if (PyErr_Occurred()) SWIG_fail
;
25071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25078 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25079 PyObject
*resultobj
;
25080 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25081 wxTreeItemId
*arg2
= 0 ;
25083 PyObject
* obj0
= 0 ;
25084 PyObject
* obj1
= 0 ;
25085 char *kwnames
[] = {
25086 (char *) "self",(char *) "item", NULL
25089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
25090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25093 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25095 if (arg2
== NULL
) {
25096 PyErr_SetString(PyExc_TypeError
,"null reference");
25100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25101 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
25103 wxPyEndAllowThreads(__tstate
);
25104 if (PyErr_Occurred()) SWIG_fail
;
25106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25113 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25114 PyObject
*resultobj
;
25115 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25116 wxTreeItemId
*arg2
= 0 ;
25118 PyObject
* obj0
= 0 ;
25119 PyObject
* obj1
= 0 ;
25120 char *kwnames
[] = {
25121 (char *) "self",(char *) "item", NULL
25124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
25125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25128 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25130 if (arg2
== NULL
) {
25131 PyErr_SetString(PyExc_TypeError
,"null reference");
25135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25136 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
25138 wxPyEndAllowThreads(__tstate
);
25139 if (PyErr_Occurred()) SWIG_fail
;
25141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25148 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25149 PyObject
*resultobj
;
25150 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25151 wxTreeItemId
*arg2
= 0 ;
25153 PyObject
* obj0
= 0 ;
25154 PyObject
* obj1
= 0 ;
25155 char *kwnames
[] = {
25156 (char *) "self",(char *) "item", NULL
25159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
25160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25162 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25163 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25165 if (arg2
== NULL
) {
25166 PyErr_SetString(PyExc_TypeError
,"null reference");
25170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25171 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
25173 wxPyEndAllowThreads(__tstate
);
25174 if (PyErr_Occurred()) SWIG_fail
;
25176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25183 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25184 PyObject
*resultobj
;
25185 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25186 wxTreeItemId
*arg2
= 0 ;
25187 bool arg3
= (bool) True
;
25189 PyObject
* obj0
= 0 ;
25190 PyObject
* obj1
= 0 ;
25191 PyObject
* obj2
= 0 ;
25192 char *kwnames
[] = {
25193 (char *) "self",(char *) "item",(char *) "recursively", NULL
25196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25200 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25202 if (arg2
== NULL
) {
25203 PyErr_SetString(PyExc_TypeError
,"null reference");
25207 arg3
= (bool) SWIG_AsBool(obj2
);
25208 if (PyErr_Occurred()) SWIG_fail
;
25211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25212 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
25214 wxPyEndAllowThreads(__tstate
);
25215 if (PyErr_Occurred()) SWIG_fail
;
25217 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25224 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25225 PyObject
*resultobj
;
25226 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25227 wxTreeItemId result
;
25228 PyObject
* obj0
= 0 ;
25229 char *kwnames
[] = {
25230 (char *) "self", NULL
25233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
25234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25238 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
25240 wxPyEndAllowThreads(__tstate
);
25241 if (PyErr_Occurred()) SWIG_fail
;
25244 wxTreeItemId
* resultptr
;
25245 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25254 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25255 PyObject
*resultobj
;
25256 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25257 wxTreeItemId result
;
25258 PyObject
* obj0
= 0 ;
25259 char *kwnames
[] = {
25260 (char *) "self", NULL
25263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
25264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25268 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
25270 wxPyEndAllowThreads(__tstate
);
25271 if (PyErr_Occurred()) SWIG_fail
;
25274 wxTreeItemId
* resultptr
;
25275 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25276 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25284 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25285 PyObject
*resultobj
;
25286 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25288 PyObject
* obj0
= 0 ;
25289 char *kwnames
[] = {
25290 (char *) "self", NULL
25293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
25294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25298 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25300 wxPyEndAllowThreads(__tstate
);
25301 if (PyErr_Occurred()) SWIG_fail
;
25303 resultobj
= result
;
25310 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25311 PyObject
*resultobj
;
25312 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25313 wxTreeItemId
*arg2
= 0 ;
25314 wxTreeItemId result
;
25315 PyObject
* obj0
= 0 ;
25316 PyObject
* obj1
= 0 ;
25317 char *kwnames
[] = {
25318 (char *) "self",(char *) "item", NULL
25321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25325 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25327 if (arg2
== NULL
) {
25328 PyErr_SetString(PyExc_TypeError
,"null reference");
25332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25333 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25335 wxPyEndAllowThreads(__tstate
);
25336 if (PyErr_Occurred()) SWIG_fail
;
25339 wxTreeItemId
* resultptr
;
25340 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25349 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25350 PyObject
*resultobj
;
25351 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25352 wxTreeItemId
*arg2
= 0 ;
25354 PyObject
* obj0
= 0 ;
25355 PyObject
* obj1
= 0 ;
25356 char *kwnames
[] = {
25357 (char *) "self",(char *) "item", NULL
25360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25364 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25366 if (arg2
== NULL
) {
25367 PyErr_SetString(PyExc_TypeError
,"null reference");
25371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25372 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25374 wxPyEndAllowThreads(__tstate
);
25375 if (PyErr_Occurred()) SWIG_fail
;
25377 resultobj
= result
;
25384 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25385 PyObject
*resultobj
;
25386 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25387 wxTreeItemId
*arg2
= 0 ;
25388 void *arg3
= (void *) 0 ;
25390 PyObject
* obj0
= 0 ;
25391 PyObject
* obj1
= 0 ;
25392 PyObject
* obj2
= 0 ;
25393 char *kwnames
[] = {
25394 (char *) "self",(char *) "item",(char *) "cookie", NULL
25397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25401 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25403 if (arg2
== NULL
) {
25404 PyErr_SetString(PyExc_TypeError
,"null reference");
25407 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25410 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25412 wxPyEndAllowThreads(__tstate
);
25413 if (PyErr_Occurred()) SWIG_fail
;
25415 resultobj
= result
;
25422 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25423 PyObject
*resultobj
;
25424 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25425 wxTreeItemId
*arg2
= 0 ;
25426 wxTreeItemId result
;
25427 PyObject
* obj0
= 0 ;
25428 PyObject
* obj1
= 0 ;
25429 char *kwnames
[] = {
25430 (char *) "self",(char *) "item", NULL
25433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25437 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25439 if (arg2
== NULL
) {
25440 PyErr_SetString(PyExc_TypeError
,"null reference");
25444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25445 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25447 wxPyEndAllowThreads(__tstate
);
25448 if (PyErr_Occurred()) SWIG_fail
;
25451 wxTreeItemId
* resultptr
;
25452 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25461 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25462 PyObject
*resultobj
;
25463 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25464 wxTreeItemId
*arg2
= 0 ;
25465 wxTreeItemId result
;
25466 PyObject
* obj0
= 0 ;
25467 PyObject
* obj1
= 0 ;
25468 char *kwnames
[] = {
25469 (char *) "self",(char *) "item", NULL
25472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25476 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25478 if (arg2
== NULL
) {
25479 PyErr_SetString(PyExc_TypeError
,"null reference");
25483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25484 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25486 wxPyEndAllowThreads(__tstate
);
25487 if (PyErr_Occurred()) SWIG_fail
;
25490 wxTreeItemId
* resultptr
;
25491 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25500 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25501 PyObject
*resultobj
;
25502 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25503 wxTreeItemId
*arg2
= 0 ;
25504 wxTreeItemId result
;
25505 PyObject
* obj0
= 0 ;
25506 PyObject
* obj1
= 0 ;
25507 char *kwnames
[] = {
25508 (char *) "self",(char *) "item", NULL
25511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25515 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25517 if (arg2
== NULL
) {
25518 PyErr_SetString(PyExc_TypeError
,"null reference");
25522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25523 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25525 wxPyEndAllowThreads(__tstate
);
25526 if (PyErr_Occurred()) SWIG_fail
;
25529 wxTreeItemId
* resultptr
;
25530 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25531 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25539 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25540 PyObject
*resultobj
;
25541 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25542 wxTreeItemId result
;
25543 PyObject
* obj0
= 0 ;
25544 char *kwnames
[] = {
25545 (char *) "self", NULL
25548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25553 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25555 wxPyEndAllowThreads(__tstate
);
25556 if (PyErr_Occurred()) SWIG_fail
;
25559 wxTreeItemId
* resultptr
;
25560 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25569 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25570 PyObject
*resultobj
;
25571 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25572 wxTreeItemId
*arg2
= 0 ;
25573 wxTreeItemId result
;
25574 PyObject
* obj0
= 0 ;
25575 PyObject
* obj1
= 0 ;
25576 char *kwnames
[] = {
25577 (char *) "self",(char *) "item", NULL
25580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25584 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25586 if (arg2
== NULL
) {
25587 PyErr_SetString(PyExc_TypeError
,"null reference");
25591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25592 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25594 wxPyEndAllowThreads(__tstate
);
25595 if (PyErr_Occurred()) SWIG_fail
;
25598 wxTreeItemId
* resultptr
;
25599 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25608 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25609 PyObject
*resultobj
;
25610 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25611 wxTreeItemId
*arg2
= 0 ;
25612 wxTreeItemId result
;
25613 PyObject
* obj0
= 0 ;
25614 PyObject
* obj1
= 0 ;
25615 char *kwnames
[] = {
25616 (char *) "self",(char *) "item", NULL
25619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25623 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25625 if (arg2
== NULL
) {
25626 PyErr_SetString(PyExc_TypeError
,"null reference");
25630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25631 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25633 wxPyEndAllowThreads(__tstate
);
25634 if (PyErr_Occurred()) SWIG_fail
;
25637 wxTreeItemId
* resultptr
;
25638 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25647 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25648 PyObject
*resultobj
;
25649 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25650 wxString
*arg2
= 0 ;
25651 int arg3
= (int) -1 ;
25652 int arg4
= (int) -1 ;
25653 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25654 wxTreeItemId result
;
25655 bool temp2
= False
;
25656 PyObject
* obj0
= 0 ;
25657 PyObject
* obj1
= 0 ;
25658 PyObject
* obj2
= 0 ;
25659 PyObject
* obj3
= 0 ;
25660 PyObject
* obj4
= 0 ;
25661 char *kwnames
[] = {
25662 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25669 arg2
= wxString_in_helper(obj1
);
25670 if (arg2
== NULL
) SWIG_fail
;
25674 arg3
= (int) SWIG_AsInt(obj2
);
25675 if (PyErr_Occurred()) SWIG_fail
;
25678 arg4
= (int) SWIG_AsInt(obj3
);
25679 if (PyErr_Occurred()) SWIG_fail
;
25682 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
25683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25687 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25689 wxPyEndAllowThreads(__tstate
);
25690 if (PyErr_Occurred()) SWIG_fail
;
25693 wxTreeItemId
* resultptr
;
25694 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25711 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25712 PyObject
*resultobj
;
25713 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25714 wxTreeItemId
*arg2
= 0 ;
25715 wxString
*arg3
= 0 ;
25716 int arg4
= (int) -1 ;
25717 int arg5
= (int) -1 ;
25718 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25719 wxTreeItemId result
;
25720 bool temp3
= False
;
25721 PyObject
* obj0
= 0 ;
25722 PyObject
* obj1
= 0 ;
25723 PyObject
* obj2
= 0 ;
25724 PyObject
* obj3
= 0 ;
25725 PyObject
* obj4
= 0 ;
25726 PyObject
* obj5
= 0 ;
25727 char *kwnames
[] = {
25728 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25735 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25737 if (arg2
== NULL
) {
25738 PyErr_SetString(PyExc_TypeError
,"null reference");
25742 arg3
= wxString_in_helper(obj2
);
25743 if (arg3
== NULL
) SWIG_fail
;
25747 arg4
= (int) SWIG_AsInt(obj3
);
25748 if (PyErr_Occurred()) SWIG_fail
;
25751 arg5
= (int) SWIG_AsInt(obj4
);
25752 if (PyErr_Occurred()) SWIG_fail
;
25755 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
25756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25760 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25762 wxPyEndAllowThreads(__tstate
);
25763 if (PyErr_Occurred()) SWIG_fail
;
25766 wxTreeItemId
* resultptr
;
25767 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25768 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25784 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25785 PyObject
*resultobj
;
25786 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25787 wxTreeItemId
*arg2
= 0 ;
25788 wxTreeItemId
*arg3
= 0 ;
25789 wxString
*arg4
= 0 ;
25790 int arg5
= (int) -1 ;
25791 int arg6
= (int) -1 ;
25792 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25793 wxTreeItemId result
;
25794 bool temp4
= False
;
25795 PyObject
* obj0
= 0 ;
25796 PyObject
* obj1
= 0 ;
25797 PyObject
* obj2
= 0 ;
25798 PyObject
* obj3
= 0 ;
25799 PyObject
* obj4
= 0 ;
25800 PyObject
* obj5
= 0 ;
25801 PyObject
* obj6
= 0 ;
25802 char *kwnames
[] = {
25803 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25810 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25812 if (arg2
== NULL
) {
25813 PyErr_SetString(PyExc_TypeError
,"null reference");
25816 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
25817 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25819 if (arg3
== NULL
) {
25820 PyErr_SetString(PyExc_TypeError
,"null reference");
25824 arg4
= wxString_in_helper(obj3
);
25825 if (arg4
== NULL
) SWIG_fail
;
25829 arg5
= (int) SWIG_AsInt(obj4
);
25830 if (PyErr_Occurred()) SWIG_fail
;
25833 arg6
= (int) SWIG_AsInt(obj5
);
25834 if (PyErr_Occurred()) SWIG_fail
;
25837 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
25838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25842 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25844 wxPyEndAllowThreads(__tstate
);
25845 if (PyErr_Occurred()) SWIG_fail
;
25848 wxTreeItemId
* resultptr
;
25849 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25850 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25866 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25867 PyObject
*resultobj
;
25868 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25869 wxTreeItemId
*arg2
= 0 ;
25871 wxString
*arg4
= 0 ;
25872 int arg5
= (int) -1 ;
25873 int arg6
= (int) -1 ;
25874 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25875 wxTreeItemId result
;
25876 bool temp4
= False
;
25877 PyObject
* obj0
= 0 ;
25878 PyObject
* obj1
= 0 ;
25879 PyObject
* obj2
= 0 ;
25880 PyObject
* obj3
= 0 ;
25881 PyObject
* obj4
= 0 ;
25882 PyObject
* obj5
= 0 ;
25883 PyObject
* obj6
= 0 ;
25884 char *kwnames
[] = {
25885 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25892 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25894 if (arg2
== NULL
) {
25895 PyErr_SetString(PyExc_TypeError
,"null reference");
25898 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
25899 if (PyErr_Occurred()) SWIG_fail
;
25901 arg4
= wxString_in_helper(obj3
);
25902 if (arg4
== NULL
) SWIG_fail
;
25906 arg5
= (int) SWIG_AsInt(obj4
);
25907 if (PyErr_Occurred()) SWIG_fail
;
25910 arg6
= (int) SWIG_AsInt(obj5
);
25911 if (PyErr_Occurred()) SWIG_fail
;
25914 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
25915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25919 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25921 wxPyEndAllowThreads(__tstate
);
25922 if (PyErr_Occurred()) SWIG_fail
;
25925 wxTreeItemId
* resultptr
;
25926 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25927 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25943 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25944 PyObject
*resultobj
;
25945 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25946 wxTreeItemId
*arg2
= 0 ;
25947 wxString
*arg3
= 0 ;
25948 int arg4
= (int) -1 ;
25949 int arg5
= (int) -1 ;
25950 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25951 wxTreeItemId result
;
25952 bool temp3
= False
;
25953 PyObject
* obj0
= 0 ;
25954 PyObject
* obj1
= 0 ;
25955 PyObject
* obj2
= 0 ;
25956 PyObject
* obj3
= 0 ;
25957 PyObject
* obj4
= 0 ;
25958 PyObject
* obj5
= 0 ;
25959 char *kwnames
[] = {
25960 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25967 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25969 if (arg2
== NULL
) {
25970 PyErr_SetString(PyExc_TypeError
,"null reference");
25974 arg3
= wxString_in_helper(obj2
);
25975 if (arg3
== NULL
) SWIG_fail
;
25979 arg4
= (int) SWIG_AsInt(obj3
);
25980 if (PyErr_Occurred()) SWIG_fail
;
25983 arg5
= (int) SWIG_AsInt(obj4
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25987 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
25988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25992 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25994 wxPyEndAllowThreads(__tstate
);
25995 if (PyErr_Occurred()) SWIG_fail
;
25998 wxTreeItemId
* resultptr
;
25999 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26016 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26017 PyObject
*resultobj
;
26018 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26019 wxTreeItemId
*arg2
= 0 ;
26020 PyObject
* obj0
= 0 ;
26021 PyObject
* obj1
= 0 ;
26022 char *kwnames
[] = {
26023 (char *) "self",(char *) "item", NULL
26026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
26027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26029 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26030 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26032 if (arg2
== NULL
) {
26033 PyErr_SetString(PyExc_TypeError
,"null reference");
26037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26038 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
26040 wxPyEndAllowThreads(__tstate
);
26041 if (PyErr_Occurred()) SWIG_fail
;
26043 Py_INCREF(Py_None
); resultobj
= Py_None
;
26050 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26051 PyObject
*resultobj
;
26052 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26053 wxTreeItemId
*arg2
= 0 ;
26054 PyObject
* obj0
= 0 ;
26055 PyObject
* obj1
= 0 ;
26056 char *kwnames
[] = {
26057 (char *) "self",(char *) "item", NULL
26060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26063 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26064 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26066 if (arg2
== NULL
) {
26067 PyErr_SetString(PyExc_TypeError
,"null reference");
26071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26072 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
26074 wxPyEndAllowThreads(__tstate
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26077 Py_INCREF(Py_None
); resultobj
= Py_None
;
26084 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26085 PyObject
*resultobj
;
26086 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26087 PyObject
* obj0
= 0 ;
26088 char *kwnames
[] = {
26089 (char *) "self", NULL
26092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
26093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26097 (arg1
)->DeleteAllItems();
26099 wxPyEndAllowThreads(__tstate
);
26100 if (PyErr_Occurred()) SWIG_fail
;
26102 Py_INCREF(Py_None
); resultobj
= Py_None
;
26109 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26110 PyObject
*resultobj
;
26111 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26112 wxTreeItemId
*arg2
= 0 ;
26113 PyObject
* obj0
= 0 ;
26114 PyObject
* obj1
= 0 ;
26115 char *kwnames
[] = {
26116 (char *) "self",(char *) "item", NULL
26119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
26120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26122 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26123 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26125 if (arg2
== NULL
) {
26126 PyErr_SetString(PyExc_TypeError
,"null reference");
26130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26131 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
26133 wxPyEndAllowThreads(__tstate
);
26134 if (PyErr_Occurred()) SWIG_fail
;
26136 Py_INCREF(Py_None
); resultobj
= Py_None
;
26143 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26144 PyObject
*resultobj
;
26145 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26146 wxTreeItemId
*arg2
= 0 ;
26147 PyObject
* obj0
= 0 ;
26148 PyObject
* obj1
= 0 ;
26149 char *kwnames
[] = {
26150 (char *) "self",(char *) "item", NULL
26153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
26154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26157 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26159 if (arg2
== NULL
) {
26160 PyErr_SetString(PyExc_TypeError
,"null reference");
26164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26165 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
26167 wxPyEndAllowThreads(__tstate
);
26168 if (PyErr_Occurred()) SWIG_fail
;
26170 Py_INCREF(Py_None
); resultobj
= Py_None
;
26177 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26178 PyObject
*resultobj
;
26179 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26180 wxTreeItemId
*arg2
= 0 ;
26181 PyObject
* obj0
= 0 ;
26182 PyObject
* obj1
= 0 ;
26183 char *kwnames
[] = {
26184 (char *) "self",(char *) "item", NULL
26187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
26188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26191 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26193 if (arg2
== NULL
) {
26194 PyErr_SetString(PyExc_TypeError
,"null reference");
26198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26199 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
26201 wxPyEndAllowThreads(__tstate
);
26202 if (PyErr_Occurred()) SWIG_fail
;
26204 Py_INCREF(Py_None
); resultobj
= Py_None
;
26211 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26212 PyObject
*resultobj
;
26213 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26214 wxTreeItemId
*arg2
= 0 ;
26215 PyObject
* obj0
= 0 ;
26216 PyObject
* obj1
= 0 ;
26217 char *kwnames
[] = {
26218 (char *) "self",(char *) "item", NULL
26221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
26222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26225 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26227 if (arg2
== NULL
) {
26228 PyErr_SetString(PyExc_TypeError
,"null reference");
26232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26233 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
26235 wxPyEndAllowThreads(__tstate
);
26236 if (PyErr_Occurred()) SWIG_fail
;
26238 Py_INCREF(Py_None
); resultobj
= Py_None
;
26245 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26246 PyObject
*resultobj
;
26247 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26248 PyObject
* obj0
= 0 ;
26249 char *kwnames
[] = {
26250 (char *) "self", NULL
26253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
26254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26258 (arg1
)->Unselect();
26260 wxPyEndAllowThreads(__tstate
);
26261 if (PyErr_Occurred()) SWIG_fail
;
26263 Py_INCREF(Py_None
); resultobj
= Py_None
;
26270 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26271 PyObject
*resultobj
;
26272 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26273 wxTreeItemId
*arg2
= 0 ;
26274 PyObject
* obj0
= 0 ;
26275 PyObject
* obj1
= 0 ;
26276 char *kwnames
[] = {
26277 (char *) "self",(char *) "item", NULL
26280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26283 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26284 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26286 if (arg2
== NULL
) {
26287 PyErr_SetString(PyExc_TypeError
,"null reference");
26291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26292 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
26294 wxPyEndAllowThreads(__tstate
);
26295 if (PyErr_Occurred()) SWIG_fail
;
26297 Py_INCREF(Py_None
); resultobj
= Py_None
;
26304 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26305 PyObject
*resultobj
;
26306 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26307 PyObject
* obj0
= 0 ;
26308 char *kwnames
[] = {
26309 (char *) "self", NULL
26312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
26313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26317 (arg1
)->UnselectAll();
26319 wxPyEndAllowThreads(__tstate
);
26320 if (PyErr_Occurred()) SWIG_fail
;
26322 Py_INCREF(Py_None
); resultobj
= Py_None
;
26329 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26330 PyObject
*resultobj
;
26331 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26332 wxTreeItemId
*arg2
= 0 ;
26333 bool arg3
= (bool) True
;
26334 PyObject
* obj0
= 0 ;
26335 PyObject
* obj1
= 0 ;
26336 PyObject
* obj2
= 0 ;
26337 char *kwnames
[] = {
26338 (char *) "self",(char *) "item",(char *) "select", NULL
26341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26345 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26347 if (arg2
== NULL
) {
26348 PyErr_SetString(PyExc_TypeError
,"null reference");
26352 arg3
= (bool) SWIG_AsBool(obj2
);
26353 if (PyErr_Occurred()) SWIG_fail
;
26356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26357 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
26359 wxPyEndAllowThreads(__tstate
);
26360 if (PyErr_Occurred()) SWIG_fail
;
26362 Py_INCREF(Py_None
); resultobj
= Py_None
;
26369 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26370 PyObject
*resultobj
;
26371 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26372 wxTreeItemId
*arg2
= 0 ;
26373 PyObject
* obj0
= 0 ;
26374 PyObject
* obj1
= 0 ;
26375 char *kwnames
[] = {
26376 (char *) "self",(char *) "item", NULL
26379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26382 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26383 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26385 if (arg2
== NULL
) {
26386 PyErr_SetString(PyExc_TypeError
,"null reference");
26390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26391 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26393 wxPyEndAllowThreads(__tstate
);
26394 if (PyErr_Occurred()) SWIG_fail
;
26396 Py_INCREF(Py_None
); resultobj
= Py_None
;
26403 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26404 PyObject
*resultobj
;
26405 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26406 wxTreeItemId
*arg2
= 0 ;
26407 PyObject
* obj0
= 0 ;
26408 PyObject
* obj1
= 0 ;
26409 char *kwnames
[] = {
26410 (char *) "self",(char *) "item", NULL
26413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26417 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26419 if (arg2
== NULL
) {
26420 PyErr_SetString(PyExc_TypeError
,"null reference");
26424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26425 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26427 wxPyEndAllowThreads(__tstate
);
26428 if (PyErr_Occurred()) SWIG_fail
;
26430 Py_INCREF(Py_None
); resultobj
= Py_None
;
26437 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26438 PyObject
*resultobj
;
26439 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26440 wxTreeItemId
*arg2
= 0 ;
26441 PyObject
* obj0
= 0 ;
26442 PyObject
* obj1
= 0 ;
26443 char *kwnames
[] = {
26444 (char *) "self",(char *) "item", NULL
26447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26450 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26451 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26453 if (arg2
== NULL
) {
26454 PyErr_SetString(PyExc_TypeError
,"null reference");
26458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26459 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26461 wxPyEndAllowThreads(__tstate
);
26462 if (PyErr_Occurred()) SWIG_fail
;
26464 Py_INCREF(Py_None
); resultobj
= Py_None
;
26471 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26472 PyObject
*resultobj
;
26473 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26474 wxTreeItemId
*arg2
= 0 ;
26475 PyObject
* obj0
= 0 ;
26476 PyObject
* obj1
= 0 ;
26477 char *kwnames
[] = {
26478 (char *) "self",(char *) "item", NULL
26481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26485 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26487 if (arg2
== NULL
) {
26488 PyErr_SetString(PyExc_TypeError
,"null reference");
26492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26493 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26495 wxPyEndAllowThreads(__tstate
);
26496 if (PyErr_Occurred()) SWIG_fail
;
26498 Py_INCREF(Py_None
); resultobj
= Py_None
;
26505 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26506 PyObject
*resultobj
;
26507 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26508 wxTextCtrl
*result
;
26509 PyObject
* obj0
= 0 ;
26510 char *kwnames
[] = {
26511 (char *) "self", NULL
26514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26519 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26521 wxPyEndAllowThreads(__tstate
);
26522 if (PyErr_Occurred()) SWIG_fail
;
26525 resultobj
= wxPyMake_wxObject(result
);
26533 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26534 PyObject
*resultobj
;
26535 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26536 wxTreeItemId
*arg2
= 0 ;
26537 bool arg3
= (bool) False
;
26538 PyObject
* obj0
= 0 ;
26539 PyObject
* obj1
= 0 ;
26540 PyObject
* obj2
= 0 ;
26541 char *kwnames
[] = {
26542 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
26545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26549 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26551 if (arg2
== NULL
) {
26552 PyErr_SetString(PyExc_TypeError
,"null reference");
26556 arg3
= (bool) SWIG_AsBool(obj2
);
26557 if (PyErr_Occurred()) SWIG_fail
;
26560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26561 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
26563 wxPyEndAllowThreads(__tstate
);
26564 if (PyErr_Occurred()) SWIG_fail
;
26566 Py_INCREF(Py_None
); resultobj
= Py_None
;
26573 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26574 PyObject
*resultobj
;
26575 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26576 wxTreeItemId
*arg2
= 0 ;
26577 PyObject
* obj0
= 0 ;
26578 PyObject
* obj1
= 0 ;
26579 char *kwnames
[] = {
26580 (char *) "self",(char *) "item", NULL
26583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26587 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26589 if (arg2
== NULL
) {
26590 PyErr_SetString(PyExc_TypeError
,"null reference");
26594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26595 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26597 wxPyEndAllowThreads(__tstate
);
26598 if (PyErr_Occurred()) SWIG_fail
;
26600 Py_INCREF(Py_None
); resultobj
= Py_None
;
26607 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26608 PyObject
*resultobj
;
26609 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26610 wxPoint
*arg2
= 0 ;
26612 wxTreeItemId result
;
26615 PyObject
* obj0
= 0 ;
26616 PyObject
* obj1
= 0 ;
26617 char *kwnames
[] = {
26618 (char *) "self",(char *) "point", NULL
26622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26627 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26631 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26633 wxPyEndAllowThreads(__tstate
);
26634 if (PyErr_Occurred()) SWIG_fail
;
26637 wxTreeItemId
* resultptr
;
26638 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26642 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26643 resultobj
= t_output_helper(resultobj
,o
);
26651 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26652 PyObject
*resultobj
;
26653 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26654 wxTreeItemId
*arg2
= 0 ;
26655 bool arg3
= (bool) False
;
26657 PyObject
* obj0
= 0 ;
26658 PyObject
* obj1
= 0 ;
26659 PyObject
* obj2
= 0 ;
26660 char *kwnames
[] = {
26661 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26668 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26670 if (arg2
== NULL
) {
26671 PyErr_SetString(PyExc_TypeError
,"null reference");
26675 arg3
= (bool) SWIG_AsBool(obj2
);
26676 if (PyErr_Occurred()) SWIG_fail
;
26679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26680 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26682 wxPyEndAllowThreads(__tstate
);
26683 if (PyErr_Occurred()) SWIG_fail
;
26685 resultobj
= result
;
26692 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26695 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26697 return Py_BuildValue((char *)"");
26699 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
26700 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26705 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
26710 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26712 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26719 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26720 PyObject
*resultobj
;
26721 wxWindow
*arg1
= (wxWindow
*) 0 ;
26722 int arg2
= (int) (int)-1 ;
26723 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
26724 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26725 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26726 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26727 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26728 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26729 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26730 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26731 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26732 int arg8
= (int) 0 ;
26733 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26734 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26735 wxGenericDirCtrl
*result
;
26736 bool temp3
= False
;
26739 bool temp7
= False
;
26740 bool temp9
= False
;
26741 PyObject
* obj0
= 0 ;
26742 PyObject
* obj1
= 0 ;
26743 PyObject
* obj2
= 0 ;
26744 PyObject
* obj3
= 0 ;
26745 PyObject
* obj4
= 0 ;
26746 PyObject
* obj5
= 0 ;
26747 PyObject
* obj6
= 0 ;
26748 PyObject
* obj7
= 0 ;
26749 PyObject
* obj8
= 0 ;
26750 char *kwnames
[] = {
26751 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26758 arg2
= (int const) SWIG_AsInt(obj1
);
26759 if (PyErr_Occurred()) SWIG_fail
;
26763 arg3
= wxString_in_helper(obj2
);
26764 if (arg3
== NULL
) SWIG_fail
;
26771 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26777 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26781 arg6
= (long) SWIG_AsLong(obj5
);
26782 if (PyErr_Occurred()) SWIG_fail
;
26786 arg7
= wxString_in_helper(obj6
);
26787 if (arg7
== NULL
) SWIG_fail
;
26792 arg8
= (int) SWIG_AsInt(obj7
);
26793 if (PyErr_Occurred()) SWIG_fail
;
26797 arg9
= wxString_in_helper(obj8
);
26798 if (arg9
== NULL
) SWIG_fail
;
26803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26804 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
26806 wxPyEndAllowThreads(__tstate
);
26807 if (PyErr_Occurred()) SWIG_fail
;
26809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26840 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26841 PyObject
*resultobj
;
26842 wxGenericDirCtrl
*result
;
26843 char *kwnames
[] = {
26847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
26849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26850 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
26852 wxPyEndAllowThreads(__tstate
);
26853 if (PyErr_Occurred()) SWIG_fail
;
26855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26862 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26863 PyObject
*resultobj
;
26864 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26865 wxWindow
*arg2
= (wxWindow
*) 0 ;
26866 int arg3
= (int) (int)-1 ;
26867 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
26868 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26869 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
26870 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
26871 wxSize
const &arg6_defvalue
= wxDefaultSize
;
26872 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
26873 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26874 wxString
const &arg8_defvalue
= wxPyEmptyString
;
26875 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26876 int arg9
= (int) 0 ;
26877 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
26878 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26880 bool temp4
= False
;
26883 bool temp8
= False
;
26884 bool temp10
= False
;
26885 PyObject
* obj0
= 0 ;
26886 PyObject
* obj1
= 0 ;
26887 PyObject
* obj2
= 0 ;
26888 PyObject
* obj3
= 0 ;
26889 PyObject
* obj4
= 0 ;
26890 PyObject
* obj5
= 0 ;
26891 PyObject
* obj6
= 0 ;
26892 PyObject
* obj7
= 0 ;
26893 PyObject
* obj8
= 0 ;
26894 PyObject
* obj9
= 0 ;
26895 char *kwnames
[] = {
26896 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26902 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26905 arg3
= (int const) SWIG_AsInt(obj2
);
26906 if (PyErr_Occurred()) SWIG_fail
;
26910 arg4
= wxString_in_helper(obj3
);
26911 if (arg4
== NULL
) SWIG_fail
;
26918 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
26924 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
26928 arg7
= (long) SWIG_AsLong(obj6
);
26929 if (PyErr_Occurred()) SWIG_fail
;
26933 arg8
= wxString_in_helper(obj7
);
26934 if (arg8
== NULL
) SWIG_fail
;
26939 arg9
= (int) SWIG_AsInt(obj8
);
26940 if (PyErr_Occurred()) SWIG_fail
;
26944 arg10
= wxString_in_helper(obj9
);
26945 if (arg10
== NULL
) SWIG_fail
;
26950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26951 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
26953 wxPyEndAllowThreads(__tstate
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26987 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26988 PyObject
*resultobj
;
26989 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26990 wxString
*arg2
= 0 ;
26992 bool temp2
= False
;
26993 PyObject
* obj0
= 0 ;
26994 PyObject
* obj1
= 0 ;
26995 char *kwnames
[] = {
26996 (char *) "self",(char *) "path", NULL
26999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27003 arg2
= wxString_in_helper(obj1
);
27004 if (arg2
== NULL
) SWIG_fail
;
27008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27009 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
27011 wxPyEndAllowThreads(__tstate
);
27012 if (PyErr_Occurred()) SWIG_fail
;
27014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27029 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27030 PyObject
*resultobj
;
27031 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27033 PyObject
* obj0
= 0 ;
27034 char *kwnames
[] = {
27035 (char *) "self", NULL
27038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
27039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27043 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
27045 wxPyEndAllowThreads(__tstate
);
27046 if (PyErr_Occurred()) SWIG_fail
;
27050 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27052 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27061 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27062 PyObject
*resultobj
;
27063 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27064 wxString
*arg2
= 0 ;
27065 bool temp2
= False
;
27066 PyObject
* obj0
= 0 ;
27067 PyObject
* obj1
= 0 ;
27068 char *kwnames
[] = {
27069 (char *) "self",(char *) "path", NULL
27072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27076 arg2
= wxString_in_helper(obj1
);
27077 if (arg2
== NULL
) SWIG_fail
;
27081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27082 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
27084 wxPyEndAllowThreads(__tstate
);
27085 if (PyErr_Occurred()) SWIG_fail
;
27087 Py_INCREF(Py_None
); resultobj
= Py_None
;
27102 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27103 PyObject
*resultobj
;
27104 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27106 PyObject
* obj0
= 0 ;
27107 char *kwnames
[] = {
27108 (char *) "self", NULL
27111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
27112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27116 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
27118 wxPyEndAllowThreads(__tstate
);
27119 if (PyErr_Occurred()) SWIG_fail
;
27123 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27125 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27134 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27135 PyObject
*resultobj
;
27136 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27138 PyObject
* obj0
= 0 ;
27139 char *kwnames
[] = {
27140 (char *) "self", NULL
27143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
27144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27148 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
27150 wxPyEndAllowThreads(__tstate
);
27151 if (PyErr_Occurred()) SWIG_fail
;
27155 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27157 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27166 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27167 PyObject
*resultobj
;
27168 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27169 wxString
*arg2
= 0 ;
27170 bool temp2
= False
;
27171 PyObject
* obj0
= 0 ;
27172 PyObject
* obj1
= 0 ;
27173 char *kwnames
[] = {
27174 (char *) "self",(char *) "path", NULL
27177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27181 arg2
= wxString_in_helper(obj1
);
27182 if (arg2
== NULL
) SWIG_fail
;
27186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27187 (arg1
)->SetPath((wxString
const &)*arg2
);
27189 wxPyEndAllowThreads(__tstate
);
27190 if (PyErr_Occurred()) SWIG_fail
;
27192 Py_INCREF(Py_None
); resultobj
= Py_None
;
27207 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27208 PyObject
*resultobj
;
27209 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27211 PyObject
* obj0
= 0 ;
27212 PyObject
* obj1
= 0 ;
27213 char *kwnames
[] = {
27214 (char *) "self",(char *) "show", NULL
27217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
27218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27220 arg2
= (bool) SWIG_AsBool(obj1
);
27221 if (PyErr_Occurred()) SWIG_fail
;
27223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27224 (arg1
)->ShowHidden(arg2
);
27226 wxPyEndAllowThreads(__tstate
);
27227 if (PyErr_Occurred()) SWIG_fail
;
27229 Py_INCREF(Py_None
); resultobj
= Py_None
;
27236 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27237 PyObject
*resultobj
;
27238 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27240 PyObject
* obj0
= 0 ;
27241 char *kwnames
[] = {
27242 (char *) "self", NULL
27245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
27246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27250 result
= (bool)(arg1
)->GetShowHidden();
27252 wxPyEndAllowThreads(__tstate
);
27253 if (PyErr_Occurred()) SWIG_fail
;
27255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27262 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27263 PyObject
*resultobj
;
27264 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27266 PyObject
* obj0
= 0 ;
27267 char *kwnames
[] = {
27268 (char *) "self", NULL
27271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
27272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27276 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
27278 wxPyEndAllowThreads(__tstate
);
27279 if (PyErr_Occurred()) SWIG_fail
;
27283 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27285 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27294 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27295 PyObject
*resultobj
;
27296 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27297 wxString
*arg2
= 0 ;
27298 bool temp2
= False
;
27299 PyObject
* obj0
= 0 ;
27300 PyObject
* obj1
= 0 ;
27301 char *kwnames
[] = {
27302 (char *) "self",(char *) "filter", NULL
27305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
27306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27309 arg2
= wxString_in_helper(obj1
);
27310 if (arg2
== NULL
) SWIG_fail
;
27314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27315 (arg1
)->SetFilter((wxString
const &)*arg2
);
27317 wxPyEndAllowThreads(__tstate
);
27318 if (PyErr_Occurred()) SWIG_fail
;
27320 Py_INCREF(Py_None
); resultobj
= Py_None
;
27335 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(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_GetFilterIndex",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
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
27351 wxPyEndAllowThreads(__tstate
);
27352 if (PyErr_Occurred()) SWIG_fail
;
27354 resultobj
= SWIG_FromInt((int)result
);
27361 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27362 PyObject
*resultobj
;
27363 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27365 PyObject
* obj0
= 0 ;
27366 PyObject
* obj1
= 0 ;
27367 char *kwnames
[] = {
27368 (char *) "self",(char *) "n", NULL
27371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
27372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27374 arg2
= (int) SWIG_AsInt(obj1
);
27375 if (PyErr_Occurred()) SWIG_fail
;
27377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27378 (arg1
)->SetFilterIndex(arg2
);
27380 wxPyEndAllowThreads(__tstate
);
27381 if (PyErr_Occurred()) SWIG_fail
;
27383 Py_INCREF(Py_None
); resultobj
= Py_None
;
27390 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27391 PyObject
*resultobj
;
27392 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27393 wxTreeItemId result
;
27394 PyObject
* obj0
= 0 ;
27395 char *kwnames
[] = {
27396 (char *) "self", NULL
27399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27404 result
= (arg1
)->GetRootId();
27406 wxPyEndAllowThreads(__tstate
);
27407 if (PyErr_Occurred()) SWIG_fail
;
27410 wxTreeItemId
* resultptr
;
27411 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27420 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27421 PyObject
*resultobj
;
27422 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27423 wxPyTreeCtrl
*result
;
27424 PyObject
* obj0
= 0 ;
27425 char *kwnames
[] = {
27426 (char *) "self", NULL
27429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
27430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27434 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27436 wxPyEndAllowThreads(__tstate
);
27437 if (PyErr_Occurred()) SWIG_fail
;
27440 resultobj
= wxPyMake_wxObject(result
);
27448 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27449 PyObject
*resultobj
;
27450 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27451 wxDirFilterListCtrl
*result
;
27452 PyObject
* obj0
= 0 ;
27453 char *kwnames
[] = {
27454 (char *) "self", NULL
27457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27462 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27464 wxPyEndAllowThreads(__tstate
);
27465 if (PyErr_Occurred()) SWIG_fail
;
27467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27474 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27475 PyObject
*resultobj
;
27476 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27477 wxTreeItemId arg2
;
27478 wxString
*arg3
= 0 ;
27480 wxTreeItemId result
;
27481 wxTreeItemId
*argp2
;
27482 bool temp3
= False
;
27484 PyObject
* obj0
= 0 ;
27485 PyObject
* obj1
= 0 ;
27486 PyObject
* obj2
= 0 ;
27487 char *kwnames
[] = {
27488 (char *) "self",(char *) "parentId",(char *) "path", NULL
27492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27495 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
27496 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27499 arg3
= wxString_in_helper(obj2
);
27500 if (arg3
== NULL
) SWIG_fail
;
27504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27505 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
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);
27516 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27517 resultobj
= t_output_helper(resultobj
,o
);
27533 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27534 PyObject
*resultobj
;
27535 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27536 PyObject
* obj0
= 0 ;
27537 char *kwnames
[] = {
27538 (char *) "self", NULL
27541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27546 (arg1
)->DoResize();
27548 wxPyEndAllowThreads(__tstate
);
27549 if (PyErr_Occurred()) SWIG_fail
;
27551 Py_INCREF(Py_None
); resultobj
= Py_None
;
27558 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27559 PyObject
*resultobj
;
27560 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27561 PyObject
* obj0
= 0 ;
27562 char *kwnames
[] = {
27563 (char *) "self", NULL
27566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27571 (arg1
)->ReCreateTree();
27573 wxPyEndAllowThreads(__tstate
);
27574 if (PyErr_Occurred()) SWIG_fail
;
27576 Py_INCREF(Py_None
); resultobj
= Py_None
;
27583 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27586 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27588 return Py_BuildValue((char *)"");
27590 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27591 PyObject
*resultobj
;
27592 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27593 int arg2
= (int) (int)-1 ;
27594 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27595 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27596 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27597 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27598 long arg5
= (long) 0 ;
27599 wxDirFilterListCtrl
*result
;
27602 PyObject
* obj0
= 0 ;
27603 PyObject
* obj1
= 0 ;
27604 PyObject
* obj2
= 0 ;
27605 PyObject
* obj3
= 0 ;
27606 PyObject
* obj4
= 0 ;
27607 char *kwnames
[] = {
27608 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27615 arg2
= (int const) SWIG_AsInt(obj1
);
27616 if (PyErr_Occurred()) SWIG_fail
;
27621 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27627 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27631 arg5
= (long) SWIG_AsLong(obj4
);
27632 if (PyErr_Occurred()) SWIG_fail
;
27635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27636 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27638 wxPyEndAllowThreads(__tstate
);
27639 if (PyErr_Occurred()) SWIG_fail
;
27641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27648 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27649 PyObject
*resultobj
;
27650 wxDirFilterListCtrl
*result
;
27651 char *kwnames
[] = {
27655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27658 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27660 wxPyEndAllowThreads(__tstate
);
27661 if (PyErr_Occurred()) SWIG_fail
;
27663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27670 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27671 PyObject
*resultobj
;
27672 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27673 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27674 int arg3
= (int) (int)-1 ;
27675 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27676 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27677 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27678 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27679 long arg6
= (long) 0 ;
27683 PyObject
* obj0
= 0 ;
27684 PyObject
* obj1
= 0 ;
27685 PyObject
* obj2
= 0 ;
27686 PyObject
* obj3
= 0 ;
27687 PyObject
* obj4
= 0 ;
27688 PyObject
* obj5
= 0 ;
27689 char *kwnames
[] = {
27690 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
27697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27699 arg3
= (int const) SWIG_AsInt(obj2
);
27700 if (PyErr_Occurred()) SWIG_fail
;
27705 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27711 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27715 arg6
= (long) SWIG_AsLong(obj5
);
27716 if (PyErr_Occurred()) SWIG_fail
;
27719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27720 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
27722 wxPyEndAllowThreads(__tstate
);
27723 if (PyErr_Occurred()) SWIG_fail
;
27725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27732 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27733 PyObject
*resultobj
;
27734 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27735 wxString
*arg2
= 0 ;
27737 bool temp2
= False
;
27738 PyObject
* obj0
= 0 ;
27739 PyObject
* obj1
= 0 ;
27740 PyObject
* obj2
= 0 ;
27741 char *kwnames
[] = {
27742 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27749 arg2
= wxString_in_helper(obj1
);
27750 if (arg2
== NULL
) SWIG_fail
;
27753 arg3
= (int) SWIG_AsInt(obj2
);
27754 if (PyErr_Occurred()) SWIG_fail
;
27756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27757 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27759 wxPyEndAllowThreads(__tstate
);
27760 if (PyErr_Occurred()) SWIG_fail
;
27762 Py_INCREF(Py_None
); resultobj
= Py_None
;
27777 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27780 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
27782 return Py_BuildValue((char *)"");
27784 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27785 PyObject
*resultobj
;
27786 wxWindow
*arg1
= (wxWindow
*) 0 ;
27788 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27789 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27790 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27791 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27792 long arg5
= (long) 0 ;
27793 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27794 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27795 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
27796 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27797 wxPyControl
*result
;
27800 bool temp7
= False
;
27801 PyObject
* obj0
= 0 ;
27802 PyObject
* obj1
= 0 ;
27803 PyObject
* obj2
= 0 ;
27804 PyObject
* obj3
= 0 ;
27805 PyObject
* obj4
= 0 ;
27806 PyObject
* obj5
= 0 ;
27807 PyObject
* obj6
= 0 ;
27808 char *kwnames
[] = {
27809 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27815 arg2
= (int const) SWIG_AsInt(obj1
);
27816 if (PyErr_Occurred()) SWIG_fail
;
27820 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27826 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27830 arg5
= (long) SWIG_AsLong(obj4
);
27831 if (PyErr_Occurred()) SWIG_fail
;
27834 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
27835 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27837 if (arg6
== NULL
) {
27838 PyErr_SetString(PyExc_TypeError
,"null reference");
27844 arg7
= wxString_in_helper(obj6
);
27845 if (arg7
== NULL
) SWIG_fail
;
27850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27851 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27853 wxPyEndAllowThreads(__tstate
);
27854 if (PyErr_Occurred()) SWIG_fail
;
27856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
27871 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27872 PyObject
*resultobj
;
27873 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27874 PyObject
*arg2
= (PyObject
*) 0 ;
27875 PyObject
*arg3
= (PyObject
*) 0 ;
27876 PyObject
* obj0
= 0 ;
27877 PyObject
* obj1
= 0 ;
27878 PyObject
* obj2
= 0 ;
27879 char *kwnames
[] = {
27880 (char *) "self",(char *) "self",(char *) "_class", NULL
27883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27890 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27892 wxPyEndAllowThreads(__tstate
);
27893 if (PyErr_Occurred()) SWIG_fail
;
27895 Py_INCREF(Py_None
); resultobj
= Py_None
;
27902 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27903 PyObject
*resultobj
;
27904 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27909 PyObject
* obj0
= 0 ;
27910 PyObject
* obj1
= 0 ;
27911 PyObject
* obj2
= 0 ;
27912 PyObject
* obj3
= 0 ;
27913 PyObject
* obj4
= 0 ;
27914 char *kwnames
[] = {
27915 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27921 arg2
= (int) SWIG_AsInt(obj1
);
27922 if (PyErr_Occurred()) SWIG_fail
;
27923 arg3
= (int) SWIG_AsInt(obj2
);
27924 if (PyErr_Occurred()) SWIG_fail
;
27925 arg4
= (int) SWIG_AsInt(obj3
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27927 arg5
= (int) SWIG_AsInt(obj4
);
27928 if (PyErr_Occurred()) SWIG_fail
;
27930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27931 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
27933 wxPyEndAllowThreads(__tstate
);
27934 if (PyErr_Occurred()) SWIG_fail
;
27936 Py_INCREF(Py_None
); resultobj
= Py_None
;
27943 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27944 PyObject
*resultobj
;
27945 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27950 int arg6
= (int) wxSIZE_AUTO
;
27951 PyObject
* obj0
= 0 ;
27952 PyObject
* obj1
= 0 ;
27953 PyObject
* obj2
= 0 ;
27954 PyObject
* obj3
= 0 ;
27955 PyObject
* obj4
= 0 ;
27956 PyObject
* obj5
= 0 ;
27957 char *kwnames
[] = {
27958 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27964 arg2
= (int) SWIG_AsInt(obj1
);
27965 if (PyErr_Occurred()) SWIG_fail
;
27966 arg3
= (int) SWIG_AsInt(obj2
);
27967 if (PyErr_Occurred()) SWIG_fail
;
27968 arg4
= (int) SWIG_AsInt(obj3
);
27969 if (PyErr_Occurred()) SWIG_fail
;
27970 arg5
= (int) SWIG_AsInt(obj4
);
27971 if (PyErr_Occurred()) SWIG_fail
;
27973 arg6
= (int) SWIG_AsInt(obj5
);
27974 if (PyErr_Occurred()) SWIG_fail
;
27977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27978 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
27980 wxPyEndAllowThreads(__tstate
);
27981 if (PyErr_Occurred()) SWIG_fail
;
27983 Py_INCREF(Py_None
); resultobj
= Py_None
;
27990 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27991 PyObject
*resultobj
;
27992 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27995 PyObject
* obj0
= 0 ;
27996 PyObject
* obj1
= 0 ;
27997 PyObject
* obj2
= 0 ;
27998 char *kwnames
[] = {
27999 (char *) "self",(char *) "width",(char *) "height", NULL
28002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28005 arg2
= (int) SWIG_AsInt(obj1
);
28006 if (PyErr_Occurred()) SWIG_fail
;
28007 arg3
= (int) SWIG_AsInt(obj2
);
28008 if (PyErr_Occurred()) SWIG_fail
;
28010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28011 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
28013 wxPyEndAllowThreads(__tstate
);
28014 if (PyErr_Occurred()) SWIG_fail
;
28016 Py_INCREF(Py_None
); resultobj
= Py_None
;
28023 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28024 PyObject
*resultobj
;
28025 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28028 PyObject
* obj0
= 0 ;
28029 PyObject
* obj1
= 0 ;
28030 PyObject
* obj2
= 0 ;
28031 char *kwnames
[] = {
28032 (char *) "self",(char *) "x",(char *) "y", NULL
28035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28038 arg2
= (int) SWIG_AsInt(obj1
);
28039 if (PyErr_Occurred()) SWIG_fail
;
28040 arg3
= (int) SWIG_AsInt(obj2
);
28041 if (PyErr_Occurred()) SWIG_fail
;
28043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28044 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
28046 wxPyEndAllowThreads(__tstate
);
28047 if (PyErr_Occurred()) SWIG_fail
;
28049 Py_INCREF(Py_None
); resultobj
= Py_None
;
28056 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28057 PyObject
*resultobj
;
28058 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28059 int *arg2
= (int *) 0 ;
28060 int *arg3
= (int *) 0 ;
28063 PyObject
* obj0
= 0 ;
28064 char *kwnames
[] = {
28065 (char *) "self", NULL
28070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
28071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28075 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
28077 wxPyEndAllowThreads(__tstate
);
28078 if (PyErr_Occurred()) SWIG_fail
;
28080 Py_INCREF(Py_None
); resultobj
= Py_None
;
28082 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28083 resultobj
= t_output_helper(resultobj
,o
);
28086 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28087 resultobj
= t_output_helper(resultobj
,o
);
28095 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28096 PyObject
*resultobj
;
28097 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28098 int *arg2
= (int *) 0 ;
28099 int *arg3
= (int *) 0 ;
28102 PyObject
* obj0
= 0 ;
28103 char *kwnames
[] = {
28104 (char *) "self", NULL
28109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
28110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28114 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
28116 wxPyEndAllowThreads(__tstate
);
28117 if (PyErr_Occurred()) SWIG_fail
;
28119 Py_INCREF(Py_None
); resultobj
= Py_None
;
28121 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28122 resultobj
= t_output_helper(resultobj
,o
);
28125 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28126 resultobj
= t_output_helper(resultobj
,o
);
28134 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28135 PyObject
*resultobj
;
28136 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28137 int *arg2
= (int *) 0 ;
28138 int *arg3
= (int *) 0 ;
28141 PyObject
* obj0
= 0 ;
28142 char *kwnames
[] = {
28143 (char *) "self", NULL
28148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
28149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28153 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
28155 wxPyEndAllowThreads(__tstate
);
28156 if (PyErr_Occurred()) SWIG_fail
;
28158 Py_INCREF(Py_None
); resultobj
= Py_None
;
28160 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28161 resultobj
= t_output_helper(resultobj
,o
);
28164 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28165 resultobj
= t_output_helper(resultobj
,o
);
28173 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28174 PyObject
*resultobj
;
28175 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28177 PyObject
* obj0
= 0 ;
28178 char *kwnames
[] = {
28179 (char *) "self", NULL
28182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
28183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28187 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
28189 wxPyEndAllowThreads(__tstate
);
28190 if (PyErr_Occurred()) SWIG_fail
;
28193 wxSize
* resultptr
;
28194 resultptr
= new wxSize((wxSize
&) result
);
28195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28203 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28204 PyObject
*resultobj
;
28205 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28207 PyObject
* obj0
= 0 ;
28208 char *kwnames
[] = {
28209 (char *) "self", NULL
28212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
28213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28217 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
28219 wxPyEndAllowThreads(__tstate
);
28220 if (PyErr_Occurred()) SWIG_fail
;
28223 wxSize
* resultptr
;
28224 resultptr
= new wxSize((wxSize
&) result
);
28225 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28233 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28234 PyObject
*resultobj
;
28235 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28236 PyObject
* obj0
= 0 ;
28237 char *kwnames
[] = {
28238 (char *) "self", NULL
28241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
28242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28246 (arg1
)->base_InitDialog();
28248 wxPyEndAllowThreads(__tstate
);
28249 if (PyErr_Occurred()) SWIG_fail
;
28251 Py_INCREF(Py_None
); resultobj
= Py_None
;
28258 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28259 PyObject
*resultobj
;
28260 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28262 PyObject
* obj0
= 0 ;
28263 char *kwnames
[] = {
28264 (char *) "self", NULL
28267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28272 result
= (bool)(arg1
)->base_TransferDataToWindow();
28274 wxPyEndAllowThreads(__tstate
);
28275 if (PyErr_Occurred()) SWIG_fail
;
28277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28284 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28285 PyObject
*resultobj
;
28286 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28288 PyObject
* obj0
= 0 ;
28289 char *kwnames
[] = {
28290 (char *) "self", NULL
28293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28298 result
= (bool)(arg1
)->base_TransferDataFromWindow();
28300 wxPyEndAllowThreads(__tstate
);
28301 if (PyErr_Occurred()) SWIG_fail
;
28303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28310 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28311 PyObject
*resultobj
;
28312 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28314 PyObject
* obj0
= 0 ;
28315 char *kwnames
[] = {
28316 (char *) "self", NULL
28319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
28320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28324 result
= (bool)(arg1
)->base_Validate();
28326 wxPyEndAllowThreads(__tstate
);
28327 if (PyErr_Occurred()) SWIG_fail
;
28329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28336 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28337 PyObject
*resultobj
;
28338 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28340 PyObject
* obj0
= 0 ;
28341 char *kwnames
[] = {
28342 (char *) "self", NULL
28345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28350 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
28352 wxPyEndAllowThreads(__tstate
);
28353 if (PyErr_Occurred()) SWIG_fail
;
28355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28362 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28363 PyObject
*resultobj
;
28364 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28366 PyObject
* obj0
= 0 ;
28367 char *kwnames
[] = {
28368 (char *) "self", NULL
28371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28376 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
28378 wxPyEndAllowThreads(__tstate
);
28379 if (PyErr_Occurred()) SWIG_fail
;
28381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28388 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28389 PyObject
*resultobj
;
28390 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28392 PyObject
* obj0
= 0 ;
28393 char *kwnames
[] = {
28394 (char *) "self", NULL
28397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28402 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28404 wxPyEndAllowThreads(__tstate
);
28405 if (PyErr_Occurred()) SWIG_fail
;
28408 wxSize
* resultptr
;
28409 resultptr
= new wxSize((wxSize
&) result
);
28410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28418 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28419 PyObject
*resultobj
;
28420 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28421 wxWindow
*arg2
= (wxWindow
*) 0 ;
28422 PyObject
* obj0
= 0 ;
28423 PyObject
* obj1
= 0 ;
28424 char *kwnames
[] = {
28425 (char *) "self",(char *) "child", NULL
28428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28431 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28435 (arg1
)->base_AddChild(arg2
);
28437 wxPyEndAllowThreads(__tstate
);
28438 if (PyErr_Occurred()) SWIG_fail
;
28440 Py_INCREF(Py_None
); resultobj
= Py_None
;
28447 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28448 PyObject
*resultobj
;
28449 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28450 wxWindow
*arg2
= (wxWindow
*) 0 ;
28451 PyObject
* obj0
= 0 ;
28452 PyObject
* obj1
= 0 ;
28453 char *kwnames
[] = {
28454 (char *) "self",(char *) "child", NULL
28457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28464 (arg1
)->base_RemoveChild(arg2
);
28466 wxPyEndAllowThreads(__tstate
);
28467 if (PyErr_Occurred()) SWIG_fail
;
28469 Py_INCREF(Py_None
); resultobj
= Py_None
;
28476 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
28478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28479 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28481 return Py_BuildValue((char *)"");
28483 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28484 PyObject
*resultobj
;
28485 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28486 int arg2
= (int) 0 ;
28487 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28488 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28489 wxHelpEvent
*result
;
28491 PyObject
* obj0
= 0 ;
28492 PyObject
* obj1
= 0 ;
28493 PyObject
* obj2
= 0 ;
28494 char *kwnames
[] = {
28495 (char *) "type",(char *) "winid",(char *) "pt", NULL
28498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28500 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
28501 if (PyErr_Occurred()) SWIG_fail
;
28504 arg2
= (int) SWIG_AsInt(obj1
);
28505 if (PyErr_Occurred()) SWIG_fail
;
28510 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28515 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28517 wxPyEndAllowThreads(__tstate
);
28518 if (PyErr_Occurred()) SWIG_fail
;
28520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
28527 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28528 PyObject
*resultobj
;
28529 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28531 PyObject
* obj0
= 0 ;
28532 char *kwnames
[] = {
28533 (char *) "self", NULL
28536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28541 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28543 wxPyEndAllowThreads(__tstate
);
28544 if (PyErr_Occurred()) SWIG_fail
;
28547 wxPoint
* resultptr
;
28548 resultptr
= new wxPoint((wxPoint
&) result
);
28549 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28557 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28558 PyObject
*resultobj
;
28559 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28560 wxPoint
*arg2
= 0 ;
28562 PyObject
* obj0
= 0 ;
28563 PyObject
* obj1
= 0 ;
28564 char *kwnames
[] = {
28565 (char *) "self",(char *) "pos", NULL
28568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28573 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28577 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28579 wxPyEndAllowThreads(__tstate
);
28580 if (PyErr_Occurred()) SWIG_fail
;
28582 Py_INCREF(Py_None
); resultobj
= Py_None
;
28589 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28590 PyObject
*resultobj
;
28591 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28593 PyObject
* obj0
= 0 ;
28594 char *kwnames
[] = {
28595 (char *) "self", NULL
28598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28604 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
28605 result
= (wxString
*) &_result_ref
;
28608 wxPyEndAllowThreads(__tstate
);
28609 if (PyErr_Occurred()) SWIG_fail
;
28613 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28615 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28624 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28625 PyObject
*resultobj
;
28626 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28627 wxString
*arg2
= 0 ;
28628 bool temp2
= False
;
28629 PyObject
* obj0
= 0 ;
28630 PyObject
* obj1
= 0 ;
28631 char *kwnames
[] = {
28632 (char *) "self",(char *) "link", NULL
28635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
28636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28639 arg2
= wxString_in_helper(obj1
);
28640 if (arg2
== NULL
) SWIG_fail
;
28644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28645 (arg1
)->SetLink((wxString
const &)*arg2
);
28647 wxPyEndAllowThreads(__tstate
);
28648 if (PyErr_Occurred()) SWIG_fail
;
28650 Py_INCREF(Py_None
); resultobj
= Py_None
;
28665 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28666 PyObject
*resultobj
;
28667 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28669 PyObject
* obj0
= 0 ;
28670 char *kwnames
[] = {
28671 (char *) "self", NULL
28674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
28675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28680 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
28681 result
= (wxString
*) &_result_ref
;
28684 wxPyEndAllowThreads(__tstate
);
28685 if (PyErr_Occurred()) SWIG_fail
;
28689 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28691 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28700 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28701 PyObject
*resultobj
;
28702 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28703 wxString
*arg2
= 0 ;
28704 bool temp2
= False
;
28705 PyObject
* obj0
= 0 ;
28706 PyObject
* obj1
= 0 ;
28707 char *kwnames
[] = {
28708 (char *) "self",(char *) "target", NULL
28711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28715 arg2
= wxString_in_helper(obj1
);
28716 if (arg2
== NULL
) SWIG_fail
;
28720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28721 (arg1
)->SetTarget((wxString
const &)*arg2
);
28723 wxPyEndAllowThreads(__tstate
);
28724 if (PyErr_Occurred()) SWIG_fail
;
28726 Py_INCREF(Py_None
); resultobj
= Py_None
;
28741 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
28743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28744 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
28746 return Py_BuildValue((char *)"");
28748 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28749 PyObject
*resultobj
;
28750 wxWindow
*arg1
= (wxWindow
*) NULL
;
28751 bool arg2
= (bool) True
;
28752 wxContextHelp
*result
;
28753 PyObject
* obj0
= 0 ;
28754 PyObject
* obj1
= 0 ;
28755 char *kwnames
[] = {
28756 (char *) "window",(char *) "doNow", NULL
28759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28765 arg2
= (bool) SWIG_AsBool(obj1
);
28766 if (PyErr_Occurred()) SWIG_fail
;
28769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28770 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
28772 wxPyEndAllowThreads(__tstate
);
28773 if (PyErr_Occurred()) SWIG_fail
;
28775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
28782 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28783 PyObject
*resultobj
;
28784 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28785 PyObject
* obj0
= 0 ;
28786 char *kwnames
[] = {
28787 (char *) "self", NULL
28790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
28791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28797 wxPyEndAllowThreads(__tstate
);
28798 if (PyErr_Occurred()) SWIG_fail
;
28800 Py_INCREF(Py_None
); resultobj
= Py_None
;
28807 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28808 PyObject
*resultobj
;
28809 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28810 wxWindow
*arg2
= (wxWindow
*) NULL
;
28812 PyObject
* obj0
= 0 ;
28813 PyObject
* obj1
= 0 ;
28814 char *kwnames
[] = {
28815 (char *) "self",(char *) "window", NULL
28818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28822 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28827 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
28829 wxPyEndAllowThreads(__tstate
);
28830 if (PyErr_Occurred()) SWIG_fail
;
28832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28839 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28840 PyObject
*resultobj
;
28841 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28843 PyObject
* obj0
= 0 ;
28844 char *kwnames
[] = {
28845 (char *) "self", NULL
28848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
28849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28853 result
= (bool)(arg1
)->EndContextHelp();
28855 wxPyEndAllowThreads(__tstate
);
28856 if (PyErr_Occurred()) SWIG_fail
;
28858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28865 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
28867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28868 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
28870 return Py_BuildValue((char *)"");
28872 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28873 PyObject
*resultobj
;
28874 wxWindow
*arg1
= (wxWindow
*) 0 ;
28875 int arg2
= (int) wxID_CONTEXT_HELP
;
28876 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28877 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28878 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28879 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28880 long arg5
= (long) wxBU_AUTODRAW
;
28881 wxContextHelpButton
*result
;
28884 PyObject
* obj0
= 0 ;
28885 PyObject
* obj1
= 0 ;
28886 PyObject
* obj2
= 0 ;
28887 PyObject
* obj3
= 0 ;
28888 PyObject
* obj4
= 0 ;
28889 char *kwnames
[] = {
28890 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28897 arg2
= (int) SWIG_AsInt(obj1
);
28898 if (PyErr_Occurred()) SWIG_fail
;
28903 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28909 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28913 arg5
= (long) SWIG_AsLong(obj4
);
28914 if (PyErr_Occurred()) SWIG_fail
;
28917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28918 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28920 wxPyEndAllowThreads(__tstate
);
28921 if (PyErr_Occurred()) SWIG_fail
;
28923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
28930 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
28932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28933 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
28935 return Py_BuildValue((char *)"");
28937 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28938 PyObject
*resultobj
;
28939 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28940 wxHelpProvider
*result
;
28941 PyObject
* obj0
= 0 ;
28942 char *kwnames
[] = {
28943 (char *) "helpProvider", NULL
28946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
28947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28951 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
28953 wxPyEndAllowThreads(__tstate
);
28954 if (PyErr_Occurred()) SWIG_fail
;
28956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
28963 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28964 PyObject
*resultobj
;
28965 wxHelpProvider
*result
;
28966 char *kwnames
[] = {
28970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
28972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28973 result
= (wxHelpProvider
*)wxHelpProvider::Get();
28975 wxPyEndAllowThreads(__tstate
);
28976 if (PyErr_Occurred()) SWIG_fail
;
28978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
28985 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28986 PyObject
*resultobj
;
28987 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28988 wxWindow
*arg2
= (wxWindow
*) 0 ;
28990 PyObject
* obj0
= 0 ;
28991 PyObject
* obj1
= 0 ;
28992 char *kwnames
[] = {
28993 (char *) "self",(char *) "window", NULL
28996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29003 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
29005 wxPyEndAllowThreads(__tstate
);
29006 if (PyErr_Occurred()) SWIG_fail
;
29010 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29012 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29021 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29022 PyObject
*resultobj
;
29023 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29024 wxWindow
*arg2
= (wxWindow
*) 0 ;
29026 PyObject
* obj0
= 0 ;
29027 PyObject
* obj1
= 0 ;
29028 char *kwnames
[] = {
29029 (char *) "self",(char *) "window", NULL
29032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29039 result
= (bool)(arg1
)->ShowHelp(arg2
);
29041 wxPyEndAllowThreads(__tstate
);
29042 if (PyErr_Occurred()) SWIG_fail
;
29044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29051 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29052 PyObject
*resultobj
;
29053 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29054 wxWindow
*arg2
= (wxWindow
*) 0 ;
29055 wxString
*arg3
= 0 ;
29056 bool temp3
= False
;
29057 PyObject
* obj0
= 0 ;
29058 PyObject
* obj1
= 0 ;
29059 PyObject
* obj2
= 0 ;
29060 char *kwnames
[] = {
29061 (char *) "self",(char *) "window",(char *) "text", NULL
29064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29067 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29070 arg3
= wxString_in_helper(obj2
);
29071 if (arg3
== NULL
) SWIG_fail
;
29075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29076 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29078 wxPyEndAllowThreads(__tstate
);
29079 if (PyErr_Occurred()) SWIG_fail
;
29081 Py_INCREF(Py_None
); resultobj
= Py_None
;
29096 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29097 PyObject
*resultobj
;
29098 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29100 wxString
*arg3
= 0 ;
29101 bool temp3
= False
;
29102 PyObject
* obj0
= 0 ;
29103 PyObject
* obj1
= 0 ;
29104 PyObject
* obj2
= 0 ;
29105 char *kwnames
[] = {
29106 (char *) "self",(char *) "id",(char *) "text", NULL
29109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29112 arg2
= (int) SWIG_AsInt(obj1
);
29113 if (PyErr_Occurred()) SWIG_fail
;
29115 arg3
= wxString_in_helper(obj2
);
29116 if (arg3
== NULL
) SWIG_fail
;
29120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29121 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29123 wxPyEndAllowThreads(__tstate
);
29124 if (PyErr_Occurred()) SWIG_fail
;
29126 Py_INCREF(Py_None
); resultobj
= Py_None
;
29141 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29142 PyObject
*resultobj
;
29143 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29144 wxWindow
*arg2
= (wxWindow
*) 0 ;
29145 PyObject
* obj0
= 0 ;
29146 PyObject
* obj1
= 0 ;
29147 char *kwnames
[] = {
29148 (char *) "self",(char *) "window", NULL
29151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29158 (arg1
)->RemoveHelp(arg2
);
29160 wxPyEndAllowThreads(__tstate
);
29161 if (PyErr_Occurred()) SWIG_fail
;
29163 Py_INCREF(Py_None
); resultobj
= Py_None
;
29170 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29171 PyObject
*resultobj
;
29172 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29173 PyObject
* obj0
= 0 ;
29174 char *kwnames
[] = {
29175 (char *) "self", NULL
29178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
29179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29183 wxHelpProvider_Destroy(arg1
);
29185 wxPyEndAllowThreads(__tstate
);
29186 if (PyErr_Occurred()) SWIG_fail
;
29188 Py_INCREF(Py_None
); resultobj
= Py_None
;
29195 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29198 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
29200 return Py_BuildValue((char *)"");
29202 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29203 PyObject
*resultobj
;
29204 wxSimpleHelpProvider
*result
;
29205 char *kwnames
[] = {
29209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
29211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29212 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
29214 wxPyEndAllowThreads(__tstate
);
29215 if (PyErr_Occurred()) SWIG_fail
;
29217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
29224 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29227 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
29229 return Py_BuildValue((char *)"");
29231 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29232 PyObject
*resultobj
;
29233 wxBitmap
*arg1
= 0 ;
29234 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29235 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29236 wxGenericDragImage
*result
;
29237 PyObject
* obj0
= 0 ;
29238 PyObject
* obj1
= 0 ;
29239 char *kwnames
[] = {
29240 (char *) "image",(char *) "cursor", NULL
29243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
29244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
29245 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29247 if (arg1
== NULL
) {
29248 PyErr_SetString(PyExc_TypeError
,"null reference");
29252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29253 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29255 if (arg2
== NULL
) {
29256 PyErr_SetString(PyExc_TypeError
,"null reference");
29261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29262 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
29264 wxPyEndAllowThreads(__tstate
);
29265 if (PyErr_Occurred()) SWIG_fail
;
29267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29274 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29275 PyObject
*resultobj
;
29277 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29278 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29279 wxGenericDragImage
*result
;
29280 PyObject
* obj0
= 0 ;
29281 PyObject
* obj1
= 0 ;
29282 char *kwnames
[] = {
29283 (char *) "image",(char *) "cursor", NULL
29286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
29287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
29288 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29290 if (arg1
== NULL
) {
29291 PyErr_SetString(PyExc_TypeError
,"null reference");
29295 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29296 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29298 if (arg2
== NULL
) {
29299 PyErr_SetString(PyExc_TypeError
,"null reference");
29304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29305 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
29307 wxPyEndAllowThreads(__tstate
);
29308 if (PyErr_Occurred()) SWIG_fail
;
29310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29317 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29318 PyObject
*resultobj
;
29319 wxString
*arg1
= 0 ;
29320 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29321 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29322 wxGenericDragImage
*result
;
29323 bool temp1
= False
;
29324 PyObject
* obj0
= 0 ;
29325 PyObject
* obj1
= 0 ;
29326 char *kwnames
[] = {
29327 (char *) "str",(char *) "cursor", NULL
29330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
29332 arg1
= wxString_in_helper(obj0
);
29333 if (arg1
== NULL
) SWIG_fail
;
29337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29338 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29340 if (arg2
== NULL
) {
29341 PyErr_SetString(PyExc_TypeError
,"null reference");
29346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29347 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
29349 wxPyEndAllowThreads(__tstate
);
29350 if (PyErr_Occurred()) SWIG_fail
;
29352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29367 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29368 PyObject
*resultobj
;
29369 wxPyTreeCtrl
*arg1
= 0 ;
29370 wxTreeItemId
*arg2
= 0 ;
29371 wxGenericDragImage
*result
;
29372 PyObject
* obj0
= 0 ;
29373 PyObject
* obj1
= 0 ;
29374 char *kwnames
[] = {
29375 (char *) "treeCtrl",(char *) "id", NULL
29378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
29380 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29382 if (arg1
== NULL
) {
29383 PyErr_SetString(PyExc_TypeError
,"null reference");
29386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
29387 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29389 if (arg2
== NULL
) {
29390 PyErr_SetString(PyExc_TypeError
,"null reference");
29394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29395 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
29397 wxPyEndAllowThreads(__tstate
);
29398 if (PyErr_Occurred()) SWIG_fail
;
29400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29407 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29408 PyObject
*resultobj
;
29409 wxPyListCtrl
*arg1
= 0 ;
29411 wxGenericDragImage
*result
;
29412 PyObject
* obj0
= 0 ;
29413 PyObject
* obj1
= 0 ;
29414 char *kwnames
[] = {
29415 (char *) "listCtrl",(char *) "id", NULL
29418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
29420 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29422 if (arg1
== NULL
) {
29423 PyErr_SetString(PyExc_TypeError
,"null reference");
29426 arg2
= (long) SWIG_AsLong(obj1
);
29427 if (PyErr_Occurred()) SWIG_fail
;
29429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29430 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
29432 wxPyEndAllowThreads(__tstate
);
29433 if (PyErr_Occurred()) SWIG_fail
;
29435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29442 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29443 PyObject
*resultobj
;
29444 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29445 PyObject
* obj0
= 0 ;
29446 char *kwnames
[] = {
29447 (char *) "self", NULL
29450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
29451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29457 wxPyEndAllowThreads(__tstate
);
29458 if (PyErr_Occurred()) SWIG_fail
;
29460 Py_INCREF(Py_None
); resultobj
= Py_None
;
29467 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29468 PyObject
*resultobj
;
29469 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29470 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29471 PyObject
* obj0
= 0 ;
29472 PyObject
* obj1
= 0 ;
29473 char *kwnames
[] = {
29474 (char *) "self",(char *) "bitmap", NULL
29477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
29481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29484 (arg1
)->SetBackingBitmap(arg2
);
29486 wxPyEndAllowThreads(__tstate
);
29487 if (PyErr_Occurred()) SWIG_fail
;
29489 Py_INCREF(Py_None
); resultobj
= Py_None
;
29496 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29497 PyObject
*resultobj
;
29498 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29499 wxPoint
*arg2
= 0 ;
29500 wxWindow
*arg3
= (wxWindow
*) 0 ;
29501 bool arg4
= (bool) False
;
29502 wxRect
*arg5
= (wxRect
*) NULL
;
29505 PyObject
* obj0
= 0 ;
29506 PyObject
* obj1
= 0 ;
29507 PyObject
* obj2
= 0 ;
29508 PyObject
* obj3
= 0 ;
29509 PyObject
* obj4
= 0 ;
29510 char *kwnames
[] = {
29511 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29519 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29521 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29524 arg4
= (bool) SWIG_AsBool(obj3
);
29525 if (PyErr_Occurred()) SWIG_fail
;
29528 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
29529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29533 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
29535 wxPyEndAllowThreads(__tstate
);
29536 if (PyErr_Occurred()) SWIG_fail
;
29538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29545 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29546 PyObject
*resultobj
;
29547 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29548 wxPoint
*arg2
= 0 ;
29549 wxWindow
*arg3
= (wxWindow
*) 0 ;
29550 wxWindow
*arg4
= (wxWindow
*) 0 ;
29553 PyObject
* obj0
= 0 ;
29554 PyObject
* obj1
= 0 ;
29555 PyObject
* obj2
= 0 ;
29556 PyObject
* obj3
= 0 ;
29557 char *kwnames
[] = {
29558 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29566 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29568 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29570 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
29571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29574 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29576 wxPyEndAllowThreads(__tstate
);
29577 if (PyErr_Occurred()) SWIG_fail
;
29579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29586 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29587 PyObject
*resultobj
;
29588 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29590 PyObject
* obj0
= 0 ;
29591 char *kwnames
[] = {
29592 (char *) "self", NULL
29595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
29596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29600 result
= (bool)(arg1
)->EndDrag();
29602 wxPyEndAllowThreads(__tstate
);
29603 if (PyErr_Occurred()) SWIG_fail
;
29605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29612 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29613 PyObject
*resultobj
;
29614 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29615 wxPoint
*arg2
= 0 ;
29618 PyObject
* obj0
= 0 ;
29619 PyObject
* obj1
= 0 ;
29620 char *kwnames
[] = {
29621 (char *) "self",(char *) "pt", NULL
29624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
29625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29629 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29633 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
29635 wxPyEndAllowThreads(__tstate
);
29636 if (PyErr_Occurred()) SWIG_fail
;
29638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29645 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29646 PyObject
*resultobj
;
29647 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29649 PyObject
* obj0
= 0 ;
29650 char *kwnames
[] = {
29651 (char *) "self", NULL
29654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
29655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29659 result
= (bool)(arg1
)->Show();
29661 wxPyEndAllowThreads(__tstate
);
29662 if (PyErr_Occurred()) SWIG_fail
;
29664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29671 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29672 PyObject
*resultobj
;
29673 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29675 PyObject
* obj0
= 0 ;
29676 char *kwnames
[] = {
29677 (char *) "self", NULL
29680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
29681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29685 result
= (bool)(arg1
)->Hide();
29687 wxPyEndAllowThreads(__tstate
);
29688 if (PyErr_Occurred()) SWIG_fail
;
29690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29697 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29698 PyObject
*resultobj
;
29699 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29700 wxPoint
*arg2
= 0 ;
29703 PyObject
* obj0
= 0 ;
29704 PyObject
* obj1
= 0 ;
29705 char *kwnames
[] = {
29706 (char *) "self",(char *) "pos", NULL
29709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29714 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29718 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
29720 wxPyEndAllowThreads(__tstate
);
29721 if (PyErr_Occurred()) SWIG_fail
;
29724 wxRect
* resultptr
;
29725 resultptr
= new wxRect((wxRect
&) result
);
29726 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29734 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29735 PyObject
*resultobj
;
29736 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29738 wxPoint
*arg3
= 0 ;
29741 PyObject
* obj0
= 0 ;
29742 PyObject
* obj1
= 0 ;
29743 PyObject
* obj2
= 0 ;
29744 char *kwnames
[] = {
29745 (char *) "self",(char *) "dc",(char *) "pos", NULL
29748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29751 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29752 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29754 if (arg2
== NULL
) {
29755 PyErr_SetString(PyExc_TypeError
,"null reference");
29760 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29764 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
29766 wxPyEndAllowThreads(__tstate
);
29767 if (PyErr_Occurred()) SWIG_fail
;
29769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29776 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29777 PyObject
*resultobj
;
29778 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29780 wxMemoryDC
*arg3
= 0 ;
29786 PyObject
* obj0
= 0 ;
29787 PyObject
* obj1
= 0 ;
29788 PyObject
* obj2
= 0 ;
29789 PyObject
* obj3
= 0 ;
29790 PyObject
* obj4
= 0 ;
29791 char *kwnames
[] = {
29792 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29799 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29801 if (arg2
== NULL
) {
29802 PyErr_SetString(PyExc_TypeError
,"null reference");
29805 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
29806 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29808 if (arg3
== NULL
) {
29809 PyErr_SetString(PyExc_TypeError
,"null reference");
29814 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29818 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
29821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29822 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
29824 wxPyEndAllowThreads(__tstate
);
29825 if (PyErr_Occurred()) SWIG_fail
;
29827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29834 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29835 PyObject
*resultobj
;
29836 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29837 wxPoint
*arg2
= 0 ;
29838 wxPoint
*arg3
= 0 ;
29844 PyObject
* obj0
= 0 ;
29845 PyObject
* obj1
= 0 ;
29846 PyObject
* obj2
= 0 ;
29847 PyObject
* obj3
= 0 ;
29848 PyObject
* obj4
= 0 ;
29849 char *kwnames
[] = {
29850 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29858 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29862 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29864 arg4
= (bool) SWIG_AsBool(obj3
);
29865 if (PyErr_Occurred()) SWIG_fail
;
29866 arg5
= (bool) SWIG_AsBool(obj4
);
29867 if (PyErr_Occurred()) SWIG_fail
;
29869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29870 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
29872 wxPyEndAllowThreads(__tstate
);
29873 if (PyErr_Occurred()) SWIG_fail
;
29875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29882 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
29884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29885 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
29887 return Py_BuildValue((char *)"");
29889 static PyMethodDef SwigMethods
[] = {
29890 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
29891 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
29892 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
29893 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
29894 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29895 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
29896 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29897 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29898 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29899 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29900 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29901 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29902 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29903 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29904 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29905 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29906 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29907 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29908 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
29909 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
29910 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
29911 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29912 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29913 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29914 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29915 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29916 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29917 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29918 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29919 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
29920 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
29921 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
29922 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
29923 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
29924 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
29925 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29926 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29927 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29928 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
29929 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29930 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29931 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29932 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29933 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29934 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29935 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29936 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29937 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29938 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29939 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29940 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29941 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29942 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
29943 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29944 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29945 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29946 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
29947 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
29948 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
29949 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
29950 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29951 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29952 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29953 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29954 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29955 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29956 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29957 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29958 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29959 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
29960 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29961 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29962 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29963 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
29964 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29965 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29966 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
29967 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29968 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29969 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
29970 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
29971 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
29972 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
29973 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
29974 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29975 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29976 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
29977 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29978 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29979 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
29980 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
29981 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
29982 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
29983 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29984 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
29985 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
29986 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
29987 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29988 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29989 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
29990 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
29991 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
29992 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29993 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
29994 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
29995 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
29996 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29997 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29998 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
29999 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30000 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30001 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30002 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
30003 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30004 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30005 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30006 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30007 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
30008 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
30009 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30010 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
30011 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
30012 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
30013 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
30014 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
30015 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30016 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30017 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30018 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30019 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30020 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30021 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30022 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30023 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30024 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30025 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30026 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30027 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
30028 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30029 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30030 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
30031 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30032 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30033 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30034 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30035 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30036 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30037 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30038 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30039 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
30040 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
30041 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
30042 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30043 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30044 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30045 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30046 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30047 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30048 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
30049 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
30050 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
30051 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
30052 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
30053 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
30054 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
30055 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30056 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30057 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30058 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30059 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30060 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
30061 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
30062 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
30063 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
30064 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
30065 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
30066 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
30067 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
30068 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30069 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30070 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30071 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30072 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
30073 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
30074 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
30075 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30076 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30077 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30078 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30079 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
30080 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
30081 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
30082 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
30083 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
30084 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
30085 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
30086 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30087 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30088 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30089 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30090 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30091 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
30092 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30093 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
30094 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
30095 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
30096 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30097 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
30098 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30099 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
30100 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
30101 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
30102 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
30103 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30104 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30105 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30106 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30107 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
30108 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30109 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30110 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30111 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30112 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
30113 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
30114 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30115 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30116 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30117 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30118 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30119 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30120 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30121 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30122 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30123 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30124 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30125 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
30126 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30127 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30128 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30129 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30130 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30131 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
30132 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30133 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30134 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30135 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30136 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
30137 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
30138 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30139 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30140 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
30141 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30142 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30143 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30144 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30145 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30146 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30147 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30148 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30149 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
30150 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30151 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30152 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
30153 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
30154 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30155 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30156 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30157 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
30158 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30159 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30160 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30161 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30162 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30163 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
30164 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
30165 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
30166 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
30167 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30168 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30169 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30170 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30171 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30172 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30173 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30174 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30175 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30176 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30177 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30178 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30179 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30180 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30181 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30182 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
30183 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
30184 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
30185 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
30186 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
30187 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30188 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
30189 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30190 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30191 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30192 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30193 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30194 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30195 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
30196 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
30197 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
30198 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30199 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30200 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30201 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30202 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30203 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30204 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30205 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30206 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30207 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30208 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
30209 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
30210 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
30211 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
30212 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
30213 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30214 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
30215 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
30216 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30217 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30218 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30219 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30220 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30221 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
30222 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
30223 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30224 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30225 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30226 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
30227 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
30228 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30229 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30230 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
30231 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
30232 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30233 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
30234 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
30235 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
30236 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30237 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30238 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
30239 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30240 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
30241 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
30242 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30243 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30244 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30245 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
30246 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
30247 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30248 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30249 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30250 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
30251 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30252 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30253 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30254 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
30255 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
30256 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30257 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30258 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
30259 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30260 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
30261 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
30262 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30263 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30264 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30265 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30266 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30267 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30268 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
30269 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30270 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30271 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30272 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30273 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30274 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30275 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30276 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
30277 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
30278 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30279 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30280 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
30281 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
30282 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
30283 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30284 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30285 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
30286 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
30287 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
30288 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30289 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30290 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
30291 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
30292 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
30293 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
30294 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
30295 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
30296 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
30297 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30298 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30299 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30300 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
30301 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
30302 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30303 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30304 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30305 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30306 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30307 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
30308 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30309 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30310 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30311 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
30312 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30313 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30314 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30315 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
30316 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
30317 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
30318 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
30319 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30320 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30321 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
30322 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30323 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
30324 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30325 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
30326 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30327 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30328 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30329 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30330 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
30331 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
30332 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30333 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30334 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30335 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30336 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30337 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30338 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30339 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30340 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30341 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30342 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
30343 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30344 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30345 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30346 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30347 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
30348 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30349 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30350 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
30351 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
30352 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
30353 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
30354 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30355 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30356 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30357 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30358 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30359 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30360 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30361 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30362 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30363 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
30364 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30365 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30366 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30367 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30368 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30369 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30370 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30371 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30372 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30373 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30374 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
30375 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
30376 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
30377 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
30378 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30379 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30380 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
30381 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
30382 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
30383 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
30384 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
30385 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
30386 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
30387 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
30388 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
30389 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
30390 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
30391 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
30392 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
30393 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
30394 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
30395 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
30396 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
30397 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
30398 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30399 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30400 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30401 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30402 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30403 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30404 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
30405 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
30406 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
30407 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30408 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
30409 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30410 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30411 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30412 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30413 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30414 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30415 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30416 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30417 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
30418 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
30419 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30420 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30421 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
30422 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30423 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30424 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30425 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30426 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30427 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30428 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30429 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30430 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30431 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30432 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
30433 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
30434 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30435 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30436 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30437 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30438 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30439 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30440 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30441 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30442 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30443 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30444 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30445 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30446 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
30447 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30448 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30449 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30450 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30451 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30452 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30453 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30454 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
30455 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
30456 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
30457 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30458 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30459 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30460 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30461 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
30462 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
30463 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
30464 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
30465 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
30466 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30467 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
30468 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
30469 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
30470 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30471 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30472 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30473 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
30474 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
30475 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
30476 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30477 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30478 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30479 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
30480 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30481 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
30482 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
30483 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30484 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
30485 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30486 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30487 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30488 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30489 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
30490 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
30491 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
30492 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
30493 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
30494 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
30495 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
30496 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
30497 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
30498 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
30499 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
30500 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30501 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30502 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30503 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
30504 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30505 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30506 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
30507 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
30508 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
30509 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
30510 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
30511 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
30512 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
30513 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30514 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30515 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30516 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30517 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30518 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
30519 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
30520 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30521 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30522 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30523 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30524 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30525 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30526 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30527 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30528 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30529 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30530 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30531 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30532 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30533 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
30534 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
30535 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30536 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30537 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30538 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30539 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30540 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30541 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30542 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30543 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30544 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30545 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30546 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30547 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30548 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30549 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30550 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30551 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30552 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30553 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30554 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30555 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30556 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30557 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30558 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30559 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30560 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30561 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30562 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
30563 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
30564 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30565 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30566 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30567 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
30568 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30569 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
30570 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30571 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
30572 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
30573 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
30574 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30575 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30576 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
30577 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
30578 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
30579 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
30580 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
30581 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
30582 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
30583 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
30584 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
30585 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
30586 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
30587 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30588 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
30589 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
30590 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
30591 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
30592 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30593 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
30594 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
30595 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
30596 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30597 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
30598 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
30599 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30600 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
30601 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
30602 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30603 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
30604 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30605 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30606 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30607 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
30608 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30609 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
30610 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
30611 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30612 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30613 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30614 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
30615 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30616 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30617 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
30618 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
30619 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
30620 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30621 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30622 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30623 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30624 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30625 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30626 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
30627 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30628 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30629 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
30630 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
30631 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
30632 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
30633 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30634 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30635 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30636 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
30637 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
30638 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
30639 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30640 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
30641 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
30642 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30643 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30644 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
30645 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30646 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30647 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30648 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
30649 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
30650 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
30651 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30652 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
30653 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
30654 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
30655 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
30656 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
30657 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
30658 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
30659 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
30660 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30661 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30662 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
30663 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
30664 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30665 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30666 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
30667 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30668 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30669 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30670 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30671 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
30672 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
30673 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
30674 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
30675 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
30676 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
30677 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
30678 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
30679 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
30680 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
30681 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30682 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
30683 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
30684 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
30685 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30686 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
30687 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
30688 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
30689 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
30690 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30691 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30692 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
30693 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
30694 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
30695 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
30696 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
30697 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
30698 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
30699 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30700 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30701 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30702 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
30707 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30709 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
30710 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30712 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
30713 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30715 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
30716 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
30718 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
30719 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30721 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
30722 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30724 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
30725 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
30727 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
30728 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30730 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
30731 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
30733 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
30734 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
30736 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
30737 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
30739 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
30740 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30742 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
30743 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
30745 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
30746 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
30748 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
30749 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
30751 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
30752 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
30754 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
30755 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30757 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
30758 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
30760 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
30761 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
30763 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
30764 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
30766 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
30767 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30769 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
30770 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30772 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
30773 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
30775 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
30776 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30778 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
30779 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30781 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
30782 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30784 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
30785 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30787 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
30788 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
30790 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
30791 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
30793 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
30794 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30796 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
30797 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30799 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
30800 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
30802 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
30803 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
30805 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
30806 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
30808 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
30809 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
30811 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
30812 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30814 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30815 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30817 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30818 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30820 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30821 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30823 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30824 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30826 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30827 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30829 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30830 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30832 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30833 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30835 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30836 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30838 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30839 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30841 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30842 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30844 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30845 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30847 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30848 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30850 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30851 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30853 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30854 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30856 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30857 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30859 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30860 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30862 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30863 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30865 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
30866 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30868 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
30869 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
30871 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
30872 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30874 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
30875 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30877 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
30878 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
30880 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
30881 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30883 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
30884 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30886 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
30887 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
30889 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
30890 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30892 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
30893 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30895 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
30896 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30898 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
30899 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
30901 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
30902 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
30904 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
30905 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
30907 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
30908 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
30910 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
30911 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
30913 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
30914 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
30916 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
30917 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
30919 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
30920 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30922 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
30923 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
30925 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
30926 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
30928 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
30929 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
30931 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
30932 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
30934 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
30935 return (void *)((wxControl
*) ((wxGauge
*) x
));
30937 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
30938 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
30940 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
30941 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
30943 static void *_p_wxButtonTo_p_wxControl(void *x
) {
30944 return (void *)((wxControl
*) ((wxButton
*) x
));
30946 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
30947 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
30949 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
30950 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30952 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
30953 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
30955 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
30956 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
30958 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
30959 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
30961 static void *_p_wxListbookTo_p_wxControl(void *x
) {
30962 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
30964 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
30965 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
30967 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
30968 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
30970 static void *_p_wxListViewTo_p_wxControl(void *x
) {
30971 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
30973 static void *_p_wxSliderTo_p_wxControl(void *x
) {
30974 return (void *)((wxControl
*) ((wxSlider
*) x
));
30976 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
30977 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
30979 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
30980 return (void *)((wxControl
*) ((wxPyControl
*) x
));
30982 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
30983 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
30985 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
30986 return (void *)((wxControl
*) ((wxStaticText
*) x
));
30988 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
30989 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
30991 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
30992 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
30994 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
30995 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30997 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
30998 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31000 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
31001 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31003 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
31004 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
31006 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
31007 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31009 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
31010 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31012 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
31013 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31015 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
31016 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31018 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31019 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31021 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31022 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31024 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31025 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31027 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
31028 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31030 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31031 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31033 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
31034 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31036 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
31037 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31039 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31040 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31042 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31043 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31045 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
31046 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31048 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
31049 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31051 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
31052 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31054 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
31055 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31057 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
31058 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31060 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31061 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31063 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
31064 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31066 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
31067 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31069 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31070 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31072 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
31073 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31075 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
31076 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31078 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
31079 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31081 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
31082 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31084 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
31085 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31087 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
31088 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31090 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
31091 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31093 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
31094 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31096 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
31097 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31099 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
31100 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31102 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
31103 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31105 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
31106 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31108 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
31109 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31111 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
31112 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31114 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
31115 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31117 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
31118 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31120 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
31121 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31123 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
31124 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31126 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
31127 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31129 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
31130 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31132 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
31133 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31135 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
31136 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
31138 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
31139 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
31141 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
31142 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
31144 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
31145 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
31147 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
31148 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31150 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
31151 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31153 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
31154 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
31156 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31157 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31159 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31160 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31162 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31163 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31165 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31166 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31168 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31169 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31171 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
31172 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31174 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
31175 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31177 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31178 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31180 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31181 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31183 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31184 return (void *)((wxObject
*) ((wxSizer
*) x
));
31186 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31187 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31189 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
31190 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31192 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
31193 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31195 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31196 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31198 static void *_p_wxEventTo_p_wxObject(void *x
) {
31199 return (void *)((wxObject
*) ((wxEvent
*) x
));
31201 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31202 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31204 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31205 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31207 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31208 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31210 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
31211 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31213 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
31214 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31216 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
31217 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31219 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31220 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31222 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31223 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31225 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31226 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31228 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31229 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31231 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31232 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31234 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31235 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31237 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
31238 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31240 static void *_p_wxControlTo_p_wxObject(void *x
) {
31241 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31243 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
31244 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31246 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
31247 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31249 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
31250 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31252 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
31253 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31255 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
31256 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31258 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31259 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31261 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
31262 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31264 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31265 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31267 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31268 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31270 static void *_p_wxListViewTo_p_wxObject(void *x
) {
31271 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31273 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
31274 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31276 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
31277 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31279 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31280 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31282 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31283 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31285 static void *_p_wxListbookTo_p_wxObject(void *x
) {
31286 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31288 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31289 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31291 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
31292 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31294 static void *_p_wxSliderTo_p_wxObject(void *x
) {
31295 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31297 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31298 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31300 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31301 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31303 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31304 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31306 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31307 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31309 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31310 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31312 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31313 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31315 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31316 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31318 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31319 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31321 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31322 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31324 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
31325 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31327 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
31328 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
31330 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31331 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31333 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31334 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31336 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31337 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31339 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31340 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31342 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31343 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31345 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31346 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31348 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31349 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31351 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31352 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31354 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31355 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31357 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31358 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31360 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31361 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31363 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31364 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31366 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31367 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31369 static void *_p_wxListEventTo_p_wxObject(void *x
) {
31370 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31372 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
31373 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31375 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
31376 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31378 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
31379 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31381 static void *_p_wxButtonTo_p_wxObject(void *x
) {
31382 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31384 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
31385 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31387 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
31388 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31390 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
31391 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31393 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31394 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31396 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
31397 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31399 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
31400 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31402 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
31403 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31405 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
31406 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
31408 static void *_p_wxListItemTo_p_wxObject(void *x
) {
31409 return (void *)((wxObject
*) ((wxListItem
*) x
));
31411 static void *_p_wxImageTo_p_wxObject(void *x
) {
31412 return (void *)((wxObject
*) ((wxImage
*) x
));
31414 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
31415 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
31417 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31418 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31420 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
31421 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31423 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
31424 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
31426 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
31427 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31429 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
31430 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31432 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
31433 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31435 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31436 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31438 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31439 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31441 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31442 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31444 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31445 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31447 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31448 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31450 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31453 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31454 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31456 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31457 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31459 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31460 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31462 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31463 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31465 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31466 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31468 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31469 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31471 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31472 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31474 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
31475 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31477 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31478 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31480 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31481 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31483 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
31484 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31486 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31487 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31489 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31490 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31492 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31493 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31495 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31498 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
31499 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
31501 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
31502 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31504 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31505 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31507 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31508 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31510 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
31511 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
31513 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
31514 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
31516 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31517 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31519 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
31520 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31522 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
31523 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
31525 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
31526 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
31528 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
31529 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
31531 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31532 return (void *)((wxWindow
*) ((wxControl
*) x
));
31534 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
31535 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
31537 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
31538 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31540 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
31541 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
31543 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
31544 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31546 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
31547 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
31549 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
31550 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
31552 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31553 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31555 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
31556 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
31558 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
31559 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
31561 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
31562 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31564 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
31565 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
31567 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
31568 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
31570 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
31571 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
31573 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
31574 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31576 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
31577 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31579 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
31580 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31582 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
31583 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31585 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
31586 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31588 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
31589 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
31591 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
31592 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
31594 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
31595 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
31597 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
31598 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
31600 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
31601 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
31603 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
31604 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
31606 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
31607 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
31609 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
31610 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31612 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
31613 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31615 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
31616 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
31618 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
31619 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31621 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
31622 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31624 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
31625 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31627 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
31628 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
31630 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
31631 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31633 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
31634 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31636 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
31637 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31639 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
31640 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31642 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
31643 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31645 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
31646 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
31648 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
31649 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31651 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
31652 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31654 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
31655 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31657 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
31658 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
31660 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
31661 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31663 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
31664 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31666 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
31667 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
31669 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
31670 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31672 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
31673 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
31675 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
31676 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
31678 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
31679 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
31681 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
31682 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
31684 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}};
31685 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}};
31686 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}};
31687 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}};
31688 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}};
31689 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}};
31690 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}};
31691 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}};
31692 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}};
31693 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}};
31694 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}};
31695 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}};
31696 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}};
31697 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}};
31698 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}};
31699 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}};
31700 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}};
31701 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}};
31702 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}};
31703 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}};
31704 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31705 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}};
31706 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}};
31707 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}};
31708 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}};
31709 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}};
31710 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}};
31711 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}};
31712 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}};
31713 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}};
31714 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}};
31715 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}};
31716 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}};
31717 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}};
31718 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}};
31719 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}};
31720 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}};
31721 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}};
31722 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}};
31723 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}};
31724 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}};
31725 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}};
31726 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}};
31727 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}};
31728 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}};
31729 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}};
31730 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}};
31731 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}};
31732 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}};
31733 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}};
31734 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}};
31735 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}};
31736 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}};
31737 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}};
31738 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}};
31739 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}};
31740 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}};
31741 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}};
31742 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}};
31743 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}};
31744 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}};
31745 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}};
31746 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}};
31747 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}};
31748 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}};
31749 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}};
31750 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}};
31751 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}};
31752 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}};
31753 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}};
31754 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}};
31755 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}};
31756 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}};
31757 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}};
31758 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}};
31759 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}};
31760 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}};
31761 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}};
31762 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31763 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}};
31764 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}};
31765 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}};
31766 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}};
31767 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}};
31769 static swig_type_info
*swig_types_initial
[] = {
31770 _swigt__p_wxTextUrlEvent
,
31771 _swigt__p_wxBookCtrlEvent
,
31773 _swigt__p_wxCheckBox
,
31774 _swigt__p_wxPyTreeCtrl
,
31776 _swigt__p_wxGenericDirCtrl
,
31778 _swigt__p_wxPyTreeItemData
,
31779 _swigt__p_wxItemContainer
,
31780 _swigt__p_wxDirFilterListCtrl
,
31781 _swigt__p_wxPyListCtrl
,
31782 _swigt__p_wxStaticLine
,
31783 _swigt__p_wxControl
,
31784 _swigt__p_wxPyControl
,
31786 _swigt__p_wxToolBarBase
,
31788 _swigt__p_wxToggleButton
,
31789 _swigt__p_wxRadioButton
,
31790 _swigt__p_wxChoice
,
31791 _swigt__p_wxMemoryDC
,
31792 _swigt__p_wxListItemAttr
,
31797 _swigt__p_wxListView
,
31799 _swigt__p_wxTextCtrl
,
31800 _swigt__p_wxNotebook
,
31801 _swigt__p_wxNotifyEvent
,
31802 _swigt__p_wxArrayString
,
31803 _swigt__p_wxListbook
,
31804 _swigt__p_wxStaticBitmap
,
31805 _swigt__p_wxSlider
,
31806 _swigt__p_wxStaticBox
,
31807 _swigt__p_wxArrayInt
,
31808 _swigt__p_wxContextHelp
,
31810 _swigt__p_wxEvtHandler
,
31811 _swigt__p_wxListEvent
,
31812 _swigt__p_wxListBox
,
31813 _swigt__p_wxCheckListBox
,
31814 _swigt__p_wxBookCtrl
,
31815 _swigt__p_wxSpinButton
,
31816 _swigt__p_wxButton
,
31817 _swigt__p_wxBitmapButton
,
31819 _swigt__p_wxContextHelpButton
,
31820 _swigt__p_wxRadioBox
,
31821 _swigt__p_wxScrollBar
,
31823 _swigt__p_wxTreeItemId
,
31824 _swigt__p_wxComboBox
,
31825 _swigt__p_wxHelpEvent
,
31826 _swigt__p_wxListItem
,
31827 _swigt__p_wxNotebookSizer
,
31828 _swigt__p_wxSpinEvent
,
31829 _swigt__p_wxGenericDragImage
,
31830 _swigt__p_wxSpinCtrl
,
31831 _swigt__p_wxImageList
,
31832 _swigt__p_wxHelpProvider
,
31833 _swigt__p_wxTextAttr
,
31834 _swigt__p_wxSimpleHelpProvider
,
31836 _swigt__p_wxListbookEvent
,
31837 _swigt__p_wxNotebookEvent
,
31838 _swigt__p_wxObject
,
31839 _swigt__p_wxCursor
,
31840 _swigt__p_wxKeyEvent
,
31841 _swigt__p_wxWindow
,
31842 _swigt__p_wxString
,
31843 _swigt__p_wxBitmap
,
31844 _swigt__p_wxTreeEvent
,
31845 _swigt__p_wxMouseEvent
,
31846 _swigt__p_wxCommandEvent
,
31847 _swigt__p_wxStaticText
,
31848 _swigt__p_wxControlWithItems
,
31849 _swigt__p_wxToolBarToolBase
,
31850 _swigt__p_wxColour
,
31851 _swigt__p_wxToolBar
,
31852 _swigt__p_wxBookCtrlSizer
,
31853 _swigt__p_wxValidator
,
31858 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31860 static swig_const_info swig_const_table
[] = {
31870 SWIGEXPORT(void) SWIG_init(void) {
31871 static PyObject
*SWIG_globals
= 0;
31872 static int typeinit
= 0;
31875 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
31876 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
31877 d
= PyModule_GetDict(m
);
31880 for (i
= 0; swig_types_initial
[i
]; i
++) {
31881 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
31885 SWIG_InstallConstants(d
,swig_const_table
);
31887 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
31888 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
31889 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
31890 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
31891 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
31892 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
31893 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
31894 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
31895 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
31896 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
31897 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
31898 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
31899 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
31900 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
31901 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
31902 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
31903 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
31904 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
31905 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
31906 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
31907 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
31908 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
31909 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
31910 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
31911 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
31912 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
31913 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
31914 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
31915 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
31916 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
31917 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
31918 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
31919 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
31920 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
31921 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
31922 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
31923 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
31924 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
31925 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
31926 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
31927 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
31928 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
31929 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
31930 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
31931 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
31932 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
31933 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
31934 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
31935 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
31936 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
31937 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
31938 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
31939 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
31940 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
31941 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
31942 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
31943 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
31944 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
31945 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
31946 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
31947 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
31948 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
31949 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
31950 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
31951 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
31952 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
31953 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
31954 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
31955 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
31956 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
31957 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
31958 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
31959 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
31960 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
31961 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
31962 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
31963 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
31964 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
31965 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
31966 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
31967 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
31968 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
31969 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
31970 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
31971 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
31972 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
31973 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
31974 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
31975 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
31976 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
31977 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
31978 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
31979 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
31980 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
31981 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
31982 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
31983 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
31984 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
31985 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
31986 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
31987 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
31988 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
31989 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
31990 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
31991 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
31992 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
31993 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
31994 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
31995 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
31996 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
31997 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
31998 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
31999 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
32000 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
32001 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
32002 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
32003 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
32004 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
32005 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
32006 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
32007 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
32008 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
32009 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
32010 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
32011 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
32012 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
32013 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
32014 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
32015 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
32016 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
32017 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
32018 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
32019 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
32020 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
32021 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
32022 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
32023 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
32024 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
32025 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
32026 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
32027 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
32028 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
32029 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
32030 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
32031 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
32032 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
32033 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
32034 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
32035 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
32036 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
32037 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
32038 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
32039 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
32040 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
32041 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
32042 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
32043 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
32044 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
32045 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
32046 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
32047 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
32048 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
32049 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
32050 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
32051 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
32052 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
32053 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
32054 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
32055 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
32056 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
32057 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
32058 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
32059 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
32060 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
32061 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
32062 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
32063 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
32064 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
32065 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
32066 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
32067 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
32068 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
32069 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
32070 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
32071 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
32072 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
32073 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
32074 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
32075 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
32076 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
32077 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
32078 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
32079 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
32080 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
32081 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
32082 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
32083 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
32084 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
32085 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
32086 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
32087 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
32088 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
32089 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
32090 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
32091 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
32092 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
32093 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
32094 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
32095 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
32096 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
32097 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
32099 // Map renamed classes back to their common name for OOR
32100 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32102 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
32103 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
32104 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
32105 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
32106 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
32107 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
32108 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
32109 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
32110 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
32111 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
32112 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
32113 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
32114 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
32115 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
32116 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
32117 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
32118 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
32119 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
32120 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
32121 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
32122 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
32123 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
32124 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
32125 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
32126 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
32127 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
32128 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
32129 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
32130 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
32131 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
32132 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
32133 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
32134 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
32135 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
32136 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
32137 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
32138 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
32139 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
32140 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
32141 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
32142 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
32143 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
32144 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
32145 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
32146 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
32147 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
32148 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
32149 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
32150 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
32151 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
32152 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
32153 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
32154 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
32155 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
32156 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
32157 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
32159 // Map renamed classes back to their common name for OOR
32160 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32161 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32163 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
32164 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
32165 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
32166 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
32167 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
32168 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
32169 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
32170 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
32171 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
32172 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
32174 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");