1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211 #define SWIGTYPE_p_wxSizer swig_types[2]
212 #define SWIGTYPE_p_wxCheckBox swig_types[3]
213 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214 #define SWIGTYPE_p_wxEvent swig_types[5]
215 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216 #define SWIGTYPE_p_bool swig_types[7]
217 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218 #define SWIGTYPE_p_wxItemContainer swig_types[9]
219 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxPyListCtrl swig_types[11]
221 #define SWIGTYPE_p_wxStaticLine swig_types[12]
222 #define SWIGTYPE_p_wxControl swig_types[13]
223 #define SWIGTYPE_p_wxPyControl swig_types[14]
224 #define SWIGTYPE_p_wxGauge swig_types[15]
225 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
226 #define SWIGTYPE_p_wxFont swig_types[17]
227 #define SWIGTYPE_p_wxToggleButton swig_types[18]
228 #define SWIGTYPE_p_wxRadioButton swig_types[19]
229 #define SWIGTYPE_p_wxChoice swig_types[20]
230 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
231 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
232 #define SWIGTYPE_p_void swig_types[23]
233 #define SWIGTYPE_p_int swig_types[24]
234 #define SWIGTYPE_p_wxSize swig_types[25]
235 #define SWIGTYPE_p_wxDC swig_types[26]
236 #define SWIGTYPE_p_wxListView swig_types[27]
237 #define SWIGTYPE_p_wxIcon swig_types[28]
238 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
239 #define SWIGTYPE_p_wxNotebook swig_types[30]
240 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
241 #define SWIGTYPE_p_wxArrayString swig_types[32]
242 #define SWIGTYPE_p_wxListbook swig_types[33]
243 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
244 #define SWIGTYPE_p_wxSlider swig_types[35]
245 #define SWIGTYPE_p_wxStaticBox swig_types[36]
246 #define SWIGTYPE_p_wxArrayInt swig_types[37]
247 #define SWIGTYPE_p_wxContextHelp swig_types[38]
248 #define SWIGTYPE_p_long swig_types[39]
249 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
250 #define SWIGTYPE_p_wxListEvent swig_types[41]
251 #define SWIGTYPE_p_wxListBox swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
254 #define SWIGTYPE_p_wxSpinButton swig_types[45]
255 #define SWIGTYPE_p_wxButton swig_types[46]
256 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
257 #define SWIGTYPE_p_wxRect swig_types[48]
258 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
259 #define SWIGTYPE_p_wxRadioBox swig_types[50]
260 #define SWIGTYPE_p_wxScrollBar swig_types[51]
261 #define SWIGTYPE_p_char swig_types[52]
262 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
263 #define SWIGTYPE_p_wxComboBox swig_types[54]
264 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
265 #define SWIGTYPE_p_wxListItem swig_types[56]
266 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
267 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
268 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
269 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
270 #define SWIGTYPE_p_wxImageList swig_types[61]
271 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
272 #define SWIGTYPE_p_wxTextAttr swig_types[63]
273 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
274 #define SWIGTYPE_p_wxPoint swig_types[65]
275 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
276 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
277 #define SWIGTYPE_p_wxObject swig_types[68]
278 #define SWIGTYPE_p_wxCursor swig_types[69]
279 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
280 #define SWIGTYPE_p_wxWindow swig_types[71]
281 #define SWIGTYPE_p_wxString swig_types[72]
282 #define SWIGTYPE_p_wxBitmap swig_types[73]
283 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
284 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
285 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
286 #define SWIGTYPE_p_wxStaticText swig_types[77]
287 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
288 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
289 #define SWIGTYPE_p_wxColour swig_types[80]
290 #define SWIGTYPE_p_wxToolBar swig_types[81]
291 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
292 #define SWIGTYPE_p_wxValidator swig_types[83]
293 static swig_type_info
*swig_types
[85];
295 /* -------- TYPES TABLE (END) -------- */
298 /*-----------------------------------------------
299 @(target):= _controls.so
300 ------------------------------------------------*/
301 #define SWIG_init init_controls
303 #define SWIG_name "_controls"
305 /* Auxiliar swig macros */
308 #define SWIGSTATICINLINE(a) static inline a
309 #define SWIGSTATIC(a) static a
310 #define swig_new_array(type, size) (new type[(size)])
311 #define swig_delete_array(cptr) delete[] cptr
312 #define swig_const_cast(type,a) const_cast<type>(a)
313 #define swig_static_cast(type,a) static_cast<type>(a)
314 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316 #ifdef HAVE_NUMERIC_CAST
317 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
319 #define swig_numeric_cast(type,a) static_cast<type>(a)
324 #define SWIGSTATICINLINE(a) static a
325 #define SWIGSTATIC(a) static a
326 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
327 #define swig_delete_array(cptr) free((char*)cptr)
328 #define swig_const_cast(type,a) (type)(a)
329 #define swig_static_cast(type,a) (type)(a)
330 #define swig_reinterpret_cast(type,a) (type)(a)
331 #define swig_numeric_cast(type,a) (type)(a)
333 #endif /* __cplusplus */
336 #define SWIG_FromSignedChar PyInt_FromLong
337 #define SWIG_FromUnsignedChar PyInt_FromLong
338 #define SWIG_FromShort PyInt_FromLong
339 #define SWIG_FromUnsignedShort PyInt_FromLong
340 #define SWIG_FromInt PyInt_FromLong
341 #define SWIG_FromLong PyInt_FromLong
342 #define SWIG_FromFloat PyFloat_FromDouble
343 #define SWIG_FromDouble PyFloat_FromDouble
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
348 #include "wx/wxPython/wxPython.h"
349 #include "wx/wxPython/pyclasses.h"
351 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
352 static const wxString
wxPyEmptyString(wxEmptyString
);
353 static const wxString
wxPyControlNameStr(wxControlNameStr
);
355 const wxArrayString wxPyEmptyStringArray
;
357 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
362 SWIGSTATICINLINE(long)
363 SWIG_CheckLongInRange(long value
, const char* type
,
364 long min_value
, long max_value
)
366 if (!PyErr_Occurred()) {
367 if (value
< min_value
) {
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value
, type
, min_value
);
372 PyErr_SetObject(PyExc_OverflowError
, err
);
374 } else if (value
> max_value
) {
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value
, type
, max_value
);
378 PyErr_SetObject(PyExc_OverflowError
, err
);
386 SWIGSTATICINLINE(long)
387 SWIG_AsLong(PyObject
* obj
)
389 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
393 #if INT_MAX != LONG_MAX
394 SWIGSTATICINLINE(int)
395 SWIG_AsInt(PyObject
*obj
)
397 return swig_numeric_cast(int,
398 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
399 "int", INT_MIN
, INT_MAX
));
402 #define SWIG_AsInt SWIG_AsLong
406 SWIGSTATICINLINE(int)
407 SWIG_CheckInt(PyObject
* obj
)
410 if (PyErr_Occurred()) {
419 SWIGSTATICINLINE(int)
420 SWIG_CheckLong(PyObject
* obj
)
423 if (PyErr_Occurred()) {
431 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
433 SWIGSTATICINLINE(bool)
434 SWIG_AsBool(PyObject
*obj
)
436 return PyObject_IsTrue(obj
) ? true : false;
440 SWIGSTATICINLINE(int)
441 SWIG_CheckBool(PyObject
* obj
)
444 if (PyErr_Occurred()) {
452 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
453 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
454 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
455 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
456 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
457 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
459 #include <wx/checklst.h>
462 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
463 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
465 wxPyClientData
* data
= new wxPyClientData(clientData
);
466 self
->Insert(item
, pos
, data
);
468 self
->Insert(item
, pos
);
470 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
472 self
->GetSelections(lst
);
473 PyObject
*tup
= PyTuple_New(lst
.GetCount());
474 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
475 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
479 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
481 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
482 self
->GetItem(item
)->SetTextColour(c
);
485 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
487 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
488 self
->GetItem(item
)->SetBackgroundColour(c
);
491 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
493 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
494 self
->GetItem(item
)->SetFont(f
);
497 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
499 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
505 } else if (target
== Py_None
) {
509 if (!PyTuple_Check(target
)) {
511 target
= PyTuple_New(1);
512 PyTuple_SetItem(target
, 0, o2
);
515 PyTuple_SetItem(o3
, 0, o
);
518 target
= PySequence_Concat(o2
, o3
);
526 SWIGSTATICINLINE(unsigned long)
527 SWIG_AsUnsignedLong(PyObject
* obj
)
529 if (PyLong_Check(obj
)) {
530 return PyLong_AsUnsignedLong(obj
);
532 long i
= PyInt_AsLong(obj
);
533 if ( !PyErr_Occurred() && (i
< 0)) {
534 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
541 SWIGSTATICINLINE(int)
542 SWIG_CheckUnsignedLong(PyObject
* obj
)
544 SWIG_AsUnsignedLong(obj
);
545 if (PyErr_Occurred()) {
553 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
554 self
->AppendText(text
);
556 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
557 return self
->GetValue().Mid(from
, to
- from
);
559 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
560 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
561 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
562 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
563 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
565 #include <wx/slider.h>
568 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
569 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
572 // implement dummy items for platforms that don't have this class
574 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
576 class wxToggleButton
: public wxControl
579 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
580 const wxPoint
&, const wxSize
&, long,
581 const wxValidator
&, const wxString
&)
582 { wxPyRaiseNotImplemented(); }
585 { wxPyRaiseNotImplemented(); }
589 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
591 SWIGSTATICINLINE(PyObject
* )
592 SWIG_FromUnsignedLong(unsigned long value
)
594 return (value
> LONG_MAX
) ?
595 PyLong_FromUnsignedLong(value
)
596 : PyInt_FromLong(swig_numeric_cast(long,value
));
599 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
600 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
601 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
603 Py_INCREF(udata
->m_obj
);
610 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
611 self
->SetClientData(new wxPyUserData(clientData
));
613 wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
614 wxPyUserData
* udata
= NULL
;
615 if (clientData
&& clientData
!= Py_None
)
616 udata
= new wxPyUserData(clientData
);
617 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
618 shortHelp
, longHelp
, udata
);
620 wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
621 wxPyUserData
* udata
= NULL
;
622 if (clientData
&& clientData
!= Py_None
)
623 udata
= new wxPyUserData(clientData
);
624 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
625 shortHelp
, longHelp
, udata
);
627 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
628 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
630 Py_INCREF(udata
->m_obj
);
637 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
638 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
641 #include <wx/listctrl.h>
644 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
645 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
646 // Python aware sorting function for wxPyListCtrl
647 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
649 PyObject
* func
= (PyObject
*)funcPtr
;
650 wxPyBeginBlockThreads();
652 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
653 PyObject
* result
= PyEval_CallObject(func
, args
);
656 retval
= PyInt_AsLong(result
);
660 wxPyEndBlockThreads();
664 // C++ Version of a Python aware class
665 class wxPyListCtrl
: public wxListCtrl
{
666 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
668 wxPyListCtrl() : wxListCtrl() {}
669 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
673 const wxValidator
& validator
,
674 const wxString
& name
) :
675 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
677 bool Create(wxWindow
* parent
, wxWindowID id
,
681 const wxValidator
& validator
,
682 const wxString
& name
) {
683 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
686 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
687 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
688 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
693 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
695 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
696 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
697 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
699 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
701 item
.SetMask( wxLIST_MASK_STATE
|
709 if (self
->GetColumn(col
, item
))
710 return new wxListItem(item
);
714 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
715 wxListItem
* info
= new wxListItem
;
716 info
->m_itemId
= itemId
;
718 info
->m_mask
= 0xFFFF;
719 self
->GetItem(*info
);
722 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
724 self
->GetItemPosition(item
, pos
);
727 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
729 self
->GetItemRect(item
, rect
, code
);
732 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
733 if (!PyCallable_Check(func
))
735 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
737 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
741 return (wxWindow
*)self
->m_mainWin
;
745 #include <wx/treectrl.h>
746 #include "wx/wxPython/pytree.h"
748 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
749 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
750 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
751 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
752 // C++ version of Python aware wxTreeCtrl
753 class wxPyTreeCtrl
: public wxTreeCtrl
{
754 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
756 wxPyTreeCtrl() : wxTreeCtrl() {}
757 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
761 const wxValidator
& validator
,
762 const wxString
& name
) :
763 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
765 bool Create(wxWindow
*parent
, wxWindowID id
,
769 const wxValidator
& validator
,
770 const wxString
& name
) {
771 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
775 int OnCompareItems(const wxTreeItemId
& item1
,
776 const wxTreeItemId
& item2
) {
779 wxPyBeginBlockThreads();
780 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
781 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
782 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
783 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
787 wxPyEndBlockThreads();
789 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
795 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
799 #if UINT_MAX < LONG_MAX
800 #define SWIG_FromUnsignedInt SWIG_FromLong
802 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
806 SWIGSTATICINLINE(unsigned long)
807 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
808 unsigned long max_value
)
810 if (!PyErr_Occurred()) {
811 if (value
> max_value
) {
813 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
814 value
, type
, max_value
);
815 PyErr_SetObject(PyExc_OverflowError
, err
);
823 #if UINT_MAX != ULONG_MAX
824 SWIGSTATICINLINE(unsigned int)
825 SWIG_AsUnsignedInt(PyObject
*obj
)
827 return swig_numeric_cast(unsigned int,
828 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
829 "unsigned int", UINT_MAX
));
832 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
836 SWIGSTATICINLINE(int)
837 SWIG_CheckUnsignedInt(PyObject
* obj
)
839 SWIG_AsUnsignedInt(obj
);
840 if (PyErr_Occurred()) {
848 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
849 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
851 data
= new wxPyTreeItemData();
852 data
->SetId(item
); // set the id
853 self
->SetItemData(item
, data
);
857 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
858 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
860 data
= new wxPyTreeItemData();
861 data
->SetId(item
); // set the id
862 self
->SetItemData(item
, data
);
864 return data
->GetData();
866 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
867 data
->SetId(item
); // set the id
868 self
->SetItemData(item
, data
);
870 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
871 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
873 data
= new wxPyTreeItemData(obj
);
874 data
->SetId(item
); // set the id
875 self
->SetItemData(item
, data
);
879 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
880 wxPyBeginBlockThreads();
881 PyObject
* rval
= PyList_New(0);
882 wxArrayTreeItemIds array
;
884 num
= self
->GetSelections(array
);
885 for (x
=0; x
< num
; x
++) {
886 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
887 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
888 PyList_Append(rval
, item
);
890 wxPyEndBlockThreads();
893 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
895 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
896 wxPyBeginBlockThreads();
897 PyObject
* tup
= PyTuple_New(2);
898 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
899 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
900 wxPyEndBlockThreads();
903 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
904 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
905 wxPyBeginBlockThreads();
906 PyObject
* tup
= PyTuple_New(2);
907 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
908 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
909 wxPyEndBlockThreads();
912 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
914 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
915 wxPyBeginBlockThreads();
916 wxRect
* r
= new wxRect(rect
);
917 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
918 wxPyEndBlockThreads();
924 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
925 // C++ version of Python aware wxControl
926 class wxPyControl
: public wxControl
928 DECLARE_DYNAMIC_CLASS(wxPyControl
)
930 wxPyControl() : wxControl() {}
931 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
932 const wxPoint
& pos
= wxDefaultPosition
,
933 const wxSize
& size
= wxDefaultSize
,
935 const wxValidator
& validator
=wxDefaultValidator
,
936 const wxString
& name
= wxPyControlNameStr
)
937 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
940 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
941 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
942 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
943 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
945 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
946 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
947 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
949 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
950 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
952 DEC_PYCALLBACK__(InitDialog
);
953 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
954 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
955 DEC_PYCALLBACK_BOOL_(Validate
);
957 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
958 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
959 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
961 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
962 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
964 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
969 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
971 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
972 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
973 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
974 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
976 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
977 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
978 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
980 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
981 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
983 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
984 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
985 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
986 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
988 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
989 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
990 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
992 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
993 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
995 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, ShouldInheritColours
);
999 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1001 #include <wx/generic/dragimgg.h>
1006 static int _wrap_ButtonNameStr_set(PyObject
*) {
1007 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1012 static PyObject
*_wrap_ButtonNameStr_get() {
1017 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1019 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1026 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1027 PyObject
*resultobj
;
1028 wxWindow
*arg1
= (wxWindow
*) 0 ;
1030 wxString
*arg3
= 0 ;
1031 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1032 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1033 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1034 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1035 long arg6
= (long) 0 ;
1036 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1037 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1038 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1039 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1041 bool temp3
= False
;
1044 bool temp8
= False
;
1045 PyObject
* obj0
= 0 ;
1046 PyObject
* obj1
= 0 ;
1047 PyObject
* obj2
= 0 ;
1048 PyObject
* obj3
= 0 ;
1049 PyObject
* obj4
= 0 ;
1050 PyObject
* obj5
= 0 ;
1051 PyObject
* obj6
= 0 ;
1052 PyObject
* obj7
= 0 ;
1054 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1060 arg2
= (int) SWIG_AsInt(obj1
);
1061 if (PyErr_Occurred()) SWIG_fail
;
1063 arg3
= wxString_in_helper(obj2
);
1064 if (arg3
== NULL
) SWIG_fail
;
1070 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1076 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1080 arg6
= (long) SWIG_AsLong(obj5
);
1081 if (PyErr_Occurred()) SWIG_fail
;
1084 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1085 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1088 PyErr_SetString(PyExc_TypeError
,"null reference");
1094 arg8
= wxString_in_helper(obj7
);
1095 if (arg8
== NULL
) SWIG_fail
;
1100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1101 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1103 wxPyEndAllowThreads(__tstate
);
1104 if (PyErr_Occurred()) SWIG_fail
;
1107 resultobj
= wxPyMake_wxObject(result
);
1131 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1132 PyObject
*resultobj
;
1138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1141 result
= (wxButton
*)new wxButton();
1143 wxPyEndAllowThreads(__tstate
);
1144 if (PyErr_Occurred()) SWIG_fail
;
1147 resultobj
= wxPyMake_wxObject(result
);
1155 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1156 PyObject
*resultobj
;
1157 wxButton
*arg1
= (wxButton
*) 0 ;
1158 wxWindow
*arg2
= (wxWindow
*) 0 ;
1160 wxString
*arg4
= 0 ;
1161 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1162 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1163 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1164 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1165 long arg7
= (long) 0 ;
1166 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1167 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1168 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1169 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1171 bool temp4
= False
;
1174 bool temp9
= False
;
1175 PyObject
* obj0
= 0 ;
1176 PyObject
* obj1
= 0 ;
1177 PyObject
* obj2
= 0 ;
1178 PyObject
* obj3
= 0 ;
1179 PyObject
* obj4
= 0 ;
1180 PyObject
* obj5
= 0 ;
1181 PyObject
* obj6
= 0 ;
1182 PyObject
* obj7
= 0 ;
1183 PyObject
* obj8
= 0 ;
1185 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1191 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1193 arg3
= (int) SWIG_AsInt(obj2
);
1194 if (PyErr_Occurred()) SWIG_fail
;
1196 arg4
= wxString_in_helper(obj3
);
1197 if (arg4
== NULL
) SWIG_fail
;
1203 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1209 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1213 arg7
= (long) SWIG_AsLong(obj6
);
1214 if (PyErr_Occurred()) SWIG_fail
;
1217 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1218 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1221 PyErr_SetString(PyExc_TypeError
,"null reference");
1227 arg9
= wxString_in_helper(obj8
);
1228 if (arg9
== NULL
) SWIG_fail
;
1233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1234 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1236 wxPyEndAllowThreads(__tstate
);
1237 if (PyErr_Occurred()) SWIG_fail
;
1239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1262 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1263 PyObject
*resultobj
;
1264 wxButton
*arg1
= (wxButton
*) 0 ;
1265 PyObject
* obj0
= 0 ;
1267 (char *) "self", NULL
1270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1275 (arg1
)->SetDefault();
1277 wxPyEndAllowThreads(__tstate
);
1278 if (PyErr_Occurred()) SWIG_fail
;
1280 Py_INCREF(Py_None
); resultobj
= Py_None
;
1287 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1288 PyObject
*resultobj
;
1294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1297 result
= wxButton::GetDefaultSize();
1299 wxPyEndAllowThreads(__tstate
);
1300 if (PyErr_Occurred()) SWIG_fail
;
1304 resultptr
= new wxSize((wxSize
&) result
);
1305 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1313 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
1315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1316 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1318 return Py_BuildValue((char *)"");
1320 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1321 PyObject
*resultobj
;
1322 wxWindow
*arg1
= (wxWindow
*) 0 ;
1324 wxBitmap
*arg3
= 0 ;
1325 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1326 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1327 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1328 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1329 long arg6
= (long) wxBU_AUTODRAW
;
1330 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1331 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1332 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1333 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1334 wxBitmapButton
*result
;
1337 bool temp8
= False
;
1338 PyObject
* obj0
= 0 ;
1339 PyObject
* obj1
= 0 ;
1340 PyObject
* obj2
= 0 ;
1341 PyObject
* obj3
= 0 ;
1342 PyObject
* obj4
= 0 ;
1343 PyObject
* obj5
= 0 ;
1344 PyObject
* obj6
= 0 ;
1345 PyObject
* obj7
= 0 ;
1347 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1353 arg2
= (int) SWIG_AsInt(obj1
);
1354 if (PyErr_Occurred()) SWIG_fail
;
1355 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1356 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1359 PyErr_SetString(PyExc_TypeError
,"null reference");
1365 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1371 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1375 arg6
= (long) SWIG_AsLong(obj5
);
1376 if (PyErr_Occurred()) SWIG_fail
;
1379 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1380 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1383 PyErr_SetString(PyExc_TypeError
,"null reference");
1389 arg8
= wxString_in_helper(obj7
);
1390 if (arg8
== NULL
) SWIG_fail
;
1395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1396 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1398 wxPyEndAllowThreads(__tstate
);
1399 if (PyErr_Occurred()) SWIG_fail
;
1402 resultobj
= wxPyMake_wxObject(result
);
1418 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
*resultobj
;
1420 wxBitmapButton
*result
;
1425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1428 result
= (wxBitmapButton
*)new wxBitmapButton();
1430 wxPyEndAllowThreads(__tstate
);
1431 if (PyErr_Occurred()) SWIG_fail
;
1434 resultobj
= wxPyMake_wxObject(result
);
1442 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
*resultobj
;
1444 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1445 wxWindow
*arg2
= (wxWindow
*) 0 ;
1447 wxBitmap
*arg4
= 0 ;
1448 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1449 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1450 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1451 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1452 long arg7
= (long) wxBU_AUTODRAW
;
1453 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1454 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1455 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1456 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1460 bool temp9
= False
;
1461 PyObject
* obj0
= 0 ;
1462 PyObject
* obj1
= 0 ;
1463 PyObject
* obj2
= 0 ;
1464 PyObject
* obj3
= 0 ;
1465 PyObject
* obj4
= 0 ;
1466 PyObject
* obj5
= 0 ;
1467 PyObject
* obj6
= 0 ;
1468 PyObject
* obj7
= 0 ;
1469 PyObject
* obj8
= 0 ;
1471 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1479 arg3
= (int) SWIG_AsInt(obj2
);
1480 if (PyErr_Occurred()) SWIG_fail
;
1481 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1482 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1485 PyErr_SetString(PyExc_TypeError
,"null reference");
1491 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1497 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1501 arg7
= (long) SWIG_AsLong(obj6
);
1502 if (PyErr_Occurred()) SWIG_fail
;
1505 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1506 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1509 PyErr_SetString(PyExc_TypeError
,"null reference");
1515 arg9
= wxString_in_helper(obj8
);
1516 if (arg9
== NULL
) SWIG_fail
;
1521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1522 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1524 wxPyEndAllowThreads(__tstate
);
1525 if (PyErr_Occurred()) SWIG_fail
;
1527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1542 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1543 PyObject
*resultobj
;
1544 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1546 PyObject
* obj0
= 0 ;
1548 (char *) "self", NULL
1551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1556 result
= (arg1
)->GetBitmapLabel();
1558 wxPyEndAllowThreads(__tstate
);
1559 if (PyErr_Occurred()) SWIG_fail
;
1562 wxBitmap
* resultptr
;
1563 resultptr
= new wxBitmap((wxBitmap
&) result
);
1564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1572 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1573 PyObject
*resultobj
;
1574 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1576 PyObject
* obj0
= 0 ;
1578 (char *) "self", NULL
1581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1586 result
= (arg1
)->GetBitmapDisabled();
1588 wxPyEndAllowThreads(__tstate
);
1589 if (PyErr_Occurred()) SWIG_fail
;
1592 wxBitmap
* resultptr
;
1593 resultptr
= new wxBitmap((wxBitmap
&) result
);
1594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1602 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1603 PyObject
*resultobj
;
1604 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1606 PyObject
* obj0
= 0 ;
1608 (char *) "self", NULL
1611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1616 result
= (arg1
)->GetBitmapFocus();
1618 wxPyEndAllowThreads(__tstate
);
1619 if (PyErr_Occurred()) SWIG_fail
;
1622 wxBitmap
* resultptr
;
1623 resultptr
= new wxBitmap((wxBitmap
&) result
);
1624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1632 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1633 PyObject
*resultobj
;
1634 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1636 PyObject
* obj0
= 0 ;
1638 (char *) "self", NULL
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1646 result
= (arg1
)->GetBitmapSelected();
1648 wxPyEndAllowThreads(__tstate
);
1649 if (PyErr_Occurred()) SWIG_fail
;
1652 wxBitmap
* resultptr
;
1653 resultptr
= new wxBitmap((wxBitmap
&) result
);
1654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1662 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
*resultobj
;
1664 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1665 wxBitmap
*arg2
= 0 ;
1666 PyObject
* obj0
= 0 ;
1667 PyObject
* obj1
= 0 ;
1669 (char *) "self",(char *) "bitmap", NULL
1672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1676 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1679 PyErr_SetString(PyExc_TypeError
,"null reference");
1683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1684 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1686 wxPyEndAllowThreads(__tstate
);
1687 if (PyErr_Occurred()) SWIG_fail
;
1689 Py_INCREF(Py_None
); resultobj
= Py_None
;
1696 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1697 PyObject
*resultobj
;
1698 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1699 wxBitmap
*arg2
= 0 ;
1700 PyObject
* obj0
= 0 ;
1701 PyObject
* obj1
= 0 ;
1703 (char *) "self",(char *) "bitmap", NULL
1706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1710 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1713 PyErr_SetString(PyExc_TypeError
,"null reference");
1717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1718 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1720 wxPyEndAllowThreads(__tstate
);
1721 if (PyErr_Occurred()) SWIG_fail
;
1723 Py_INCREF(Py_None
); resultobj
= Py_None
;
1730 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1731 PyObject
*resultobj
;
1732 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1733 wxBitmap
*arg2
= 0 ;
1734 PyObject
* obj0
= 0 ;
1735 PyObject
* obj1
= 0 ;
1737 (char *) "self",(char *) "bitmap", NULL
1740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1743 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1744 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1747 PyErr_SetString(PyExc_TypeError
,"null reference");
1751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1752 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1754 wxPyEndAllowThreads(__tstate
);
1755 if (PyErr_Occurred()) SWIG_fail
;
1757 Py_INCREF(Py_None
); resultobj
= Py_None
;
1764 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
*resultobj
;
1766 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1767 wxBitmap
*arg2
= 0 ;
1768 PyObject
* obj0
= 0 ;
1769 PyObject
* obj1
= 0 ;
1771 (char *) "self",(char *) "bitmap", NULL
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1778 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1781 PyErr_SetString(PyExc_TypeError
,"null reference");
1785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1786 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1788 wxPyEndAllowThreads(__tstate
);
1789 if (PyErr_Occurred()) SWIG_fail
;
1791 Py_INCREF(Py_None
); resultobj
= Py_None
;
1798 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
*resultobj
;
1800 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1803 PyObject
* obj0
= 0 ;
1804 PyObject
* obj1
= 0 ;
1805 PyObject
* obj2
= 0 ;
1807 (char *) "self",(char *) "x",(char *) "y", NULL
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1813 arg2
= (int) SWIG_AsInt(obj1
);
1814 if (PyErr_Occurred()) SWIG_fail
;
1815 arg3
= (int) SWIG_AsInt(obj2
);
1816 if (PyErr_Occurred()) SWIG_fail
;
1818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1819 (arg1
)->SetMargins(arg2
,arg3
);
1821 wxPyEndAllowThreads(__tstate
);
1822 if (PyErr_Occurred()) SWIG_fail
;
1824 Py_INCREF(Py_None
); resultobj
= Py_None
;
1831 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
*resultobj
;
1833 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1835 PyObject
* obj0
= 0 ;
1837 (char *) "self", NULL
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1845 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1847 wxPyEndAllowThreads(__tstate
);
1848 if (PyErr_Occurred()) SWIG_fail
;
1850 resultobj
= SWIG_FromInt((int)result
);
1857 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1858 PyObject
*resultobj
;
1859 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1861 PyObject
* obj0
= 0 ;
1863 (char *) "self", NULL
1866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1871 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1873 wxPyEndAllowThreads(__tstate
);
1874 if (PyErr_Occurred()) SWIG_fail
;
1876 resultobj
= SWIG_FromInt((int)result
);
1883 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
1885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1886 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1888 return Py_BuildValue((char *)"");
1890 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
1891 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1896 static PyObject
*_wrap_CheckBoxNameStr_get() {
1901 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1903 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1910 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
*resultobj
;
1912 wxWindow
*arg1
= (wxWindow
*) 0 ;
1914 wxString
*arg3
= 0 ;
1915 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1916 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1917 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1918 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1919 long arg6
= (long) 0 ;
1920 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1921 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1922 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1923 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1925 bool temp3
= False
;
1928 bool temp8
= False
;
1929 PyObject
* obj0
= 0 ;
1930 PyObject
* obj1
= 0 ;
1931 PyObject
* obj2
= 0 ;
1932 PyObject
* obj3
= 0 ;
1933 PyObject
* obj4
= 0 ;
1934 PyObject
* obj5
= 0 ;
1935 PyObject
* obj6
= 0 ;
1936 PyObject
* obj7
= 0 ;
1938 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1944 arg2
= (int) SWIG_AsInt(obj1
);
1945 if (PyErr_Occurred()) SWIG_fail
;
1947 arg3
= wxString_in_helper(obj2
);
1948 if (arg3
== NULL
) SWIG_fail
;
1954 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1960 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1964 arg6
= (long) SWIG_AsLong(obj5
);
1965 if (PyErr_Occurred()) SWIG_fail
;
1968 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1969 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1972 PyErr_SetString(PyExc_TypeError
,"null reference");
1978 arg8
= wxString_in_helper(obj7
);
1979 if (arg8
== NULL
) SWIG_fail
;
1984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1985 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1987 wxPyEndAllowThreads(__tstate
);
1988 if (PyErr_Occurred()) SWIG_fail
;
1990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2013 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
*resultobj
;
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2023 result
= (wxCheckBox
*)new wxCheckBox();
2025 wxPyEndAllowThreads(__tstate
);
2026 if (PyErr_Occurred()) SWIG_fail
;
2028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2035 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2036 PyObject
*resultobj
;
2037 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2038 wxWindow
*arg2
= (wxWindow
*) 0 ;
2040 wxString
*arg4
= 0 ;
2041 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2042 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2043 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2044 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2045 long arg7
= (long) 0 ;
2046 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2047 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2048 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2049 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2051 bool temp4
= False
;
2054 bool temp9
= False
;
2055 PyObject
* obj0
= 0 ;
2056 PyObject
* obj1
= 0 ;
2057 PyObject
* obj2
= 0 ;
2058 PyObject
* obj3
= 0 ;
2059 PyObject
* obj4
= 0 ;
2060 PyObject
* obj5
= 0 ;
2061 PyObject
* obj6
= 0 ;
2062 PyObject
* obj7
= 0 ;
2063 PyObject
* obj8
= 0 ;
2065 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2073 arg3
= (int) SWIG_AsInt(obj2
);
2074 if (PyErr_Occurred()) SWIG_fail
;
2076 arg4
= wxString_in_helper(obj3
);
2077 if (arg4
== NULL
) SWIG_fail
;
2083 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2089 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2093 arg7
= (long) SWIG_AsLong(obj6
);
2094 if (PyErr_Occurred()) SWIG_fail
;
2097 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2098 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2101 PyErr_SetString(PyExc_TypeError
,"null reference");
2107 arg9
= wxString_in_helper(obj8
);
2108 if (arg9
== NULL
) SWIG_fail
;
2113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2114 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2116 wxPyEndAllowThreads(__tstate
);
2117 if (PyErr_Occurred()) SWIG_fail
;
2119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2142 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
*resultobj
;
2144 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2146 PyObject
* obj0
= 0 ;
2148 (char *) "self", NULL
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2156 result
= (bool)(arg1
)->GetValue();
2158 wxPyEndAllowThreads(__tstate
);
2159 if (PyErr_Occurred()) SWIG_fail
;
2161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2168 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2169 PyObject
*resultobj
;
2170 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2172 PyObject
* obj0
= 0 ;
2174 (char *) "self", NULL
2177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2182 result
= (bool)(arg1
)->IsChecked();
2184 wxPyEndAllowThreads(__tstate
);
2185 if (PyErr_Occurred()) SWIG_fail
;
2187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2194 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
*resultobj
;
2196 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2198 PyObject
* obj0
= 0 ;
2199 PyObject
* obj1
= 0 ;
2201 (char *) "self",(char *) "state", NULL
2204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2207 arg2
= (bool const) SWIG_AsBool(obj1
);
2208 if (PyErr_Occurred()) SWIG_fail
;
2210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2211 (arg1
)->SetValue(arg2
);
2213 wxPyEndAllowThreads(__tstate
);
2214 if (PyErr_Occurred()) SWIG_fail
;
2216 Py_INCREF(Py_None
); resultobj
= Py_None
;
2223 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
*resultobj
;
2225 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2227 PyObject
* obj0
= 0 ;
2229 (char *) "self", NULL
2232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2237 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2239 wxPyEndAllowThreads(__tstate
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2242 resultobj
= SWIG_FromInt((int)result
);
2249 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2250 PyObject
*resultobj
;
2251 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2253 PyObject
* obj0
= 0 ;
2254 PyObject
* obj1
= 0 ;
2256 (char *) "self",(char *) "state", NULL
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2262 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2263 if (PyErr_Occurred()) SWIG_fail
;
2265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2266 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2268 wxPyEndAllowThreads(__tstate
);
2269 if (PyErr_Occurred()) SWIG_fail
;
2271 Py_INCREF(Py_None
); resultobj
= Py_None
;
2278 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2279 PyObject
*resultobj
;
2280 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2282 PyObject
* obj0
= 0 ;
2284 (char *) "self", NULL
2287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2292 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2294 wxPyEndAllowThreads(__tstate
);
2295 if (PyErr_Occurred()) SWIG_fail
;
2297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2304 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2305 PyObject
*resultobj
;
2306 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2308 PyObject
* obj0
= 0 ;
2310 (char *) "self", NULL
2313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2318 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2320 wxPyEndAllowThreads(__tstate
);
2321 if (PyErr_Occurred()) SWIG_fail
;
2323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2330 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
2332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2333 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2335 return Py_BuildValue((char *)"");
2337 static int _wrap_ChoiceNameStr_set(PyObject
*) {
2338 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2343 static PyObject
*_wrap_ChoiceNameStr_get() {
2348 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2350 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2357 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
*resultobj
;
2359 wxWindow
*arg1
= (wxWindow
*) 0 ;
2361 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2362 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2363 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2364 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2365 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2366 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2367 long arg6
= (long) 0 ;
2368 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2369 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2370 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2371 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2375 bool temp5
= False
;
2376 bool temp8
= False
;
2377 PyObject
* obj0
= 0 ;
2378 PyObject
* obj1
= 0 ;
2379 PyObject
* obj2
= 0 ;
2380 PyObject
* obj3
= 0 ;
2381 PyObject
* obj4
= 0 ;
2382 PyObject
* obj5
= 0 ;
2383 PyObject
* obj6
= 0 ;
2384 PyObject
* obj7
= 0 ;
2386 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2392 arg2
= (int) SWIG_AsInt(obj1
);
2393 if (PyErr_Occurred()) SWIG_fail
;
2397 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2403 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2408 if (! PySequence_Check(obj4
)) {
2409 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2412 arg5
= new wxArrayString
;
2414 int i
, len
=PySequence_Length(obj4
);
2415 for (i
=0; i
<len
; i
++) {
2416 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2418 PyObject
* str
= PyObject_Unicode(item
);
2420 PyObject
* str
= PyObject_Str(item
);
2422 arg5
->Add(Py2wxString(str
));
2429 arg6
= (long) SWIG_AsLong(obj5
);
2430 if (PyErr_Occurred()) SWIG_fail
;
2433 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2434 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2437 PyErr_SetString(PyExc_TypeError
,"null reference");
2443 arg8
= wxString_in_helper(obj7
);
2444 if (arg8
== NULL
) SWIG_fail
;
2449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2450 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2452 wxPyEndAllowThreads(__tstate
);
2453 if (PyErr_Occurred()) SWIG_fail
;
2455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2457 if (temp5
) delete arg5
;
2466 if (temp5
) delete arg5
;
2476 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2477 PyObject
*resultobj
;
2483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2486 result
= (wxChoice
*)new wxChoice();
2488 wxPyEndAllowThreads(__tstate
);
2489 if (PyErr_Occurred()) SWIG_fail
;
2491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2498 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2499 PyObject
*resultobj
;
2500 wxChoice
*arg1
= (wxChoice
*) 0 ;
2501 wxWindow
*arg2
= (wxWindow
*) 0 ;
2503 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2504 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2505 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2506 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2507 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2508 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2509 long arg7
= (long) 0 ;
2510 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2511 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2512 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2513 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2517 bool temp6
= False
;
2518 bool temp9
= False
;
2519 PyObject
* obj0
= 0 ;
2520 PyObject
* obj1
= 0 ;
2521 PyObject
* obj2
= 0 ;
2522 PyObject
* obj3
= 0 ;
2523 PyObject
* obj4
= 0 ;
2524 PyObject
* obj5
= 0 ;
2525 PyObject
* obj6
= 0 ;
2526 PyObject
* obj7
= 0 ;
2527 PyObject
* obj8
= 0 ;
2529 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2537 arg3
= (int) SWIG_AsInt(obj2
);
2538 if (PyErr_Occurred()) SWIG_fail
;
2542 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2548 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2553 if (! PySequence_Check(obj5
)) {
2554 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2557 arg6
= new wxArrayString
;
2559 int i
, len
=PySequence_Length(obj5
);
2560 for (i
=0; i
<len
; i
++) {
2561 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2563 PyObject
* str
= PyObject_Unicode(item
);
2565 PyObject
* str
= PyObject_Str(item
);
2567 arg6
->Add(Py2wxString(str
));
2574 arg7
= (long) SWIG_AsLong(obj6
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2578 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2582 PyErr_SetString(PyExc_TypeError
,"null reference");
2588 arg9
= wxString_in_helper(obj8
);
2589 if (arg9
== NULL
) SWIG_fail
;
2594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2595 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2597 wxPyEndAllowThreads(__tstate
);
2598 if (PyErr_Occurred()) SWIG_fail
;
2600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2602 if (temp6
) delete arg6
;
2611 if (temp6
) delete arg6
;
2621 static PyObject
*_wrap_Choice_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2622 PyObject
*resultobj
;
2623 wxChoice
*arg1
= (wxChoice
*) 0 ;
2625 PyObject
* obj0
= 0 ;
2626 PyObject
* obj1
= 0 ;
2628 (char *) "self",(char *) "n", NULL
2631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2634 arg2
= (int const) SWIG_AsInt(obj1
);
2635 if (PyErr_Occurred()) SWIG_fail
;
2637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2638 (arg1
)->SetSelection(arg2
);
2640 wxPyEndAllowThreads(__tstate
);
2641 if (PyErr_Occurred()) SWIG_fail
;
2643 Py_INCREF(Py_None
); resultobj
= Py_None
;
2650 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2651 PyObject
*resultobj
;
2652 wxChoice
*arg1
= (wxChoice
*) 0 ;
2653 wxString
*arg2
= 0 ;
2654 bool temp2
= False
;
2655 PyObject
* obj0
= 0 ;
2656 PyObject
* obj1
= 0 ;
2658 (char *) "self",(char *) "string", NULL
2661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2665 arg2
= wxString_in_helper(obj1
);
2666 if (arg2
== NULL
) SWIG_fail
;
2670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2671 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2673 wxPyEndAllowThreads(__tstate
);
2674 if (PyErr_Occurred()) SWIG_fail
;
2676 Py_INCREF(Py_None
); resultobj
= Py_None
;
2691 static PyObject
*_wrap_Choice_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2692 PyObject
*resultobj
;
2693 wxChoice
*arg1
= (wxChoice
*) 0 ;
2695 wxString
*arg3
= 0 ;
2696 bool temp3
= False
;
2697 PyObject
* obj0
= 0 ;
2698 PyObject
* obj1
= 0 ;
2699 PyObject
* obj2
= 0 ;
2701 (char *) "self",(char *) "n",(char *) "string", NULL
2704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2707 arg2
= (int) SWIG_AsInt(obj1
);
2708 if (PyErr_Occurred()) SWIG_fail
;
2710 arg3
= wxString_in_helper(obj2
);
2711 if (arg3
== NULL
) SWIG_fail
;
2715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2716 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2718 wxPyEndAllowThreads(__tstate
);
2719 if (PyErr_Occurred()) SWIG_fail
;
2721 Py_INCREF(Py_None
); resultobj
= Py_None
;
2736 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
2738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2739 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2741 return Py_BuildValue((char *)"");
2743 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
2744 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2749 static PyObject
*_wrap_ComboBoxNameStr_get() {
2754 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2756 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2763 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2764 PyObject
*resultobj
;
2765 wxWindow
*arg1
= (wxWindow
*) 0 ;
2767 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2768 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2769 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2770 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2771 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2772 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2773 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2774 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2775 long arg7
= (long) 0 ;
2776 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2777 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2778 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2779 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2781 bool temp3
= False
;
2784 bool temp6
= False
;
2785 bool temp9
= False
;
2786 PyObject
* obj0
= 0 ;
2787 PyObject
* obj1
= 0 ;
2788 PyObject
* obj2
= 0 ;
2789 PyObject
* obj3
= 0 ;
2790 PyObject
* obj4
= 0 ;
2791 PyObject
* obj5
= 0 ;
2792 PyObject
* obj6
= 0 ;
2793 PyObject
* obj7
= 0 ;
2794 PyObject
* obj8
= 0 ;
2796 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2802 arg2
= (int) SWIG_AsInt(obj1
);
2803 if (PyErr_Occurred()) SWIG_fail
;
2806 arg3
= wxString_in_helper(obj2
);
2807 if (arg3
== NULL
) SWIG_fail
;
2814 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2820 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2825 if (! PySequence_Check(obj5
)) {
2826 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2829 arg6
= new wxArrayString
;
2831 int i
, len
=PySequence_Length(obj5
);
2832 for (i
=0; i
<len
; i
++) {
2833 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2835 PyObject
* str
= PyObject_Unicode(item
);
2837 PyObject
* str
= PyObject_Str(item
);
2839 arg6
->Add(Py2wxString(str
));
2846 arg7
= (long) SWIG_AsLong(obj6
);
2847 if (PyErr_Occurred()) SWIG_fail
;
2850 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2851 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2854 PyErr_SetString(PyExc_TypeError
,"null reference");
2860 arg9
= wxString_in_helper(obj8
);
2861 if (arg9
== NULL
) SWIG_fail
;
2866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2867 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2869 wxPyEndAllowThreads(__tstate
);
2870 if (PyErr_Occurred()) SWIG_fail
;
2872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2878 if (temp6
) delete arg6
;
2891 if (temp6
) delete arg6
;
2901 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2902 PyObject
*resultobj
;
2908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2911 result
= (wxComboBox
*)new wxComboBox();
2913 wxPyEndAllowThreads(__tstate
);
2914 if (PyErr_Occurred()) SWIG_fail
;
2916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2923 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2924 PyObject
*resultobj
;
2925 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2926 wxWindow
*arg2
= (wxWindow
*) 0 ;
2928 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2929 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2930 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2931 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2932 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2933 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2934 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2935 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2936 long arg8
= (long) 0 ;
2937 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2938 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2939 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2940 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2942 bool temp4
= False
;
2945 bool temp7
= False
;
2946 bool temp10
= False
;
2947 PyObject
* obj0
= 0 ;
2948 PyObject
* obj1
= 0 ;
2949 PyObject
* obj2
= 0 ;
2950 PyObject
* obj3
= 0 ;
2951 PyObject
* obj4
= 0 ;
2952 PyObject
* obj5
= 0 ;
2953 PyObject
* obj6
= 0 ;
2954 PyObject
* obj7
= 0 ;
2955 PyObject
* obj8
= 0 ;
2956 PyObject
* obj9
= 0 ;
2958 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
2963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2966 arg3
= (int) SWIG_AsInt(obj2
);
2967 if (PyErr_Occurred()) SWIG_fail
;
2970 arg4
= wxString_in_helper(obj3
);
2971 if (arg4
== NULL
) SWIG_fail
;
2978 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2984 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2989 if (! PySequence_Check(obj6
)) {
2990 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2993 arg7
= new wxArrayString
;
2995 int i
, len
=PySequence_Length(obj6
);
2996 for (i
=0; i
<len
; i
++) {
2997 PyObject
* item
= PySequence_GetItem(obj6
, i
);
2999 PyObject
* str
= PyObject_Unicode(item
);
3001 PyObject
* str
= PyObject_Str(item
);
3003 arg7
->Add(Py2wxString(str
));
3010 arg8
= (long) SWIG_AsLong(obj7
);
3011 if (PyErr_Occurred()) SWIG_fail
;
3014 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3015 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3018 PyErr_SetString(PyExc_TypeError
,"null reference");
3024 arg10
= wxString_in_helper(obj9
);
3025 if (arg10
== NULL
) SWIG_fail
;
3030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3031 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
3033 wxPyEndAllowThreads(__tstate
);
3034 if (PyErr_Occurred()) SWIG_fail
;
3036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3042 if (temp7
) delete arg7
;
3055 if (temp7
) delete arg7
;
3065 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3066 PyObject
*resultobj
;
3067 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3069 PyObject
* obj0
= 0 ;
3071 (char *) "self", NULL
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3079 result
= ((wxComboBox
const *)arg1
)->GetValue();
3081 wxPyEndAllowThreads(__tstate
);
3082 if (PyErr_Occurred()) SWIG_fail
;
3086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3097 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
*resultobj
;
3099 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3100 wxString
*arg2
= 0 ;
3101 bool temp2
= False
;
3102 PyObject
* obj0
= 0 ;
3103 PyObject
* obj1
= 0 ;
3105 (char *) "self",(char *) "value", NULL
3108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3112 arg2
= wxString_in_helper(obj1
);
3113 if (arg2
== NULL
) SWIG_fail
;
3117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3118 (arg1
)->SetValue((wxString
const &)*arg2
);
3120 wxPyEndAllowThreads(__tstate
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3123 Py_INCREF(Py_None
); resultobj
= Py_None
;
3138 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
*resultobj
;
3140 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3141 PyObject
* obj0
= 0 ;
3143 (char *) "self", NULL
3146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3156 Py_INCREF(Py_None
); resultobj
= Py_None
;
3163 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
*resultobj
;
3165 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3166 PyObject
* obj0
= 0 ;
3168 (char *) "self", NULL
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 wxPyEndAllowThreads(__tstate
);
3179 if (PyErr_Occurred()) SWIG_fail
;
3181 Py_INCREF(Py_None
); resultobj
= Py_None
;
3188 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3189 PyObject
*resultobj
;
3190 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3191 PyObject
* obj0
= 0 ;
3193 (char *) "self", NULL
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3203 wxPyEndAllowThreads(__tstate
);
3204 if (PyErr_Occurred()) SWIG_fail
;
3206 Py_INCREF(Py_None
); resultobj
= Py_None
;
3213 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
*resultobj
;
3215 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3217 PyObject
* obj0
= 0 ;
3218 PyObject
* obj1
= 0 ;
3220 (char *) "self",(char *) "pos", NULL
3223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3226 arg2
= (long) SWIG_AsLong(obj1
);
3227 if (PyErr_Occurred()) SWIG_fail
;
3229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3230 (arg1
)->SetInsertionPoint(arg2
);
3232 wxPyEndAllowThreads(__tstate
);
3233 if (PyErr_Occurred()) SWIG_fail
;
3235 Py_INCREF(Py_None
); resultobj
= Py_None
;
3242 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3243 PyObject
*resultobj
;
3244 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3246 PyObject
* obj0
= 0 ;
3248 (char *) "self", NULL
3251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3256 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3258 wxPyEndAllowThreads(__tstate
);
3259 if (PyErr_Occurred()) SWIG_fail
;
3261 resultobj
= SWIG_FromLong((long)result
);
3268 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3269 PyObject
*resultobj
;
3270 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3272 PyObject
* obj0
= 0 ;
3274 (char *) "self", NULL
3277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3282 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3287 resultobj
= SWIG_FromLong((long)result
);
3294 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3295 PyObject
*resultobj
;
3296 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3299 wxString
*arg4
= 0 ;
3300 bool temp4
= False
;
3301 PyObject
* obj0
= 0 ;
3302 PyObject
* obj1
= 0 ;
3303 PyObject
* obj2
= 0 ;
3304 PyObject
* obj3
= 0 ;
3306 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3312 arg2
= (long) SWIG_AsLong(obj1
);
3313 if (PyErr_Occurred()) SWIG_fail
;
3314 arg3
= (long) SWIG_AsLong(obj2
);
3315 if (PyErr_Occurred()) SWIG_fail
;
3317 arg4
= wxString_in_helper(obj3
);
3318 if (arg4
== NULL
) SWIG_fail
;
3322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3323 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3325 wxPyEndAllowThreads(__tstate
);
3326 if (PyErr_Occurred()) SWIG_fail
;
3328 Py_INCREF(Py_None
); resultobj
= Py_None
;
3343 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
*resultobj
;
3345 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3347 PyObject
* obj0
= 0 ;
3348 PyObject
* obj1
= 0 ;
3350 (char *) "self",(char *) "n", NULL
3353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3356 arg2
= (int) SWIG_AsInt(obj1
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3360 (arg1
)->SetSelection(arg2
);
3362 wxPyEndAllowThreads(__tstate
);
3363 if (PyErr_Occurred()) SWIG_fail
;
3365 Py_INCREF(Py_None
); resultobj
= Py_None
;
3372 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
*resultobj
;
3374 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3377 PyObject
* obj0
= 0 ;
3378 PyObject
* obj1
= 0 ;
3379 PyObject
* obj2
= 0 ;
3381 (char *) "self",(char *) "from",(char *) "to", NULL
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3387 arg2
= (long) SWIG_AsLong(obj1
);
3388 if (PyErr_Occurred()) SWIG_fail
;
3389 arg3
= (long) SWIG_AsLong(obj2
);
3390 if (PyErr_Occurred()) SWIG_fail
;
3392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3393 (arg1
)->SetSelection(arg2
,arg3
);
3395 wxPyEndAllowThreads(__tstate
);
3396 if (PyErr_Occurred()) SWIG_fail
;
3398 Py_INCREF(Py_None
); resultobj
= Py_None
;
3405 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
*resultobj
;
3407 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3409 PyObject
* obj0
= 0 ;
3410 PyObject
* obj1
= 0 ;
3412 (char *) "self",(char *) "editable", NULL
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3418 arg2
= (bool) SWIG_AsBool(obj1
);
3419 if (PyErr_Occurred()) SWIG_fail
;
3421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 (arg1
)->SetEditable(arg2
);
3424 wxPyEndAllowThreads(__tstate
);
3425 if (PyErr_Occurred()) SWIG_fail
;
3427 Py_INCREF(Py_None
); resultobj
= Py_None
;
3434 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3435 PyObject
*resultobj
;
3436 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3437 PyObject
* obj0
= 0 ;
3439 (char *) "self", NULL
3442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3447 (arg1
)->SetInsertionPointEnd();
3449 wxPyEndAllowThreads(__tstate
);
3450 if (PyErr_Occurred()) SWIG_fail
;
3452 Py_INCREF(Py_None
); resultobj
= Py_None
;
3459 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
*resultobj
;
3461 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3464 PyObject
* obj0
= 0 ;
3465 PyObject
* obj1
= 0 ;
3466 PyObject
* obj2
= 0 ;
3468 (char *) "self",(char *) "from",(char *) "to", NULL
3471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3474 arg2
= (long) SWIG_AsLong(obj1
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3476 arg3
= (long) SWIG_AsLong(obj2
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3480 (arg1
)->Remove(arg2
,arg3
);
3482 wxPyEndAllowThreads(__tstate
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3485 Py_INCREF(Py_None
); resultobj
= Py_None
;
3492 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
3494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3495 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3497 return Py_BuildValue((char *)"");
3499 static int _wrap_GaugeNameStr_set(PyObject
*) {
3500 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3505 static PyObject
*_wrap_GaugeNameStr_get() {
3510 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3512 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3519 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
*resultobj
;
3521 wxWindow
*arg1
= (wxWindow
*) 0 ;
3524 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3525 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3526 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3527 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3528 long arg6
= (long) wxGA_HORIZONTAL
;
3529 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3530 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3531 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3532 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3536 bool temp8
= False
;
3537 PyObject
* obj0
= 0 ;
3538 PyObject
* obj1
= 0 ;
3539 PyObject
* obj2
= 0 ;
3540 PyObject
* obj3
= 0 ;
3541 PyObject
* obj4
= 0 ;
3542 PyObject
* obj5
= 0 ;
3543 PyObject
* obj6
= 0 ;
3544 PyObject
* obj7
= 0 ;
3546 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3552 arg2
= (int) SWIG_AsInt(obj1
);
3553 if (PyErr_Occurred()) SWIG_fail
;
3554 arg3
= (int) SWIG_AsInt(obj2
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3559 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3565 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3569 arg6
= (long) SWIG_AsLong(obj5
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3573 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3577 PyErr_SetString(PyExc_TypeError
,"null reference");
3583 arg8
= wxString_in_helper(obj7
);
3584 if (arg8
== NULL
) SWIG_fail
;
3589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3590 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3592 wxPyEndAllowThreads(__tstate
);
3593 if (PyErr_Occurred()) SWIG_fail
;
3595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3610 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
*resultobj
;
3617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3620 result
= (wxGauge
*)new wxGauge();
3622 wxPyEndAllowThreads(__tstate
);
3623 if (PyErr_Occurred()) SWIG_fail
;
3625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3632 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3633 PyObject
*resultobj
;
3634 wxGauge
*arg1
= (wxGauge
*) 0 ;
3635 wxWindow
*arg2
= (wxWindow
*) 0 ;
3638 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3639 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3640 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3641 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3642 long arg7
= (long) wxGA_HORIZONTAL
;
3643 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3644 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3645 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3646 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3650 bool temp9
= False
;
3651 PyObject
* obj0
= 0 ;
3652 PyObject
* obj1
= 0 ;
3653 PyObject
* obj2
= 0 ;
3654 PyObject
* obj3
= 0 ;
3655 PyObject
* obj4
= 0 ;
3656 PyObject
* obj5
= 0 ;
3657 PyObject
* obj6
= 0 ;
3658 PyObject
* obj7
= 0 ;
3659 PyObject
* obj8
= 0 ;
3661 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3669 arg3
= (int) SWIG_AsInt(obj2
);
3670 if (PyErr_Occurred()) SWIG_fail
;
3671 arg4
= (int) SWIG_AsInt(obj3
);
3672 if (PyErr_Occurred()) SWIG_fail
;
3676 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3682 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3686 arg7
= (long) SWIG_AsLong(obj6
);
3687 if (PyErr_Occurred()) SWIG_fail
;
3690 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3691 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3694 PyErr_SetString(PyExc_TypeError
,"null reference");
3700 arg9
= wxString_in_helper(obj8
);
3701 if (arg9
== NULL
) SWIG_fail
;
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3709 wxPyEndAllowThreads(__tstate
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3727 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
*resultobj
;
3729 wxGauge
*arg1
= (wxGauge
*) 0 ;
3731 PyObject
* obj0
= 0 ;
3732 PyObject
* obj1
= 0 ;
3734 (char *) "self",(char *) "range", NULL
3737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3740 arg2
= (int) SWIG_AsInt(obj1
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3744 (arg1
)->SetRange(arg2
);
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3749 Py_INCREF(Py_None
); resultobj
= Py_None
;
3756 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
*resultobj
;
3758 wxGauge
*arg1
= (wxGauge
*) 0 ;
3760 PyObject
* obj0
= 0 ;
3762 (char *) "self", NULL
3765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3772 wxPyEndAllowThreads(__tstate
);
3773 if (PyErr_Occurred()) SWIG_fail
;
3775 resultobj
= SWIG_FromInt((int)result
);
3782 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
*resultobj
;
3784 wxGauge
*arg1
= (wxGauge
*) 0 ;
3786 PyObject
* obj0
= 0 ;
3787 PyObject
* obj1
= 0 ;
3789 (char *) "self",(char *) "pos", NULL
3792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3795 arg2
= (int) SWIG_AsInt(obj1
);
3796 if (PyErr_Occurred()) SWIG_fail
;
3798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3799 (arg1
)->SetValue(arg2
);
3801 wxPyEndAllowThreads(__tstate
);
3802 if (PyErr_Occurred()) SWIG_fail
;
3804 Py_INCREF(Py_None
); resultobj
= Py_None
;
3811 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3812 PyObject
*resultobj
;
3813 wxGauge
*arg1
= (wxGauge
*) 0 ;
3815 PyObject
* obj0
= 0 ;
3817 (char *) "self", NULL
3820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3825 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3827 wxPyEndAllowThreads(__tstate
);
3828 if (PyErr_Occurred()) SWIG_fail
;
3830 resultobj
= SWIG_FromInt((int)result
);
3837 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
*resultobj
;
3839 wxGauge
*arg1
= (wxGauge
*) 0 ;
3841 PyObject
* obj0
= 0 ;
3843 (char *) "self", NULL
3846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3863 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
*resultobj
;
3865 wxGauge
*arg1
= (wxGauge
*) 0 ;
3867 PyObject
* obj0
= 0 ;
3868 PyObject
* obj1
= 0 ;
3870 (char *) "self",(char *) "w", NULL
3873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3876 arg2
= (int) SWIG_AsInt(obj1
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 (arg1
)->SetShadowWidth(arg2
);
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3885 Py_INCREF(Py_None
); resultobj
= Py_None
;
3892 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3893 PyObject
*resultobj
;
3894 wxGauge
*arg1
= (wxGauge
*) 0 ;
3896 PyObject
* obj0
= 0 ;
3898 (char *) "self", NULL
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3908 wxPyEndAllowThreads(__tstate
);
3909 if (PyErr_Occurred()) SWIG_fail
;
3911 resultobj
= SWIG_FromInt((int)result
);
3918 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
*resultobj
;
3920 wxGauge
*arg1
= (wxGauge
*) 0 ;
3922 PyObject
* obj0
= 0 ;
3923 PyObject
* obj1
= 0 ;
3925 (char *) "self",(char *) "w", NULL
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3931 arg2
= (int) SWIG_AsInt(obj1
);
3932 if (PyErr_Occurred()) SWIG_fail
;
3934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3935 (arg1
)->SetBezelFace(arg2
);
3937 wxPyEndAllowThreads(__tstate
);
3938 if (PyErr_Occurred()) SWIG_fail
;
3940 Py_INCREF(Py_None
); resultobj
= Py_None
;
3947 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3948 PyObject
*resultobj
;
3949 wxGauge
*arg1
= (wxGauge
*) 0 ;
3951 PyObject
* obj0
= 0 ;
3953 (char *) "self", NULL
3956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3963 wxPyEndAllowThreads(__tstate
);
3964 if (PyErr_Occurred()) SWIG_fail
;
3966 resultobj
= SWIG_FromInt((int)result
);
3973 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
3975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3976 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3978 return Py_BuildValue((char *)"");
3980 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
3981 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
3986 static PyObject
*_wrap_StaticBitmapNameStr_get() {
3991 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3993 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4000 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
4001 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4006 static PyObject
*_wrap_StaticBoxNameStr_get() {
4011 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4013 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4020 static int _wrap_StaticTextNameStr_set(PyObject
*) {
4021 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4026 static PyObject
*_wrap_StaticTextNameStr_get() {
4031 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4033 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4040 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
*resultobj
;
4042 wxWindow
*arg1
= (wxWindow
*) 0 ;
4044 wxString
*arg3
= 0 ;
4045 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4046 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4047 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4048 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4049 long arg6
= (long) 0 ;
4050 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4051 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4052 wxStaticBox
*result
;
4053 bool temp3
= False
;
4056 bool temp7
= False
;
4057 PyObject
* obj0
= 0 ;
4058 PyObject
* obj1
= 0 ;
4059 PyObject
* obj2
= 0 ;
4060 PyObject
* obj3
= 0 ;
4061 PyObject
* obj4
= 0 ;
4062 PyObject
* obj5
= 0 ;
4063 PyObject
* obj6
= 0 ;
4065 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4071 arg2
= (int) SWIG_AsInt(obj1
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 arg3
= wxString_in_helper(obj2
);
4075 if (arg3
== NULL
) SWIG_fail
;
4081 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4087 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4091 arg6
= (long) SWIG_AsLong(obj5
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4096 arg7
= wxString_in_helper(obj6
);
4097 if (arg7
== NULL
) SWIG_fail
;
4102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4103 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4105 wxPyEndAllowThreads(__tstate
);
4106 if (PyErr_Occurred()) SWIG_fail
;
4109 resultobj
= wxPyMake_wxObject(result
);
4133 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
;
4135 wxStaticBox
*result
;
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 result
= (wxStaticBox
*)new wxStaticBox();
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4149 resultobj
= wxPyMake_wxObject(result
);
4157 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
*resultobj
;
4159 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4160 wxWindow
*arg2
= (wxWindow
*) 0 ;
4162 wxString
*arg4
= 0 ;
4163 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4164 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4165 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4166 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4167 long arg7
= (long) 0 ;
4168 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4169 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4171 bool temp4
= False
;
4174 bool temp8
= False
;
4175 PyObject
* obj0
= 0 ;
4176 PyObject
* obj1
= 0 ;
4177 PyObject
* obj2
= 0 ;
4178 PyObject
* obj3
= 0 ;
4179 PyObject
* obj4
= 0 ;
4180 PyObject
* obj5
= 0 ;
4181 PyObject
* obj6
= 0 ;
4182 PyObject
* obj7
= 0 ;
4184 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4192 arg3
= (int) SWIG_AsInt(obj2
);
4193 if (PyErr_Occurred()) SWIG_fail
;
4195 arg4
= wxString_in_helper(obj3
);
4196 if (arg4
== NULL
) SWIG_fail
;
4202 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4208 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4212 arg7
= (long) SWIG_AsLong(obj6
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4217 arg8
= wxString_in_helper(obj7
);
4218 if (arg8
== NULL
) SWIG_fail
;
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4252 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
4254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4255 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4257 return Py_BuildValue((char *)"");
4259 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
*resultobj
;
4261 wxWindow
*arg1
= (wxWindow
*) 0 ;
4263 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4264 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4265 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4266 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4267 long arg5
= (long) wxLI_HORIZONTAL
;
4268 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4269 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4270 wxStaticLine
*result
;
4273 bool temp6
= False
;
4274 PyObject
* obj0
= 0 ;
4275 PyObject
* obj1
= 0 ;
4276 PyObject
* obj2
= 0 ;
4277 PyObject
* obj3
= 0 ;
4278 PyObject
* obj4
= 0 ;
4279 PyObject
* obj5
= 0 ;
4281 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4287 arg2
= (int) SWIG_AsInt(obj1
);
4288 if (PyErr_Occurred()) SWIG_fail
;
4292 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4298 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4302 arg5
= (long) SWIG_AsLong(obj4
);
4303 if (PyErr_Occurred()) SWIG_fail
;
4307 arg6
= wxString_in_helper(obj5
);
4308 if (arg6
== NULL
) SWIG_fail
;
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4334 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
*resultobj
;
4336 wxStaticLine
*result
;
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 result
= (wxStaticLine
*)new wxStaticLine();
4346 wxPyEndAllowThreads(__tstate
);
4347 if (PyErr_Occurred()) SWIG_fail
;
4349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4356 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4357 PyObject
*resultobj
;
4358 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4359 wxWindow
*arg2
= (wxWindow
*) 0 ;
4361 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4362 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4363 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4364 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4365 long arg6
= (long) wxLI_HORIZONTAL
;
4366 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4367 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4371 bool temp7
= False
;
4372 PyObject
* obj0
= 0 ;
4373 PyObject
* obj1
= 0 ;
4374 PyObject
* obj2
= 0 ;
4375 PyObject
* obj3
= 0 ;
4376 PyObject
* obj4
= 0 ;
4377 PyObject
* obj5
= 0 ;
4378 PyObject
* obj6
= 0 ;
4380 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4388 arg3
= (int) SWIG_AsInt(obj2
);
4389 if (PyErr_Occurred()) SWIG_fail
;
4393 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4399 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4403 arg6
= (long) SWIG_AsLong(obj5
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4408 arg7
= wxString_in_helper(obj6
);
4409 if (arg7
== NULL
) SWIG_fail
;
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4435 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
*resultobj
;
4437 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4439 PyObject
* obj0
= 0 ;
4441 (char *) "self", NULL
4444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4461 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
*resultobj
;
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 result
= (int)wxStaticLine::GetDefaultSize();
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 resultobj
= SWIG_FromInt((int)result
);
4483 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
4485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4486 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4488 return Py_BuildValue((char *)"");
4490 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
*resultobj
;
4492 wxWindow
*arg1
= (wxWindow
*) 0 ;
4494 wxString
*arg3
= 0 ;
4495 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4496 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4497 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4498 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4499 long arg6
= (long) 0 ;
4500 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4501 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4502 wxStaticText
*result
;
4503 bool temp3
= False
;
4506 bool temp7
= False
;
4507 PyObject
* obj0
= 0 ;
4508 PyObject
* obj1
= 0 ;
4509 PyObject
* obj2
= 0 ;
4510 PyObject
* obj3
= 0 ;
4511 PyObject
* obj4
= 0 ;
4512 PyObject
* obj5
= 0 ;
4513 PyObject
* obj6
= 0 ;
4515 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4521 arg2
= (int) SWIG_AsInt(obj1
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4524 arg3
= wxString_in_helper(obj2
);
4525 if (arg3
== NULL
) SWIG_fail
;
4531 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4537 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4541 arg6
= (long) SWIG_AsLong(obj5
);
4542 if (PyErr_Occurred()) SWIG_fail
;
4546 arg7
= wxString_in_helper(obj6
);
4547 if (arg7
== NULL
) SWIG_fail
;
4552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4553 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4555 wxPyEndAllowThreads(__tstate
);
4556 if (PyErr_Occurred()) SWIG_fail
;
4558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4581 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
*resultobj
;
4583 wxStaticText
*result
;
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 result
= (wxStaticText
*)new wxStaticText();
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4603 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
*resultobj
;
4605 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4606 wxWindow
*arg2
= (wxWindow
*) 0 ;
4608 wxString
*arg4
= 0 ;
4609 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4610 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4611 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4612 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4613 long arg7
= (long) 0 ;
4614 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4615 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4617 bool temp4
= False
;
4620 bool temp8
= False
;
4621 PyObject
* obj0
= 0 ;
4622 PyObject
* obj1
= 0 ;
4623 PyObject
* obj2
= 0 ;
4624 PyObject
* obj3
= 0 ;
4625 PyObject
* obj4
= 0 ;
4626 PyObject
* obj5
= 0 ;
4627 PyObject
* obj6
= 0 ;
4628 PyObject
* obj7
= 0 ;
4630 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
4635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4638 arg3
= (int) SWIG_AsInt(obj2
);
4639 if (PyErr_Occurred()) SWIG_fail
;
4641 arg4
= wxString_in_helper(obj3
);
4642 if (arg4
== NULL
) SWIG_fail
;
4648 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4654 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4658 arg7
= (long) SWIG_AsLong(obj6
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4663 arg8
= wxString_in_helper(obj7
);
4664 if (arg8
== NULL
) SWIG_fail
;
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4670 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4698 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
4700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4701 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4703 return Py_BuildValue((char *)"");
4705 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4706 PyObject
*resultobj
;
4707 wxWindow
*arg1
= (wxWindow
*) 0 ;
4709 wxBitmap
*arg3
= 0 ;
4710 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4711 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4712 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4713 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4714 long arg6
= (long) 0 ;
4715 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4716 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4717 wxStaticBitmap
*result
;
4720 bool temp7
= False
;
4721 PyObject
* obj0
= 0 ;
4722 PyObject
* obj1
= 0 ;
4723 PyObject
* obj2
= 0 ;
4724 PyObject
* obj3
= 0 ;
4725 PyObject
* obj4
= 0 ;
4726 PyObject
* obj5
= 0 ;
4727 PyObject
* obj6
= 0 ;
4729 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4735 arg2
= (int) SWIG_AsInt(obj1
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4737 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
4738 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4741 PyErr_SetString(PyExc_TypeError
,"null reference");
4747 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4753 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4757 arg6
= (long) SWIG_AsLong(obj5
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4762 arg7
= wxString_in_helper(obj6
);
4763 if (arg7
== NULL
) SWIG_fail
;
4768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4769 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4771 wxPyEndAllowThreads(__tstate
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4789 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
*resultobj
;
4791 wxStaticBitmap
*result
;
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4811 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
*resultobj
;
4813 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4814 wxWindow
*arg2
= (wxWindow
*) 0 ;
4816 wxBitmap
*arg4
= 0 ;
4817 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4818 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4819 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4820 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4821 long arg7
= (long) 0 ;
4822 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4823 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4827 bool temp8
= False
;
4828 PyObject
* obj0
= 0 ;
4829 PyObject
* obj1
= 0 ;
4830 PyObject
* obj2
= 0 ;
4831 PyObject
* obj3
= 0 ;
4832 PyObject
* obj4
= 0 ;
4833 PyObject
* obj5
= 0 ;
4834 PyObject
* obj6
= 0 ;
4835 PyObject
* obj7
= 0 ;
4837 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4845 arg3
= (int) SWIG_AsInt(obj2
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4847 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
4848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4851 PyErr_SetString(PyExc_TypeError
,"null reference");
4857 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4863 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4867 arg7
= (long) SWIG_AsLong(obj6
);
4868 if (PyErr_Occurred()) SWIG_fail
;
4872 arg8
= wxString_in_helper(obj7
);
4873 if (arg8
== NULL
) SWIG_fail
;
4878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4879 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4881 wxPyEndAllowThreads(__tstate
);
4882 if (PyErr_Occurred()) SWIG_fail
;
4884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4899 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4900 PyObject
*resultobj
;
4901 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4903 PyObject
* obj0
= 0 ;
4905 (char *) "self", NULL
4908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4913 result
= (arg1
)->GetBitmap();
4915 wxPyEndAllowThreads(__tstate
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4919 wxBitmap
* resultptr
;
4920 resultptr
= new wxBitmap((wxBitmap
&) result
);
4921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4929 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4930 PyObject
*resultobj
;
4931 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4932 wxBitmap
*arg2
= 0 ;
4933 PyObject
* obj0
= 0 ;
4934 PyObject
* obj1
= 0 ;
4936 (char *) "self",(char *) "bitmap", NULL
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4942 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4943 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4946 PyErr_SetString(PyExc_TypeError
,"null reference");
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4956 Py_INCREF(Py_None
); resultobj
= Py_None
;
4963 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
*resultobj
;
4965 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4967 PyObject
* obj0
= 0 ;
4968 PyObject
* obj1
= 0 ;
4970 (char *) "self",(char *) "icon", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4976 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4977 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4980 PyErr_SetString(PyExc_TypeError
,"null reference");
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4990 Py_INCREF(Py_None
); resultobj
= Py_None
;
4997 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
4999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5000 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5002 return Py_BuildValue((char *)"");
5004 static int _wrap_ListBoxNameStr_set(PyObject
*) {
5005 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5010 static PyObject
*_wrap_ListBoxNameStr_get() {
5015 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5017 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5024 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
*resultobj
;
5026 wxWindow
*arg1
= (wxWindow
*) 0 ;
5028 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5029 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5030 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5031 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5032 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5033 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5034 long arg6
= (long) 0 ;
5035 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5036 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5037 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5038 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5042 bool temp5
= False
;
5043 bool temp8
= False
;
5044 PyObject
* obj0
= 0 ;
5045 PyObject
* obj1
= 0 ;
5046 PyObject
* obj2
= 0 ;
5047 PyObject
* obj3
= 0 ;
5048 PyObject
* obj4
= 0 ;
5049 PyObject
* obj5
= 0 ;
5050 PyObject
* obj6
= 0 ;
5051 PyObject
* obj7
= 0 ;
5053 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5059 arg2
= (int) SWIG_AsInt(obj1
);
5060 if (PyErr_Occurred()) SWIG_fail
;
5064 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5070 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5075 if (! PySequence_Check(obj4
)) {
5076 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5079 arg5
= new wxArrayString
;
5081 int i
, len
=PySequence_Length(obj4
);
5082 for (i
=0; i
<len
; i
++) {
5083 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5085 PyObject
* str
= PyObject_Unicode(item
);
5087 PyObject
* str
= PyObject_Str(item
);
5089 arg5
->Add(Py2wxString(str
));
5096 arg6
= (long) SWIG_AsLong(obj5
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5100 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5101 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5104 PyErr_SetString(PyExc_TypeError
,"null reference");
5110 arg8
= wxString_in_helper(obj7
);
5111 if (arg8
== NULL
) SWIG_fail
;
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5117 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5119 wxPyEndAllowThreads(__tstate
);
5120 if (PyErr_Occurred()) SWIG_fail
;
5122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5124 if (temp5
) delete arg5
;
5133 if (temp5
) delete arg5
;
5143 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
*resultobj
;
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 result
= (wxListBox
*)new wxListBox();
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5165 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5166 PyObject
*resultobj
;
5167 wxListBox
*arg1
= (wxListBox
*) 0 ;
5168 wxWindow
*arg2
= (wxWindow
*) 0 ;
5170 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5171 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5172 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5173 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5174 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5175 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5176 long arg7
= (long) 0 ;
5177 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5178 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5179 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5180 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5184 bool temp6
= False
;
5185 bool temp9
= False
;
5186 PyObject
* obj0
= 0 ;
5187 PyObject
* obj1
= 0 ;
5188 PyObject
* obj2
= 0 ;
5189 PyObject
* obj3
= 0 ;
5190 PyObject
* obj4
= 0 ;
5191 PyObject
* obj5
= 0 ;
5192 PyObject
* obj6
= 0 ;
5193 PyObject
* obj7
= 0 ;
5194 PyObject
* obj8
= 0 ;
5196 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5204 arg3
= (int) SWIG_AsInt(obj2
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5209 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5215 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5220 if (! PySequence_Check(obj5
)) {
5221 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5224 arg6
= new wxArrayString
;
5226 int i
, len
=PySequence_Length(obj5
);
5227 for (i
=0; i
<len
; i
++) {
5228 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5230 PyObject
* str
= PyObject_Unicode(item
);
5232 PyObject
* str
= PyObject_Str(item
);
5234 arg6
->Add(Py2wxString(str
));
5241 arg7
= (long) SWIG_AsLong(obj6
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5245 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5246 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5249 PyErr_SetString(PyExc_TypeError
,"null reference");
5255 arg9
= wxString_in_helper(obj8
);
5256 if (arg9
== NULL
) SWIG_fail
;
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5269 if (temp6
) delete arg6
;
5278 if (temp6
) delete arg6
;
5288 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
*resultobj
;
5290 wxListBox
*arg1
= (wxListBox
*) 0 ;
5291 wxString
*arg2
= 0 ;
5293 PyObject
*arg4
= (PyObject
*) NULL
;
5294 bool temp2
= False
;
5295 PyObject
* obj0
= 0 ;
5296 PyObject
* obj1
= 0 ;
5297 PyObject
* obj2
= 0 ;
5298 PyObject
* obj3
= 0 ;
5300 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5307 arg2
= wxString_in_helper(obj1
);
5308 if (arg2
== NULL
) SWIG_fail
;
5311 arg3
= (int) SWIG_AsInt(obj2
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5323 Py_INCREF(Py_None
); resultobj
= Py_None
;
5338 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
*resultobj
;
5340 wxListBox
*arg1
= (wxListBox
*) 0 ;
5341 wxArrayString
*arg2
= 0 ;
5343 bool temp2
= False
;
5344 PyObject
* obj0
= 0 ;
5345 PyObject
* obj1
= 0 ;
5346 PyObject
* obj2
= 0 ;
5348 (char *) "self",(char *) "items",(char *) "pos", NULL
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5355 if (! PySequence_Check(obj1
)) {
5356 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5359 arg2
= new wxArrayString
;
5361 int i
, len
=PySequence_Length(obj1
);
5362 for (i
=0; i
<len
; i
++) {
5363 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5365 PyObject
* str
= PyObject_Unicode(item
);
5367 PyObject
* str
= PyObject_Str(item
);
5369 arg2
->Add(Py2wxString(str
));
5374 arg3
= (int) SWIG_AsInt(obj2
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5383 Py_INCREF(Py_None
); resultobj
= Py_None
;
5385 if (temp2
) delete arg2
;
5390 if (temp2
) delete arg2
;
5396 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
*resultobj
;
5398 wxListBox
*arg1
= (wxListBox
*) 0 ;
5399 wxArrayString
*arg2
= 0 ;
5400 bool temp2
= False
;
5401 PyObject
* obj0
= 0 ;
5402 PyObject
* obj1
= 0 ;
5404 (char *) "self",(char *) "items", NULL
5407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5411 if (! PySequence_Check(obj1
)) {
5412 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5415 arg2
= new wxArrayString
;
5417 int i
, len
=PySequence_Length(obj1
);
5418 for (i
=0; i
<len
; i
++) {
5419 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5421 PyObject
* str
= PyObject_Unicode(item
);
5423 PyObject
* str
= PyObject_Str(item
);
5425 arg2
->Add(Py2wxString(str
));
5431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5432 (arg1
)->Set((wxArrayString
const &)*arg2
);
5434 wxPyEndAllowThreads(__tstate
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5437 Py_INCREF(Py_None
); resultobj
= Py_None
;
5439 if (temp2
) delete arg2
;
5444 if (temp2
) delete arg2
;
5450 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
*resultobj
;
5452 wxListBox
*arg1
= (wxListBox
*) 0 ;
5455 PyObject
* obj0
= 0 ;
5456 PyObject
* obj1
= 0 ;
5458 (char *) "self",(char *) "n", NULL
5461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5464 arg2
= (int) SWIG_AsInt(obj1
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5480 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
*resultobj
;
5482 wxListBox
*arg1
= (wxListBox
*) 0 ;
5484 bool arg3
= (bool) True
;
5485 PyObject
* obj0
= 0 ;
5486 PyObject
* obj1
= 0 ;
5487 PyObject
* obj2
= 0 ;
5489 (char *) "self",(char *) "n",(char *) "select", NULL
5492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5495 arg2
= (int) SWIG_AsInt(obj1
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5498 arg3
= (bool) SWIG_AsBool(obj2
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 (arg1
)->SetSelection(arg2
,arg3
);
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5508 Py_INCREF(Py_None
); resultobj
= Py_None
;
5515 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5516 PyObject
*resultobj
;
5517 wxListBox
*arg1
= (wxListBox
*) 0 ;
5519 PyObject
* obj0
= 0 ;
5520 PyObject
* obj1
= 0 ;
5522 (char *) "self",(char *) "n", NULL
5525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5528 arg2
= (int) SWIG_AsInt(obj1
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 (arg1
)->Select(arg2
);
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5537 Py_INCREF(Py_None
); resultobj
= Py_None
;
5544 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
*resultobj
;
5546 wxListBox
*arg1
= (wxListBox
*) 0 ;
5548 PyObject
* obj0
= 0 ;
5549 PyObject
* obj1
= 0 ;
5551 (char *) "self",(char *) "n", NULL
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5557 arg2
= (int) SWIG_AsInt(obj1
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 (arg1
)->Deselect(arg2
);
5563 wxPyEndAllowThreads(__tstate
);
5564 if (PyErr_Occurred()) SWIG_fail
;
5566 Py_INCREF(Py_None
); resultobj
= Py_None
;
5573 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
*resultobj
;
5575 wxListBox
*arg1
= (wxListBox
*) 0 ;
5576 int arg2
= (int) -1 ;
5577 PyObject
* obj0
= 0 ;
5578 PyObject
* obj1
= 0 ;
5580 (char *) "self",(char *) "itemToLeaveSelected", NULL
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5587 arg2
= (int) SWIG_AsInt(obj1
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 (arg1
)->DeselectAll(arg2
);
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5597 Py_INCREF(Py_None
); resultobj
= Py_None
;
5604 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5605 PyObject
*resultobj
;
5606 wxListBox
*arg1
= (wxListBox
*) 0 ;
5607 wxString
*arg2
= 0 ;
5608 bool arg3
= (bool) True
;
5610 bool temp2
= False
;
5611 PyObject
* obj0
= 0 ;
5612 PyObject
* obj1
= 0 ;
5613 PyObject
* obj2
= 0 ;
5615 (char *) "self",(char *) "s",(char *) "select", NULL
5618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5622 arg2
= wxString_in_helper(obj1
);
5623 if (arg2
== NULL
) SWIG_fail
;
5627 arg3
= (bool) SWIG_AsBool(obj2
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5632 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5634 wxPyEndAllowThreads(__tstate
);
5635 if (PyErr_Occurred()) SWIG_fail
;
5637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5652 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
;
5654 wxListBox
*arg1
= (wxListBox
*) 0 ;
5656 PyObject
* obj0
= 0 ;
5658 (char *) "self", NULL
5661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5666 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5668 wxPyEndAllowThreads(__tstate
);
5669 if (PyErr_Occurred()) SWIG_fail
;
5678 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5679 PyObject
*resultobj
;
5680 wxListBox
*arg1
= (wxListBox
*) 0 ;
5682 PyObject
* obj0
= 0 ;
5683 PyObject
* obj1
= 0 ;
5685 (char *) "self",(char *) "n", NULL
5688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5691 arg2
= (int) SWIG_AsInt(obj1
);
5692 if (PyErr_Occurred()) SWIG_fail
;
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 (arg1
)->SetFirstItem(arg2
);
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5700 Py_INCREF(Py_None
); resultobj
= Py_None
;
5707 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5708 PyObject
*resultobj
;
5709 wxListBox
*arg1
= (wxListBox
*) 0 ;
5710 wxString
*arg2
= 0 ;
5711 bool temp2
= False
;
5712 PyObject
* obj0
= 0 ;
5713 PyObject
* obj1
= 0 ;
5715 (char *) "self",(char *) "s", NULL
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5722 arg2
= wxString_in_helper(obj1
);
5723 if (arg2
== NULL
) SWIG_fail
;
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5733 Py_INCREF(Py_None
); resultobj
= Py_None
;
5748 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
*resultobj
;
5750 wxListBox
*arg1
= (wxListBox
*) 0 ;
5752 PyObject
* obj0
= 0 ;
5753 PyObject
* obj1
= 0 ;
5755 (char *) "self",(char *) "n", NULL
5758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5761 arg2
= (int) SWIG_AsInt(obj1
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 (arg1
)->EnsureVisible(arg2
);
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5770 Py_INCREF(Py_None
); resultobj
= Py_None
;
5777 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
;
5779 wxListBox
*arg1
= (wxListBox
*) 0 ;
5780 wxString
*arg2
= 0 ;
5781 bool temp2
= False
;
5782 PyObject
* obj0
= 0 ;
5783 PyObject
* obj1
= 0 ;
5785 (char *) "self",(char *) "s", NULL
5788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5792 arg2
= wxString_in_helper(obj1
);
5793 if (arg2
== NULL
) SWIG_fail
;
5797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5798 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) SWIG_fail
;
5803 Py_INCREF(Py_None
); resultobj
= Py_None
;
5818 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
;
5820 wxListBox
*arg1
= (wxListBox
*) 0 ;
5822 PyObject
* obj0
= 0 ;
5824 (char *) "self", NULL
5827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5834 wxPyEndAllowThreads(__tstate
);
5835 if (PyErr_Occurred()) SWIG_fail
;
5837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5844 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
*resultobj
;
5846 wxListBox
*arg1
= (wxListBox
*) 0 ;
5848 wxColour
*arg3
= 0 ;
5850 PyObject
* obj0
= 0 ;
5851 PyObject
* obj1
= 0 ;
5852 PyObject
* obj2
= 0 ;
5854 (char *) "self",(char *) "item",(char *) "c", NULL
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5860 arg2
= (int) SWIG_AsInt(obj1
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5864 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5868 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5870 wxPyEndAllowThreads(__tstate
);
5871 if (PyErr_Occurred()) SWIG_fail
;
5873 Py_INCREF(Py_None
); resultobj
= Py_None
;
5880 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5881 PyObject
*resultobj
;
5882 wxListBox
*arg1
= (wxListBox
*) 0 ;
5884 wxColour
*arg3
= 0 ;
5886 PyObject
* obj0
= 0 ;
5887 PyObject
* obj1
= 0 ;
5888 PyObject
* obj2
= 0 ;
5890 (char *) "self",(char *) "item",(char *) "c", NULL
5893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5896 arg2
= (int) SWIG_AsInt(obj1
);
5897 if (PyErr_Occurred()) SWIG_fail
;
5900 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5909 Py_INCREF(Py_None
); resultobj
= Py_None
;
5916 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
*resultobj
;
5918 wxListBox
*arg1
= (wxListBox
*) 0 ;
5921 PyObject
* obj0
= 0 ;
5922 PyObject
* obj1
= 0 ;
5923 PyObject
* obj2
= 0 ;
5925 (char *) "self",(char *) "item",(char *) "f", NULL
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5931 arg2
= (int) SWIG_AsInt(obj1
);
5932 if (PyErr_Occurred()) SWIG_fail
;
5933 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
5934 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5937 PyErr_SetString(PyExc_TypeError
,"null reference");
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 Py_INCREF(Py_None
); resultobj
= Py_None
;
5954 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
5956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5957 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5959 return Py_BuildValue((char *)"");
5961 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
;
5963 wxWindow
*arg1
= (wxWindow
*) 0 ;
5965 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5966 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5967 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5968 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5969 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5970 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5971 long arg6
= (long) 0 ;
5972 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5973 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5974 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5975 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5976 wxCheckListBox
*result
;
5979 bool temp5
= False
;
5980 bool temp8
= False
;
5981 PyObject
* obj0
= 0 ;
5982 PyObject
* obj1
= 0 ;
5983 PyObject
* obj2
= 0 ;
5984 PyObject
* obj3
= 0 ;
5985 PyObject
* obj4
= 0 ;
5986 PyObject
* obj5
= 0 ;
5987 PyObject
* obj6
= 0 ;
5988 PyObject
* obj7
= 0 ;
5990 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5996 arg2
= (int) SWIG_AsInt(obj1
);
5997 if (PyErr_Occurred()) SWIG_fail
;
6001 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6007 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6012 if (! PySequence_Check(obj4
)) {
6013 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6016 arg5
= new wxArrayString
;
6018 int i
, len
=PySequence_Length(obj4
);
6019 for (i
=0; i
<len
; i
++) {
6020 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6022 PyObject
* str
= PyObject_Unicode(item
);
6024 PyObject
* str
= PyObject_Str(item
);
6026 arg5
->Add(Py2wxString(str
));
6033 arg6
= (long) SWIG_AsLong(obj5
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6037 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6038 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6041 PyErr_SetString(PyExc_TypeError
,"null reference");
6047 arg8
= wxString_in_helper(obj7
);
6048 if (arg8
== NULL
) SWIG_fail
;
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6061 if (temp5
) delete arg5
;
6070 if (temp5
) delete arg5
;
6080 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
*resultobj
;
6082 wxCheckListBox
*result
;
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 result
= (wxCheckListBox
*)new wxCheckListBox();
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6102 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6103 PyObject
*resultobj
;
6104 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6105 wxWindow
*arg2
= (wxWindow
*) 0 ;
6107 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6108 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6109 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6110 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6111 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6112 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6113 long arg7
= (long) 0 ;
6114 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6115 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6116 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6117 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6121 bool temp6
= False
;
6122 bool temp9
= False
;
6123 PyObject
* obj0
= 0 ;
6124 PyObject
* obj1
= 0 ;
6125 PyObject
* obj2
= 0 ;
6126 PyObject
* obj3
= 0 ;
6127 PyObject
* obj4
= 0 ;
6128 PyObject
* obj5
= 0 ;
6129 PyObject
* obj6
= 0 ;
6130 PyObject
* obj7
= 0 ;
6131 PyObject
* obj8
= 0 ;
6133 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6139 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6141 arg3
= (int) SWIG_AsInt(obj2
);
6142 if (PyErr_Occurred()) SWIG_fail
;
6146 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6152 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6157 if (! PySequence_Check(obj5
)) {
6158 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6161 arg6
= new wxArrayString
;
6163 int i
, len
=PySequence_Length(obj5
);
6164 for (i
=0; i
<len
; i
++) {
6165 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6167 PyObject
* str
= PyObject_Unicode(item
);
6169 PyObject
* str
= PyObject_Str(item
);
6171 arg6
->Add(Py2wxString(str
));
6178 arg7
= (long) SWIG_AsLong(obj6
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6182 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6183 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6186 PyErr_SetString(PyExc_TypeError
,"null reference");
6192 arg9
= wxString_in_helper(obj8
);
6193 if (arg9
== NULL
) SWIG_fail
;
6198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6199 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6201 wxPyEndAllowThreads(__tstate
);
6202 if (PyErr_Occurred()) SWIG_fail
;
6204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6206 if (temp6
) delete arg6
;
6215 if (temp6
) delete arg6
;
6225 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
*resultobj
;
6227 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6230 PyObject
* obj0
= 0 ;
6231 PyObject
* obj1
= 0 ;
6233 (char *) "self",(char *) "index", NULL
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6239 arg2
= (int) SWIG_AsInt(obj1
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 result
= (bool)(arg1
)->IsChecked(arg2
);
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6255 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
;
6257 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6259 int arg3
= (int) True
;
6260 PyObject
* obj0
= 0 ;
6261 PyObject
* obj1
= 0 ;
6262 PyObject
* obj2
= 0 ;
6264 (char *) "self",(char *) "index",(char *) "check", NULL
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6270 arg2
= (int) SWIG_AsInt(obj1
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 arg3
= (int) SWIG_AsInt(obj2
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6278 (arg1
)->Check(arg2
,arg3
);
6280 wxPyEndAllowThreads(__tstate
);
6281 if (PyErr_Occurred()) SWIG_fail
;
6283 Py_INCREF(Py_None
); resultobj
= Py_None
;
6290 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
*resultobj
;
6292 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6296 PyObject
* obj0
= 0 ;
6297 PyObject
* obj1
= 0 ;
6299 (char *) "self",(char *) "pt", NULL
6302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6307 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6316 resultobj
= SWIG_FromInt((int)result
);
6323 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
*resultobj
;
6325 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6329 PyObject
* obj0
= 0 ;
6330 PyObject
* obj1
= 0 ;
6331 PyObject
* obj2
= 0 ;
6333 (char *) "self",(char *) "x",(char *) "y", NULL
6336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6339 arg2
= (int) SWIG_AsInt(obj1
);
6340 if (PyErr_Occurred()) SWIG_fail
;
6341 arg3
= (int) SWIG_AsInt(obj2
);
6342 if (PyErr_Occurred()) SWIG_fail
;
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6345 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6347 wxPyEndAllowThreads(__tstate
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6350 resultobj
= SWIG_FromInt((int)result
);
6357 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
6359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6360 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6362 return Py_BuildValue((char *)"");
6364 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
6365 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6370 static PyObject
*_wrap_TextCtrlNameStr_get() {
6375 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6377 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6384 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*, PyObject
*args
) {
6385 PyObject
*resultobj
;
6388 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6391 result
= (wxTextAttr
*)new wxTextAttr();
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6403 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*, PyObject
*args
) {
6404 PyObject
*resultobj
;
6405 wxColour
*arg1
= 0 ;
6406 wxColour
const &arg2_defvalue
= wxNullColour
;
6407 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6408 wxFont
const &arg3_defvalue
= wxNullFont
;
6409 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6410 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6414 PyObject
* obj0
= 0 ;
6415 PyObject
* obj1
= 0 ;
6416 PyObject
* obj2
= 0 ;
6417 PyObject
* obj3
= 0 ;
6419 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6422 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6427 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6431 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6432 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6435 PyErr_SetString(PyExc_TypeError
,"null reference");
6440 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6441 if (PyErr_Occurred()) SWIG_fail
;
6444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6445 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6447 wxPyEndAllowThreads(__tstate
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6457 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6462 argc
= PyObject_Length(args
);
6463 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6464 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6467 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6469 if ((argc
>= 1) && (argc
<= 4)) {
6472 _v
= wxColour_typecheck(argv
[0]);
6476 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6479 _v
= wxColour_typecheck(argv
[1]);
6483 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6487 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6496 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6498 _v
= SWIG_CheckInt(argv
[3]);
6500 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6507 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6512 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6513 PyObject
*resultobj
;
6514 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6515 PyObject
* obj0
= 0 ;
6517 (char *) "self", NULL
6520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6530 Py_INCREF(Py_None
); resultobj
= Py_None
;
6537 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6538 PyObject
*resultobj
;
6539 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6540 PyObject
* obj0
= 0 ;
6542 (char *) "self", NULL
6545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6552 wxPyEndAllowThreads(__tstate
);
6553 if (PyErr_Occurred()) SWIG_fail
;
6555 Py_INCREF(Py_None
); resultobj
= Py_None
;
6562 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
*resultobj
;
6564 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6565 wxColour
*arg2
= 0 ;
6567 PyObject
* obj0
= 0 ;
6568 PyObject
* obj1
= 0 ;
6570 (char *) "self",(char *) "colText", NULL
6573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6578 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6584 wxPyEndAllowThreads(__tstate
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6587 Py_INCREF(Py_None
); resultobj
= Py_None
;
6594 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
*resultobj
;
6596 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6597 wxColour
*arg2
= 0 ;
6599 PyObject
* obj0
= 0 ;
6600 PyObject
* obj1
= 0 ;
6602 (char *) "self",(char *) "colBack", NULL
6605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6610 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6614 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6616 wxPyEndAllowThreads(__tstate
);
6617 if (PyErr_Occurred()) SWIG_fail
;
6619 Py_INCREF(Py_None
); resultobj
= Py_None
;
6626 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6627 PyObject
*resultobj
;
6628 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6630 long arg3
= (long) wxTEXT_ATTR_FONT
;
6631 PyObject
* obj0
= 0 ;
6632 PyObject
* obj1
= 0 ;
6633 PyObject
* obj2
= 0 ;
6635 (char *) "self",(char *) "font",(char *) "flags", NULL
6638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6642 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6645 PyErr_SetString(PyExc_TypeError
,"null reference");
6649 arg3
= (long) SWIG_AsLong(obj2
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6654 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6659 Py_INCREF(Py_None
); resultobj
= Py_None
;
6666 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6667 PyObject
*resultobj
;
6668 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6670 PyObject
* obj0
= 0 ;
6671 PyObject
* obj1
= 0 ;
6673 (char *) "self",(char *) "alignment", NULL
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6679 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
6680 if (PyErr_Occurred()) SWIG_fail
;
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6688 Py_INCREF(Py_None
); resultobj
= Py_None
;
6695 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
*resultobj
;
6697 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6698 wxArrayInt
*arg2
= 0 ;
6699 bool temp2
= False
;
6700 PyObject
* obj0
= 0 ;
6701 PyObject
* obj1
= 0 ;
6703 (char *) "self",(char *) "tabs", NULL
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6710 if (! PySequence_Check(obj1
)) {
6711 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6714 arg2
= new wxArrayInt
;
6716 int i
, len
=PySequence_Length(obj1
);
6717 for (i
=0; i
<len
; i
++) {
6718 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6719 PyObject
* number
= PyNumber_Int(item
);
6720 arg2
->Add(PyInt_AS_LONG(number
));
6726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6727 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6729 wxPyEndAllowThreads(__tstate
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6732 Py_INCREF(Py_None
); resultobj
= Py_None
;
6734 if (temp2
) delete arg2
;
6739 if (temp2
) delete arg2
;
6745 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
*resultobj
;
6747 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6749 PyObject
* obj0
= 0 ;
6750 PyObject
* obj1
= 0 ;
6752 (char *) "self",(char *) "indent", NULL
6755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6758 arg2
= (int) SWIG_AsInt(obj1
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6762 (arg1
)->SetLeftIndent(arg2
);
6764 wxPyEndAllowThreads(__tstate
);
6765 if (PyErr_Occurred()) SWIG_fail
;
6767 Py_INCREF(Py_None
); resultobj
= Py_None
;
6774 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6775 PyObject
*resultobj
;
6776 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6778 PyObject
* obj0
= 0 ;
6779 PyObject
* obj1
= 0 ;
6781 (char *) "self",(char *) "indent", NULL
6784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6787 arg2
= (int) SWIG_AsInt(obj1
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6791 (arg1
)->SetRightIndent(arg2
);
6793 wxPyEndAllowThreads(__tstate
);
6794 if (PyErr_Occurred()) SWIG_fail
;
6796 Py_INCREF(Py_None
); resultobj
= Py_None
;
6803 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6804 PyObject
*resultobj
;
6805 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6807 PyObject
* obj0
= 0 ;
6808 PyObject
* obj1
= 0 ;
6810 (char *) "self",(char *) "flags", NULL
6813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6816 arg2
= (long) SWIG_AsLong(obj1
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 (arg1
)->SetFlags(arg2
);
6822 wxPyEndAllowThreads(__tstate
);
6823 if (PyErr_Occurred()) SWIG_fail
;
6825 Py_INCREF(Py_None
); resultobj
= Py_None
;
6832 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6833 PyObject
*resultobj
;
6834 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6836 PyObject
* obj0
= 0 ;
6838 (char *) "self", NULL
6841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6858 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
;
6860 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6862 PyObject
* obj0
= 0 ;
6864 (char *) "self", NULL
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6884 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
;
6886 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6888 PyObject
* obj0
= 0 ;
6890 (char *) "self", NULL
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6910 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
*resultobj
;
6912 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6914 PyObject
* obj0
= 0 ;
6916 (char *) "self", NULL
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6924 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6936 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
;
6938 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6940 PyObject
* obj0
= 0 ;
6942 (char *) "self", NULL
6945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
6946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6962 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
;
6964 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6966 PyObject
* obj0
= 0 ;
6968 (char *) "self", NULL
6971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
6972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6988 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6989 PyObject
*resultobj
;
6990 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6992 PyObject
* obj0
= 0 ;
6994 (char *) "self", NULL
6997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
6998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7002 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7004 wxPyEndAllowThreads(__tstate
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7014 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
*resultobj
;
7016 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7019 PyObject
* obj0
= 0 ;
7020 PyObject
* obj1
= 0 ;
7022 (char *) "self",(char *) "flag", NULL
7025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7028 arg2
= (long) SWIG_AsLong(obj1
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7044 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
*resultobj
;
7046 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7048 PyObject
* obj0
= 0 ;
7050 (char *) "self", NULL
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7059 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7060 result
= (wxColour
*) &_result_ref
;
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7073 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
;
7075 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7077 PyObject
* obj0
= 0 ;
7079 (char *) "self", NULL
7082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7088 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7089 result
= (wxColour
*) &_result_ref
;
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7102 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7103 PyObject
*resultobj
;
7104 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7106 PyObject
* obj0
= 0 ;
7108 (char *) "self", NULL
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7117 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7118 result
= (wxFont
*) &_result_ref
;
7121 wxPyEndAllowThreads(__tstate
);
7122 if (PyErr_Occurred()) SWIG_fail
;
7125 wxFont
* resultptr
= new wxFont(*result
);
7126 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7134 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7135 PyObject
*resultobj
;
7136 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7138 PyObject
* obj0
= 0 ;
7140 (char *) "self", NULL
7143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7153 resultobj
= SWIG_FromInt((int)result
);
7160 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7161 PyObject
*resultobj
;
7162 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7164 PyObject
* obj0
= 0 ;
7166 (char *) "self", NULL
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7175 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7176 result
= (wxArrayInt
*) &_result_ref
;
7179 wxPyEndAllowThreads(__tstate
);
7180 if (PyErr_Occurred()) SWIG_fail
;
7183 resultobj
= PyList_New(0);
7185 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7186 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7187 PyList_Append(resultobj
, val
);
7197 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
*resultobj
;
7199 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7201 PyObject
* obj0
= 0 ;
7203 (char *) "self", NULL
7206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7211 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 resultobj
= SWIG_FromLong((long)result
);
7223 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
*resultobj
;
7225 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7227 PyObject
* obj0
= 0 ;
7229 (char *) "self", NULL
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7242 resultobj
= SWIG_FromLong((long)result
);
7249 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
*resultobj
;
7251 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7253 PyObject
* obj0
= 0 ;
7255 (char *) "self", NULL
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7263 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7265 wxPyEndAllowThreads(__tstate
);
7266 if (PyErr_Occurred()) SWIG_fail
;
7268 resultobj
= SWIG_FromLong((long)result
);
7275 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
*resultobj
;
7277 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7279 PyObject
* obj0
= 0 ;
7281 (char *) "self", NULL
7284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7301 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7302 PyObject
*resultobj
;
7303 wxTextAttr
*arg1
= 0 ;
7304 wxTextAttr
*arg2
= 0 ;
7305 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7307 PyObject
* obj0
= 0 ;
7308 PyObject
* obj1
= 0 ;
7309 PyObject
* obj2
= 0 ;
7311 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7316 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7319 PyErr_SetString(PyExc_TypeError
,"null reference");
7322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7323 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7326 PyErr_SetString(PyExc_TypeError
,"null reference");
7329 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7333 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7335 wxPyEndAllowThreads(__tstate
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7339 wxTextAttr
* resultptr
;
7340 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7349 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
7351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7352 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7354 return Py_BuildValue((char *)"");
7356 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7357 PyObject
*resultobj
;
7358 wxWindow
*arg1
= (wxWindow
*) 0 ;
7360 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7361 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7362 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7363 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7364 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7365 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7366 long arg6
= (long) 0 ;
7367 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7368 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7369 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7370 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7372 bool temp3
= False
;
7375 bool temp8
= False
;
7376 PyObject
* obj0
= 0 ;
7377 PyObject
* obj1
= 0 ;
7378 PyObject
* obj2
= 0 ;
7379 PyObject
* obj3
= 0 ;
7380 PyObject
* obj4
= 0 ;
7381 PyObject
* obj5
= 0 ;
7382 PyObject
* obj6
= 0 ;
7383 PyObject
* obj7
= 0 ;
7385 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7391 arg2
= (int) SWIG_AsInt(obj1
);
7392 if (PyErr_Occurred()) SWIG_fail
;
7395 arg3
= wxString_in_helper(obj2
);
7396 if (arg3
== NULL
) SWIG_fail
;
7403 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7409 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7413 arg6
= (long) SWIG_AsLong(obj5
);
7414 if (PyErr_Occurred()) SWIG_fail
;
7417 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7418 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7421 PyErr_SetString(PyExc_TypeError
,"null reference");
7427 arg8
= wxString_in_helper(obj7
);
7428 if (arg8
== NULL
) SWIG_fail
;
7433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7436 wxPyEndAllowThreads(__tstate
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7440 resultobj
= wxPyMake_wxObject(result
);
7464 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7465 PyObject
*resultobj
;
7471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7474 result
= (wxTextCtrl
*)new wxTextCtrl();
7476 wxPyEndAllowThreads(__tstate
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7480 resultobj
= wxPyMake_wxObject(result
);
7488 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7489 PyObject
*resultobj
;
7490 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7491 wxWindow
*arg2
= (wxWindow
*) 0 ;
7493 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7494 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7495 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7496 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7497 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7498 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7499 long arg7
= (long) 0 ;
7500 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7501 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7502 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7503 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7505 bool temp4
= False
;
7508 bool temp9
= False
;
7509 PyObject
* obj0
= 0 ;
7510 PyObject
* obj1
= 0 ;
7511 PyObject
* obj2
= 0 ;
7512 PyObject
* obj3
= 0 ;
7513 PyObject
* obj4
= 0 ;
7514 PyObject
* obj5
= 0 ;
7515 PyObject
* obj6
= 0 ;
7516 PyObject
* obj7
= 0 ;
7517 PyObject
* obj8
= 0 ;
7519 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7527 arg3
= (int) SWIG_AsInt(obj2
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7531 arg4
= wxString_in_helper(obj3
);
7532 if (arg4
== NULL
) SWIG_fail
;
7539 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7545 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7549 arg7
= (long) SWIG_AsLong(obj6
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7553 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
7554 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7557 PyErr_SetString(PyExc_TypeError
,"null reference");
7563 arg9
= wxString_in_helper(obj8
);
7564 if (arg9
== NULL
) SWIG_fail
;
7569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7570 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7572 wxPyEndAllowThreads(__tstate
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7598 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7599 PyObject
*resultobj
;
7600 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7602 PyObject
* obj0
= 0 ;
7604 (char *) "self", NULL
7607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7612 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7614 wxPyEndAllowThreads(__tstate
);
7615 if (PyErr_Occurred()) SWIG_fail
;
7619 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7621 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7630 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7631 PyObject
*resultobj
;
7632 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7633 wxString
*arg2
= 0 ;
7634 bool temp2
= False
;
7635 PyObject
* obj0
= 0 ;
7636 PyObject
* obj1
= 0 ;
7638 (char *) "self",(char *) "value", NULL
7641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7645 arg2
= wxString_in_helper(obj1
);
7646 if (arg2
== NULL
) SWIG_fail
;
7650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 (arg1
)->SetValue((wxString
const &)*arg2
);
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7656 Py_INCREF(Py_None
); resultobj
= Py_None
;
7671 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7672 PyObject
*resultobj
;
7673 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7677 PyObject
* obj0
= 0 ;
7678 PyObject
* obj1
= 0 ;
7679 PyObject
* obj2
= 0 ;
7681 (char *) "self",(char *) "from",(char *) "to", NULL
7684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7687 arg2
= (long) SWIG_AsLong(obj1
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7689 arg3
= (long) SWIG_AsLong(obj2
);
7690 if (PyErr_Occurred()) SWIG_fail
;
7692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7693 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7695 wxPyEndAllowThreads(__tstate
);
7696 if (PyErr_Occurred()) SWIG_fail
;
7700 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7702 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7711 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7712 PyObject
*resultobj
;
7713 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7716 PyObject
* obj0
= 0 ;
7717 PyObject
* obj1
= 0 ;
7719 (char *) "self",(char *) "lineNo", NULL
7722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7725 arg2
= (long) SWIG_AsLong(obj1
);
7726 if (PyErr_Occurred()) SWIG_fail
;
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7734 resultobj
= SWIG_FromInt((int)result
);
7741 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
*resultobj
;
7743 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7746 PyObject
* obj0
= 0 ;
7747 PyObject
* obj1
= 0 ;
7749 (char *) "self",(char *) "lineNo", NULL
7752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7755 arg2
= (long) SWIG_AsLong(obj1
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7759 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7761 wxPyEndAllowThreads(__tstate
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7766 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7768 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7777 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7778 PyObject
*resultobj
;
7779 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7781 PyObject
* obj0
= 0 ;
7783 (char *) "self", NULL
7786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7791 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7793 wxPyEndAllowThreads(__tstate
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7796 resultobj
= SWIG_FromInt((int)result
);
7803 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
*resultobj
;
7805 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7807 PyObject
* obj0
= 0 ;
7809 (char *) "self", NULL
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7817 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7819 wxPyEndAllowThreads(__tstate
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7829 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7830 PyObject
*resultobj
;
7831 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7833 PyObject
* obj0
= 0 ;
7835 (char *) "self", NULL
7838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7843 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7845 wxPyEndAllowThreads(__tstate
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7855 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7856 PyObject
*resultobj
;
7857 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7859 PyObject
* obj0
= 0 ;
7861 (char *) "self", NULL
7864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7869 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7871 wxPyEndAllowThreads(__tstate
);
7872 if (PyErr_Occurred()) SWIG_fail
;
7874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7881 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7882 PyObject
*resultobj
;
7883 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7885 PyObject
* obj0
= 0 ;
7887 (char *) "self", NULL
7890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7895 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7897 wxPyEndAllowThreads(__tstate
);
7898 if (PyErr_Occurred()) SWIG_fail
;
7900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7907 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7908 PyObject
*resultobj
;
7909 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7910 long *arg2
= (long *) 0 ;
7911 long *arg3
= (long *) 0 ;
7914 PyObject
* obj0
= 0 ;
7916 (char *) "self", NULL
7921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
7922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7926 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
7928 wxPyEndAllowThreads(__tstate
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7931 Py_INCREF(Py_None
); resultobj
= Py_None
;
7933 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7934 resultobj
= t_output_helper(resultobj
,o
);
7937 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7938 resultobj
= t_output_helper(resultobj
,o
);
7946 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7947 PyObject
*resultobj
;
7948 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7950 PyObject
* obj0
= 0 ;
7952 (char *) "self", NULL
7955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
7956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7960 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
7962 wxPyEndAllowThreads(__tstate
);
7963 if (PyErr_Occurred()) SWIG_fail
;
7967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7978 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7979 PyObject
*resultobj
;
7980 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7981 PyObject
* obj0
= 0 ;
7983 (char *) "self", NULL
7986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
7987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7996 Py_INCREF(Py_None
); resultobj
= Py_None
;
8003 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8004 PyObject
*resultobj
;
8005 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8008 wxString
*arg4
= 0 ;
8009 bool temp4
= False
;
8010 PyObject
* obj0
= 0 ;
8011 PyObject
* obj1
= 0 ;
8012 PyObject
* obj2
= 0 ;
8013 PyObject
* obj3
= 0 ;
8015 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8021 arg2
= (long) SWIG_AsLong(obj1
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8023 arg3
= (long) SWIG_AsLong(obj2
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8026 arg4
= wxString_in_helper(obj3
);
8027 if (arg4
== NULL
) SWIG_fail
;
8031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8032 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8034 wxPyEndAllowThreads(__tstate
);
8035 if (PyErr_Occurred()) SWIG_fail
;
8037 Py_INCREF(Py_None
); resultobj
= Py_None
;
8052 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
*resultobj
;
8054 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8057 PyObject
* obj0
= 0 ;
8058 PyObject
* obj1
= 0 ;
8059 PyObject
* obj2
= 0 ;
8061 (char *) "self",(char *) "from",(char *) "to", NULL
8064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8067 arg2
= (long) SWIG_AsLong(obj1
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8069 arg3
= (long) SWIG_AsLong(obj2
);
8070 if (PyErr_Occurred()) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 (arg1
)->Remove(arg2
,arg3
);
8075 wxPyEndAllowThreads(__tstate
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8078 Py_INCREF(Py_None
); resultobj
= Py_None
;
8085 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8086 PyObject
*resultobj
;
8087 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8088 wxString
*arg2
= 0 ;
8090 bool temp2
= False
;
8091 PyObject
* obj0
= 0 ;
8092 PyObject
* obj1
= 0 ;
8094 (char *) "self",(char *) "file", NULL
8097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8101 arg2
= wxString_in_helper(obj1
);
8102 if (arg2
== NULL
) SWIG_fail
;
8106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8107 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8109 wxPyEndAllowThreads(__tstate
);
8110 if (PyErr_Occurred()) SWIG_fail
;
8112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8127 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8128 PyObject
*resultobj
;
8129 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8130 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8131 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8133 bool temp2
= False
;
8134 PyObject
* obj0
= 0 ;
8135 PyObject
* obj1
= 0 ;
8137 (char *) "self",(char *) "file", NULL
8140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8145 arg2
= wxString_in_helper(obj1
);
8146 if (arg2
== NULL
) SWIG_fail
;
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8172 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
;
8174 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8175 PyObject
* obj0
= 0 ;
8177 (char *) "self", NULL
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8185 (arg1
)->MarkDirty();
8187 wxPyEndAllowThreads(__tstate
);
8188 if (PyErr_Occurred()) SWIG_fail
;
8190 Py_INCREF(Py_None
); resultobj
= Py_None
;
8197 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8198 PyObject
*resultobj
;
8199 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8200 PyObject
* obj0
= 0 ;
8202 (char *) "self", NULL
8205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8210 (arg1
)->DiscardEdits();
8212 wxPyEndAllowThreads(__tstate
);
8213 if (PyErr_Occurred()) SWIG_fail
;
8215 Py_INCREF(Py_None
); resultobj
= Py_None
;
8222 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8223 PyObject
*resultobj
;
8224 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8225 unsigned long arg2
;
8226 PyObject
* obj0
= 0 ;
8227 PyObject
* obj1
= 0 ;
8229 (char *) "self",(char *) "len", NULL
8232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8235 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8239 (arg1
)->SetMaxLength(arg2
);
8241 wxPyEndAllowThreads(__tstate
);
8242 if (PyErr_Occurred()) SWIG_fail
;
8244 Py_INCREF(Py_None
); resultobj
= Py_None
;
8251 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8252 PyObject
*resultobj
;
8253 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8254 wxString
*arg2
= 0 ;
8255 bool temp2
= False
;
8256 PyObject
* obj0
= 0 ;
8257 PyObject
* obj1
= 0 ;
8259 (char *) "self",(char *) "text", NULL
8262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8266 arg2
= wxString_in_helper(obj1
);
8267 if (arg2
== NULL
) SWIG_fail
;
8271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8272 (arg1
)->WriteText((wxString
const &)*arg2
);
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) SWIG_fail
;
8277 Py_INCREF(Py_None
); resultobj
= Py_None
;
8292 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
*resultobj
;
8294 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8295 wxString
*arg2
= 0 ;
8296 bool temp2
= False
;
8297 PyObject
* obj0
= 0 ;
8298 PyObject
* obj1
= 0 ;
8300 (char *) "self",(char *) "text", NULL
8303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8307 arg2
= wxString_in_helper(obj1
);
8308 if (arg2
== NULL
) SWIG_fail
;
8312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8313 (arg1
)->AppendText((wxString
const &)*arg2
);
8315 wxPyEndAllowThreads(__tstate
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8318 Py_INCREF(Py_None
); resultobj
= Py_None
;
8333 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8334 PyObject
*resultobj
;
8335 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8336 wxKeyEvent
*arg2
= 0 ;
8338 PyObject
* obj0
= 0 ;
8339 PyObject
* obj1
= 0 ;
8341 (char *) "self",(char *) "event", NULL
8344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8348 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8351 PyErr_SetString(PyExc_TypeError
,"null reference");
8355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8356 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8358 wxPyEndAllowThreads(__tstate
);
8359 if (PyErr_Occurred()) SWIG_fail
;
8361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8368 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8369 PyObject
*resultobj
;
8370 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8373 wxTextAttr
*arg4
= 0 ;
8375 PyObject
* obj0
= 0 ;
8376 PyObject
* obj1
= 0 ;
8377 PyObject
* obj2
= 0 ;
8378 PyObject
* obj3
= 0 ;
8380 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8386 arg2
= (long) SWIG_AsLong(obj1
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8388 arg3
= (long) SWIG_AsLong(obj2
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8390 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8391 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8394 PyErr_SetString(PyExc_TypeError
,"null reference");
8398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8399 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8401 wxPyEndAllowThreads(__tstate
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8411 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8412 PyObject
*resultobj
;
8413 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8415 wxTextAttr
*arg3
= 0 ;
8417 PyObject
* obj0
= 0 ;
8418 PyObject
* obj1
= 0 ;
8419 PyObject
* obj2
= 0 ;
8421 (char *) "self",(char *) "position",(char *) "style", NULL
8424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8427 arg2
= (long) SWIG_AsLong(obj1
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8429 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8430 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8433 PyErr_SetString(PyExc_TypeError
,"null reference");
8437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8438 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8440 wxPyEndAllowThreads(__tstate
);
8441 if (PyErr_Occurred()) SWIG_fail
;
8443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8450 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8451 PyObject
*resultobj
;
8452 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8453 wxTextAttr
*arg2
= 0 ;
8455 PyObject
* obj0
= 0 ;
8456 PyObject
* obj1
= 0 ;
8458 (char *) "self",(char *) "style", NULL
8461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8465 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8468 PyErr_SetString(PyExc_TypeError
,"null reference");
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8485 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8486 PyObject
*resultobj
;
8487 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8489 PyObject
* obj0
= 0 ;
8491 (char *) "self", NULL
8494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8500 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8501 result
= (wxTextAttr
*) &_result_ref
;
8504 wxPyEndAllowThreads(__tstate
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
8514 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8515 PyObject
*resultobj
;
8516 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8520 PyObject
* obj0
= 0 ;
8521 PyObject
* obj1
= 0 ;
8522 PyObject
* obj2
= 0 ;
8524 (char *) "self",(char *) "x",(char *) "y", NULL
8527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8530 arg2
= (long) SWIG_AsLong(obj1
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8532 arg3
= (long) SWIG_AsLong(obj2
);
8533 if (PyErr_Occurred()) SWIG_fail
;
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8536 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8541 resultobj
= SWIG_FromLong((long)result
);
8548 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
;
8550 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8552 long *arg3
= (long *) 0 ;
8553 long *arg4
= (long *) 0 ;
8556 PyObject
* obj0
= 0 ;
8557 PyObject
* obj1
= 0 ;
8559 (char *) "self",(char *) "pos", NULL
8564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8567 arg2
= (long) SWIG_AsLong(obj1
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8576 Py_INCREF(Py_None
); resultobj
= Py_None
;
8578 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8579 resultobj
= t_output_helper(resultobj
,o
);
8582 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8583 resultobj
= t_output_helper(resultobj
,o
);
8591 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8592 PyObject
*resultobj
;
8593 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8595 PyObject
* obj0
= 0 ;
8596 PyObject
* obj1
= 0 ;
8598 (char *) "self",(char *) "pos", NULL
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8604 arg2
= (long) SWIG_AsLong(obj1
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8608 (arg1
)->ShowPosition(arg2
);
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) SWIG_fail
;
8613 Py_INCREF(Py_None
); resultobj
= Py_None
;
8620 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8621 PyObject
*resultobj
;
8622 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8624 long *arg3
= (long *) 0 ;
8625 long *arg4
= (long *) 0 ;
8630 PyObject
* obj0
= 0 ;
8631 PyObject
* obj1
= 0 ;
8633 (char *) "self",(char *) "pt", NULL
8638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8643 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8647 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8649 wxPyEndAllowThreads(__tstate
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8652 resultobj
= SWIG_FromInt((int)result
);
8654 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8655 resultobj
= t_output_helper(resultobj
,o
);
8658 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8659 resultobj
= t_output_helper(resultobj
,o
);
8667 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8668 PyObject
*resultobj
;
8669 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8670 PyObject
* obj0
= 0 ;
8672 (char *) "self", NULL
8675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8682 wxPyEndAllowThreads(__tstate
);
8683 if (PyErr_Occurred()) SWIG_fail
;
8685 Py_INCREF(Py_None
); resultobj
= Py_None
;
8692 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8693 PyObject
*resultobj
;
8694 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8695 PyObject
* obj0
= 0 ;
8697 (char *) "self", NULL
8700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8707 wxPyEndAllowThreads(__tstate
);
8708 if (PyErr_Occurred()) SWIG_fail
;
8710 Py_INCREF(Py_None
); resultobj
= Py_None
;
8717 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
*resultobj
;
8719 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8720 PyObject
* obj0
= 0 ;
8722 (char *) "self", NULL
8725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8732 wxPyEndAllowThreads(__tstate
);
8733 if (PyErr_Occurred()) SWIG_fail
;
8735 Py_INCREF(Py_None
); resultobj
= Py_None
;
8742 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8743 PyObject
*resultobj
;
8744 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8746 PyObject
* obj0
= 0 ;
8748 (char *) "self", NULL
8751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8756 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8758 wxPyEndAllowThreads(__tstate
);
8759 if (PyErr_Occurred()) SWIG_fail
;
8761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8768 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8769 PyObject
*resultobj
;
8770 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8772 PyObject
* obj0
= 0 ;
8774 (char *) "self", NULL
8777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8794 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
;
8796 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8798 PyObject
* obj0
= 0 ;
8800 (char *) "self", NULL
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8808 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8810 wxPyEndAllowThreads(__tstate
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8820 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8821 PyObject
*resultobj
;
8822 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8823 PyObject
* obj0
= 0 ;
8825 (char *) "self", NULL
8828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8835 wxPyEndAllowThreads(__tstate
);
8836 if (PyErr_Occurred()) SWIG_fail
;
8838 Py_INCREF(Py_None
); resultobj
= Py_None
;
8845 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8846 PyObject
*resultobj
;
8847 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8848 PyObject
* obj0
= 0 ;
8850 (char *) "self", NULL
8853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8860 wxPyEndAllowThreads(__tstate
);
8861 if (PyErr_Occurred()) SWIG_fail
;
8863 Py_INCREF(Py_None
); resultobj
= Py_None
;
8870 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8871 PyObject
*resultobj
;
8872 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8874 PyObject
* obj0
= 0 ;
8876 (char *) "self", NULL
8879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
8880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8884 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
8886 wxPyEndAllowThreads(__tstate
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8896 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8897 PyObject
*resultobj
;
8898 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8900 PyObject
* obj0
= 0 ;
8902 (char *) "self", NULL
8905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
8906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8910 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
8912 wxPyEndAllowThreads(__tstate
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8922 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
*resultobj
;
8924 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8926 PyObject
* obj0
= 0 ;
8927 PyObject
* obj1
= 0 ;
8929 (char *) "self",(char *) "pos", NULL
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
8933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8935 arg2
= (long) SWIG_AsLong(obj1
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8939 (arg1
)->SetInsertionPoint(arg2
);
8941 wxPyEndAllowThreads(__tstate
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8944 Py_INCREF(Py_None
); resultobj
= Py_None
;
8951 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8952 PyObject
*resultobj
;
8953 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8954 PyObject
* obj0
= 0 ;
8956 (char *) "self", NULL
8959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
8960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8964 (arg1
)->SetInsertionPointEnd();
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8969 Py_INCREF(Py_None
); resultobj
= Py_None
;
8976 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8977 PyObject
*resultobj
;
8978 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8980 PyObject
* obj0
= 0 ;
8982 (char *) "self", NULL
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
8986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
8992 wxPyEndAllowThreads(__tstate
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8995 resultobj
= SWIG_FromLong((long)result
);
9002 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
*resultobj
;
9004 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9006 PyObject
* obj0
= 0 ;
9008 (char *) "self", NULL
9011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9016 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9018 wxPyEndAllowThreads(__tstate
);
9019 if (PyErr_Occurred()) SWIG_fail
;
9021 resultobj
= SWIG_FromLong((long)result
);
9028 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9029 PyObject
*resultobj
;
9030 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9033 PyObject
* obj0
= 0 ;
9034 PyObject
* obj1
= 0 ;
9035 PyObject
* obj2
= 0 ;
9037 (char *) "self",(char *) "from",(char *) "to", NULL
9040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9043 arg2
= (long) SWIG_AsLong(obj1
);
9044 if (PyErr_Occurred()) SWIG_fail
;
9045 arg3
= (long) SWIG_AsLong(obj2
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9049 (arg1
)->SetSelection(arg2
,arg3
);
9051 wxPyEndAllowThreads(__tstate
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9054 Py_INCREF(Py_None
); resultobj
= Py_None
;
9061 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
*resultobj
;
9063 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9064 PyObject
* obj0
= 0 ;
9066 (char *) "self", NULL
9069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9074 (arg1
)->SelectAll();
9076 wxPyEndAllowThreads(__tstate
);
9077 if (PyErr_Occurred()) SWIG_fail
;
9079 Py_INCREF(Py_None
); resultobj
= Py_None
;
9086 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
;
9088 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9090 PyObject
* obj0
= 0 ;
9091 PyObject
* obj1
= 0 ;
9093 (char *) "self",(char *) "editable", NULL
9096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9099 arg2
= (bool) SWIG_AsBool(obj1
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9103 (arg1
)->SetEditable(arg2
);
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9108 Py_INCREF(Py_None
); resultobj
= Py_None
;
9115 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9116 PyObject
*resultobj
;
9117 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9118 wxString
*arg2
= 0 ;
9119 bool temp2
= False
;
9120 PyObject
* obj0
= 0 ;
9121 PyObject
* obj1
= 0 ;
9123 (char *) "self",(char *) "text", NULL
9126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9130 arg2
= wxString_in_helper(obj1
);
9131 if (arg2
== NULL
) SWIG_fail
;
9135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9136 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9138 wxPyEndAllowThreads(__tstate
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9141 Py_INCREF(Py_None
); resultobj
= Py_None
;
9156 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9157 PyObject
*resultobj
;
9158 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9162 PyObject
* obj0
= 0 ;
9163 PyObject
* obj1
= 0 ;
9164 PyObject
* obj2
= 0 ;
9166 (char *) "self",(char *) "from",(char *) "to", NULL
9169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9172 arg2
= (long) SWIG_AsLong(obj1
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9174 arg3
= (long) SWIG_AsLong(obj2
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9178 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9180 wxPyEndAllowThreads(__tstate
);
9181 if (PyErr_Occurred()) SWIG_fail
;
9185 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9187 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9196 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9199 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9201 return Py_BuildValue((char *)"");
9203 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9204 PyObject
*resultobj
;
9206 wxMouseEvent
*arg2
= 0 ;
9209 wxTextUrlEvent
*result
;
9210 PyObject
* obj0
= 0 ;
9211 PyObject
* obj1
= 0 ;
9212 PyObject
* obj2
= 0 ;
9213 PyObject
* obj3
= 0 ;
9215 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9219 arg1
= (int) SWIG_AsInt(obj0
);
9220 if (PyErr_Occurred()) SWIG_fail
;
9221 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9222 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9225 PyErr_SetString(PyExc_TypeError
,"null reference");
9228 arg3
= (long) SWIG_AsLong(obj2
);
9229 if (PyErr_Occurred()) SWIG_fail
;
9230 arg4
= (long) SWIG_AsLong(obj3
);
9231 if (PyErr_Occurred()) SWIG_fail
;
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9236 wxPyEndAllowThreads(__tstate
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9246 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
*resultobj
;
9248 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9249 wxMouseEvent
*result
;
9250 PyObject
* obj0
= 0 ;
9252 (char *) "self", NULL
9255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9261 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9262 result
= (wxMouseEvent
*) &_result_ref
;
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9275 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9276 PyObject
*resultobj
;
9277 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9279 PyObject
* obj0
= 0 ;
9281 (char *) "self", NULL
9284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9289 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9291 wxPyEndAllowThreads(__tstate
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9294 resultobj
= SWIG_FromLong((long)result
);
9301 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9302 PyObject
*resultobj
;
9303 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9305 PyObject
* obj0
= 0 ;
9307 (char *) "self", NULL
9310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9315 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9317 wxPyEndAllowThreads(__tstate
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9320 resultobj
= SWIG_FromLong((long)result
);
9327 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
9329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9330 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9332 return Py_BuildValue((char *)"");
9334 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
9335 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9340 static PyObject
*_wrap_ScrollBarNameStr_get() {
9345 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9347 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9354 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
*resultobj
;
9356 wxWindow
*arg1
= (wxWindow
*) 0 ;
9357 int arg2
= (int) -1 ;
9358 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9359 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9360 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9361 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9362 long arg5
= (long) wxSB_HORIZONTAL
;
9363 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9364 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9365 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9366 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9367 wxScrollBar
*result
;
9370 bool temp7
= False
;
9371 PyObject
* obj0
= 0 ;
9372 PyObject
* obj1
= 0 ;
9373 PyObject
* obj2
= 0 ;
9374 PyObject
* obj3
= 0 ;
9375 PyObject
* obj4
= 0 ;
9376 PyObject
* obj5
= 0 ;
9377 PyObject
* obj6
= 0 ;
9379 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9386 arg2
= (int) SWIG_AsInt(obj1
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9392 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9398 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9402 arg5
= (long) SWIG_AsLong(obj4
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9406 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
9407 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9410 PyErr_SetString(PyExc_TypeError
,"null reference");
9416 arg7
= wxString_in_helper(obj6
);
9417 if (arg7
== NULL
) SWIG_fail
;
9422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9423 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9425 wxPyEndAllowThreads(__tstate
);
9426 if (PyErr_Occurred()) SWIG_fail
;
9428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9443 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9444 PyObject
*resultobj
;
9445 wxScrollBar
*result
;
9450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 result
= (wxScrollBar
*)new wxScrollBar();
9455 wxPyEndAllowThreads(__tstate
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9465 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9466 PyObject
*resultobj
;
9467 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9468 wxWindow
*arg2
= (wxWindow
*) 0 ;
9469 int arg3
= (int) -1 ;
9470 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9471 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9472 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9473 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9474 long arg6
= (long) wxSB_HORIZONTAL
;
9475 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9476 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9477 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9478 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9482 bool temp8
= False
;
9483 PyObject
* obj0
= 0 ;
9484 PyObject
* obj1
= 0 ;
9485 PyObject
* obj2
= 0 ;
9486 PyObject
* obj3
= 0 ;
9487 PyObject
* obj4
= 0 ;
9488 PyObject
* obj5
= 0 ;
9489 PyObject
* obj6
= 0 ;
9490 PyObject
* obj7
= 0 ;
9492 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9501 arg3
= (int) SWIG_AsInt(obj2
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9507 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9513 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9517 arg6
= (long) SWIG_AsLong(obj5
);
9518 if (PyErr_Occurred()) SWIG_fail
;
9521 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
9522 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9525 PyErr_SetString(PyExc_TypeError
,"null reference");
9531 arg8
= wxString_in_helper(obj7
);
9532 if (arg8
== NULL
) SWIG_fail
;
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9558 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9559 PyObject
*resultobj
;
9560 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9562 PyObject
* obj0
= 0 ;
9564 (char *) "self", NULL
9567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9577 resultobj
= SWIG_FromInt((int)result
);
9584 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
*resultobj
;
9586 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9588 PyObject
* obj0
= 0 ;
9590 (char *) "self", NULL
9593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9598 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9600 wxPyEndAllowThreads(__tstate
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9603 resultobj
= SWIG_FromInt((int)result
);
9610 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9611 PyObject
*resultobj
;
9612 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9614 PyObject
* obj0
= 0 ;
9616 (char *) "self", NULL
9619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9629 resultobj
= SWIG_FromInt((int)result
);
9636 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, 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_GetRange",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
)->GetRange();
9652 wxPyEndAllowThreads(__tstate
);
9653 if (PyErr_Occurred()) SWIG_fail
;
9655 resultobj
= SWIG_FromInt((int)result
);
9662 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, 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_IsVertical",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
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9688 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
;
9690 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9695 (char *) "self",(char *) "viewStart", NULL
9698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9701 arg2
= (int) SWIG_AsInt(obj1
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 (arg1
)->SetThumbPosition(arg2
);
9707 wxPyEndAllowThreads(__tstate
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9710 Py_INCREF(Py_None
); resultobj
= Py_None
;
9717 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
*resultobj
;
9719 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9724 bool arg6
= (bool) True
;
9725 PyObject
* obj0
= 0 ;
9726 PyObject
* obj1
= 0 ;
9727 PyObject
* obj2
= 0 ;
9728 PyObject
* obj3
= 0 ;
9729 PyObject
* obj4
= 0 ;
9730 PyObject
* obj5
= 0 ;
9732 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9738 arg2
= (int) SWIG_AsInt(obj1
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9740 arg3
= (int) SWIG_AsInt(obj2
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9742 arg4
= (int) SWIG_AsInt(obj3
);
9743 if (PyErr_Occurred()) SWIG_fail
;
9744 arg5
= (int) SWIG_AsInt(obj4
);
9745 if (PyErr_Occurred()) SWIG_fail
;
9747 arg6
= (bool) SWIG_AsBool(obj5
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9752 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9754 wxPyEndAllowThreads(__tstate
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9757 Py_INCREF(Py_None
); resultobj
= Py_None
;
9764 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
9766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9767 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9769 return Py_BuildValue((char *)"");
9771 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
9772 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9777 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9782 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9784 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9791 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
9792 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9797 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9802 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9804 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9811 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
*resultobj
;
9813 wxWindow
*arg1
= (wxWindow
*) 0 ;
9814 int arg2
= (int) -1 ;
9815 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9816 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9817 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9818 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9819 long arg5
= (long) wxSP_HORIZONTAL
;
9820 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9821 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9822 wxSpinButton
*result
;
9825 bool temp6
= False
;
9826 PyObject
* obj0
= 0 ;
9827 PyObject
* obj1
= 0 ;
9828 PyObject
* obj2
= 0 ;
9829 PyObject
* obj3
= 0 ;
9830 PyObject
* obj4
= 0 ;
9831 PyObject
* obj5
= 0 ;
9833 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9840 arg2
= (int) SWIG_AsInt(obj1
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9846 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9852 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9856 arg5
= (long) SWIG_AsLong(obj4
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9861 arg6
= wxString_in_helper(obj5
);
9862 if (arg6
== NULL
) SWIG_fail
;
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
9888 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
*resultobj
;
9890 wxSpinButton
*result
;
9895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 result
= (wxSpinButton
*)new wxSpinButton();
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
9910 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9911 PyObject
*resultobj
;
9912 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9913 wxWindow
*arg2
= (wxWindow
*) 0 ;
9914 int arg3
= (int) -1 ;
9915 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9916 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9917 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9918 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9919 long arg6
= (long) wxSP_HORIZONTAL
;
9920 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
9921 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9925 bool temp7
= False
;
9926 PyObject
* obj0
= 0 ;
9927 PyObject
* obj1
= 0 ;
9928 PyObject
* obj2
= 0 ;
9929 PyObject
* obj3
= 0 ;
9930 PyObject
* obj4
= 0 ;
9931 PyObject
* obj5
= 0 ;
9932 PyObject
* obj6
= 0 ;
9934 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
9939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9943 arg3
= (int) SWIG_AsInt(obj2
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9949 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9955 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9959 arg6
= (long) SWIG_AsLong(obj5
);
9960 if (PyErr_Occurred()) SWIG_fail
;
9964 arg7
= wxString_in_helper(obj6
);
9965 if (arg7
== NULL
) SWIG_fail
;
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9971 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9991 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9992 PyObject
*resultobj
;
9993 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9995 PyObject
* obj0
= 0 ;
9997 (char *) "self", NULL
10000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10005 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10007 wxPyEndAllowThreads(__tstate
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10010 resultobj
= SWIG_FromInt((int)result
);
10017 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10018 PyObject
*resultobj
;
10019 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10021 PyObject
* obj0
= 0 ;
10022 char *kwnames
[] = {
10023 (char *) "self", NULL
10026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10031 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10033 wxPyEndAllowThreads(__tstate
);
10034 if (PyErr_Occurred()) SWIG_fail
;
10036 resultobj
= SWIG_FromInt((int)result
);
10043 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10044 PyObject
*resultobj
;
10045 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10047 PyObject
* obj0
= 0 ;
10048 char *kwnames
[] = {
10049 (char *) "self", NULL
10052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10057 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10062 resultobj
= SWIG_FromInt((int)result
);
10069 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10070 PyObject
*resultobj
;
10071 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10073 PyObject
* obj0
= 0 ;
10074 PyObject
* obj1
= 0 ;
10075 char *kwnames
[] = {
10076 (char *) "self",(char *) "val", NULL
10079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10082 arg2
= (int) SWIG_AsInt(obj1
);
10083 if (PyErr_Occurred()) SWIG_fail
;
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 (arg1
)->SetValue(arg2
);
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10091 Py_INCREF(Py_None
); resultobj
= Py_None
;
10098 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10099 PyObject
*resultobj
;
10100 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10102 PyObject
* obj0
= 0 ;
10103 PyObject
* obj1
= 0 ;
10104 char *kwnames
[] = {
10105 (char *) "self",(char *) "minVal", NULL
10108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10111 arg2
= (int) SWIG_AsInt(obj1
);
10112 if (PyErr_Occurred()) SWIG_fail
;
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 (arg1
)->SetMin(arg2
);
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10120 Py_INCREF(Py_None
); resultobj
= Py_None
;
10127 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10128 PyObject
*resultobj
;
10129 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10131 PyObject
* obj0
= 0 ;
10132 PyObject
* obj1
= 0 ;
10133 char *kwnames
[] = {
10134 (char *) "self",(char *) "maxVal", NULL
10137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10140 arg2
= (int) SWIG_AsInt(obj1
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10144 (arg1
)->SetMax(arg2
);
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10149 Py_INCREF(Py_None
); resultobj
= Py_None
;
10156 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10157 PyObject
*resultobj
;
10158 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10161 PyObject
* obj0
= 0 ;
10162 PyObject
* obj1
= 0 ;
10163 PyObject
* obj2
= 0 ;
10164 char *kwnames
[] = {
10165 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10171 arg2
= (int) SWIG_AsInt(obj1
);
10172 if (PyErr_Occurred()) SWIG_fail
;
10173 arg3
= (int) SWIG_AsInt(obj2
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10177 (arg1
)->SetRange(arg2
,arg3
);
10179 wxPyEndAllowThreads(__tstate
);
10180 if (PyErr_Occurred()) SWIG_fail
;
10182 Py_INCREF(Py_None
); resultobj
= Py_None
;
10189 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10190 PyObject
*resultobj
;
10191 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10193 PyObject
* obj0
= 0 ;
10194 char *kwnames
[] = {
10195 (char *) "self", NULL
10198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10203 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10205 wxPyEndAllowThreads(__tstate
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10215 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
10217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10218 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10220 return Py_BuildValue((char *)"");
10222 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10223 PyObject
*resultobj
;
10224 wxWindow
*arg1
= (wxWindow
*) 0 ;
10225 int arg2
= (int) -1 ;
10226 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10227 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10228 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10229 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10230 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10231 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10232 long arg6
= (long) wxSP_ARROW_KEYS
;
10233 int arg7
= (int) 0 ;
10234 int arg8
= (int) 100 ;
10235 int arg9
= (int) 0 ;
10236 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10237 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10238 wxSpinCtrl
*result
;
10239 bool temp3
= False
;
10242 bool temp10
= False
;
10243 PyObject
* obj0
= 0 ;
10244 PyObject
* obj1
= 0 ;
10245 PyObject
* obj2
= 0 ;
10246 PyObject
* obj3
= 0 ;
10247 PyObject
* obj4
= 0 ;
10248 PyObject
* obj5
= 0 ;
10249 PyObject
* obj6
= 0 ;
10250 PyObject
* obj7
= 0 ;
10251 PyObject
* obj8
= 0 ;
10252 PyObject
* obj9
= 0 ;
10253 char *kwnames
[] = {
10254 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10261 arg2
= (int) SWIG_AsInt(obj1
);
10262 if (PyErr_Occurred()) SWIG_fail
;
10266 arg3
= wxString_in_helper(obj2
);
10267 if (arg3
== NULL
) SWIG_fail
;
10274 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10280 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10284 arg6
= (long) SWIG_AsLong(obj5
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10288 arg7
= (int) SWIG_AsInt(obj6
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10292 arg8
= (int) SWIG_AsInt(obj7
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10296 arg9
= (int) SWIG_AsInt(obj8
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10301 arg10
= wxString_in_helper(obj9
);
10302 if (arg10
== NULL
) SWIG_fail
;
10307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10308 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10310 wxPyEndAllowThreads(__tstate
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10336 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10337 PyObject
*resultobj
;
10338 wxSpinCtrl
*result
;
10339 char *kwnames
[] = {
10343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10358 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
;
10360 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10361 wxWindow
*arg2
= (wxWindow
*) 0 ;
10362 int arg3
= (int) -1 ;
10363 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10364 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10365 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10366 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10367 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10368 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10369 long arg7
= (long) wxSP_ARROW_KEYS
;
10370 int arg8
= (int) 0 ;
10371 int arg9
= (int) 100 ;
10372 int arg10
= (int) 0 ;
10373 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10374 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10376 bool temp4
= False
;
10379 bool temp11
= False
;
10380 PyObject
* obj0
= 0 ;
10381 PyObject
* obj1
= 0 ;
10382 PyObject
* obj2
= 0 ;
10383 PyObject
* obj3
= 0 ;
10384 PyObject
* obj4
= 0 ;
10385 PyObject
* obj5
= 0 ;
10386 PyObject
* obj6
= 0 ;
10387 PyObject
* obj7
= 0 ;
10388 PyObject
* obj8
= 0 ;
10389 PyObject
* obj9
= 0 ;
10390 PyObject
* obj10
= 0 ;
10391 char *kwnames
[] = {
10392 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10401 arg3
= (int) SWIG_AsInt(obj2
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10406 arg4
= wxString_in_helper(obj3
);
10407 if (arg4
== NULL
) SWIG_fail
;
10414 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10420 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10424 arg7
= (long) SWIG_AsLong(obj6
);
10425 if (PyErr_Occurred()) SWIG_fail
;
10428 arg8
= (int) SWIG_AsInt(obj7
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10432 arg9
= (int) SWIG_AsInt(obj8
);
10433 if (PyErr_Occurred()) SWIG_fail
;
10436 arg10
= (int) SWIG_AsInt(obj9
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10441 arg11
= wxString_in_helper(obj10
);
10442 if (arg11
== NULL
) SWIG_fail
;
10447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10448 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10450 wxPyEndAllowThreads(__tstate
);
10451 if (PyErr_Occurred()) SWIG_fail
;
10453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10476 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10477 PyObject
*resultobj
;
10478 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10480 PyObject
* obj0
= 0 ;
10481 char *kwnames
[] = {
10482 (char *) "self", NULL
10485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10495 resultobj
= SWIG_FromInt((int)result
);
10502 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
*resultobj
;
10504 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10506 PyObject
* obj0
= 0 ;
10507 PyObject
* obj1
= 0 ;
10508 char *kwnames
[] = {
10509 (char *) "self",(char *) "value", NULL
10512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10515 arg2
= (int) SWIG_AsInt(obj1
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10519 (arg1
)->SetValue(arg2
);
10521 wxPyEndAllowThreads(__tstate
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10524 Py_INCREF(Py_None
); resultobj
= Py_None
;
10531 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10532 PyObject
*resultobj
;
10533 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10534 wxString
*arg2
= 0 ;
10535 bool temp2
= False
;
10536 PyObject
* obj0
= 0 ;
10537 PyObject
* obj1
= 0 ;
10538 char *kwnames
[] = {
10539 (char *) "self",(char *) "text", NULL
10542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10546 arg2
= wxString_in_helper(obj1
);
10547 if (arg2
== NULL
) SWIG_fail
;
10551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10552 (arg1
)->SetValue((wxString
const &)*arg2
);
10554 wxPyEndAllowThreads(__tstate
);
10555 if (PyErr_Occurred()) SWIG_fail
;
10557 Py_INCREF(Py_None
); resultobj
= Py_None
;
10572 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10573 PyObject
*resultobj
;
10574 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10577 PyObject
* obj0
= 0 ;
10578 PyObject
* obj1
= 0 ;
10579 PyObject
* obj2
= 0 ;
10580 char *kwnames
[] = {
10581 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10587 arg2
= (int) SWIG_AsInt(obj1
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10589 arg3
= (int) SWIG_AsInt(obj2
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10593 (arg1
)->SetRange(arg2
,arg3
);
10595 wxPyEndAllowThreads(__tstate
);
10596 if (PyErr_Occurred()) SWIG_fail
;
10598 Py_INCREF(Py_None
); resultobj
= Py_None
;
10605 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10606 PyObject
*resultobj
;
10607 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10609 PyObject
* obj0
= 0 ;
10610 char *kwnames
[] = {
10611 (char *) "self", NULL
10614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10619 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10621 wxPyEndAllowThreads(__tstate
);
10622 if (PyErr_Occurred()) SWIG_fail
;
10624 resultobj
= SWIG_FromInt((int)result
);
10631 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10632 PyObject
*resultobj
;
10633 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10635 PyObject
* obj0
= 0 ;
10636 char *kwnames
[] = {
10637 (char *) "self", NULL
10640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10645 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10647 wxPyEndAllowThreads(__tstate
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10650 resultobj
= SWIG_FromInt((int)result
);
10657 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10658 PyObject
*resultobj
;
10659 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10662 PyObject
* obj0
= 0 ;
10663 PyObject
* obj1
= 0 ;
10664 PyObject
* obj2
= 0 ;
10665 char *kwnames
[] = {
10666 (char *) "self",(char *) "from",(char *) "to", NULL
10669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10672 arg2
= (long) SWIG_AsLong(obj1
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10674 arg3
= (long) SWIG_AsLong(obj2
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 (arg1
)->SetSelection(arg2
,arg3
);
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10683 Py_INCREF(Py_None
); resultobj
= Py_None
;
10690 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
10692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10693 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10695 return Py_BuildValue((char *)"");
10697 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10698 PyObject
*resultobj
;
10699 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10700 int arg2
= (int) 0 ;
10701 wxSpinEvent
*result
;
10702 PyObject
* obj0
= 0 ;
10703 PyObject
* obj1
= 0 ;
10704 char *kwnames
[] = {
10705 (char *) "commandType",(char *) "winid", NULL
10708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10710 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10714 arg2
= (int) SWIG_AsInt(obj1
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10721 wxPyEndAllowThreads(__tstate
);
10722 if (PyErr_Occurred()) SWIG_fail
;
10724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
10731 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10732 PyObject
*resultobj
;
10733 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10735 PyObject
* obj0
= 0 ;
10736 char *kwnames
[] = {
10737 (char *) "self", NULL
10740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10745 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10747 wxPyEndAllowThreads(__tstate
);
10748 if (PyErr_Occurred()) SWIG_fail
;
10750 resultobj
= SWIG_FromInt((int)result
);
10757 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10758 PyObject
*resultobj
;
10759 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10761 PyObject
* obj0
= 0 ;
10762 PyObject
* obj1
= 0 ;
10763 char *kwnames
[] = {
10764 (char *) "self",(char *) "pos", NULL
10767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10770 arg2
= (int) SWIG_AsInt(obj1
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10774 (arg1
)->SetPosition(arg2
);
10776 wxPyEndAllowThreads(__tstate
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10779 Py_INCREF(Py_None
); resultobj
= Py_None
;
10786 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
10788 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10789 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10791 return Py_BuildValue((char *)"");
10793 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
10794 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10799 static PyObject
*_wrap_RadioBoxNameStr_get() {
10804 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10806 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10813 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
10814 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10819 static PyObject
*_wrap_RadioButtonNameStr_get() {
10824 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10826 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10833 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
*resultobj
;
10835 wxWindow
*arg1
= (wxWindow
*) 0 ;
10837 wxString
*arg3
= 0 ;
10838 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10839 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10840 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10841 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10842 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10843 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10844 int arg7
= (int) 0 ;
10845 long arg8
= (long) wxRA_HORIZONTAL
;
10846 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10847 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10848 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
10849 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10850 wxRadioBox
*result
;
10851 bool temp3
= False
;
10854 bool temp6
= False
;
10855 bool temp10
= False
;
10856 PyObject
* obj0
= 0 ;
10857 PyObject
* obj1
= 0 ;
10858 PyObject
* obj2
= 0 ;
10859 PyObject
* obj3
= 0 ;
10860 PyObject
* obj4
= 0 ;
10861 PyObject
* obj5
= 0 ;
10862 PyObject
* obj6
= 0 ;
10863 PyObject
* obj7
= 0 ;
10864 PyObject
* obj8
= 0 ;
10865 PyObject
* obj9
= 0 ;
10866 char *kwnames
[] = {
10867 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10873 arg2
= (int) SWIG_AsInt(obj1
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10876 arg3
= wxString_in_helper(obj2
);
10877 if (arg3
== NULL
) SWIG_fail
;
10883 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10889 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10894 if (! PySequence_Check(obj5
)) {
10895 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10898 arg6
= new wxArrayString
;
10900 int i
, len
=PySequence_Length(obj5
);
10901 for (i
=0; i
<len
; i
++) {
10902 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10904 PyObject
* str
= PyObject_Unicode(item
);
10906 PyObject
* str
= PyObject_Str(item
);
10908 arg6
->Add(Py2wxString(str
));
10915 arg7
= (int) SWIG_AsInt(obj6
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10919 arg8
= (long) SWIG_AsLong(obj7
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10923 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
10924 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10926 if (arg9
== NULL
) {
10927 PyErr_SetString(PyExc_TypeError
,"null reference");
10933 arg10
= wxString_in_helper(obj9
);
10934 if (arg10
== NULL
) SWIG_fail
;
10939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10940 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
);
10942 wxPyEndAllowThreads(__tstate
);
10943 if (PyErr_Occurred()) SWIG_fail
;
10945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
10951 if (temp6
) delete arg6
;
10964 if (temp6
) delete arg6
;
10974 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
*resultobj
;
10976 wxRadioBox
*result
;
10977 char *kwnames
[] = {
10981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
10983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10984 result
= (wxRadioBox
*)new wxRadioBox();
10986 wxPyEndAllowThreads(__tstate
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
10996 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10997 PyObject
*resultobj
;
10998 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10999 wxWindow
*arg2
= (wxWindow
*) 0 ;
11001 wxString
*arg4
= 0 ;
11002 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11003 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11004 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11005 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11006 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11007 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11008 int arg8
= (int) 0 ;
11009 long arg9
= (long) wxRA_HORIZONTAL
;
11010 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11011 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11012 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11013 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11015 bool temp4
= False
;
11018 bool temp7
= False
;
11019 bool temp11
= False
;
11020 PyObject
* obj0
= 0 ;
11021 PyObject
* obj1
= 0 ;
11022 PyObject
* obj2
= 0 ;
11023 PyObject
* obj3
= 0 ;
11024 PyObject
* obj4
= 0 ;
11025 PyObject
* obj5
= 0 ;
11026 PyObject
* obj6
= 0 ;
11027 PyObject
* obj7
= 0 ;
11028 PyObject
* obj8
= 0 ;
11029 PyObject
* obj9
= 0 ;
11030 PyObject
* obj10
= 0 ;
11031 char *kwnames
[] = {
11032 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11038 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11040 arg3
= (int) SWIG_AsInt(obj2
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11043 arg4
= wxString_in_helper(obj3
);
11044 if (arg4
== NULL
) SWIG_fail
;
11050 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11056 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11061 if (! PySequence_Check(obj6
)) {
11062 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11065 arg7
= new wxArrayString
;
11067 int i
, len
=PySequence_Length(obj6
);
11068 for (i
=0; i
<len
; i
++) {
11069 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11071 PyObject
* str
= PyObject_Unicode(item
);
11073 PyObject
* str
= PyObject_Str(item
);
11075 arg7
->Add(Py2wxString(str
));
11082 arg8
= (int) SWIG_AsInt(obj7
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11086 arg9
= (long) SWIG_AsLong(obj8
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11090 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11091 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11093 if (arg10
== NULL
) {
11094 PyErr_SetString(PyExc_TypeError
,"null reference");
11100 arg11
= wxString_in_helper(obj10
);
11101 if (arg11
== NULL
) SWIG_fail
;
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 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
);
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11118 if (temp7
) delete arg7
;
11131 if (temp7
) delete arg7
;
11141 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11142 PyObject
*resultobj
;
11143 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11145 PyObject
* obj0
= 0 ;
11146 PyObject
* obj1
= 0 ;
11147 char *kwnames
[] = {
11148 (char *) "self",(char *) "n", NULL
11151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11154 arg2
= (int) SWIG_AsInt(obj1
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 (arg1
)->SetSelection(arg2
);
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11163 Py_INCREF(Py_None
); resultobj
= Py_None
;
11170 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11171 PyObject
*resultobj
;
11172 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11174 PyObject
* obj0
= 0 ;
11175 char *kwnames
[] = {
11176 (char *) "self", NULL
11179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11184 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11186 wxPyEndAllowThreads(__tstate
);
11187 if (PyErr_Occurred()) SWIG_fail
;
11189 resultobj
= SWIG_FromInt((int)result
);
11196 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11197 PyObject
*resultobj
;
11198 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11200 PyObject
* obj0
= 0 ;
11201 char *kwnames
[] = {
11202 (char *) "self", NULL
11205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11210 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11212 wxPyEndAllowThreads(__tstate
);
11213 if (PyErr_Occurred()) SWIG_fail
;
11217 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11219 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11228 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
*resultobj
;
11230 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11231 wxString
*arg2
= 0 ;
11233 bool temp2
= False
;
11234 PyObject
* obj0
= 0 ;
11235 PyObject
* obj1
= 0 ;
11236 char *kwnames
[] = {
11237 (char *) "self",(char *) "s", NULL
11240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11244 arg2
= wxString_in_helper(obj1
);
11245 if (arg2
== NULL
) SWIG_fail
;
11249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11250 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11252 wxPyEndAllowThreads(__tstate
);
11253 if (PyErr_Occurred()) SWIG_fail
;
11255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11270 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11271 PyObject
*resultobj
;
11272 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11274 PyObject
* obj0
= 0 ;
11275 char *kwnames
[] = {
11276 (char *) "self", NULL
11279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11289 resultobj
= SWIG_FromInt((int)result
);
11296 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11297 PyObject
*resultobj
;
11298 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11299 wxString
*arg2
= 0 ;
11301 bool temp2
= False
;
11302 PyObject
* obj0
= 0 ;
11303 PyObject
* obj1
= 0 ;
11304 char *kwnames
[] = {
11305 (char *) "self",(char *) "s", NULL
11308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11312 arg2
= wxString_in_helper(obj1
);
11313 if (arg2
== NULL
) SWIG_fail
;
11317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11318 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11323 resultobj
= SWIG_FromInt((int)result
);
11338 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
*resultobj
;
11340 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11343 PyObject
* obj0
= 0 ;
11344 PyObject
* obj1
= 0 ;
11345 char *kwnames
[] = {
11346 (char *) "self",(char *) "n", NULL
11349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11352 arg2
= (int) SWIG_AsInt(obj1
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11356 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11358 wxPyEndAllowThreads(__tstate
);
11359 if (PyErr_Occurred()) SWIG_fail
;
11363 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11365 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11374 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11375 PyObject
*resultobj
;
11376 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11378 wxString
*arg3
= 0 ;
11379 bool temp3
= False
;
11380 PyObject
* obj0
= 0 ;
11381 PyObject
* obj1
= 0 ;
11382 PyObject
* obj2
= 0 ;
11383 char *kwnames
[] = {
11384 (char *) "self",(char *) "n",(char *) "label", NULL
11387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11390 arg2
= (int) SWIG_AsInt(obj1
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11393 arg3
= wxString_in_helper(obj2
);
11394 if (arg3
== NULL
) SWIG_fail
;
11398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11399 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11401 wxPyEndAllowThreads(__tstate
);
11402 if (PyErr_Occurred()) SWIG_fail
;
11404 Py_INCREF(Py_None
); resultobj
= Py_None
;
11419 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11420 PyObject
*resultobj
;
11421 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11423 bool arg3
= (bool) True
;
11424 PyObject
* obj0
= 0 ;
11425 PyObject
* obj1
= 0 ;
11426 PyObject
* obj2
= 0 ;
11427 char *kwnames
[] = {
11428 (char *) "self",(char *) "n",(char *) "enable", NULL
11431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11434 arg2
= (int) SWIG_AsInt(obj1
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11437 arg3
= (bool) SWIG_AsBool(obj2
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 (arg1
)->Enable(arg2
,arg3
);
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11447 Py_INCREF(Py_None
); resultobj
= Py_None
;
11454 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11455 PyObject
*resultobj
;
11456 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11458 bool arg3
= (bool) True
;
11459 PyObject
* obj0
= 0 ;
11460 PyObject
* obj1
= 0 ;
11461 PyObject
* obj2
= 0 ;
11462 char *kwnames
[] = {
11463 (char *) "self",(char *) "n",(char *) "show", NULL
11466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11469 arg2
= (int) SWIG_AsInt(obj1
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11472 arg3
= (bool) SWIG_AsBool(obj2
);
11473 if (PyErr_Occurred()) SWIG_fail
;
11476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11477 (arg1
)->Show(arg2
,arg3
);
11479 wxPyEndAllowThreads(__tstate
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11482 Py_INCREF(Py_None
); resultobj
= Py_None
;
11489 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
;
11491 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11493 PyObject
* obj0
= 0 ;
11494 char *kwnames
[] = {
11495 (char *) "self", NULL
11498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
11505 wxPyEndAllowThreads(__tstate
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11508 resultobj
= SWIG_FromInt((int)result
);
11515 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11516 PyObject
*resultobj
;
11517 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11519 PyObject
* obj0
= 0 ;
11520 char *kwnames
[] = {
11521 (char *) "self", NULL
11524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11529 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
11531 wxPyEndAllowThreads(__tstate
);
11532 if (PyErr_Occurred()) SWIG_fail
;
11534 resultobj
= SWIG_FromInt((int)result
);
11541 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
*resultobj
;
11543 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11548 PyObject
* obj0
= 0 ;
11549 PyObject
* obj1
= 0 ;
11550 PyObject
* obj2
= 0 ;
11551 PyObject
* obj3
= 0 ;
11552 char *kwnames
[] = {
11553 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11559 arg2
= (int) SWIG_AsInt(obj1
);
11560 if (PyErr_Occurred()) SWIG_fail
;
11561 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
11562 if (PyErr_Occurred()) SWIG_fail
;
11563 arg4
= (long) SWIG_AsLong(obj3
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11567 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
11569 wxPyEndAllowThreads(__tstate
);
11570 if (PyErr_Occurred()) SWIG_fail
;
11572 resultobj
= SWIG_FromInt((int)result
);
11579 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
11581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11582 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11584 return Py_BuildValue((char *)"");
11586 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11587 PyObject
*resultobj
;
11588 wxWindow
*arg1
= (wxWindow
*) 0 ;
11590 wxString
*arg3
= 0 ;
11591 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11592 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11593 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11594 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11595 long arg6
= (long) 0 ;
11596 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11597 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11598 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11599 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11600 wxRadioButton
*result
;
11601 bool temp3
= False
;
11604 bool temp8
= False
;
11605 PyObject
* obj0
= 0 ;
11606 PyObject
* obj1
= 0 ;
11607 PyObject
* obj2
= 0 ;
11608 PyObject
* obj3
= 0 ;
11609 PyObject
* obj4
= 0 ;
11610 PyObject
* obj5
= 0 ;
11611 PyObject
* obj6
= 0 ;
11612 PyObject
* obj7
= 0 ;
11613 char *kwnames
[] = {
11614 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11620 arg2
= (int) SWIG_AsInt(obj1
);
11621 if (PyErr_Occurred()) SWIG_fail
;
11623 arg3
= wxString_in_helper(obj2
);
11624 if (arg3
== NULL
) SWIG_fail
;
11630 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11636 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11640 arg6
= (long) SWIG_AsLong(obj5
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11644 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
11645 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11647 if (arg7
== NULL
) {
11648 PyErr_SetString(PyExc_TypeError
,"null reference");
11654 arg8
= wxString_in_helper(obj7
);
11655 if (arg8
== NULL
) SWIG_fail
;
11660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11661 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11663 wxPyEndAllowThreads(__tstate
);
11664 if (PyErr_Occurred()) SWIG_fail
;
11666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11689 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11690 PyObject
*resultobj
;
11691 wxRadioButton
*result
;
11692 char *kwnames
[] = {
11696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11699 result
= (wxRadioButton
*)new wxRadioButton();
11701 wxPyEndAllowThreads(__tstate
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11711 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11712 PyObject
*resultobj
;
11713 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11714 wxWindow
*arg2
= (wxWindow
*) 0 ;
11716 wxString
*arg4
= 0 ;
11717 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11718 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11719 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11720 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11721 long arg7
= (long) 0 ;
11722 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11723 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11724 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11725 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11727 bool temp4
= False
;
11730 bool temp9
= False
;
11731 PyObject
* obj0
= 0 ;
11732 PyObject
* obj1
= 0 ;
11733 PyObject
* obj2
= 0 ;
11734 PyObject
* obj3
= 0 ;
11735 PyObject
* obj4
= 0 ;
11736 PyObject
* obj5
= 0 ;
11737 PyObject
* obj6
= 0 ;
11738 PyObject
* obj7
= 0 ;
11739 PyObject
* obj8
= 0 ;
11740 char *kwnames
[] = {
11741 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11749 arg3
= (int) SWIG_AsInt(obj2
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11752 arg4
= wxString_in_helper(obj3
);
11753 if (arg4
== NULL
) SWIG_fail
;
11759 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11765 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11769 arg7
= (long) SWIG_AsLong(obj6
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11773 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
11774 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11776 if (arg8
== NULL
) {
11777 PyErr_SetString(PyExc_TypeError
,"null reference");
11783 arg9
= wxString_in_helper(obj8
);
11784 if (arg9
== NULL
) SWIG_fail
;
11789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11790 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11792 wxPyEndAllowThreads(__tstate
);
11793 if (PyErr_Occurred()) SWIG_fail
;
11795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11818 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11819 PyObject
*resultobj
;
11820 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11822 PyObject
* obj0
= 0 ;
11823 char *kwnames
[] = {
11824 (char *) "self", NULL
11827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11832 result
= (bool)(arg1
)->GetValue();
11834 wxPyEndAllowThreads(__tstate
);
11835 if (PyErr_Occurred()) SWIG_fail
;
11837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11844 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11845 PyObject
*resultobj
;
11846 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11848 PyObject
* obj0
= 0 ;
11849 PyObject
* obj1
= 0 ;
11850 char *kwnames
[] = {
11851 (char *) "self",(char *) "value", NULL
11854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11857 arg2
= (bool) SWIG_AsBool(obj1
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 (arg1
)->SetValue(arg2
);
11863 wxPyEndAllowThreads(__tstate
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11866 Py_INCREF(Py_None
); resultobj
= Py_None
;
11873 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
11875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11876 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
11878 return Py_BuildValue((char *)"");
11880 static int _wrap_SliderNameStr_set(PyObject
*) {
11881 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
11886 static PyObject
*_wrap_SliderNameStr_get() {
11891 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11893 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11900 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11901 PyObject
*resultobj
;
11902 wxWindow
*arg1
= (wxWindow
*) 0 ;
11907 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11908 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11909 wxSize
const &arg7_defvalue
= wxDefaultSize
;
11910 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
11911 long arg8
= (long) wxSL_HORIZONTAL
;
11912 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11913 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11914 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
11915 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11919 bool temp10
= False
;
11920 PyObject
* obj0
= 0 ;
11921 PyObject
* obj1
= 0 ;
11922 PyObject
* obj2
= 0 ;
11923 PyObject
* obj3
= 0 ;
11924 PyObject
* obj4
= 0 ;
11925 PyObject
* obj5
= 0 ;
11926 PyObject
* obj6
= 0 ;
11927 PyObject
* obj7
= 0 ;
11928 PyObject
* obj8
= 0 ;
11929 PyObject
* obj9
= 0 ;
11930 char *kwnames
[] = {
11931 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11937 arg2
= (int) SWIG_AsInt(obj1
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11939 arg3
= (int) SWIG_AsInt(obj2
);
11940 if (PyErr_Occurred()) SWIG_fail
;
11941 arg4
= (int) SWIG_AsInt(obj3
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11943 arg5
= (int) SWIG_AsInt(obj4
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11948 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11954 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
11958 arg8
= (long) SWIG_AsLong(obj7
);
11959 if (PyErr_Occurred()) SWIG_fail
;
11962 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11963 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11965 if (arg9
== NULL
) {
11966 PyErr_SetString(PyExc_TypeError
,"null reference");
11972 arg10
= wxString_in_helper(obj9
);
11973 if (arg10
== NULL
) SWIG_fail
;
11978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11979 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
11999 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12000 PyObject
*resultobj
;
12002 char *kwnames
[] = {
12006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 result
= (wxSlider
*)new wxSlider();
12011 wxPyEndAllowThreads(__tstate
);
12012 if (PyErr_Occurred()) SWIG_fail
;
12014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12021 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12022 PyObject
*resultobj
;
12023 wxSlider
*arg1
= (wxSlider
*) 0 ;
12024 wxWindow
*arg2
= (wxWindow
*) 0 ;
12029 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12030 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12031 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12032 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12033 long arg9
= (long) wxSL_HORIZONTAL
;
12034 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12035 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12036 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12037 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12041 bool temp11
= False
;
12042 PyObject
* obj0
= 0 ;
12043 PyObject
* obj1
= 0 ;
12044 PyObject
* obj2
= 0 ;
12045 PyObject
* obj3
= 0 ;
12046 PyObject
* obj4
= 0 ;
12047 PyObject
* obj5
= 0 ;
12048 PyObject
* obj6
= 0 ;
12049 PyObject
* obj7
= 0 ;
12050 PyObject
* obj8
= 0 ;
12051 PyObject
* obj9
= 0 ;
12052 PyObject
* obj10
= 0 ;
12053 char *kwnames
[] = {
12054 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12060 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12062 arg3
= (int) SWIG_AsInt(obj2
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12064 arg4
= (int) SWIG_AsInt(obj3
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12066 arg5
= (int) SWIG_AsInt(obj4
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12068 arg6
= (int) SWIG_AsInt(obj5
);
12069 if (PyErr_Occurred()) SWIG_fail
;
12073 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12079 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12083 arg9
= (long) SWIG_AsLong(obj8
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12087 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12088 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12090 if (arg10
== NULL
) {
12091 PyErr_SetString(PyExc_TypeError
,"null reference");
12097 arg11
= wxString_in_helper(obj10
);
12098 if (arg11
== NULL
) SWIG_fail
;
12103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12104 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12106 wxPyEndAllowThreads(__tstate
);
12107 if (PyErr_Occurred()) SWIG_fail
;
12109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12124 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12125 PyObject
*resultobj
;
12126 wxSlider
*arg1
= (wxSlider
*) 0 ;
12128 PyObject
* obj0
= 0 ;
12129 char *kwnames
[] = {
12130 (char *) "self", NULL
12133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12138 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12140 wxPyEndAllowThreads(__tstate
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12143 resultobj
= SWIG_FromInt((int)result
);
12150 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12151 PyObject
*resultobj
;
12152 wxSlider
*arg1
= (wxSlider
*) 0 ;
12154 PyObject
* obj0
= 0 ;
12155 PyObject
* obj1
= 0 ;
12156 char *kwnames
[] = {
12157 (char *) "self",(char *) "value", NULL
12160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12163 arg2
= (int) SWIG_AsInt(obj1
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 (arg1
)->SetValue(arg2
);
12169 wxPyEndAllowThreads(__tstate
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12172 Py_INCREF(Py_None
); resultobj
= Py_None
;
12179 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12180 PyObject
*resultobj
;
12181 wxSlider
*arg1
= (wxSlider
*) 0 ;
12184 PyObject
* obj0
= 0 ;
12185 PyObject
* obj1
= 0 ;
12186 PyObject
* obj2
= 0 ;
12187 char *kwnames
[] = {
12188 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12194 arg2
= (int) SWIG_AsInt(obj1
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12196 arg3
= (int) SWIG_AsInt(obj2
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12200 (arg1
)->SetRange(arg2
,arg3
);
12202 wxPyEndAllowThreads(__tstate
);
12203 if (PyErr_Occurred()) SWIG_fail
;
12205 Py_INCREF(Py_None
); resultobj
= Py_None
;
12212 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12213 PyObject
*resultobj
;
12214 wxSlider
*arg1
= (wxSlider
*) 0 ;
12216 PyObject
* obj0
= 0 ;
12217 char *kwnames
[] = {
12218 (char *) "self", NULL
12221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12228 wxPyEndAllowThreads(__tstate
);
12229 if (PyErr_Occurred()) SWIG_fail
;
12231 resultobj
= SWIG_FromInt((int)result
);
12238 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12239 PyObject
*resultobj
;
12240 wxSlider
*arg1
= (wxSlider
*) 0 ;
12242 PyObject
* obj0
= 0 ;
12243 char *kwnames
[] = {
12244 (char *) "self", NULL
12247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12252 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12257 resultobj
= SWIG_FromInt((int)result
);
12264 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12265 PyObject
*resultobj
;
12266 wxSlider
*arg1
= (wxSlider
*) 0 ;
12268 PyObject
* obj0
= 0 ;
12269 PyObject
* obj1
= 0 ;
12270 char *kwnames
[] = {
12271 (char *) "self",(char *) "minValue", NULL
12274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12277 arg2
= (int) SWIG_AsInt(obj1
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12281 (arg1
)->SetMin(arg2
);
12283 wxPyEndAllowThreads(__tstate
);
12284 if (PyErr_Occurred()) SWIG_fail
;
12286 Py_INCREF(Py_None
); resultobj
= Py_None
;
12293 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12294 PyObject
*resultobj
;
12295 wxSlider
*arg1
= (wxSlider
*) 0 ;
12297 PyObject
* obj0
= 0 ;
12298 PyObject
* obj1
= 0 ;
12299 char *kwnames
[] = {
12300 (char *) "self",(char *) "maxValue", NULL
12303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12306 arg2
= (int) SWIG_AsInt(obj1
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 (arg1
)->SetMax(arg2
);
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 Py_INCREF(Py_None
); resultobj
= Py_None
;
12322 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
;
12324 wxSlider
*arg1
= (wxSlider
*) 0 ;
12326 PyObject
* obj0
= 0 ;
12327 PyObject
* obj1
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self",(char *) "lineSize", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12335 arg2
= (int) SWIG_AsInt(obj1
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 (arg1
)->SetLineSize(arg2
);
12341 wxPyEndAllowThreads(__tstate
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12344 Py_INCREF(Py_None
); resultobj
= Py_None
;
12351 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12352 PyObject
*resultobj
;
12353 wxSlider
*arg1
= (wxSlider
*) 0 ;
12355 PyObject
* obj0
= 0 ;
12356 PyObject
* obj1
= 0 ;
12357 char *kwnames
[] = {
12358 (char *) "self",(char *) "pageSize", NULL
12361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12364 arg2
= (int) SWIG_AsInt(obj1
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12368 (arg1
)->SetPageSize(arg2
);
12370 wxPyEndAllowThreads(__tstate
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12373 Py_INCREF(Py_None
); resultobj
= Py_None
;
12380 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12381 PyObject
*resultobj
;
12382 wxSlider
*arg1
= (wxSlider
*) 0 ;
12384 PyObject
* obj0
= 0 ;
12385 char *kwnames
[] = {
12386 (char *) "self", NULL
12389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12394 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12396 wxPyEndAllowThreads(__tstate
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12399 resultobj
= SWIG_FromInt((int)result
);
12406 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12407 PyObject
*resultobj
;
12408 wxSlider
*arg1
= (wxSlider
*) 0 ;
12410 PyObject
* obj0
= 0 ;
12411 char *kwnames
[] = {
12412 (char *) "self", NULL
12415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12420 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12422 wxPyEndAllowThreads(__tstate
);
12423 if (PyErr_Occurred()) SWIG_fail
;
12425 resultobj
= SWIG_FromInt((int)result
);
12432 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12433 PyObject
*resultobj
;
12434 wxSlider
*arg1
= (wxSlider
*) 0 ;
12436 PyObject
* obj0
= 0 ;
12437 PyObject
* obj1
= 0 ;
12438 char *kwnames
[] = {
12439 (char *) "self",(char *) "lenPixels", NULL
12442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12445 arg2
= (int) SWIG_AsInt(obj1
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 (arg1
)->SetThumbLength(arg2
);
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12454 Py_INCREF(Py_None
); resultobj
= Py_None
;
12461 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12462 PyObject
*resultobj
;
12463 wxSlider
*arg1
= (wxSlider
*) 0 ;
12465 PyObject
* obj0
= 0 ;
12466 char *kwnames
[] = {
12467 (char *) "self", NULL
12470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12475 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12477 wxPyEndAllowThreads(__tstate
);
12478 if (PyErr_Occurred()) SWIG_fail
;
12480 resultobj
= SWIG_FromInt((int)result
);
12487 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12488 PyObject
*resultobj
;
12489 wxSlider
*arg1
= (wxSlider
*) 0 ;
12491 int arg3
= (int) 1 ;
12492 PyObject
* obj0
= 0 ;
12493 PyObject
* obj1
= 0 ;
12494 PyObject
* obj2
= 0 ;
12495 char *kwnames
[] = {
12496 (char *) "self",(char *) "n",(char *) "pos", NULL
12499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12502 arg2
= (int) SWIG_AsInt(obj1
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12505 arg3
= (int) SWIG_AsInt(obj2
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 (arg1
)->SetTickFreq(arg2
,arg3
);
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12515 Py_INCREF(Py_None
); resultobj
= Py_None
;
12522 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12523 PyObject
*resultobj
;
12524 wxSlider
*arg1
= (wxSlider
*) 0 ;
12526 PyObject
* obj0
= 0 ;
12527 char *kwnames
[] = {
12528 (char *) "self", NULL
12531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12536 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12538 wxPyEndAllowThreads(__tstate
);
12539 if (PyErr_Occurred()) SWIG_fail
;
12541 resultobj
= SWIG_FromInt((int)result
);
12548 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12549 PyObject
*resultobj
;
12550 wxSlider
*arg1
= (wxSlider
*) 0 ;
12551 PyObject
* obj0
= 0 ;
12552 char *kwnames
[] = {
12553 (char *) "self", NULL
12556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 (arg1
)->ClearTicks();
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12566 Py_INCREF(Py_None
); resultobj
= Py_None
;
12573 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
*resultobj
;
12575 wxSlider
*arg1
= (wxSlider
*) 0 ;
12577 PyObject
* obj0
= 0 ;
12578 PyObject
* obj1
= 0 ;
12579 char *kwnames
[] = {
12580 (char *) "self",(char *) "tickPos", NULL
12583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12586 arg2
= (int) SWIG_AsInt(obj1
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12590 (arg1
)->SetTick(arg2
);
12592 wxPyEndAllowThreads(__tstate
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12595 Py_INCREF(Py_None
); resultobj
= Py_None
;
12602 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12603 PyObject
*resultobj
;
12604 wxSlider
*arg1
= (wxSlider
*) 0 ;
12605 PyObject
* obj0
= 0 ;
12606 char *kwnames
[] = {
12607 (char *) "self", NULL
12610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12615 (arg1
)->ClearSel();
12617 wxPyEndAllowThreads(__tstate
);
12618 if (PyErr_Occurred()) SWIG_fail
;
12620 Py_INCREF(Py_None
); resultobj
= Py_None
;
12627 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12628 PyObject
*resultobj
;
12629 wxSlider
*arg1
= (wxSlider
*) 0 ;
12631 PyObject
* obj0
= 0 ;
12632 char *kwnames
[] = {
12633 (char *) "self", NULL
12636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12641 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12643 wxPyEndAllowThreads(__tstate
);
12644 if (PyErr_Occurred()) SWIG_fail
;
12646 resultobj
= SWIG_FromInt((int)result
);
12653 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12654 PyObject
*resultobj
;
12655 wxSlider
*arg1
= (wxSlider
*) 0 ;
12657 PyObject
* obj0
= 0 ;
12658 char *kwnames
[] = {
12659 (char *) "self", NULL
12662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12672 resultobj
= SWIG_FromInt((int)result
);
12679 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
;
12681 wxSlider
*arg1
= (wxSlider
*) 0 ;
12684 PyObject
* obj0
= 0 ;
12685 PyObject
* obj1
= 0 ;
12686 PyObject
* obj2
= 0 ;
12687 char *kwnames
[] = {
12688 (char *) "self",(char *) "min",(char *) "max", NULL
12691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12694 arg2
= (int) SWIG_AsInt(obj1
);
12695 if (PyErr_Occurred()) SWIG_fail
;
12696 arg3
= (int) SWIG_AsInt(obj2
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 (arg1
)->SetSelection(arg2
,arg3
);
12702 wxPyEndAllowThreads(__tstate
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12705 Py_INCREF(Py_None
); resultobj
= Py_None
;
12712 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
12714 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12715 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12717 return Py_BuildValue((char *)"");
12719 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
12720 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12725 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12730 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12732 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12739 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12740 PyObject
*resultobj
;
12741 wxWindow
*arg1
= (wxWindow
*) 0 ;
12743 wxString
*arg3
= 0 ;
12744 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12745 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12746 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12747 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12748 long arg6
= (long) 0 ;
12749 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12750 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12751 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12752 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12753 wxToggleButton
*result
;
12754 bool temp3
= False
;
12757 bool temp8
= False
;
12758 PyObject
* obj0
= 0 ;
12759 PyObject
* obj1
= 0 ;
12760 PyObject
* obj2
= 0 ;
12761 PyObject
* obj3
= 0 ;
12762 PyObject
* obj4
= 0 ;
12763 PyObject
* obj5
= 0 ;
12764 PyObject
* obj6
= 0 ;
12765 PyObject
* obj7
= 0 ;
12766 char *kwnames
[] = {
12767 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12773 arg2
= (int) SWIG_AsInt(obj1
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12776 arg3
= wxString_in_helper(obj2
);
12777 if (arg3
== NULL
) SWIG_fail
;
12783 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12789 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12793 arg6
= (long) SWIG_AsLong(obj5
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12797 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12800 if (arg7
== NULL
) {
12801 PyErr_SetString(PyExc_TypeError
,"null reference");
12807 arg8
= wxString_in_helper(obj7
);
12808 if (arg8
== NULL
) SWIG_fail
;
12813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12814 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12816 wxPyEndAllowThreads(__tstate
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
12842 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12843 PyObject
*resultobj
;
12844 wxToggleButton
*result
;
12845 char *kwnames
[] = {
12849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
12851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12852 result
= (wxToggleButton
*)new wxToggleButton();
12854 wxPyEndAllowThreads(__tstate
);
12855 if (PyErr_Occurred()) SWIG_fail
;
12857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
12864 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
12866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12867 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
12869 return Py_BuildValue((char *)"");
12871 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
12872 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
12877 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
12882 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
12884 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
12891 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
;
12893 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12895 PyObject
* obj0
= 0 ;
12896 char *kwnames
[] = {
12897 (char *) "self", NULL
12900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
12901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
12902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
12907 wxPyEndAllowThreads(__tstate
);
12908 if (PyErr_Occurred()) SWIG_fail
;
12910 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
12917 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12918 PyObject
*resultobj
;
12919 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12922 PyObject
* obj0
= 0 ;
12923 PyObject
* obj1
= 0 ;
12924 char *kwnames
[] = {
12925 (char *) "self",(char *) "n", NULL
12928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
12929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
12930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12931 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
12932 if (PyErr_Occurred()) SWIG_fail
;
12934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12935 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
12937 wxPyEndAllowThreads(__tstate
);
12938 if (PyErr_Occurred()) SWIG_fail
;
12941 resultobj
= wxPyMake_wxObject(result
);
12949 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12950 PyObject
*resultobj
;
12951 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12953 PyObject
* obj0
= 0 ;
12954 char *kwnames
[] = {
12955 (char *) "self", NULL
12958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
12959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
12960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12963 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
12965 wxPyEndAllowThreads(__tstate
);
12966 if (PyErr_Occurred()) SWIG_fail
;
12968 resultobj
= SWIG_FromInt((int)result
);
12975 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12976 PyObject
*resultobj
;
12977 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12979 wxString
*arg3
= 0 ;
12981 bool temp3
= False
;
12982 PyObject
* obj0
= 0 ;
12983 PyObject
* obj1
= 0 ;
12984 PyObject
* obj2
= 0 ;
12985 char *kwnames
[] = {
12986 (char *) "self",(char *) "n",(char *) "strText", NULL
12989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
12991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12992 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
12993 if (PyErr_Occurred()) SWIG_fail
;
12995 arg3
= wxString_in_helper(obj2
);
12996 if (arg3
== NULL
) SWIG_fail
;
13000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13001 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13003 wxPyEndAllowThreads(__tstate
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13021 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13022 PyObject
*resultobj
;
13023 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13026 PyObject
* obj0
= 0 ;
13027 PyObject
* obj1
= 0 ;
13028 char *kwnames
[] = {
13029 (char *) "self",(char *) "n", NULL
13032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13035 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13036 if (PyErr_Occurred()) SWIG_fail
;
13038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13039 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13041 wxPyEndAllowThreads(__tstate
);
13042 if (PyErr_Occurred()) SWIG_fail
;
13046 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13048 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13057 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13058 PyObject
*resultobj
;
13059 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13060 wxImageList
*arg2
= (wxImageList
*) 0 ;
13061 PyObject
* obj0
= 0 ;
13062 PyObject
* obj1
= 0 ;
13063 char *kwnames
[] = {
13064 (char *) "self",(char *) "imageList", NULL
13067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13070 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13074 (arg1
)->SetImageList(arg2
);
13076 wxPyEndAllowThreads(__tstate
);
13077 if (PyErr_Occurred()) SWIG_fail
;
13079 Py_INCREF(Py_None
); resultobj
= Py_None
;
13086 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
;
13088 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13089 wxImageList
*arg2
= (wxImageList
*) 0 ;
13090 PyObject
* obj0
= 0 ;
13091 PyObject
* obj1
= 0 ;
13092 char *kwnames
[] = {
13093 (char *) "self",(char *) "imageList", NULL
13096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13099 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13100 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13103 (arg1
)->AssignImageList(arg2
);
13105 wxPyEndAllowThreads(__tstate
);
13106 if (PyErr_Occurred()) SWIG_fail
;
13108 Py_INCREF(Py_None
); resultobj
= Py_None
;
13115 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13116 PyObject
*resultobj
;
13117 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13118 wxImageList
*result
;
13119 PyObject
* obj0
= 0 ;
13120 char *kwnames
[] = {
13121 (char *) "self", NULL
13124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13135 resultobj
= wxPyMake_wxObject(result
);
13143 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13144 PyObject
*resultobj
;
13145 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13148 PyObject
* obj0
= 0 ;
13149 PyObject
* obj1
= 0 ;
13150 char *kwnames
[] = {
13151 (char *) "self",(char *) "n", NULL
13154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13157 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13163 wxPyEndAllowThreads(__tstate
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13166 resultobj
= SWIG_FromInt((int)result
);
13173 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13174 PyObject
*resultobj
;
13175 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13179 PyObject
* obj0
= 0 ;
13180 PyObject
* obj1
= 0 ;
13181 PyObject
* obj2
= 0 ;
13182 char *kwnames
[] = {
13183 (char *) "self",(char *) "n",(char *) "imageId", NULL
13186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13189 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13190 if (PyErr_Occurred()) SWIG_fail
;
13191 arg3
= (int) SWIG_AsInt(obj2
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13207 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13208 PyObject
*resultobj
;
13209 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13212 PyObject
* obj0
= 0 ;
13213 PyObject
* obj1
= 0 ;
13214 char *kwnames
[] = {
13215 (char *) "self",(char *) "size", NULL
13218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13223 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13232 Py_INCREF(Py_None
); resultobj
= Py_None
;
13239 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13240 PyObject
*resultobj
;
13241 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13245 PyObject
* obj0
= 0 ;
13246 PyObject
* obj1
= 0 ;
13247 char *kwnames
[] = {
13248 (char *) "self",(char *) "sizePage", NULL
13251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13256 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13260 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13262 wxPyEndAllowThreads(__tstate
);
13263 if (PyErr_Occurred()) SWIG_fail
;
13266 wxSize
* resultptr
;
13267 resultptr
= new wxSize((wxSize
&) result
);
13268 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13276 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13277 PyObject
*resultobj
;
13278 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13281 PyObject
* obj0
= 0 ;
13282 PyObject
* obj1
= 0 ;
13283 char *kwnames
[] = {
13284 (char *) "self",(char *) "n", NULL
13287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13290 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 result
= (bool)(arg1
)->DeletePage(arg2
);
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13306 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13307 PyObject
*resultobj
;
13308 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13311 PyObject
* obj0
= 0 ;
13312 PyObject
* obj1
= 0 ;
13313 char *kwnames
[] = {
13314 (char *) "self",(char *) "n", NULL
13317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13320 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13321 if (PyErr_Occurred()) SWIG_fail
;
13323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13324 result
= (bool)(arg1
)->RemovePage(arg2
);
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13336 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13337 PyObject
*resultobj
;
13338 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13340 PyObject
* obj0
= 0 ;
13341 char *kwnames
[] = {
13342 (char *) "self", NULL
13345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13350 result
= (bool)(arg1
)->DeleteAllPages();
13352 wxPyEndAllowThreads(__tstate
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13362 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13363 PyObject
*resultobj
;
13364 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13365 wxWindow
*arg2
= (wxWindow
*) 0 ;
13366 wxString
*arg3
= 0 ;
13367 bool arg4
= (bool) False
;
13368 int arg5
= (int) -1 ;
13370 bool temp3
= False
;
13371 PyObject
* obj0
= 0 ;
13372 PyObject
* obj1
= 0 ;
13373 PyObject
* obj2
= 0 ;
13374 PyObject
* obj3
= 0 ;
13375 PyObject
* obj4
= 0 ;
13376 char *kwnames
[] = {
13377 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13386 arg3
= wxString_in_helper(obj2
);
13387 if (arg3
== NULL
) SWIG_fail
;
13391 arg4
= (bool) SWIG_AsBool(obj3
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13395 arg5
= (int) SWIG_AsInt(obj4
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13402 wxPyEndAllowThreads(__tstate
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13420 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
;
13422 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13424 wxWindow
*arg3
= (wxWindow
*) 0 ;
13425 wxString
*arg4
= 0 ;
13426 bool arg5
= (bool) False
;
13427 int arg6
= (int) -1 ;
13429 bool temp4
= False
;
13430 PyObject
* obj0
= 0 ;
13431 PyObject
* obj1
= 0 ;
13432 PyObject
* obj2
= 0 ;
13433 PyObject
* obj3
= 0 ;
13434 PyObject
* obj4
= 0 ;
13435 PyObject
* obj5
= 0 ;
13436 char *kwnames
[] = {
13437 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13443 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13444 if (PyErr_Occurred()) SWIG_fail
;
13445 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
13446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13448 arg4
= wxString_in_helper(obj3
);
13449 if (arg4
== NULL
) SWIG_fail
;
13453 arg5
= (bool) SWIG_AsBool(obj4
);
13454 if (PyErr_Occurred()) SWIG_fail
;
13457 arg6
= (int) SWIG_AsInt(obj5
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13462 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13482 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13483 PyObject
*resultobj
;
13484 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13487 PyObject
* obj0
= 0 ;
13488 PyObject
* obj1
= 0 ;
13489 char *kwnames
[] = {
13490 (char *) "self",(char *) "n", NULL
13493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13496 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13500 result
= (int)(arg1
)->SetSelection(arg2
);
13502 wxPyEndAllowThreads(__tstate
);
13503 if (PyErr_Occurred()) SWIG_fail
;
13505 resultobj
= SWIG_FromInt((int)result
);
13512 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13513 PyObject
*resultobj
;
13514 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13515 bool arg2
= (bool) True
;
13516 PyObject
* obj0
= 0 ;
13517 PyObject
* obj1
= 0 ;
13518 char *kwnames
[] = {
13519 (char *) "self",(char *) "forward", NULL
13522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13526 arg2
= (bool) SWIG_AsBool(obj1
);
13527 if (PyErr_Occurred()) SWIG_fail
;
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13531 (arg1
)->AdvanceSelection(arg2
);
13533 wxPyEndAllowThreads(__tstate
);
13534 if (PyErr_Occurred()) SWIG_fail
;
13536 Py_INCREF(Py_None
); resultobj
= Py_None
;
13543 static PyObject
* BookCtrl_swigregister(PyObject
*, PyObject
*args
) {
13545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13546 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13548 return Py_BuildValue((char *)"");
13550 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13551 PyObject
*resultobj
;
13552 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13553 int arg2
= (int) 0 ;
13554 int arg3
= (int) -1 ;
13555 int arg4
= (int) -1 ;
13556 wxBookCtrlEvent
*result
;
13557 PyObject
* obj0
= 0 ;
13558 PyObject
* obj1
= 0 ;
13559 PyObject
* obj2
= 0 ;
13560 PyObject
* obj3
= 0 ;
13561 char *kwnames
[] = {
13562 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13567 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13568 if (PyErr_Occurred()) SWIG_fail
;
13571 arg2
= (int) SWIG_AsInt(obj1
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13575 arg3
= (int) SWIG_AsInt(obj2
);
13576 if (PyErr_Occurred()) SWIG_fail
;
13579 arg4
= (int) SWIG_AsInt(obj3
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13584 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13586 wxPyEndAllowThreads(__tstate
);
13587 if (PyErr_Occurred()) SWIG_fail
;
13589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
13596 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13597 PyObject
*resultobj
;
13598 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13600 PyObject
* obj0
= 0 ;
13601 char *kwnames
[] = {
13602 (char *) "self", NULL
13605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13610 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13612 wxPyEndAllowThreads(__tstate
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13615 resultobj
= SWIG_FromInt((int)result
);
13622 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13623 PyObject
*resultobj
;
13624 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13626 PyObject
* obj0
= 0 ;
13627 PyObject
* obj1
= 0 ;
13628 char *kwnames
[] = {
13629 (char *) "self",(char *) "nSel", NULL
13632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13635 arg2
= (int) SWIG_AsInt(obj1
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13639 (arg1
)->SetSelection(arg2
);
13641 wxPyEndAllowThreads(__tstate
);
13642 if (PyErr_Occurred()) SWIG_fail
;
13644 Py_INCREF(Py_None
); resultobj
= Py_None
;
13651 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
*resultobj
;
13653 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13655 PyObject
* obj0
= 0 ;
13656 char *kwnames
[] = {
13657 (char *) "self", NULL
13660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
13661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13670 resultobj
= SWIG_FromInt((int)result
);
13677 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13678 PyObject
*resultobj
;
13679 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13681 PyObject
* obj0
= 0 ;
13682 PyObject
* obj1
= 0 ;
13683 char *kwnames
[] = {
13684 (char *) "self",(char *) "nOldSel", NULL
13687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13690 arg2
= (int) SWIG_AsInt(obj1
);
13691 if (PyErr_Occurred()) SWIG_fail
;
13693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 (arg1
)->SetOldSelection(arg2
);
13696 wxPyEndAllowThreads(__tstate
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13699 Py_INCREF(Py_None
); resultobj
= Py_None
;
13706 static PyObject
* BookCtrlEvent_swigregister(PyObject
*, PyObject
*args
) {
13708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13709 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
13711 return Py_BuildValue((char *)"");
13713 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13714 PyObject
*resultobj
;
13715 wxWindow
*arg1
= (wxWindow
*) 0 ;
13717 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13718 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13719 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13720 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13721 long arg5
= (long) 0 ;
13722 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
13723 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13724 wxNotebook
*result
;
13727 bool temp6
= False
;
13728 PyObject
* obj0
= 0 ;
13729 PyObject
* obj1
= 0 ;
13730 PyObject
* obj2
= 0 ;
13731 PyObject
* obj3
= 0 ;
13732 PyObject
* obj4
= 0 ;
13733 PyObject
* obj5
= 0 ;
13734 char *kwnames
[] = {
13735 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13741 arg2
= (int) SWIG_AsInt(obj1
);
13742 if (PyErr_Occurred()) SWIG_fail
;
13746 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13752 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13756 arg5
= (long) SWIG_AsLong(obj4
);
13757 if (PyErr_Occurred()) SWIG_fail
;
13761 arg6
= wxString_in_helper(obj5
);
13762 if (arg6
== NULL
) SWIG_fail
;
13767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13768 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13774 resultobj
= wxPyMake_wxObject(result
);
13790 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13791 PyObject
*resultobj
;
13792 wxNotebook
*result
;
13793 char *kwnames
[] = {
13797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
13799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13800 result
= (wxNotebook
*)new wxNotebook();
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13806 resultobj
= wxPyMake_wxObject(result
);
13814 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13815 PyObject
*resultobj
;
13816 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13817 wxWindow
*arg2
= (wxWindow
*) 0 ;
13819 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13820 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13821 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13822 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13823 long arg6
= (long) 0 ;
13824 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
13825 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13829 bool temp7
= False
;
13830 PyObject
* obj0
= 0 ;
13831 PyObject
* obj1
= 0 ;
13832 PyObject
* obj2
= 0 ;
13833 PyObject
* obj3
= 0 ;
13834 PyObject
* obj4
= 0 ;
13835 PyObject
* obj5
= 0 ;
13836 PyObject
* obj6
= 0 ;
13837 char *kwnames
[] = {
13838 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
13843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13846 arg3
= (int) SWIG_AsInt(obj2
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13851 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13857 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13861 arg6
= (long) SWIG_AsLong(obj5
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13866 arg7
= wxString_in_helper(obj6
);
13867 if (arg7
== NULL
) SWIG_fail
;
13872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13873 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13875 wxPyEndAllowThreads(__tstate
);
13876 if (PyErr_Occurred()) SWIG_fail
;
13878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13893 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13894 PyObject
*resultobj
;
13895 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13897 PyObject
* obj0
= 0 ;
13898 char *kwnames
[] = {
13899 (char *) "self", NULL
13902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
13903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
13904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13907 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
13909 wxPyEndAllowThreads(__tstate
);
13910 if (PyErr_Occurred()) SWIG_fail
;
13912 resultobj
= SWIG_FromInt((int)result
);
13919 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13920 PyObject
*resultobj
;
13921 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13924 PyObject
* obj0
= 0 ;
13925 PyObject
* obj1
= 0 ;
13926 char *kwnames
[] = {
13927 (char *) "self",(char *) "padding", NULL
13930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
13931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
13932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13935 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13939 (arg1
)->SetPadding((wxSize
const &)*arg2
);
13941 wxPyEndAllowThreads(__tstate
);
13942 if (PyErr_Occurred()) SWIG_fail
;
13944 Py_INCREF(Py_None
); resultobj
= Py_None
;
13951 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13952 PyObject
*resultobj
;
13953 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13956 PyObject
* obj0
= 0 ;
13957 PyObject
* obj1
= 0 ;
13958 char *kwnames
[] = {
13959 (char *) "self",(char *) "sz", NULL
13962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
13964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13967 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13971 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
13973 wxPyEndAllowThreads(__tstate
);
13974 if (PyErr_Occurred()) SWIG_fail
;
13976 Py_INCREF(Py_None
); resultobj
= Py_None
;
13983 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13984 PyObject
*resultobj
;
13985 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13986 wxPoint
*arg2
= 0 ;
13987 long *arg3
= (long *) 0 ;
13991 PyObject
* obj0
= 0 ;
13992 PyObject
* obj1
= 0 ;
13993 char *kwnames
[] = {
13994 (char *) "self",(char *) "pt", NULL
13998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
13999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14003 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14007 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14009 wxPyEndAllowThreads(__tstate
);
14010 if (PyErr_Occurred()) SWIG_fail
;
14012 resultobj
= SWIG_FromInt((int)result
);
14014 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14015 resultobj
= t_output_helper(resultobj
,o
);
14023 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14024 PyObject
*resultobj
;
14025 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14029 PyObject
* obj0
= 0 ;
14030 PyObject
* obj1
= 0 ;
14031 char *kwnames
[] = {
14032 (char *) "self",(char *) "sizePage", NULL
14035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14040 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14044 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14046 wxPyEndAllowThreads(__tstate
);
14047 if (PyErr_Occurred()) SWIG_fail
;
14050 wxSize
* resultptr
;
14051 resultptr
= new wxSize((wxSize
&) result
);
14052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14060 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
14062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14063 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14065 return Py_BuildValue((char *)"");
14067 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14068 PyObject
*resultobj
;
14069 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14070 int arg2
= (int) 0 ;
14071 int arg3
= (int) -1 ;
14072 int arg4
= (int) -1 ;
14073 wxNotebookEvent
*result
;
14074 PyObject
* obj0
= 0 ;
14075 PyObject
* obj1
= 0 ;
14076 PyObject
* obj2
= 0 ;
14077 PyObject
* obj3
= 0 ;
14078 char *kwnames
[] = {
14079 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14084 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14085 if (PyErr_Occurred()) SWIG_fail
;
14088 arg2
= (int) SWIG_AsInt(obj1
);
14089 if (PyErr_Occurred()) SWIG_fail
;
14092 arg3
= (int) SWIG_AsInt(obj2
);
14093 if (PyErr_Occurred()) SWIG_fail
;
14096 arg4
= (int) SWIG_AsInt(obj3
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14101 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14103 wxPyEndAllowThreads(__tstate
);
14104 if (PyErr_Occurred()) SWIG_fail
;
14106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
14113 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
14115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14116 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14118 return Py_BuildValue((char *)"");
14120 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14121 PyObject
*resultobj
;
14122 wxWindow
*arg1
= (wxWindow
*) 0 ;
14124 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14125 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14126 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14127 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14128 long arg5
= (long) 0 ;
14129 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14130 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14131 wxListbook
*result
;
14134 bool temp6
= False
;
14135 PyObject
* obj0
= 0 ;
14136 PyObject
* obj1
= 0 ;
14137 PyObject
* obj2
= 0 ;
14138 PyObject
* obj3
= 0 ;
14139 PyObject
* obj4
= 0 ;
14140 PyObject
* obj5
= 0 ;
14141 char *kwnames
[] = {
14142 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14148 arg2
= (int) SWIG_AsInt(obj1
);
14149 if (PyErr_Occurred()) SWIG_fail
;
14153 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14159 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14163 arg5
= (long) SWIG_AsLong(obj4
);
14164 if (PyErr_Occurred()) SWIG_fail
;
14168 arg6
= wxString_in_helper(obj5
);
14169 if (arg6
== NULL
) SWIG_fail
;
14174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14175 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14177 wxPyEndAllowThreads(__tstate
);
14178 if (PyErr_Occurred()) SWIG_fail
;
14180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14195 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14196 PyObject
*resultobj
;
14197 wxListbook
*result
;
14198 char *kwnames
[] = {
14202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14205 result
= (wxListbook
*)new wxListbook();
14207 wxPyEndAllowThreads(__tstate
);
14208 if (PyErr_Occurred()) SWIG_fail
;
14210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14217 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14218 PyObject
*resultobj
;
14219 wxListbook
*arg1
= (wxListbook
*) 0 ;
14220 wxWindow
*arg2
= (wxWindow
*) 0 ;
14222 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14223 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14224 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14225 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14226 long arg6
= (long) 0 ;
14227 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14228 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14232 bool temp7
= False
;
14233 PyObject
* obj0
= 0 ;
14234 PyObject
* obj1
= 0 ;
14235 PyObject
* obj2
= 0 ;
14236 PyObject
* obj3
= 0 ;
14237 PyObject
* obj4
= 0 ;
14238 PyObject
* obj5
= 0 ;
14239 PyObject
* obj6
= 0 ;
14240 char *kwnames
[] = {
14241 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14249 arg3
= (int) SWIG_AsInt(obj2
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14254 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14260 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14264 arg6
= (long) SWIG_AsLong(obj5
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14269 arg7
= wxString_in_helper(obj6
);
14270 if (arg7
== NULL
) SWIG_fail
;
14275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14276 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14278 wxPyEndAllowThreads(__tstate
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14296 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14297 PyObject
*resultobj
;
14298 wxListbook
*arg1
= (wxListbook
*) 0 ;
14300 PyObject
* obj0
= 0 ;
14301 char *kwnames
[] = {
14302 (char *) "self", NULL
14305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14310 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14312 wxPyEndAllowThreads(__tstate
);
14313 if (PyErr_Occurred()) SWIG_fail
;
14315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14322 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
14324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14325 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14327 return Py_BuildValue((char *)"");
14329 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14330 PyObject
*resultobj
;
14331 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14332 int arg2
= (int) 0 ;
14333 int arg3
= (int) -1 ;
14334 int arg4
= (int) -1 ;
14335 wxListbookEvent
*result
;
14336 PyObject
* obj0
= 0 ;
14337 PyObject
* obj1
= 0 ;
14338 PyObject
* obj2
= 0 ;
14339 PyObject
* obj3
= 0 ;
14340 char *kwnames
[] = {
14341 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14346 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14350 arg2
= (int) SWIG_AsInt(obj1
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14354 arg3
= (int) SWIG_AsInt(obj2
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14358 arg4
= (int) SWIG_AsInt(obj3
);
14359 if (PyErr_Occurred()) SWIG_fail
;
14362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14363 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14365 wxPyEndAllowThreads(__tstate
);
14366 if (PyErr_Occurred()) SWIG_fail
;
14368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
14375 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
14377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14378 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14380 return Py_BuildValue((char *)"");
14382 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14383 PyObject
*resultobj
;
14384 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14385 wxBookCtrlSizer
*result
;
14386 PyObject
* obj0
= 0 ;
14387 char *kwnames
[] = {
14388 (char *) "nb", NULL
14391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14396 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14398 wxPyEndAllowThreads(__tstate
);
14399 if (PyErr_Occurred()) SWIG_fail
;
14401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
14408 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14409 PyObject
*resultobj
;
14410 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14411 PyObject
* obj0
= 0 ;
14412 char *kwnames
[] = {
14413 (char *) "self", NULL
14416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14421 (arg1
)->RecalcSizes();
14423 wxPyEndAllowThreads(__tstate
);
14424 if (PyErr_Occurred()) SWIG_fail
;
14426 Py_INCREF(Py_None
); resultobj
= Py_None
;
14433 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14434 PyObject
*resultobj
;
14435 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14437 PyObject
* obj0
= 0 ;
14438 char *kwnames
[] = {
14439 (char *) "self", NULL
14442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14447 result
= (arg1
)->CalcMin();
14449 wxPyEndAllowThreads(__tstate
);
14450 if (PyErr_Occurred()) SWIG_fail
;
14453 wxSize
* resultptr
;
14454 resultptr
= new wxSize((wxSize
&) result
);
14455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14463 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14464 PyObject
*resultobj
;
14465 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14466 wxBookCtrl
*result
;
14467 PyObject
* obj0
= 0 ;
14468 char *kwnames
[] = {
14469 (char *) "self", NULL
14472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14477 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14479 wxPyEndAllowThreads(__tstate
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
14489 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
14491 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14492 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14494 return Py_BuildValue((char *)"");
14496 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
;
14498 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14499 wxNotebookSizer
*result
;
14500 PyObject
* obj0
= 0 ;
14501 char *kwnames
[] = {
14502 (char *) "nb", NULL
14505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
14522 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14523 PyObject
*resultobj
;
14524 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14525 PyObject
* obj0
= 0 ;
14526 char *kwnames
[] = {
14527 (char *) "self", NULL
14530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14535 (arg1
)->RecalcSizes();
14537 wxPyEndAllowThreads(__tstate
);
14538 if (PyErr_Occurred()) SWIG_fail
;
14540 Py_INCREF(Py_None
); resultobj
= Py_None
;
14547 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14548 PyObject
*resultobj
;
14549 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14551 PyObject
* obj0
= 0 ;
14552 char *kwnames
[] = {
14553 (char *) "self", NULL
14556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14561 result
= (arg1
)->CalcMin();
14563 wxPyEndAllowThreads(__tstate
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14567 wxSize
* resultptr
;
14568 resultptr
= new wxSize((wxSize
&) result
);
14569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14577 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14578 PyObject
*resultobj
;
14579 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14580 wxNotebook
*result
;
14581 PyObject
* obj0
= 0 ;
14582 char *kwnames
[] = {
14583 (char *) "self", NULL
14586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14591 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14593 wxPyEndAllowThreads(__tstate
);
14594 if (PyErr_Occurred()) SWIG_fail
;
14597 resultobj
= wxPyMake_wxObject(result
);
14605 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
14607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14608 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14610 return Py_BuildValue((char *)"");
14612 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14613 PyObject
*resultobj
;
14614 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14616 PyObject
* obj0
= 0 ;
14617 char *kwnames
[] = {
14618 (char *) "self", NULL
14621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14626 result
= (int)(arg1
)->GetId();
14628 wxPyEndAllowThreads(__tstate
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14631 resultobj
= SWIG_FromInt((int)result
);
14638 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14639 PyObject
*resultobj
;
14640 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14642 PyObject
* obj0
= 0 ;
14643 char *kwnames
[] = {
14644 (char *) "self", NULL
14647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
14648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 result
= (wxControl
*)(arg1
)->GetControl();
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14658 resultobj
= wxPyMake_wxObject(result
);
14666 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14667 PyObject
*resultobj
;
14668 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14669 wxToolBarBase
*result
;
14670 PyObject
* obj0
= 0 ;
14671 char *kwnames
[] = {
14672 (char *) "self", NULL
14675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
14676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14680 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14686 resultobj
= wxPyMake_wxObject(result
);
14694 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14695 PyObject
*resultobj
;
14696 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14698 PyObject
* obj0
= 0 ;
14699 char *kwnames
[] = {
14700 (char *) "self", NULL
14703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
14704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14708 result
= (int)(arg1
)->IsButton();
14710 wxPyEndAllowThreads(__tstate
);
14711 if (PyErr_Occurred()) SWIG_fail
;
14713 resultobj
= SWIG_FromInt((int)result
);
14720 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14721 PyObject
*resultobj
;
14722 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14724 PyObject
* obj0
= 0 ;
14725 char *kwnames
[] = {
14726 (char *) "self", NULL
14729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
14730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14734 result
= (int)(arg1
)->IsControl();
14736 wxPyEndAllowThreads(__tstate
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14739 resultobj
= SWIG_FromInt((int)result
);
14746 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14747 PyObject
*resultobj
;
14748 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14750 PyObject
* obj0
= 0 ;
14751 char *kwnames
[] = {
14752 (char *) "self", NULL
14755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
14756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14760 result
= (int)(arg1
)->IsSeparator();
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14765 resultobj
= SWIG_FromInt((int)result
);
14772 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14773 PyObject
*resultobj
;
14774 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14776 PyObject
* obj0
= 0 ;
14777 char *kwnames
[] = {
14778 (char *) "self", NULL
14781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
14782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14786 result
= (int)(arg1
)->GetStyle();
14788 wxPyEndAllowThreads(__tstate
);
14789 if (PyErr_Occurred()) SWIG_fail
;
14791 resultobj
= SWIG_FromInt((int)result
);
14798 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14799 PyObject
*resultobj
;
14800 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14802 PyObject
* obj0
= 0 ;
14803 char *kwnames
[] = {
14804 (char *) "self", NULL
14807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
14808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14812 result
= (int)(arg1
)->GetKind();
14814 wxPyEndAllowThreads(__tstate
);
14815 if (PyErr_Occurred()) SWIG_fail
;
14817 resultobj
= SWIG_FromInt((int)result
);
14824 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14825 PyObject
*resultobj
;
14826 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14828 PyObject
* obj0
= 0 ;
14829 char *kwnames
[] = {
14830 (char *) "self", NULL
14833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
14834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14838 result
= (bool)(arg1
)->IsEnabled();
14840 wxPyEndAllowThreads(__tstate
);
14841 if (PyErr_Occurred()) SWIG_fail
;
14843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14850 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14851 PyObject
*resultobj
;
14852 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14854 PyObject
* obj0
= 0 ;
14855 char *kwnames
[] = {
14856 (char *) "self", NULL
14859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
14860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14864 result
= (bool)(arg1
)->IsToggled();
14866 wxPyEndAllowThreads(__tstate
);
14867 if (PyErr_Occurred()) SWIG_fail
;
14869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14876 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14877 PyObject
*resultobj
;
14878 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14880 PyObject
* obj0
= 0 ;
14881 char *kwnames
[] = {
14882 (char *) "self", NULL
14885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
14886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14890 result
= (bool)(arg1
)->CanBeToggled();
14892 wxPyEndAllowThreads(__tstate
);
14893 if (PyErr_Occurred()) SWIG_fail
;
14895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14902 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14903 PyObject
*resultobj
;
14904 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14906 PyObject
* obj0
= 0 ;
14907 char *kwnames
[] = {
14908 (char *) "self", NULL
14911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
14912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14917 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
14918 result
= (wxBitmap
*) &_result_ref
;
14921 wxPyEndAllowThreads(__tstate
);
14922 if (PyErr_Occurred()) SWIG_fail
;
14925 wxBitmap
* resultptr
= new wxBitmap(*result
);
14926 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14934 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14935 PyObject
*resultobj
;
14936 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14938 PyObject
* obj0
= 0 ;
14939 char *kwnames
[] = {
14940 (char *) "self", NULL
14943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
14944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14949 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
14950 result
= (wxBitmap
*) &_result_ref
;
14953 wxPyEndAllowThreads(__tstate
);
14954 if (PyErr_Occurred()) SWIG_fail
;
14957 wxBitmap
* resultptr
= new wxBitmap(*result
);
14958 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14966 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14967 PyObject
*resultobj
;
14968 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14970 PyObject
* obj0
= 0 ;
14971 char *kwnames
[] = {
14972 (char *) "self", NULL
14975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
14976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14980 result
= (arg1
)->GetBitmap();
14982 wxPyEndAllowThreads(__tstate
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14986 wxBitmap
* resultptr
;
14987 resultptr
= new wxBitmap((wxBitmap
&) result
);
14988 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14996 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14997 PyObject
*resultobj
;
14998 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15000 PyObject
* obj0
= 0 ;
15001 char *kwnames
[] = {
15002 (char *) "self", NULL
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15010 result
= (arg1
)->GetLabel();
15012 wxPyEndAllowThreads(__tstate
);
15013 if (PyErr_Occurred()) SWIG_fail
;
15017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15028 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15029 PyObject
*resultobj
;
15030 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15032 PyObject
* obj0
= 0 ;
15033 char *kwnames
[] = {
15034 (char *) "self", NULL
15037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15042 result
= (arg1
)->GetShortHelp();
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15060 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15061 PyObject
*resultobj
;
15062 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15064 PyObject
* obj0
= 0 ;
15065 char *kwnames
[] = {
15066 (char *) "self", NULL
15069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15074 result
= (arg1
)->GetLongHelp();
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15081 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15083 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15092 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15093 PyObject
*resultobj
;
15094 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15097 PyObject
* obj0
= 0 ;
15098 PyObject
* obj1
= 0 ;
15099 char *kwnames
[] = {
15100 (char *) "self",(char *) "enable", NULL
15103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15106 arg2
= (bool) SWIG_AsBool(obj1
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15110 result
= (bool)(arg1
)->Enable(arg2
);
15112 wxPyEndAllowThreads(__tstate
);
15113 if (PyErr_Occurred()) SWIG_fail
;
15115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15122 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15123 PyObject
*resultobj
;
15124 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15125 PyObject
* obj0
= 0 ;
15126 char *kwnames
[] = {
15127 (char *) "self", NULL
15130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15140 Py_INCREF(Py_None
); resultobj
= Py_None
;
15147 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15148 PyObject
*resultobj
;
15149 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15152 PyObject
* obj0
= 0 ;
15153 PyObject
* obj1
= 0 ;
15154 char *kwnames
[] = {
15155 (char *) "self",(char *) "toggle", NULL
15158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15161 arg2
= (bool) SWIG_AsBool(obj1
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15165 result
= (bool)(arg1
)->SetToggle(arg2
);
15167 wxPyEndAllowThreads(__tstate
);
15168 if (PyErr_Occurred()) SWIG_fail
;
15170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15177 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15178 PyObject
*resultobj
;
15179 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15180 wxString
*arg2
= 0 ;
15182 bool temp2
= False
;
15183 PyObject
* obj0
= 0 ;
15184 PyObject
* obj1
= 0 ;
15185 char *kwnames
[] = {
15186 (char *) "self",(char *) "help", NULL
15189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15193 arg2
= wxString_in_helper(obj1
);
15194 if (arg2
== NULL
) SWIG_fail
;
15198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15199 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15201 wxPyEndAllowThreads(__tstate
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15219 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15220 PyObject
*resultobj
;
15221 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15222 wxString
*arg2
= 0 ;
15224 bool temp2
= False
;
15225 PyObject
* obj0
= 0 ;
15226 PyObject
* obj1
= 0 ;
15227 char *kwnames
[] = {
15228 (char *) "self",(char *) "help", NULL
15231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15235 arg2
= wxString_in_helper(obj1
);
15236 if (arg2
== NULL
) SWIG_fail
;
15240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15241 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15243 wxPyEndAllowThreads(__tstate
);
15244 if (PyErr_Occurred()) SWIG_fail
;
15246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15261 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15262 PyObject
*resultobj
;
15263 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15264 wxBitmap
*arg2
= 0 ;
15265 PyObject
* obj0
= 0 ;
15266 PyObject
* obj1
= 0 ;
15267 char *kwnames
[] = {
15268 (char *) "self",(char *) "bmp", NULL
15271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15274 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15275 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15277 if (arg2
== NULL
) {
15278 PyErr_SetString(PyExc_TypeError
,"null reference");
15282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15283 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15285 wxPyEndAllowThreads(__tstate
);
15286 if (PyErr_Occurred()) SWIG_fail
;
15288 Py_INCREF(Py_None
); resultobj
= Py_None
;
15295 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15296 PyObject
*resultobj
;
15297 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15298 wxBitmap
*arg2
= 0 ;
15299 PyObject
* obj0
= 0 ;
15300 PyObject
* obj1
= 0 ;
15301 char *kwnames
[] = {
15302 (char *) "self",(char *) "bmp", NULL
15305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15309 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15311 if (arg2
== NULL
) {
15312 PyErr_SetString(PyExc_TypeError
,"null reference");
15316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15317 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15319 wxPyEndAllowThreads(__tstate
);
15320 if (PyErr_Occurred()) SWIG_fail
;
15322 Py_INCREF(Py_None
); resultobj
= Py_None
;
15329 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15330 PyObject
*resultobj
;
15331 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15332 wxString
*arg2
= 0 ;
15333 bool temp2
= False
;
15334 PyObject
* obj0
= 0 ;
15335 PyObject
* obj1
= 0 ;
15336 char *kwnames
[] = {
15337 (char *) "self",(char *) "label", NULL
15340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15344 arg2
= wxString_in_helper(obj1
);
15345 if (arg2
== NULL
) SWIG_fail
;
15349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15350 (arg1
)->SetLabel((wxString
const &)*arg2
);
15352 wxPyEndAllowThreads(__tstate
);
15353 if (PyErr_Occurred()) SWIG_fail
;
15355 Py_INCREF(Py_None
); resultobj
= Py_None
;
15370 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15371 PyObject
*resultobj
;
15372 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15373 PyObject
* obj0
= 0 ;
15374 char *kwnames
[] = {
15375 (char *) "self", NULL
15378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15385 wxPyEndAllowThreads(__tstate
);
15386 if (PyErr_Occurred()) SWIG_fail
;
15388 Py_INCREF(Py_None
); resultobj
= Py_None
;
15395 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15396 PyObject
*resultobj
;
15397 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15398 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15399 PyObject
* obj0
= 0 ;
15400 PyObject
* obj1
= 0 ;
15401 char *kwnames
[] = {
15402 (char *) "self",(char *) "tbar", NULL
15405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
15409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15412 (arg1
)->Attach(arg2
);
15414 wxPyEndAllowThreads(__tstate
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15417 Py_INCREF(Py_None
); resultobj
= Py_None
;
15424 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15425 PyObject
*resultobj
;
15426 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15428 PyObject
* obj0
= 0 ;
15429 char *kwnames
[] = {
15430 (char *) "self", NULL
15433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15438 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15440 wxPyEndAllowThreads(__tstate
);
15441 if (PyErr_Occurred()) SWIG_fail
;
15443 resultobj
= result
;
15450 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15451 PyObject
*resultobj
;
15452 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15453 PyObject
*arg2
= (PyObject
*) 0 ;
15454 PyObject
* obj0
= 0 ;
15455 PyObject
* obj1
= 0 ;
15456 char *kwnames
[] = {
15457 (char *) "self",(char *) "clientData", NULL
15460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15466 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15468 wxPyEndAllowThreads(__tstate
);
15469 if (PyErr_Occurred()) SWIG_fail
;
15471 Py_INCREF(Py_None
); resultobj
= Py_None
;
15478 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
15480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15481 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15483 return Py_BuildValue((char *)"");
15485 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15486 PyObject
*resultobj
;
15487 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15489 wxString
*arg3
= 0 ;
15490 wxBitmap
*arg4
= 0 ;
15491 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15492 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15493 int arg6
= (int) wxITEM_NORMAL
;
15494 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15495 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15496 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15497 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15498 PyObject
*arg9
= (PyObject
*) NULL
;
15499 wxToolBarToolBase
*result
;
15500 bool temp3
= False
;
15501 bool temp7
= False
;
15502 bool temp8
= False
;
15503 PyObject
* obj0
= 0 ;
15504 PyObject
* obj1
= 0 ;
15505 PyObject
* obj2
= 0 ;
15506 PyObject
* obj3
= 0 ;
15507 PyObject
* obj4
= 0 ;
15508 PyObject
* obj5
= 0 ;
15509 PyObject
* obj6
= 0 ;
15510 PyObject
* obj7
= 0 ;
15511 PyObject
* obj8
= 0 ;
15512 char *kwnames
[] = {
15513 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15519 arg2
= (int) SWIG_AsInt(obj1
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15522 arg3
= wxString_in_helper(obj2
);
15523 if (arg3
== NULL
) SWIG_fail
;
15526 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
15527 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15529 if (arg4
== NULL
) {
15530 PyErr_SetString(PyExc_TypeError
,"null reference");
15534 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15535 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15537 if (arg5
== NULL
) {
15538 PyErr_SetString(PyExc_TypeError
,"null reference");
15543 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
15544 if (PyErr_Occurred()) SWIG_fail
;
15548 arg7
= wxString_in_helper(obj6
);
15549 if (arg7
== NULL
) SWIG_fail
;
15555 arg8
= wxString_in_helper(obj7
);
15556 if (arg8
== NULL
) SWIG_fail
;
15564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15565 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15567 wxPyEndAllowThreads(__tstate
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15571 resultobj
= wxPyMake_wxObject(result
);
15603 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15604 PyObject
*resultobj
;
15605 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15608 wxString
*arg4
= 0 ;
15609 wxBitmap
*arg5
= 0 ;
15610 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
15611 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
15612 int arg7
= (int) wxITEM_NORMAL
;
15613 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15614 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15615 wxString
const &arg9_defvalue
= wxPyEmptyString
;
15616 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15617 PyObject
*arg10
= (PyObject
*) NULL
;
15618 wxToolBarToolBase
*result
;
15619 bool temp4
= False
;
15620 bool temp8
= False
;
15621 bool temp9
= False
;
15622 PyObject
* obj0
= 0 ;
15623 PyObject
* obj1
= 0 ;
15624 PyObject
* obj2
= 0 ;
15625 PyObject
* obj3
= 0 ;
15626 PyObject
* obj4
= 0 ;
15627 PyObject
* obj5
= 0 ;
15628 PyObject
* obj6
= 0 ;
15629 PyObject
* obj7
= 0 ;
15630 PyObject
* obj8
= 0 ;
15631 PyObject
* obj9
= 0 ;
15632 char *kwnames
[] = {
15633 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15639 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
15640 if (PyErr_Occurred()) SWIG_fail
;
15641 arg3
= (int) SWIG_AsInt(obj2
);
15642 if (PyErr_Occurred()) SWIG_fail
;
15644 arg4
= wxString_in_helper(obj3
);
15645 if (arg4
== NULL
) SWIG_fail
;
15648 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15649 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15651 if (arg5
== NULL
) {
15652 PyErr_SetString(PyExc_TypeError
,"null reference");
15656 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
15657 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15659 if (arg6
== NULL
) {
15660 PyErr_SetString(PyExc_TypeError
,"null reference");
15665 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15670 arg8
= wxString_in_helper(obj7
);
15671 if (arg8
== NULL
) SWIG_fail
;
15677 arg9
= wxString_in_helper(obj8
);
15678 if (arg9
== NULL
) SWIG_fail
;
15686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15687 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
);
15689 wxPyEndAllowThreads(__tstate
);
15690 if (PyErr_Occurred()) SWIG_fail
;
15693 resultobj
= wxPyMake_wxObject(result
);
15725 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15726 PyObject
*resultobj
;
15727 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15728 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
15729 wxToolBarToolBase
*result
;
15730 PyObject
* obj0
= 0 ;
15731 PyObject
* obj1
= 0 ;
15732 char *kwnames
[] = {
15733 (char *) "self",(char *) "tool", NULL
15736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
15737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
15740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15743 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
15745 wxPyEndAllowThreads(__tstate
);
15746 if (PyErr_Occurred()) SWIG_fail
;
15749 resultobj
= wxPyMake_wxObject(result
);
15757 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15758 PyObject
*resultobj
;
15759 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15761 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
15762 wxToolBarToolBase
*result
;
15763 PyObject
* obj0
= 0 ;
15764 PyObject
* obj1
= 0 ;
15765 PyObject
* obj2
= 0 ;
15766 char *kwnames
[] = {
15767 (char *) "self",(char *) "pos",(char *) "tool", NULL
15770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15773 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
15774 if (PyErr_Occurred()) SWIG_fail
;
15775 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
15776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15779 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
15781 wxPyEndAllowThreads(__tstate
);
15782 if (PyErr_Occurred()) SWIG_fail
;
15785 resultobj
= wxPyMake_wxObject(result
);
15793 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15794 PyObject
*resultobj
;
15795 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15796 wxControl
*arg2
= (wxControl
*) 0 ;
15797 wxToolBarToolBase
*result
;
15798 PyObject
* obj0
= 0 ;
15799 PyObject
* obj1
= 0 ;
15800 char *kwnames
[] = {
15801 (char *) "self",(char *) "control", NULL
15804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
15808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15811 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
15813 wxPyEndAllowThreads(__tstate
);
15814 if (PyErr_Occurred()) SWIG_fail
;
15817 resultobj
= wxPyMake_wxObject(result
);
15825 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15826 PyObject
*resultobj
;
15827 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15829 wxControl
*arg3
= (wxControl
*) 0 ;
15830 wxToolBarToolBase
*result
;
15831 PyObject
* obj0
= 0 ;
15832 PyObject
* obj1
= 0 ;
15833 PyObject
* obj2
= 0 ;
15834 char *kwnames
[] = {
15835 (char *) "self",(char *) "pos",(char *) "control", NULL
15838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15841 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
15842 if (PyErr_Occurred()) SWIG_fail
;
15843 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
15844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15847 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
15849 wxPyEndAllowThreads(__tstate
);
15850 if (PyErr_Occurred()) SWIG_fail
;
15853 resultobj
= wxPyMake_wxObject(result
);
15861 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15862 PyObject
*resultobj
;
15863 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15866 PyObject
* obj0
= 0 ;
15867 PyObject
* obj1
= 0 ;
15868 char *kwnames
[] = {
15869 (char *) "self",(char *) "id", NULL
15872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15875 arg2
= (int) SWIG_AsInt(obj1
);
15876 if (PyErr_Occurred()) SWIG_fail
;
15878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15879 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
15881 wxPyEndAllowThreads(__tstate
);
15882 if (PyErr_Occurred()) SWIG_fail
;
15885 resultobj
= wxPyMake_wxObject(result
);
15893 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15894 PyObject
*resultobj
;
15895 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15896 wxToolBarToolBase
*result
;
15897 PyObject
* obj0
= 0 ;
15898 char *kwnames
[] = {
15899 (char *) "self", NULL
15902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
15903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15907 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
15909 wxPyEndAllowThreads(__tstate
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15913 resultobj
= wxPyMake_wxObject(result
);
15921 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15922 PyObject
*resultobj
;
15923 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15925 wxToolBarToolBase
*result
;
15926 PyObject
* obj0
= 0 ;
15927 PyObject
* obj1
= 0 ;
15928 char *kwnames
[] = {
15929 (char *) "self",(char *) "pos", NULL
15932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
15933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15935 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
15936 if (PyErr_Occurred()) SWIG_fail
;
15938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15939 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
15941 wxPyEndAllowThreads(__tstate
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15945 resultobj
= wxPyMake_wxObject(result
);
15953 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15954 PyObject
*resultobj
;
15955 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15957 wxToolBarToolBase
*result
;
15958 PyObject
* obj0
= 0 ;
15959 PyObject
* obj1
= 0 ;
15960 char *kwnames
[] = {
15961 (char *) "self",(char *) "id", NULL
15964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
15965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15967 arg2
= (int) SWIG_AsInt(obj1
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15971 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
15973 wxPyEndAllowThreads(__tstate
);
15974 if (PyErr_Occurred()) SWIG_fail
;
15977 resultobj
= wxPyMake_wxObject(result
);
15985 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15986 PyObject
*resultobj
;
15987 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15990 PyObject
* obj0
= 0 ;
15991 PyObject
* obj1
= 0 ;
15992 char *kwnames
[] = {
15993 (char *) "self",(char *) "pos", NULL
15996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
15997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15999 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16000 if (PyErr_Occurred()) SWIG_fail
;
16002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16003 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16005 wxPyEndAllowThreads(__tstate
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16015 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16016 PyObject
*resultobj
;
16017 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16020 PyObject
* obj0
= 0 ;
16021 PyObject
* obj1
= 0 ;
16022 char *kwnames
[] = {
16023 (char *) "self",(char *) "id", NULL
16026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16029 arg2
= (int) SWIG_AsInt(obj1
);
16030 if (PyErr_Occurred()) SWIG_fail
;
16032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16033 result
= (bool)(arg1
)->DeleteTool(arg2
);
16035 wxPyEndAllowThreads(__tstate
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16045 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16046 PyObject
*resultobj
;
16047 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16048 PyObject
* obj0
= 0 ;
16049 char *kwnames
[] = {
16050 (char *) "self", NULL
16053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16058 (arg1
)->ClearTools();
16060 wxPyEndAllowThreads(__tstate
);
16061 if (PyErr_Occurred()) SWIG_fail
;
16063 Py_INCREF(Py_None
); resultobj
= Py_None
;
16070 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16071 PyObject
*resultobj
;
16072 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16074 PyObject
* obj0
= 0 ;
16075 char *kwnames
[] = {
16076 (char *) "self", NULL
16079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16084 result
= (bool)(arg1
)->Realize();
16086 wxPyEndAllowThreads(__tstate
);
16087 if (PyErr_Occurred()) SWIG_fail
;
16089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16096 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16097 PyObject
*resultobj
;
16098 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16101 PyObject
* obj0
= 0 ;
16102 PyObject
* obj1
= 0 ;
16103 PyObject
* obj2
= 0 ;
16104 char *kwnames
[] = {
16105 (char *) "self",(char *) "id",(char *) "enable", NULL
16108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16111 arg2
= (int) SWIG_AsInt(obj1
);
16112 if (PyErr_Occurred()) SWIG_fail
;
16113 arg3
= (bool) SWIG_AsBool(obj2
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16117 (arg1
)->EnableTool(arg2
,arg3
);
16119 wxPyEndAllowThreads(__tstate
);
16120 if (PyErr_Occurred()) SWIG_fail
;
16122 Py_INCREF(Py_None
); resultobj
= Py_None
;
16129 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16130 PyObject
*resultobj
;
16131 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16134 PyObject
* obj0
= 0 ;
16135 PyObject
* obj1
= 0 ;
16136 PyObject
* obj2
= 0 ;
16137 char *kwnames
[] = {
16138 (char *) "self",(char *) "id",(char *) "toggle", NULL
16141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16144 arg2
= (int) SWIG_AsInt(obj1
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16146 arg3
= (bool) SWIG_AsBool(obj2
);
16147 if (PyErr_Occurred()) SWIG_fail
;
16149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16150 (arg1
)->ToggleTool(arg2
,arg3
);
16152 wxPyEndAllowThreads(__tstate
);
16153 if (PyErr_Occurred()) SWIG_fail
;
16155 Py_INCREF(Py_None
); resultobj
= Py_None
;
16162 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16163 PyObject
*resultobj
;
16164 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16167 PyObject
* obj0
= 0 ;
16168 PyObject
* obj1
= 0 ;
16169 PyObject
* obj2
= 0 ;
16170 char *kwnames
[] = {
16171 (char *) "self",(char *) "id",(char *) "toggle", NULL
16174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16177 arg2
= (int) SWIG_AsInt(obj1
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16179 arg3
= (bool) SWIG_AsBool(obj2
);
16180 if (PyErr_Occurred()) SWIG_fail
;
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 (arg1
)->SetToggle(arg2
,arg3
);
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16188 Py_INCREF(Py_None
); resultobj
= Py_None
;
16195 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
;
16197 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16200 PyObject
* obj0
= 0 ;
16201 PyObject
* obj1
= 0 ;
16202 char *kwnames
[] = {
16203 (char *) "self",(char *) "id", NULL
16206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16209 arg2
= (int) SWIG_AsInt(obj1
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16213 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16215 wxPyEndAllowThreads(__tstate
);
16216 if (PyErr_Occurred()) SWIG_fail
;
16218 resultobj
= result
;
16225 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16226 PyObject
*resultobj
;
16227 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16229 PyObject
*arg3
= (PyObject
*) 0 ;
16230 PyObject
* obj0
= 0 ;
16231 PyObject
* obj1
= 0 ;
16232 PyObject
* obj2
= 0 ;
16233 char *kwnames
[] = {
16234 (char *) "self",(char *) "id",(char *) "clientData", NULL
16237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16240 arg2
= (int) SWIG_AsInt(obj1
);
16241 if (PyErr_Occurred()) SWIG_fail
;
16244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16245 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16247 wxPyEndAllowThreads(__tstate
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16250 Py_INCREF(Py_None
); resultobj
= Py_None
;
16257 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16258 PyObject
*resultobj
;
16259 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16262 PyObject
* obj0
= 0 ;
16263 PyObject
* obj1
= 0 ;
16264 char *kwnames
[] = {
16265 (char *) "self",(char *) "id", NULL
16268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16271 arg2
= (int) SWIG_AsInt(obj1
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16275 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16277 wxPyEndAllowThreads(__tstate
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16280 resultobj
= SWIG_FromInt((int)result
);
16287 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16288 PyObject
*resultobj
;
16289 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16292 PyObject
* obj0
= 0 ;
16293 PyObject
* obj1
= 0 ;
16294 char *kwnames
[] = {
16295 (char *) "self",(char *) "id", NULL
16298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16301 arg2
= (int) SWIG_AsInt(obj1
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16305 result
= (bool)(arg1
)->GetToolState(arg2
);
16307 wxPyEndAllowThreads(__tstate
);
16308 if (PyErr_Occurred()) SWIG_fail
;
16310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16317 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16318 PyObject
*resultobj
;
16319 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16322 PyObject
* obj0
= 0 ;
16323 PyObject
* obj1
= 0 ;
16324 char *kwnames
[] = {
16325 (char *) "self",(char *) "id", NULL
16328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16331 arg2
= (int) SWIG_AsInt(obj1
);
16332 if (PyErr_Occurred()) SWIG_fail
;
16334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16335 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16337 wxPyEndAllowThreads(__tstate
);
16338 if (PyErr_Occurred()) SWIG_fail
;
16340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16347 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16348 PyObject
*resultobj
;
16349 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16351 wxString
*arg3
= 0 ;
16352 bool temp3
= False
;
16353 PyObject
* obj0
= 0 ;
16354 PyObject
* obj1
= 0 ;
16355 PyObject
* obj2
= 0 ;
16356 char *kwnames
[] = {
16357 (char *) "self",(char *) "id",(char *) "helpString", NULL
16360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16363 arg2
= (int) SWIG_AsInt(obj1
);
16364 if (PyErr_Occurred()) SWIG_fail
;
16366 arg3
= wxString_in_helper(obj2
);
16367 if (arg3
== NULL
) SWIG_fail
;
16371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16372 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16374 wxPyEndAllowThreads(__tstate
);
16375 if (PyErr_Occurred()) SWIG_fail
;
16377 Py_INCREF(Py_None
); resultobj
= Py_None
;
16392 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16393 PyObject
*resultobj
;
16394 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16397 PyObject
* obj0
= 0 ;
16398 PyObject
* obj1
= 0 ;
16399 char *kwnames
[] = {
16400 (char *) "self",(char *) "id", NULL
16403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16406 arg2
= (int) SWIG_AsInt(obj1
);
16407 if (PyErr_Occurred()) SWIG_fail
;
16409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16410 result
= (arg1
)->GetToolShortHelp(arg2
);
16412 wxPyEndAllowThreads(__tstate
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16417 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16419 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16428 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16429 PyObject
*resultobj
;
16430 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16432 wxString
*arg3
= 0 ;
16433 bool temp3
= False
;
16434 PyObject
* obj0
= 0 ;
16435 PyObject
* obj1
= 0 ;
16436 PyObject
* obj2
= 0 ;
16437 char *kwnames
[] = {
16438 (char *) "self",(char *) "id",(char *) "helpString", NULL
16441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16444 arg2
= (int) SWIG_AsInt(obj1
);
16445 if (PyErr_Occurred()) SWIG_fail
;
16447 arg3
= wxString_in_helper(obj2
);
16448 if (arg3
== NULL
) SWIG_fail
;
16452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16453 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16455 wxPyEndAllowThreads(__tstate
);
16456 if (PyErr_Occurred()) SWIG_fail
;
16458 Py_INCREF(Py_None
); resultobj
= Py_None
;
16473 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16474 PyObject
*resultobj
;
16475 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16478 PyObject
* obj0
= 0 ;
16479 PyObject
* obj1
= 0 ;
16480 char *kwnames
[] = {
16481 (char *) "self",(char *) "id", NULL
16484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16487 arg2
= (int) SWIG_AsInt(obj1
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16491 result
= (arg1
)->GetToolLongHelp(arg2
);
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16498 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16500 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16509 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16510 PyObject
*resultobj
;
16511 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16514 PyObject
* obj0
= 0 ;
16515 PyObject
* obj1
= 0 ;
16516 PyObject
* obj2
= 0 ;
16517 char *kwnames
[] = {
16518 (char *) "self",(char *) "x",(char *) "y", NULL
16521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16524 arg2
= (int) SWIG_AsInt(obj1
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16526 arg3
= (int) SWIG_AsInt(obj2
);
16527 if (PyErr_Occurred()) SWIG_fail
;
16529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16530 (arg1
)->SetMargins(arg2
,arg3
);
16532 wxPyEndAllowThreads(__tstate
);
16533 if (PyErr_Occurred()) SWIG_fail
;
16535 Py_INCREF(Py_None
); resultobj
= Py_None
;
16542 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16544 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16547 PyObject
* obj0
= 0 ;
16548 PyObject
* obj1
= 0 ;
16549 char *kwnames
[] = {
16550 (char *) "self",(char *) "size", NULL
16553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16558 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16562 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16564 wxPyEndAllowThreads(__tstate
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16567 Py_INCREF(Py_None
); resultobj
= Py_None
;
16574 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16575 PyObject
*resultobj
;
16576 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16578 PyObject
* obj0
= 0 ;
16579 PyObject
* obj1
= 0 ;
16580 char *kwnames
[] = {
16581 (char *) "self",(char *) "packing", NULL
16584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16587 arg2
= (int) SWIG_AsInt(obj1
);
16588 if (PyErr_Occurred()) SWIG_fail
;
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 (arg1
)->SetToolPacking(arg2
);
16593 wxPyEndAllowThreads(__tstate
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16596 Py_INCREF(Py_None
); resultobj
= Py_None
;
16603 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16607 PyObject
* obj0
= 0 ;
16608 PyObject
* obj1
= 0 ;
16609 char *kwnames
[] = {
16610 (char *) "self",(char *) "separation", NULL
16613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
16614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16616 arg2
= (int) SWIG_AsInt(obj1
);
16617 if (PyErr_Occurred()) SWIG_fail
;
16619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16620 (arg1
)->SetToolSeparation(arg2
);
16622 wxPyEndAllowThreads(__tstate
);
16623 if (PyErr_Occurred()) SWIG_fail
;
16625 Py_INCREF(Py_None
); resultobj
= Py_None
;
16632 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16633 PyObject
*resultobj
;
16634 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16636 PyObject
* obj0
= 0 ;
16637 char *kwnames
[] = {
16638 (char *) "self", NULL
16641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
16642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16646 result
= (arg1
)->GetToolMargins();
16648 wxPyEndAllowThreads(__tstate
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16652 wxSize
* resultptr
;
16653 resultptr
= new wxSize((wxSize
&) result
);
16654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16662 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16663 PyObject
*resultobj
;
16664 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16666 PyObject
* obj0
= 0 ;
16667 char *kwnames
[] = {
16668 (char *) "self", NULL
16671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
16672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16676 result
= (arg1
)->GetMargins();
16678 wxPyEndAllowThreads(__tstate
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16682 wxSize
* resultptr
;
16683 resultptr
= new wxSize((wxSize
&) result
);
16684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16692 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16693 PyObject
*resultobj
;
16694 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16696 PyObject
* obj0
= 0 ;
16697 char *kwnames
[] = {
16698 (char *) "self", NULL
16701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
16702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16706 result
= (int)(arg1
)->GetToolPacking();
16708 wxPyEndAllowThreads(__tstate
);
16709 if (PyErr_Occurred()) SWIG_fail
;
16711 resultobj
= SWIG_FromInt((int)result
);
16718 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16719 PyObject
*resultobj
;
16720 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16722 PyObject
* obj0
= 0 ;
16723 char *kwnames
[] = {
16724 (char *) "self", NULL
16727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
16728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16732 result
= (int)(arg1
)->GetToolSeparation();
16734 wxPyEndAllowThreads(__tstate
);
16735 if (PyErr_Occurred()) SWIG_fail
;
16737 resultobj
= SWIG_FromInt((int)result
);
16744 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16745 PyObject
*resultobj
;
16746 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16748 PyObject
* obj0
= 0 ;
16749 PyObject
* obj1
= 0 ;
16750 char *kwnames
[] = {
16751 (char *) "self",(char *) "nRows", NULL
16754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
16755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16757 arg2
= (int) SWIG_AsInt(obj1
);
16758 if (PyErr_Occurred()) SWIG_fail
;
16760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16761 (arg1
)->SetRows(arg2
);
16763 wxPyEndAllowThreads(__tstate
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16766 Py_INCREF(Py_None
); resultobj
= Py_None
;
16773 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16774 PyObject
*resultobj
;
16775 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16778 PyObject
* obj0
= 0 ;
16779 PyObject
* obj1
= 0 ;
16780 PyObject
* obj2
= 0 ;
16781 char *kwnames
[] = {
16782 (char *) "self",(char *) "rows",(char *) "cols", NULL
16785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16788 arg2
= (int) SWIG_AsInt(obj1
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16790 arg3
= (int) SWIG_AsInt(obj2
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16794 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
16796 wxPyEndAllowThreads(__tstate
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16799 Py_INCREF(Py_None
); resultobj
= Py_None
;
16806 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16807 PyObject
*resultobj
;
16808 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16810 PyObject
* obj0
= 0 ;
16811 char *kwnames
[] = {
16812 (char *) "self", NULL
16815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
16816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16820 result
= (int)(arg1
)->GetMaxRows();
16822 wxPyEndAllowThreads(__tstate
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16825 resultobj
= SWIG_FromInt((int)result
);
16832 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16833 PyObject
*resultobj
;
16834 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16836 PyObject
* obj0
= 0 ;
16837 char *kwnames
[] = {
16838 (char *) "self", NULL
16841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
16842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16846 result
= (int)(arg1
)->GetMaxCols();
16848 wxPyEndAllowThreads(__tstate
);
16849 if (PyErr_Occurred()) SWIG_fail
;
16851 resultobj
= SWIG_FromInt((int)result
);
16858 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16859 PyObject
*resultobj
;
16860 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16863 PyObject
* obj0
= 0 ;
16864 PyObject
* obj1
= 0 ;
16865 char *kwnames
[] = {
16866 (char *) "self",(char *) "size", NULL
16869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16874 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16878 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
16880 wxPyEndAllowThreads(__tstate
);
16881 if (PyErr_Occurred()) SWIG_fail
;
16883 Py_INCREF(Py_None
); resultobj
= Py_None
;
16890 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16891 PyObject
*resultobj
;
16892 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16894 PyObject
* obj0
= 0 ;
16895 char *kwnames
[] = {
16896 (char *) "self", NULL
16899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
16900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16904 result
= (arg1
)->GetToolBitmapSize();
16906 wxPyEndAllowThreads(__tstate
);
16907 if (PyErr_Occurred()) SWIG_fail
;
16910 wxSize
* resultptr
;
16911 resultptr
= new wxSize((wxSize
&) result
);
16912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16920 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16921 PyObject
*resultobj
;
16922 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16924 PyObject
* obj0
= 0 ;
16925 char *kwnames
[] = {
16926 (char *) "self", NULL
16929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
16930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16934 result
= (arg1
)->GetToolSize();
16936 wxPyEndAllowThreads(__tstate
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16940 wxSize
* resultptr
;
16941 resultptr
= new wxSize((wxSize
&) result
);
16942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16950 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16951 PyObject
*resultobj
;
16952 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16955 wxToolBarToolBase
*result
;
16956 PyObject
* obj0
= 0 ;
16957 PyObject
* obj1
= 0 ;
16958 PyObject
* obj2
= 0 ;
16959 char *kwnames
[] = {
16960 (char *) "self",(char *) "x",(char *) "y", NULL
16963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16966 arg2
= (int) SWIG_AsInt(obj1
);
16967 if (PyErr_Occurred()) SWIG_fail
;
16968 arg3
= (int) SWIG_AsInt(obj2
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
16974 wxPyEndAllowThreads(__tstate
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16978 resultobj
= wxPyMake_wxObject(result
);
16986 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
;
16988 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16990 wxToolBarToolBase
*result
;
16991 PyObject
* obj0
= 0 ;
16992 PyObject
* obj1
= 0 ;
16993 char *kwnames
[] = {
16994 (char *) "self",(char *) "toolid", NULL
16997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
16998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17000 arg2
= (int) SWIG_AsInt(obj1
);
17001 if (PyErr_Occurred()) SWIG_fail
;
17003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17004 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17006 wxPyEndAllowThreads(__tstate
);
17007 if (PyErr_Occurred()) SWIG_fail
;
17010 resultobj
= wxPyMake_wxObject(result
);
17018 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17019 PyObject
*resultobj
;
17020 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17022 PyObject
* obj0
= 0 ;
17023 char *kwnames
[] = {
17024 (char *) "self", NULL
17027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17032 result
= (bool)(arg1
)->IsVertical();
17034 wxPyEndAllowThreads(__tstate
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17044 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
17046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17047 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17049 return Py_BuildValue((char *)"");
17051 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17052 PyObject
*resultobj
;
17053 wxWindow
*arg1
= (wxWindow
*) 0 ;
17055 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17056 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17057 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17058 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17059 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17060 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17061 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17065 bool temp6
= False
;
17066 PyObject
* obj0
= 0 ;
17067 PyObject
* obj1
= 0 ;
17068 PyObject
* obj2
= 0 ;
17069 PyObject
* obj3
= 0 ;
17070 PyObject
* obj4
= 0 ;
17071 PyObject
* obj5
= 0 ;
17072 char *kwnames
[] = {
17073 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17079 arg2
= (int) SWIG_AsInt(obj1
);
17080 if (PyErr_Occurred()) SWIG_fail
;
17084 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17090 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17094 arg5
= (long) SWIG_AsLong(obj4
);
17095 if (PyErr_Occurred()) SWIG_fail
;
17099 arg6
= wxString_in_helper(obj5
);
17100 if (arg6
== NULL
) SWIG_fail
;
17105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17106 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17108 wxPyEndAllowThreads(__tstate
);
17109 if (PyErr_Occurred()) SWIG_fail
;
17112 resultobj
= wxPyMake_wxObject(result
);
17128 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17129 PyObject
*resultobj
;
17131 char *kwnames
[] = {
17135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17138 result
= (wxToolBar
*)new wxToolBar();
17140 wxPyEndAllowThreads(__tstate
);
17141 if (PyErr_Occurred()) SWIG_fail
;
17144 resultobj
= wxPyMake_wxObject(result
);
17152 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17153 PyObject
*resultobj
;
17154 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17155 wxWindow
*arg2
= (wxWindow
*) 0 ;
17157 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17158 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17159 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17160 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17161 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17162 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17163 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17167 bool temp7
= False
;
17168 PyObject
* obj0
= 0 ;
17169 PyObject
* obj1
= 0 ;
17170 PyObject
* obj2
= 0 ;
17171 PyObject
* obj3
= 0 ;
17172 PyObject
* obj4
= 0 ;
17173 PyObject
* obj5
= 0 ;
17174 PyObject
* obj6
= 0 ;
17175 char *kwnames
[] = {
17176 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17182 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17184 arg3
= (int) SWIG_AsInt(obj2
);
17185 if (PyErr_Occurred()) SWIG_fail
;
17189 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17195 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17199 arg6
= (long) SWIG_AsLong(obj5
);
17200 if (PyErr_Occurred()) SWIG_fail
;
17204 arg7
= wxString_in_helper(obj6
);
17205 if (arg7
== NULL
) SWIG_fail
;
17210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17211 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17213 wxPyEndAllowThreads(__tstate
);
17214 if (PyErr_Occurred()) SWIG_fail
;
17216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17231 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17232 PyObject
*resultobj
;
17233 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17236 wxToolBarToolBase
*result
;
17237 PyObject
* obj0
= 0 ;
17238 PyObject
* obj1
= 0 ;
17239 PyObject
* obj2
= 0 ;
17240 char *kwnames
[] = {
17241 (char *) "self",(char *) "x",(char *) "y", NULL
17244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17247 arg2
= (int) SWIG_AsInt(obj1
);
17248 if (PyErr_Occurred()) SWIG_fail
;
17249 arg3
= (int) SWIG_AsInt(obj2
);
17250 if (PyErr_Occurred()) SWIG_fail
;
17252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17253 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17255 wxPyEndAllowThreads(__tstate
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17259 resultobj
= wxPyMake_wxObject(result
);
17267 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
17269 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17270 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17272 return Py_BuildValue((char *)"");
17274 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
17275 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17280 static PyObject
*_wrap_ListCtrlNameStr_get() {
17285 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17287 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17294 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17295 PyObject
*resultobj
;
17296 wxColour
const &arg1_defvalue
= wxNullColour
;
17297 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17298 wxColour
const &arg2_defvalue
= wxNullColour
;
17299 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17300 wxFont
const &arg3_defvalue
= wxNullFont
;
17301 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17302 wxListItemAttr
*result
;
17305 PyObject
* obj0
= 0 ;
17306 PyObject
* obj1
= 0 ;
17307 PyObject
* obj2
= 0 ;
17308 char *kwnames
[] = {
17309 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17316 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17322 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17326 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
17327 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17329 if (arg3
== NULL
) {
17330 PyErr_SetString(PyExc_TypeError
,"null reference");
17335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17336 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17338 wxPyEndAllowThreads(__tstate
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
17348 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17349 PyObject
*resultobj
;
17350 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17351 wxColour
*arg2
= 0 ;
17353 PyObject
* obj0
= 0 ;
17354 PyObject
* obj1
= 0 ;
17355 char *kwnames
[] = {
17356 (char *) "self",(char *) "colText", NULL
17359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17364 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17373 Py_INCREF(Py_None
); resultobj
= Py_None
;
17380 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17381 PyObject
*resultobj
;
17382 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17383 wxColour
*arg2
= 0 ;
17385 PyObject
* obj0
= 0 ;
17386 PyObject
* obj1
= 0 ;
17387 char *kwnames
[] = {
17388 (char *) "self",(char *) "colBack", NULL
17391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17396 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17400 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17402 wxPyEndAllowThreads(__tstate
);
17403 if (PyErr_Occurred()) SWIG_fail
;
17405 Py_INCREF(Py_None
); resultobj
= Py_None
;
17412 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17413 PyObject
*resultobj
;
17414 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17416 PyObject
* obj0
= 0 ;
17417 PyObject
* obj1
= 0 ;
17418 char *kwnames
[] = {
17419 (char *) "self",(char *) "font", NULL
17422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17426 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17428 if (arg2
== NULL
) {
17429 PyErr_SetString(PyExc_TypeError
,"null reference");
17433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17434 (arg1
)->SetFont((wxFont
const &)*arg2
);
17436 wxPyEndAllowThreads(__tstate
);
17437 if (PyErr_Occurred()) SWIG_fail
;
17439 Py_INCREF(Py_None
); resultobj
= Py_None
;
17446 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17447 PyObject
*resultobj
;
17448 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17450 PyObject
* obj0
= 0 ;
17451 char *kwnames
[] = {
17452 (char *) "self", NULL
17455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17460 result
= (bool)(arg1
)->HasTextColour();
17462 wxPyEndAllowThreads(__tstate
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17472 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17473 PyObject
*resultobj
;
17474 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17476 PyObject
* obj0
= 0 ;
17477 char *kwnames
[] = {
17478 (char *) "self", NULL
17481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17486 result
= (bool)(arg1
)->HasBackgroundColour();
17488 wxPyEndAllowThreads(__tstate
);
17489 if (PyErr_Occurred()) SWIG_fail
;
17491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17498 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17499 PyObject
*resultobj
;
17500 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17502 PyObject
* obj0
= 0 ;
17503 char *kwnames
[] = {
17504 (char *) "self", NULL
17507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17512 result
= (bool)(arg1
)->HasFont();
17514 wxPyEndAllowThreads(__tstate
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17524 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17525 PyObject
*resultobj
;
17526 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17528 PyObject
* obj0
= 0 ;
17529 char *kwnames
[] = {
17530 (char *) "self", NULL
17533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17538 result
= (arg1
)->GetTextColour();
17540 wxPyEndAllowThreads(__tstate
);
17541 if (PyErr_Occurred()) SWIG_fail
;
17544 wxColour
* resultptr
;
17545 resultptr
= new wxColour((wxColour
&) result
);
17546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17554 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17555 PyObject
*resultobj
;
17556 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17558 PyObject
* obj0
= 0 ;
17559 char *kwnames
[] = {
17560 (char *) "self", NULL
17563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17568 result
= (arg1
)->GetBackgroundColour();
17570 wxPyEndAllowThreads(__tstate
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17574 wxColour
* resultptr
;
17575 resultptr
= new wxColour((wxColour
&) result
);
17576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17584 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17585 PyObject
*resultobj
;
17586 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17588 PyObject
* obj0
= 0 ;
17589 char *kwnames
[] = {
17590 (char *) "self", NULL
17593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
17594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17598 result
= (arg1
)->GetFont();
17600 wxPyEndAllowThreads(__tstate
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17604 wxFont
* resultptr
;
17605 resultptr
= new wxFont((wxFont
&) result
);
17606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
17614 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17615 PyObject
*resultobj
;
17616 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17617 PyObject
* obj0
= 0 ;
17618 char *kwnames
[] = {
17619 (char *) "self", NULL
17622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
17623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17627 wxListItemAttr_Destroy(arg1
);
17629 wxPyEndAllowThreads(__tstate
);
17630 if (PyErr_Occurred()) SWIG_fail
;
17632 Py_INCREF(Py_None
); resultobj
= Py_None
;
17639 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
17641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17642 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
17644 return Py_BuildValue((char *)"");
17646 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17647 PyObject
*resultobj
;
17648 wxListItem
*result
;
17649 char *kwnames
[] = {
17653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
17655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17656 result
= (wxListItem
*)new wxListItem();
17658 wxPyEndAllowThreads(__tstate
);
17659 if (PyErr_Occurred()) SWIG_fail
;
17662 resultobj
= wxPyMake_wxObject(result
);
17670 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17671 PyObject
*resultobj
;
17672 wxListItem
*arg1
= (wxListItem
*) 0 ;
17673 PyObject
* obj0
= 0 ;
17674 char *kwnames
[] = {
17675 (char *) "self", NULL
17678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
17679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17685 wxPyEndAllowThreads(__tstate
);
17686 if (PyErr_Occurred()) SWIG_fail
;
17688 Py_INCREF(Py_None
); resultobj
= Py_None
;
17695 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17696 PyObject
*resultobj
;
17697 wxListItem
*arg1
= (wxListItem
*) 0 ;
17698 PyObject
* obj0
= 0 ;
17699 char *kwnames
[] = {
17700 (char *) "self", NULL
17703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
17704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17710 wxPyEndAllowThreads(__tstate
);
17711 if (PyErr_Occurred()) SWIG_fail
;
17713 Py_INCREF(Py_None
); resultobj
= Py_None
;
17720 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17721 PyObject
*resultobj
;
17722 wxListItem
*arg1
= (wxListItem
*) 0 ;
17723 PyObject
* obj0
= 0 ;
17724 char *kwnames
[] = {
17725 (char *) "self", NULL
17728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
17729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17733 (arg1
)->ClearAttributes();
17735 wxPyEndAllowThreads(__tstate
);
17736 if (PyErr_Occurred()) SWIG_fail
;
17738 Py_INCREF(Py_None
); resultobj
= Py_None
;
17745 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17746 PyObject
*resultobj
;
17747 wxListItem
*arg1
= (wxListItem
*) 0 ;
17749 PyObject
* obj0
= 0 ;
17750 PyObject
* obj1
= 0 ;
17751 char *kwnames
[] = {
17752 (char *) "self",(char *) "mask", NULL
17755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17758 arg2
= (long) SWIG_AsLong(obj1
);
17759 if (PyErr_Occurred()) SWIG_fail
;
17761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17762 (arg1
)->SetMask(arg2
);
17764 wxPyEndAllowThreads(__tstate
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17767 Py_INCREF(Py_None
); resultobj
= Py_None
;
17774 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17775 PyObject
*resultobj
;
17776 wxListItem
*arg1
= (wxListItem
*) 0 ;
17778 PyObject
* obj0
= 0 ;
17779 PyObject
* obj1
= 0 ;
17780 char *kwnames
[] = {
17781 (char *) "self",(char *) "id", NULL
17784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
17785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17787 arg2
= (long) SWIG_AsLong(obj1
);
17788 if (PyErr_Occurred()) SWIG_fail
;
17790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17791 (arg1
)->SetId(arg2
);
17793 wxPyEndAllowThreads(__tstate
);
17794 if (PyErr_Occurred()) SWIG_fail
;
17796 Py_INCREF(Py_None
); resultobj
= Py_None
;
17803 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17804 PyObject
*resultobj
;
17805 wxListItem
*arg1
= (wxListItem
*) 0 ;
17807 PyObject
* obj0
= 0 ;
17808 PyObject
* obj1
= 0 ;
17809 char *kwnames
[] = {
17810 (char *) "self",(char *) "col", NULL
17813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
17814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17816 arg2
= (int) SWIG_AsInt(obj1
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17820 (arg1
)->SetColumn(arg2
);
17822 wxPyEndAllowThreads(__tstate
);
17823 if (PyErr_Occurred()) SWIG_fail
;
17825 Py_INCREF(Py_None
); resultobj
= Py_None
;
17832 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17833 PyObject
*resultobj
;
17834 wxListItem
*arg1
= (wxListItem
*) 0 ;
17836 PyObject
* obj0
= 0 ;
17837 PyObject
* obj1
= 0 ;
17838 char *kwnames
[] = {
17839 (char *) "self",(char *) "state", NULL
17842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
17843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17845 arg2
= (long) SWIG_AsLong(obj1
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17849 (arg1
)->SetState(arg2
);
17851 wxPyEndAllowThreads(__tstate
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17854 Py_INCREF(Py_None
); resultobj
= Py_None
;
17861 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17862 PyObject
*resultobj
;
17863 wxListItem
*arg1
= (wxListItem
*) 0 ;
17865 PyObject
* obj0
= 0 ;
17866 PyObject
* obj1
= 0 ;
17867 char *kwnames
[] = {
17868 (char *) "self",(char *) "stateMask", NULL
17871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17874 arg2
= (long) SWIG_AsLong(obj1
);
17875 if (PyErr_Occurred()) SWIG_fail
;
17877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17878 (arg1
)->SetStateMask(arg2
);
17880 wxPyEndAllowThreads(__tstate
);
17881 if (PyErr_Occurred()) SWIG_fail
;
17883 Py_INCREF(Py_None
); resultobj
= Py_None
;
17890 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17891 PyObject
*resultobj
;
17892 wxListItem
*arg1
= (wxListItem
*) 0 ;
17893 wxString
*arg2
= 0 ;
17894 bool temp2
= False
;
17895 PyObject
* obj0
= 0 ;
17896 PyObject
* obj1
= 0 ;
17897 char *kwnames
[] = {
17898 (char *) "self",(char *) "text", NULL
17901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
17902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17905 arg2
= wxString_in_helper(obj1
);
17906 if (arg2
== NULL
) SWIG_fail
;
17910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17911 (arg1
)->SetText((wxString
const &)*arg2
);
17913 wxPyEndAllowThreads(__tstate
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17916 Py_INCREF(Py_None
); resultobj
= Py_None
;
17931 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17932 PyObject
*resultobj
;
17933 wxListItem
*arg1
= (wxListItem
*) 0 ;
17935 PyObject
* obj0
= 0 ;
17936 PyObject
* obj1
= 0 ;
17937 char *kwnames
[] = {
17938 (char *) "self",(char *) "image", NULL
17941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
17942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17944 arg2
= (int) SWIG_AsInt(obj1
);
17945 if (PyErr_Occurred()) SWIG_fail
;
17947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17948 (arg1
)->SetImage(arg2
);
17950 wxPyEndAllowThreads(__tstate
);
17951 if (PyErr_Occurred()) SWIG_fail
;
17953 Py_INCREF(Py_None
); resultobj
= Py_None
;
17960 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17961 PyObject
*resultobj
;
17962 wxListItem
*arg1
= (wxListItem
*) 0 ;
17964 PyObject
* obj0
= 0 ;
17965 PyObject
* obj1
= 0 ;
17966 char *kwnames
[] = {
17967 (char *) "self",(char *) "data", NULL
17970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
17971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17973 arg2
= (long) SWIG_AsLong(obj1
);
17974 if (PyErr_Occurred()) SWIG_fail
;
17976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17977 (arg1
)->SetData(arg2
);
17979 wxPyEndAllowThreads(__tstate
);
17980 if (PyErr_Occurred()) SWIG_fail
;
17982 Py_INCREF(Py_None
); resultobj
= Py_None
;
17989 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17990 PyObject
*resultobj
;
17991 wxListItem
*arg1
= (wxListItem
*) 0 ;
17993 PyObject
* obj0
= 0 ;
17994 PyObject
* obj1
= 0 ;
17995 char *kwnames
[] = {
17996 (char *) "self",(char *) "width", NULL
17999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18002 arg2
= (int) SWIG_AsInt(obj1
);
18003 if (PyErr_Occurred()) SWIG_fail
;
18005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18006 (arg1
)->SetWidth(arg2
);
18008 wxPyEndAllowThreads(__tstate
);
18009 if (PyErr_Occurred()) SWIG_fail
;
18011 Py_INCREF(Py_None
); resultobj
= Py_None
;
18018 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18019 PyObject
*resultobj
;
18020 wxListItem
*arg1
= (wxListItem
*) 0 ;
18022 PyObject
* obj0
= 0 ;
18023 PyObject
* obj1
= 0 ;
18024 char *kwnames
[] = {
18025 (char *) "self",(char *) "align", NULL
18028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18031 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
18032 if (PyErr_Occurred()) SWIG_fail
;
18034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18035 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18037 wxPyEndAllowThreads(__tstate
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18040 Py_INCREF(Py_None
); resultobj
= Py_None
;
18047 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18048 PyObject
*resultobj
;
18049 wxListItem
*arg1
= (wxListItem
*) 0 ;
18050 wxColour
*arg2
= 0 ;
18052 PyObject
* obj0
= 0 ;
18053 PyObject
* obj1
= 0 ;
18054 char *kwnames
[] = {
18055 (char *) "self",(char *) "colText", NULL
18058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18063 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18067 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18069 wxPyEndAllowThreads(__tstate
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18072 Py_INCREF(Py_None
); resultobj
= Py_None
;
18079 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18080 PyObject
*resultobj
;
18081 wxListItem
*arg1
= (wxListItem
*) 0 ;
18082 wxColour
*arg2
= 0 ;
18084 PyObject
* obj0
= 0 ;
18085 PyObject
* obj1
= 0 ;
18086 char *kwnames
[] = {
18087 (char *) "self",(char *) "colBack", NULL
18090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18095 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18099 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18101 wxPyEndAllowThreads(__tstate
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18104 Py_INCREF(Py_None
); resultobj
= Py_None
;
18111 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18112 PyObject
*resultobj
;
18113 wxListItem
*arg1
= (wxListItem
*) 0 ;
18115 PyObject
* obj0
= 0 ;
18116 PyObject
* obj1
= 0 ;
18117 char *kwnames
[] = {
18118 (char *) "self",(char *) "font", NULL
18121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18125 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18127 if (arg2
== NULL
) {
18128 PyErr_SetString(PyExc_TypeError
,"null reference");
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 (arg1
)->SetFont((wxFont
const &)*arg2
);
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18138 Py_INCREF(Py_None
); resultobj
= Py_None
;
18145 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
;
18147 wxListItem
*arg1
= (wxListItem
*) 0 ;
18149 PyObject
* obj0
= 0 ;
18150 char *kwnames
[] = {
18151 (char *) "self", NULL
18154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 result
= (long)(arg1
)->GetMask();
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 resultobj
= SWIG_FromLong((long)result
);
18171 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
;
18173 wxListItem
*arg1
= (wxListItem
*) 0 ;
18175 PyObject
* obj0
= 0 ;
18176 char *kwnames
[] = {
18177 (char *) "self", NULL
18180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 result
= (long)(arg1
)->GetId();
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18190 resultobj
= SWIG_FromLong((long)result
);
18197 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18198 PyObject
*resultobj
;
18199 wxListItem
*arg1
= (wxListItem
*) 0 ;
18201 PyObject
* obj0
= 0 ;
18202 char *kwnames
[] = {
18203 (char *) "self", NULL
18206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18211 result
= (int)(arg1
)->GetColumn();
18213 wxPyEndAllowThreads(__tstate
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18216 resultobj
= SWIG_FromInt((int)result
);
18223 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18224 PyObject
*resultobj
;
18225 wxListItem
*arg1
= (wxListItem
*) 0 ;
18227 PyObject
* obj0
= 0 ;
18228 char *kwnames
[] = {
18229 (char *) "self", NULL
18232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18237 result
= (long)(arg1
)->GetState();
18239 wxPyEndAllowThreads(__tstate
);
18240 if (PyErr_Occurred()) SWIG_fail
;
18242 resultobj
= SWIG_FromLong((long)result
);
18249 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18250 PyObject
*resultobj
;
18251 wxListItem
*arg1
= (wxListItem
*) 0 ;
18253 PyObject
* obj0
= 0 ;
18254 char *kwnames
[] = {
18255 (char *) "self", NULL
18258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18264 wxString
const &_result_ref
= (arg1
)->GetText();
18265 result
= (wxString
*) &_result_ref
;
18268 wxPyEndAllowThreads(__tstate
);
18269 if (PyErr_Occurred()) SWIG_fail
;
18273 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18275 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18284 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18285 PyObject
*resultobj
;
18286 wxListItem
*arg1
= (wxListItem
*) 0 ;
18288 PyObject
* obj0
= 0 ;
18289 char *kwnames
[] = {
18290 (char *) "self", NULL
18293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18298 result
= (int)(arg1
)->GetImage();
18300 wxPyEndAllowThreads(__tstate
);
18301 if (PyErr_Occurred()) SWIG_fail
;
18303 resultobj
= SWIG_FromInt((int)result
);
18310 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18311 PyObject
*resultobj
;
18312 wxListItem
*arg1
= (wxListItem
*) 0 ;
18314 PyObject
* obj0
= 0 ;
18315 char *kwnames
[] = {
18316 (char *) "self", NULL
18319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18324 result
= (long)(arg1
)->GetData();
18326 wxPyEndAllowThreads(__tstate
);
18327 if (PyErr_Occurred()) SWIG_fail
;
18329 resultobj
= SWIG_FromLong((long)result
);
18336 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18337 PyObject
*resultobj
;
18338 wxListItem
*arg1
= (wxListItem
*) 0 ;
18340 PyObject
* obj0
= 0 ;
18341 char *kwnames
[] = {
18342 (char *) "self", NULL
18345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 result
= (int)(arg1
)->GetWidth();
18352 wxPyEndAllowThreads(__tstate
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18355 resultobj
= SWIG_FromInt((int)result
);
18362 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18363 PyObject
*resultobj
;
18364 wxListItem
*arg1
= (wxListItem
*) 0 ;
18366 PyObject
* obj0
= 0 ;
18367 char *kwnames
[] = {
18368 (char *) "self", NULL
18371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18376 result
= (int)(arg1
)->GetAlign();
18378 wxPyEndAllowThreads(__tstate
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18381 resultobj
= SWIG_FromInt((int)result
);
18388 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18389 PyObject
*resultobj
;
18390 wxListItem
*arg1
= (wxListItem
*) 0 ;
18391 wxListItemAttr
*result
;
18392 PyObject
* obj0
= 0 ;
18393 char *kwnames
[] = {
18394 (char *) "self", NULL
18397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18402 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18404 wxPyEndAllowThreads(__tstate
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
18414 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18415 PyObject
*resultobj
;
18416 wxListItem
*arg1
= (wxListItem
*) 0 ;
18418 PyObject
* obj0
= 0 ;
18419 char *kwnames
[] = {
18420 (char *) "self", NULL
18423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18428 result
= (bool)(arg1
)->HasAttributes();
18430 wxPyEndAllowThreads(__tstate
);
18431 if (PyErr_Occurred()) SWIG_fail
;
18433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18440 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18441 PyObject
*resultobj
;
18442 wxListItem
*arg1
= (wxListItem
*) 0 ;
18444 PyObject
* obj0
= 0 ;
18445 char *kwnames
[] = {
18446 (char *) "self", NULL
18449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18454 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18456 wxPyEndAllowThreads(__tstate
);
18457 if (PyErr_Occurred()) SWIG_fail
;
18460 wxColour
* resultptr
;
18461 resultptr
= new wxColour((wxColour
&) result
);
18462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18470 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18471 PyObject
*resultobj
;
18472 wxListItem
*arg1
= (wxListItem
*) 0 ;
18474 PyObject
* obj0
= 0 ;
18475 char *kwnames
[] = {
18476 (char *) "self", NULL
18479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18484 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18486 wxPyEndAllowThreads(__tstate
);
18487 if (PyErr_Occurred()) SWIG_fail
;
18490 wxColour
* resultptr
;
18491 resultptr
= new wxColour((wxColour
&) result
);
18492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18500 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18501 PyObject
*resultobj
;
18502 wxListItem
*arg1
= (wxListItem
*) 0 ;
18504 PyObject
* obj0
= 0 ;
18505 char *kwnames
[] = {
18506 (char *) "self", NULL
18509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18514 result
= ((wxListItem
const *)arg1
)->GetFont();
18516 wxPyEndAllowThreads(__tstate
);
18517 if (PyErr_Occurred()) SWIG_fail
;
18520 wxFont
* resultptr
;
18521 resultptr
= new wxFont((wxFont
&) result
);
18522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18530 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18531 PyObject
*resultobj
;
18532 wxListItem
*arg1
= (wxListItem
*) 0 ;
18534 PyObject
* obj0
= 0 ;
18535 PyObject
* obj1
= 0 ;
18536 char *kwnames
[] = {
18537 (char *) "self",(char *) "m_mask", NULL
18540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18543 arg2
= (long) SWIG_AsLong(obj1
);
18544 if (PyErr_Occurred()) SWIG_fail
;
18545 if (arg1
) (arg1
)->m_mask
= arg2
;
18547 Py_INCREF(Py_None
); resultobj
= Py_None
;
18554 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18555 PyObject
*resultobj
;
18556 wxListItem
*arg1
= (wxListItem
*) 0 ;
18558 PyObject
* obj0
= 0 ;
18559 char *kwnames
[] = {
18560 (char *) "self", NULL
18563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18566 result
= (long) ((arg1
)->m_mask
);
18568 resultobj
= SWIG_FromLong((long)result
);
18575 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18576 PyObject
*resultobj
;
18577 wxListItem
*arg1
= (wxListItem
*) 0 ;
18579 PyObject
* obj0
= 0 ;
18580 PyObject
* obj1
= 0 ;
18581 char *kwnames
[] = {
18582 (char *) "self",(char *) "m_itemId", NULL
18585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18588 arg2
= (long) SWIG_AsLong(obj1
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18590 if (arg1
) (arg1
)->m_itemId
= arg2
;
18592 Py_INCREF(Py_None
); resultobj
= Py_None
;
18599 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18600 PyObject
*resultobj
;
18601 wxListItem
*arg1
= (wxListItem
*) 0 ;
18603 PyObject
* obj0
= 0 ;
18604 char *kwnames
[] = {
18605 (char *) "self", NULL
18608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
18609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18611 result
= (long) ((arg1
)->m_itemId
);
18613 resultobj
= SWIG_FromLong((long)result
);
18620 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18621 PyObject
*resultobj
;
18622 wxListItem
*arg1
= (wxListItem
*) 0 ;
18624 PyObject
* obj0
= 0 ;
18625 PyObject
* obj1
= 0 ;
18626 char *kwnames
[] = {
18627 (char *) "self",(char *) "m_col", NULL
18630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18633 arg2
= (int) SWIG_AsInt(obj1
);
18634 if (PyErr_Occurred()) SWIG_fail
;
18635 if (arg1
) (arg1
)->m_col
= arg2
;
18637 Py_INCREF(Py_None
); resultobj
= Py_None
;
18644 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18645 PyObject
*resultobj
;
18646 wxListItem
*arg1
= (wxListItem
*) 0 ;
18648 PyObject
* obj0
= 0 ;
18649 char *kwnames
[] = {
18650 (char *) "self", NULL
18653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
18654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18656 result
= (int) ((arg1
)->m_col
);
18658 resultobj
= SWIG_FromInt((int)result
);
18665 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18666 PyObject
*resultobj
;
18667 wxListItem
*arg1
= (wxListItem
*) 0 ;
18669 PyObject
* obj0
= 0 ;
18670 PyObject
* obj1
= 0 ;
18671 char *kwnames
[] = {
18672 (char *) "self",(char *) "m_state", NULL
18675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18678 arg2
= (long) SWIG_AsLong(obj1
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18680 if (arg1
) (arg1
)->m_state
= arg2
;
18682 Py_INCREF(Py_None
); resultobj
= Py_None
;
18689 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18690 PyObject
*resultobj
;
18691 wxListItem
*arg1
= (wxListItem
*) 0 ;
18693 PyObject
* obj0
= 0 ;
18694 char *kwnames
[] = {
18695 (char *) "self", NULL
18698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
18699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18701 result
= (long) ((arg1
)->m_state
);
18703 resultobj
= SWIG_FromLong((long)result
);
18710 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18711 PyObject
*resultobj
;
18712 wxListItem
*arg1
= (wxListItem
*) 0 ;
18714 PyObject
* obj0
= 0 ;
18715 PyObject
* obj1
= 0 ;
18716 char *kwnames
[] = {
18717 (char *) "self",(char *) "m_stateMask", NULL
18720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18723 arg2
= (long) SWIG_AsLong(obj1
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18725 if (arg1
) (arg1
)->m_stateMask
= arg2
;
18727 Py_INCREF(Py_None
); resultobj
= Py_None
;
18734 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18735 PyObject
*resultobj
;
18736 wxListItem
*arg1
= (wxListItem
*) 0 ;
18738 PyObject
* obj0
= 0 ;
18739 char *kwnames
[] = {
18740 (char *) "self", NULL
18743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
18744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18746 result
= (long) ((arg1
)->m_stateMask
);
18748 resultobj
= SWIG_FromLong((long)result
);
18755 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18756 PyObject
*resultobj
;
18757 wxListItem
*arg1
= (wxListItem
*) 0 ;
18758 wxString
*arg2
= (wxString
*) 0 ;
18759 bool temp2
= False
;
18760 PyObject
* obj0
= 0 ;
18761 PyObject
* obj1
= 0 ;
18762 char *kwnames
[] = {
18763 (char *) "self",(char *) "m_text", NULL
18766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18770 arg2
= wxString_in_helper(obj1
);
18771 if (arg2
== NULL
) SWIG_fail
;
18774 if (arg1
) (arg1
)->m_text
= *arg2
;
18776 Py_INCREF(Py_None
); resultobj
= Py_None
;
18791 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18792 PyObject
*resultobj
;
18793 wxListItem
*arg1
= (wxListItem
*) 0 ;
18795 PyObject
* obj0
= 0 ;
18796 char *kwnames
[] = {
18797 (char *) "self", NULL
18800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
18801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18803 result
= (wxString
*)& ((arg1
)->m_text
);
18807 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18809 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18818 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18819 PyObject
*resultobj
;
18820 wxListItem
*arg1
= (wxListItem
*) 0 ;
18822 PyObject
* obj0
= 0 ;
18823 PyObject
* obj1
= 0 ;
18824 char *kwnames
[] = {
18825 (char *) "self",(char *) "m_image", NULL
18828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18831 arg2
= (int) SWIG_AsInt(obj1
);
18832 if (PyErr_Occurred()) SWIG_fail
;
18833 if (arg1
) (arg1
)->m_image
= arg2
;
18835 Py_INCREF(Py_None
); resultobj
= Py_None
;
18842 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18843 PyObject
*resultobj
;
18844 wxListItem
*arg1
= (wxListItem
*) 0 ;
18846 PyObject
* obj0
= 0 ;
18847 char *kwnames
[] = {
18848 (char *) "self", NULL
18851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
18852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18854 result
= (int) ((arg1
)->m_image
);
18856 resultobj
= SWIG_FromInt((int)result
);
18863 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18864 PyObject
*resultobj
;
18865 wxListItem
*arg1
= (wxListItem
*) 0 ;
18867 PyObject
* obj0
= 0 ;
18868 PyObject
* obj1
= 0 ;
18869 char *kwnames
[] = {
18870 (char *) "self",(char *) "m_data", NULL
18873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18876 arg2
= (long) SWIG_AsLong(obj1
);
18877 if (PyErr_Occurred()) SWIG_fail
;
18878 if (arg1
) (arg1
)->m_data
= arg2
;
18880 Py_INCREF(Py_None
); resultobj
= Py_None
;
18887 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18888 PyObject
*resultobj
;
18889 wxListItem
*arg1
= (wxListItem
*) 0 ;
18891 PyObject
* obj0
= 0 ;
18892 char *kwnames
[] = {
18893 (char *) "self", NULL
18896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
18897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18899 result
= (long) ((arg1
)->m_data
);
18901 resultobj
= SWIG_FromLong((long)result
);
18908 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18909 PyObject
*resultobj
;
18910 wxListItem
*arg1
= (wxListItem
*) 0 ;
18912 PyObject
* obj0
= 0 ;
18913 PyObject
* obj1
= 0 ;
18914 char *kwnames
[] = {
18915 (char *) "self",(char *) "m_format", NULL
18918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18921 arg2
= (int) SWIG_AsInt(obj1
);
18922 if (PyErr_Occurred()) SWIG_fail
;
18923 if (arg1
) (arg1
)->m_format
= arg2
;
18925 Py_INCREF(Py_None
); resultobj
= Py_None
;
18932 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18933 PyObject
*resultobj
;
18934 wxListItem
*arg1
= (wxListItem
*) 0 ;
18936 PyObject
* obj0
= 0 ;
18937 char *kwnames
[] = {
18938 (char *) "self", NULL
18941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
18942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18944 result
= (int) ((arg1
)->m_format
);
18946 resultobj
= SWIG_FromInt((int)result
);
18953 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18954 PyObject
*resultobj
;
18955 wxListItem
*arg1
= (wxListItem
*) 0 ;
18957 PyObject
* obj0
= 0 ;
18958 PyObject
* obj1
= 0 ;
18959 char *kwnames
[] = {
18960 (char *) "self",(char *) "m_width", NULL
18963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18966 arg2
= (int) SWIG_AsInt(obj1
);
18967 if (PyErr_Occurred()) SWIG_fail
;
18968 if (arg1
) (arg1
)->m_width
= arg2
;
18970 Py_INCREF(Py_None
); resultobj
= Py_None
;
18977 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18978 PyObject
*resultobj
;
18979 wxListItem
*arg1
= (wxListItem
*) 0 ;
18981 PyObject
* obj0
= 0 ;
18982 char *kwnames
[] = {
18983 (char *) "self", NULL
18986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
18987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18989 result
= (int) ((arg1
)->m_width
);
18991 resultobj
= SWIG_FromInt((int)result
);
18998 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
19000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19001 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19003 return Py_BuildValue((char *)"");
19005 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19006 PyObject
*resultobj
;
19007 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19008 int arg2
= (int) 0 ;
19009 wxListEvent
*result
;
19010 PyObject
* obj0
= 0 ;
19011 PyObject
* obj1
= 0 ;
19012 char *kwnames
[] = {
19013 (char *) "commandType",(char *) "id", NULL
19016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19018 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19019 if (PyErr_Occurred()) SWIG_fail
;
19022 arg2
= (int) SWIG_AsInt(obj1
);
19023 if (PyErr_Occurred()) SWIG_fail
;
19026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19027 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19029 wxPyEndAllowThreads(__tstate
);
19030 if (PyErr_Occurred()) SWIG_fail
;
19032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
19039 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19040 PyObject
*resultobj
;
19041 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19043 PyObject
* obj0
= 0 ;
19044 PyObject
* obj1
= 0 ;
19045 char *kwnames
[] = {
19046 (char *) "self",(char *) "m_code", NULL
19049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19052 arg2
= (int) SWIG_AsInt(obj1
);
19053 if (PyErr_Occurred()) SWIG_fail
;
19054 if (arg1
) (arg1
)->m_code
= arg2
;
19056 Py_INCREF(Py_None
); resultobj
= Py_None
;
19063 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19064 PyObject
*resultobj
;
19065 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19067 PyObject
* obj0
= 0 ;
19068 char *kwnames
[] = {
19069 (char *) "self", NULL
19072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19075 result
= (int) ((arg1
)->m_code
);
19077 resultobj
= SWIG_FromInt((int)result
);
19084 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19085 PyObject
*resultobj
;
19086 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19088 PyObject
* obj0
= 0 ;
19089 PyObject
* obj1
= 0 ;
19090 char *kwnames
[] = {
19091 (char *) "self",(char *) "m_oldItemIndex", NULL
19094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19097 arg2
= (long) SWIG_AsLong(obj1
);
19098 if (PyErr_Occurred()) SWIG_fail
;
19099 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19101 Py_INCREF(Py_None
); resultobj
= Py_None
;
19108 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19109 PyObject
*resultobj
;
19110 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19112 PyObject
* obj0
= 0 ;
19113 char *kwnames
[] = {
19114 (char *) "self", NULL
19117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19120 result
= (long) ((arg1
)->m_oldItemIndex
);
19122 resultobj
= SWIG_FromLong((long)result
);
19129 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19130 PyObject
*resultobj
;
19131 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19133 PyObject
* obj0
= 0 ;
19134 PyObject
* obj1
= 0 ;
19135 char *kwnames
[] = {
19136 (char *) "self",(char *) "m_itemIndex", NULL
19139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19142 arg2
= (long) SWIG_AsLong(obj1
);
19143 if (PyErr_Occurred()) SWIG_fail
;
19144 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19146 Py_INCREF(Py_None
); resultobj
= Py_None
;
19153 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19154 PyObject
*resultobj
;
19155 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19157 PyObject
* obj0
= 0 ;
19158 char *kwnames
[] = {
19159 (char *) "self", NULL
19162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19165 result
= (long) ((arg1
)->m_itemIndex
);
19167 resultobj
= SWIG_FromLong((long)result
);
19174 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19175 PyObject
*resultobj
;
19176 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19178 PyObject
* obj0
= 0 ;
19179 PyObject
* obj1
= 0 ;
19180 char *kwnames
[] = {
19181 (char *) "self",(char *) "m_col", NULL
19184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19187 arg2
= (int) SWIG_AsInt(obj1
);
19188 if (PyErr_Occurred()) SWIG_fail
;
19189 if (arg1
) (arg1
)->m_col
= arg2
;
19191 Py_INCREF(Py_None
); resultobj
= Py_None
;
19198 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19199 PyObject
*resultobj
;
19200 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19202 PyObject
* obj0
= 0 ;
19203 char *kwnames
[] = {
19204 (char *) "self", NULL
19207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19210 result
= (int) ((arg1
)->m_col
);
19212 resultobj
= SWIG_FromInt((int)result
);
19219 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19220 PyObject
*resultobj
;
19221 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19222 wxPoint
*arg2
= (wxPoint
*) 0 ;
19223 PyObject
* obj0
= 0 ;
19224 PyObject
* obj1
= 0 ;
19225 char *kwnames
[] = {
19226 (char *) "self",(char *) "m_pointDrag", NULL
19229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
19233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19234 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19236 Py_INCREF(Py_None
); resultobj
= Py_None
;
19243 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19244 PyObject
*resultobj
;
19245 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19247 PyObject
* obj0
= 0 ;
19248 char *kwnames
[] = {
19249 (char *) "self", NULL
19252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19255 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19264 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19265 PyObject
*resultobj
;
19266 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19267 wxListItem
*result
;
19268 PyObject
* obj0
= 0 ;
19269 char *kwnames
[] = {
19270 (char *) "self", NULL
19273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19276 result
= (wxListItem
*)& ((arg1
)->m_item
);
19279 resultobj
= wxPyMake_wxObject(result
);
19287 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19288 PyObject
*resultobj
;
19289 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19291 PyObject
* obj0
= 0 ;
19292 char *kwnames
[] = {
19293 (char *) "self", NULL
19296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19301 result
= (int)(arg1
)->GetKeyCode();
19303 wxPyEndAllowThreads(__tstate
);
19304 if (PyErr_Occurred()) SWIG_fail
;
19306 resultobj
= SWIG_FromInt((int)result
);
19313 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19314 PyObject
*resultobj
;
19315 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19317 PyObject
* obj0
= 0 ;
19318 char *kwnames
[] = {
19319 (char *) "self", NULL
19322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19327 result
= (long)(arg1
)->GetIndex();
19329 wxPyEndAllowThreads(__tstate
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19332 resultobj
= SWIG_FromLong((long)result
);
19339 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19340 PyObject
*resultobj
;
19341 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19343 PyObject
* obj0
= 0 ;
19344 char *kwnames
[] = {
19345 (char *) "self", NULL
19348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19353 result
= (int)(arg1
)->GetColumn();
19355 wxPyEndAllowThreads(__tstate
);
19356 if (PyErr_Occurred()) SWIG_fail
;
19358 resultobj
= SWIG_FromInt((int)result
);
19365 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19366 PyObject
*resultobj
;
19367 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19369 PyObject
* obj0
= 0 ;
19370 char *kwnames
[] = {
19371 (char *) "self", NULL
19374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19379 result
= (arg1
)->GetPoint();
19381 wxPyEndAllowThreads(__tstate
);
19382 if (PyErr_Occurred()) SWIG_fail
;
19385 wxPoint
* resultptr
;
19386 resultptr
= new wxPoint((wxPoint
&) result
);
19387 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19395 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19396 PyObject
*resultobj
;
19397 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19399 PyObject
* obj0
= 0 ;
19400 char *kwnames
[] = {
19401 (char *) "self", NULL
19404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19410 wxString
const &_result_ref
= (arg1
)->GetLabel();
19411 result
= (wxString
*) &_result_ref
;
19414 wxPyEndAllowThreads(__tstate
);
19415 if (PyErr_Occurred()) SWIG_fail
;
19419 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19421 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19430 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19431 PyObject
*resultobj
;
19432 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19434 PyObject
* obj0
= 0 ;
19435 char *kwnames
[] = {
19436 (char *) "self", NULL
19439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19445 wxString
const &_result_ref
= (arg1
)->GetText();
19446 result
= (wxString
*) &_result_ref
;
19449 wxPyEndAllowThreads(__tstate
);
19450 if (PyErr_Occurred()) SWIG_fail
;
19454 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19456 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19465 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19466 PyObject
*resultobj
;
19467 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19469 PyObject
* obj0
= 0 ;
19470 char *kwnames
[] = {
19471 (char *) "self", NULL
19474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19479 result
= (int)(arg1
)->GetImage();
19481 wxPyEndAllowThreads(__tstate
);
19482 if (PyErr_Occurred()) SWIG_fail
;
19484 resultobj
= SWIG_FromInt((int)result
);
19491 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19492 PyObject
*resultobj
;
19493 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19495 PyObject
* obj0
= 0 ;
19496 char *kwnames
[] = {
19497 (char *) "self", NULL
19500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19505 result
= (long)(arg1
)->GetData();
19507 wxPyEndAllowThreads(__tstate
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19510 resultobj
= SWIG_FromLong((long)result
);
19517 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19518 PyObject
*resultobj
;
19519 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19521 PyObject
* obj0
= 0 ;
19522 char *kwnames
[] = {
19523 (char *) "self", NULL
19526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19531 result
= (long)(arg1
)->GetMask();
19533 wxPyEndAllowThreads(__tstate
);
19534 if (PyErr_Occurred()) SWIG_fail
;
19536 resultobj
= SWIG_FromLong((long)result
);
19543 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19544 PyObject
*resultobj
;
19545 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19546 wxListItem
*result
;
19547 PyObject
* obj0
= 0 ;
19548 char *kwnames
[] = {
19549 (char *) "self", NULL
19552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19558 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19559 result
= (wxListItem
*) &_result_ref
;
19562 wxPyEndAllowThreads(__tstate
);
19563 if (PyErr_Occurred()) SWIG_fail
;
19565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
19572 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19573 PyObject
*resultobj
;
19574 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19576 PyObject
* obj0
= 0 ;
19577 char *kwnames
[] = {
19578 (char *) "self", NULL
19581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19586 result
= (long)(arg1
)->GetCacheFrom();
19588 wxPyEndAllowThreads(__tstate
);
19589 if (PyErr_Occurred()) SWIG_fail
;
19591 resultobj
= SWIG_FromLong((long)result
);
19598 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, 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_GetCacheTo",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
= (long)(arg1
)->GetCacheTo();
19614 wxPyEndAllowThreads(__tstate
);
19615 if (PyErr_Occurred()) SWIG_fail
;
19617 resultobj
= SWIG_FromLong((long)result
);
19624 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, 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_IsEditCancelled",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
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
19640 wxPyEndAllowThreads(__tstate
);
19641 if (PyErr_Occurred()) SWIG_fail
;
19643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19650 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19651 PyObject
*resultobj
;
19652 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19654 PyObject
* obj0
= 0 ;
19655 PyObject
* obj1
= 0 ;
19656 char *kwnames
[] = {
19657 (char *) "self",(char *) "editCancelled", NULL
19660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
19661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19663 arg2
= (bool) SWIG_AsBool(obj1
);
19664 if (PyErr_Occurred()) SWIG_fail
;
19666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19667 (arg1
)->SetEditCanceled(arg2
);
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19672 Py_INCREF(Py_None
); resultobj
= Py_None
;
19679 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
19681 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19682 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
19684 return Py_BuildValue((char *)"");
19686 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19687 PyObject
*resultobj
;
19688 wxWindow
*arg1
= (wxWindow
*) 0 ;
19689 int arg2
= (int) -1 ;
19690 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19691 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19692 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19693 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19694 long arg5
= (long) wxLC_ICON
;
19695 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19696 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19697 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19698 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19699 wxPyListCtrl
*result
;
19702 bool temp7
= False
;
19703 PyObject
* obj0
= 0 ;
19704 PyObject
* obj1
= 0 ;
19705 PyObject
* obj2
= 0 ;
19706 PyObject
* obj3
= 0 ;
19707 PyObject
* obj4
= 0 ;
19708 PyObject
* obj5
= 0 ;
19709 PyObject
* obj6
= 0 ;
19710 char *kwnames
[] = {
19711 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19718 arg2
= (int) SWIG_AsInt(obj1
);
19719 if (PyErr_Occurred()) SWIG_fail
;
19724 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19730 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19734 arg5
= (long) SWIG_AsLong(obj4
);
19735 if (PyErr_Occurred()) SWIG_fail
;
19738 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
19739 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19741 if (arg6
== NULL
) {
19742 PyErr_SetString(PyExc_TypeError
,"null reference");
19748 arg7
= wxString_in_helper(obj6
);
19749 if (arg7
== NULL
) SWIG_fail
;
19754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19755 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19757 wxPyEndAllowThreads(__tstate
);
19758 if (PyErr_Occurred()) SWIG_fail
;
19760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
19775 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19776 PyObject
*resultobj
;
19777 wxPyListCtrl
*result
;
19778 char *kwnames
[] = {
19782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
19784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 result
= (wxPyListCtrl
*)new wxPyListCtrl();
19787 wxPyEndAllowThreads(__tstate
);
19788 if (PyErr_Occurred()) SWIG_fail
;
19790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
19797 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19798 PyObject
*resultobj
;
19799 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19800 wxWindow
*arg2
= (wxWindow
*) 0 ;
19801 int arg3
= (int) -1 ;
19802 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19803 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19804 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19805 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19806 long arg6
= (long) wxLC_ICON
;
19807 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19808 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19809 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19810 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19814 bool temp8
= False
;
19815 PyObject
* obj0
= 0 ;
19816 PyObject
* obj1
= 0 ;
19817 PyObject
* obj2
= 0 ;
19818 PyObject
* obj3
= 0 ;
19819 PyObject
* obj4
= 0 ;
19820 PyObject
* obj5
= 0 ;
19821 PyObject
* obj6
= 0 ;
19822 PyObject
* obj7
= 0 ;
19823 char *kwnames
[] = {
19824 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
19829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19833 arg3
= (int) SWIG_AsInt(obj2
);
19834 if (PyErr_Occurred()) SWIG_fail
;
19839 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19845 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19849 arg6
= (long) SWIG_AsLong(obj5
);
19850 if (PyErr_Occurred()) SWIG_fail
;
19853 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
19854 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19856 if (arg7
== NULL
) {
19857 PyErr_SetString(PyExc_TypeError
,"null reference");
19863 arg8
= wxString_in_helper(obj7
);
19864 if (arg8
== NULL
) SWIG_fail
;
19869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19870 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
19872 wxPyEndAllowThreads(__tstate
);
19873 if (PyErr_Occurred()) SWIG_fail
;
19875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19890 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19891 PyObject
*resultobj
;
19892 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19893 PyObject
*arg2
= (PyObject
*) 0 ;
19894 PyObject
*arg3
= (PyObject
*) 0 ;
19895 PyObject
* obj0
= 0 ;
19896 PyObject
* obj1
= 0 ;
19897 PyObject
* obj2
= 0 ;
19898 char *kwnames
[] = {
19899 (char *) "self",(char *) "self",(char *) "_class", NULL
19902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
19904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19909 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19911 wxPyEndAllowThreads(__tstate
);
19912 if (PyErr_Occurred()) SWIG_fail
;
19914 Py_INCREF(Py_None
); resultobj
= Py_None
;
19921 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19922 PyObject
*resultobj
;
19923 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19924 wxColour
*arg2
= 0 ;
19927 PyObject
* obj0
= 0 ;
19928 PyObject
* obj1
= 0 ;
19929 char *kwnames
[] = {
19930 (char *) "self",(char *) "col", NULL
19933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
19935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19938 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19942 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
19944 wxPyEndAllowThreads(__tstate
);
19945 if (PyErr_Occurred()) SWIG_fail
;
19947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19954 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19955 PyObject
*resultobj
;
19956 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19957 wxColour
*arg2
= 0 ;
19960 PyObject
* obj0
= 0 ;
19961 PyObject
* obj1
= 0 ;
19962 char *kwnames
[] = {
19963 (char *) "self",(char *) "col", NULL
19966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
19968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19971 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19975 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19977 wxPyEndAllowThreads(__tstate
);
19978 if (PyErr_Occurred()) SWIG_fail
;
19980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19987 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19988 PyObject
*resultobj
;
19989 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19991 wxListItem
*result
;
19992 PyObject
* obj0
= 0 ;
19993 PyObject
* obj1
= 0 ;
19994 char *kwnames
[] = {
19995 (char *) "self",(char *) "col", NULL
19998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20001 arg2
= (int) SWIG_AsInt(obj1
);
20002 if (PyErr_Occurred()) SWIG_fail
;
20004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20005 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20007 wxPyEndAllowThreads(__tstate
);
20008 if (PyErr_Occurred()) SWIG_fail
;
20011 resultobj
= wxPyMake_wxObject(result
);
20019 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20020 PyObject
*resultobj
;
20021 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20023 wxListItem
*arg3
= 0 ;
20025 PyObject
* obj0
= 0 ;
20026 PyObject
* obj1
= 0 ;
20027 PyObject
* obj2
= 0 ;
20028 char *kwnames
[] = {
20029 (char *) "self",(char *) "col",(char *) "item", NULL
20032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20035 arg2
= (int) SWIG_AsInt(obj1
);
20036 if (PyErr_Occurred()) SWIG_fail
;
20037 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
20038 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20040 if (arg3
== NULL
) {
20041 PyErr_SetString(PyExc_TypeError
,"null reference");
20045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20046 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20048 wxPyEndAllowThreads(__tstate
);
20049 if (PyErr_Occurred()) SWIG_fail
;
20051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20058 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20059 PyObject
*resultobj
;
20060 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20063 PyObject
* obj0
= 0 ;
20064 PyObject
* obj1
= 0 ;
20065 char *kwnames
[] = {
20066 (char *) "self",(char *) "col", NULL
20069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20072 arg2
= (int) SWIG_AsInt(obj1
);
20073 if (PyErr_Occurred()) SWIG_fail
;
20075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20076 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20078 wxPyEndAllowThreads(__tstate
);
20079 if (PyErr_Occurred()) SWIG_fail
;
20081 resultobj
= SWIG_FromInt((int)result
);
20088 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20089 PyObject
*resultobj
;
20090 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20094 PyObject
* obj0
= 0 ;
20095 PyObject
* obj1
= 0 ;
20096 PyObject
* obj2
= 0 ;
20097 char *kwnames
[] = {
20098 (char *) "self",(char *) "col",(char *) "width", NULL
20101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20104 arg2
= (int) SWIG_AsInt(obj1
);
20105 if (PyErr_Occurred()) SWIG_fail
;
20106 arg3
= (int) SWIG_AsInt(obj2
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20110 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20112 wxPyEndAllowThreads(__tstate
);
20113 if (PyErr_Occurred()) SWIG_fail
;
20115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20122 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20123 PyObject
*resultobj
;
20124 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20126 PyObject
* obj0
= 0 ;
20127 char *kwnames
[] = {
20128 (char *) "self", NULL
20131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20136 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20138 wxPyEndAllowThreads(__tstate
);
20139 if (PyErr_Occurred()) SWIG_fail
;
20141 resultobj
= SWIG_FromInt((int)result
);
20148 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20149 PyObject
*resultobj
;
20150 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20152 PyObject
* obj0
= 0 ;
20153 char *kwnames
[] = {
20154 (char *) "self", NULL
20157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20168 wxRect
* resultptr
;
20169 resultptr
= new wxRect((wxRect
&) result
);
20170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20178 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20179 PyObject
*resultobj
;
20180 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20182 int arg3
= (int) 0 ;
20183 wxListItem
*result
;
20184 PyObject
* obj0
= 0 ;
20185 PyObject
* obj1
= 0 ;
20186 PyObject
* obj2
= 0 ;
20187 char *kwnames
[] = {
20188 (char *) "self",(char *) "itemId",(char *) "col", NULL
20191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20194 arg2
= (long) SWIG_AsLong(obj1
);
20195 if (PyErr_Occurred()) SWIG_fail
;
20197 arg3
= (int) SWIG_AsInt(obj2
);
20198 if (PyErr_Occurred()) SWIG_fail
;
20201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20202 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20204 wxPyEndAllowThreads(__tstate
);
20205 if (PyErr_Occurred()) SWIG_fail
;
20208 resultobj
= wxPyMake_wxObject(result
);
20216 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20217 PyObject
*resultobj
;
20218 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20219 wxListItem
*arg2
= 0 ;
20221 PyObject
* obj0
= 0 ;
20222 PyObject
* obj1
= 0 ;
20223 char *kwnames
[] = {
20224 (char *) "self",(char *) "info", NULL
20227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20230 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
20231 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20233 if (arg2
== NULL
) {
20234 PyErr_SetString(PyExc_TypeError
,"null reference");
20238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20239 result
= (bool)(arg1
)->SetItem(*arg2
);
20241 wxPyEndAllowThreads(__tstate
);
20242 if (PyErr_Occurred()) SWIG_fail
;
20244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20251 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20252 PyObject
*resultobj
;
20253 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20256 wxString
*arg4
= 0 ;
20257 int arg5
= (int) -1 ;
20259 bool temp4
= False
;
20260 PyObject
* obj0
= 0 ;
20261 PyObject
* obj1
= 0 ;
20262 PyObject
* obj2
= 0 ;
20263 PyObject
* obj3
= 0 ;
20264 PyObject
* obj4
= 0 ;
20265 char *kwnames
[] = {
20266 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20272 arg2
= (long) SWIG_AsLong(obj1
);
20273 if (PyErr_Occurred()) SWIG_fail
;
20274 arg3
= (int) SWIG_AsInt(obj2
);
20275 if (PyErr_Occurred()) SWIG_fail
;
20277 arg4
= wxString_in_helper(obj3
);
20278 if (arg4
== NULL
) SWIG_fail
;
20282 arg5
= (int) SWIG_AsInt(obj4
);
20283 if (PyErr_Occurred()) SWIG_fail
;
20286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20287 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20289 wxPyEndAllowThreads(__tstate
);
20290 if (PyErr_Occurred()) SWIG_fail
;
20292 resultobj
= SWIG_FromLong((long)result
);
20307 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20308 PyObject
*resultobj
;
20309 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20313 PyObject
* obj0
= 0 ;
20314 PyObject
* obj1
= 0 ;
20315 PyObject
* obj2
= 0 ;
20316 char *kwnames
[] = {
20317 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20323 arg2
= (long) SWIG_AsLong(obj1
);
20324 if (PyErr_Occurred()) SWIG_fail
;
20325 arg3
= (long) SWIG_AsLong(obj2
);
20326 if (PyErr_Occurred()) SWIG_fail
;
20328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20329 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20331 wxPyEndAllowThreads(__tstate
);
20332 if (PyErr_Occurred()) SWIG_fail
;
20334 resultobj
= SWIG_FromInt((int)result
);
20341 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20342 PyObject
*resultobj
;
20343 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20348 PyObject
* obj0
= 0 ;
20349 PyObject
* obj1
= 0 ;
20350 PyObject
* obj2
= 0 ;
20351 PyObject
* obj3
= 0 ;
20352 char *kwnames
[] = {
20353 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20359 arg2
= (long) SWIG_AsLong(obj1
);
20360 if (PyErr_Occurred()) SWIG_fail
;
20361 arg3
= (long) SWIG_AsLong(obj2
);
20362 if (PyErr_Occurred()) SWIG_fail
;
20363 arg4
= (long) SWIG_AsLong(obj3
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20367 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20369 wxPyEndAllowThreads(__tstate
);
20370 if (PyErr_Occurred()) SWIG_fail
;
20372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20379 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20380 PyObject
*resultobj
;
20381 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20386 PyObject
* obj0
= 0 ;
20387 PyObject
* obj1
= 0 ;
20388 PyObject
* obj2
= 0 ;
20389 PyObject
* obj3
= 0 ;
20390 char *kwnames
[] = {
20391 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20397 arg2
= (long) SWIG_AsLong(obj1
);
20398 if (PyErr_Occurred()) SWIG_fail
;
20399 arg3
= (int) SWIG_AsInt(obj2
);
20400 if (PyErr_Occurred()) SWIG_fail
;
20401 arg4
= (int) SWIG_AsInt(obj3
);
20402 if (PyErr_Occurred()) SWIG_fail
;
20404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20405 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20407 wxPyEndAllowThreads(__tstate
);
20408 if (PyErr_Occurred()) SWIG_fail
;
20410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20417 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20418 PyObject
*resultobj
;
20419 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20422 PyObject
* obj0
= 0 ;
20423 PyObject
* obj1
= 0 ;
20424 char *kwnames
[] = {
20425 (char *) "self",(char *) "item", NULL
20428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20431 arg2
= (long) SWIG_AsLong(obj1
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20435 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20437 wxPyEndAllowThreads(__tstate
);
20438 if (PyErr_Occurred()) SWIG_fail
;
20442 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20444 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20453 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20454 PyObject
*resultobj
;
20455 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20457 wxString
*arg3
= 0 ;
20458 bool temp3
= False
;
20459 PyObject
* obj0
= 0 ;
20460 PyObject
* obj1
= 0 ;
20461 PyObject
* obj2
= 0 ;
20462 char *kwnames
[] = {
20463 (char *) "self",(char *) "item",(char *) "str", NULL
20466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20469 arg2
= (long) SWIG_AsLong(obj1
);
20470 if (PyErr_Occurred()) SWIG_fail
;
20472 arg3
= wxString_in_helper(obj2
);
20473 if (arg3
== NULL
) SWIG_fail
;
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20480 wxPyEndAllowThreads(__tstate
);
20481 if (PyErr_Occurred()) SWIG_fail
;
20483 Py_INCREF(Py_None
); resultobj
= Py_None
;
20498 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20499 PyObject
*resultobj
;
20500 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20503 PyObject
* obj0
= 0 ;
20504 PyObject
* obj1
= 0 ;
20505 char *kwnames
[] = {
20506 (char *) "self",(char *) "item", NULL
20509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20512 arg2
= (long) SWIG_AsLong(obj1
);
20513 if (PyErr_Occurred()) SWIG_fail
;
20515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20516 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20518 wxPyEndAllowThreads(__tstate
);
20519 if (PyErr_Occurred()) SWIG_fail
;
20521 resultobj
= SWIG_FromLong((long)result
);
20528 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20529 PyObject
*resultobj
;
20530 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20534 PyObject
* obj0
= 0 ;
20535 PyObject
* obj1
= 0 ;
20536 PyObject
* obj2
= 0 ;
20537 char *kwnames
[] = {
20538 (char *) "self",(char *) "item",(char *) "data", NULL
20541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20544 arg2
= (long) SWIG_AsLong(obj1
);
20545 if (PyErr_Occurred()) SWIG_fail
;
20546 arg3
= (long) SWIG_AsLong(obj2
);
20547 if (PyErr_Occurred()) SWIG_fail
;
20549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20550 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20552 wxPyEndAllowThreads(__tstate
);
20553 if (PyErr_Occurred()) SWIG_fail
;
20555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20562 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20563 PyObject
*resultobj
;
20564 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20567 PyObject
* obj0
= 0 ;
20568 PyObject
* obj1
= 0 ;
20569 char *kwnames
[] = {
20570 (char *) "self",(char *) "item", NULL
20573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20576 arg2
= (long) SWIG_AsLong(obj1
);
20577 if (PyErr_Occurred()) SWIG_fail
;
20579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20580 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
20582 wxPyEndAllowThreads(__tstate
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20586 wxPoint
* resultptr
;
20587 resultptr
= new wxPoint((wxPoint
&) result
);
20588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20596 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20597 PyObject
*resultobj
;
20598 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20600 int arg3
= (int) wxLIST_RECT_BOUNDS
;
20602 PyObject
* obj0
= 0 ;
20603 PyObject
* obj1
= 0 ;
20604 PyObject
* obj2
= 0 ;
20605 char *kwnames
[] = {
20606 (char *) "self",(char *) "item",(char *) "code", NULL
20609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20612 arg2
= (long) SWIG_AsLong(obj1
);
20613 if (PyErr_Occurred()) SWIG_fail
;
20615 arg3
= (int) SWIG_AsInt(obj2
);
20616 if (PyErr_Occurred()) SWIG_fail
;
20619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20620 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
20622 wxPyEndAllowThreads(__tstate
);
20623 if (PyErr_Occurred()) SWIG_fail
;
20626 wxRect
* resultptr
;
20627 resultptr
= new wxRect((wxRect
&) result
);
20628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20636 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20637 PyObject
*resultobj
;
20638 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20640 wxPoint
*arg3
= 0 ;
20643 PyObject
* obj0
= 0 ;
20644 PyObject
* obj1
= 0 ;
20645 PyObject
* obj2
= 0 ;
20646 char *kwnames
[] = {
20647 (char *) "self",(char *) "item",(char *) "pos", NULL
20650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20653 arg2
= (long) SWIG_AsLong(obj1
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20657 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20661 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
20663 wxPyEndAllowThreads(__tstate
);
20664 if (PyErr_Occurred()) SWIG_fail
;
20666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20673 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20674 PyObject
*resultobj
;
20675 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20677 PyObject
* obj0
= 0 ;
20678 char *kwnames
[] = {
20679 (char *) "self", NULL
20682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
20683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20687 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20692 resultobj
= SWIG_FromInt((int)result
);
20699 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
;
20701 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20703 PyObject
* obj0
= 0 ;
20704 char *kwnames
[] = {
20705 (char *) "self", NULL
20708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
20709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20713 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
20715 wxPyEndAllowThreads(__tstate
);
20716 if (PyErr_Occurred()) SWIG_fail
;
20718 resultobj
= SWIG_FromInt((int)result
);
20725 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20726 PyObject
*resultobj
;
20727 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20729 PyObject
* obj0
= 0 ;
20730 char *kwnames
[] = {
20731 (char *) "self", NULL
20734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
20735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20745 wxSize
* resultptr
;
20746 resultptr
= new wxSize((wxSize
&) result
);
20747 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20755 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20756 PyObject
*resultobj
;
20757 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20759 bool arg3
= (bool) False
;
20760 PyObject
* obj0
= 0 ;
20761 PyObject
* obj1
= 0 ;
20762 PyObject
* obj2
= 0 ;
20763 char *kwnames
[] = {
20764 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
20767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20770 arg2
= (int) SWIG_AsInt(obj1
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20773 arg3
= (bool) SWIG_AsBool(obj2
);
20774 if (PyErr_Occurred()) SWIG_fail
;
20777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20778 (arg1
)->SetItemSpacing(arg2
,arg3
);
20780 wxPyEndAllowThreads(__tstate
);
20781 if (PyErr_Occurred()) SWIG_fail
;
20783 Py_INCREF(Py_None
); resultobj
= Py_None
;
20790 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20791 PyObject
*resultobj
;
20792 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20794 PyObject
* obj0
= 0 ;
20795 char *kwnames
[] = {
20796 (char *) "self", NULL
20799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
20800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20804 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
20806 wxPyEndAllowThreads(__tstate
);
20807 if (PyErr_Occurred()) SWIG_fail
;
20809 resultobj
= SWIG_FromInt((int)result
);
20816 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20817 PyObject
*resultobj
;
20818 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20820 PyObject
* obj0
= 0 ;
20821 char *kwnames
[] = {
20822 (char *) "self", NULL
20825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
20826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20830 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
20832 wxPyEndAllowThreads(__tstate
);
20833 if (PyErr_Occurred()) SWIG_fail
;
20836 wxColour
* resultptr
;
20837 resultptr
= new wxColour((wxColour
&) result
);
20838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20846 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20847 PyObject
*resultobj
;
20848 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20849 wxColour
*arg2
= 0 ;
20851 PyObject
* obj0
= 0 ;
20852 PyObject
* obj1
= 0 ;
20853 char *kwnames
[] = {
20854 (char *) "self",(char *) "col", NULL
20857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20862 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20866 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
20868 wxPyEndAllowThreads(__tstate
);
20869 if (PyErr_Occurred()) SWIG_fail
;
20871 Py_INCREF(Py_None
); resultobj
= Py_None
;
20878 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20879 PyObject
*resultobj
;
20880 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20882 PyObject
* obj0
= 0 ;
20883 char *kwnames
[] = {
20884 (char *) "self", NULL
20887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
20888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20892 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
20894 wxPyEndAllowThreads(__tstate
);
20895 if (PyErr_Occurred()) SWIG_fail
;
20897 resultobj
= SWIG_FromLong((long)result
);
20904 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20905 PyObject
*resultobj
;
20906 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20908 bool arg3
= (bool) True
;
20909 PyObject
* obj0
= 0 ;
20910 PyObject
* obj1
= 0 ;
20911 PyObject
* obj2
= 0 ;
20912 char *kwnames
[] = {
20913 (char *) "self",(char *) "style",(char *) "add", NULL
20916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20919 arg2
= (long) SWIG_AsLong(obj1
);
20920 if (PyErr_Occurred()) SWIG_fail
;
20922 arg3
= (bool) SWIG_AsBool(obj2
);
20923 if (PyErr_Occurred()) SWIG_fail
;
20926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20927 (arg1
)->SetSingleStyle(arg2
,arg3
);
20929 wxPyEndAllowThreads(__tstate
);
20930 if (PyErr_Occurred()) SWIG_fail
;
20932 Py_INCREF(Py_None
); resultobj
= Py_None
;
20939 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20940 PyObject
*resultobj
;
20941 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20943 PyObject
* obj0
= 0 ;
20944 PyObject
* obj1
= 0 ;
20945 char *kwnames
[] = {
20946 (char *) "self",(char *) "style", NULL
20949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
20950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20952 arg2
= (long) SWIG_AsLong(obj1
);
20953 if (PyErr_Occurred()) SWIG_fail
;
20955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20956 (arg1
)->SetWindowStyleFlag(arg2
);
20958 wxPyEndAllowThreads(__tstate
);
20959 if (PyErr_Occurred()) SWIG_fail
;
20961 Py_INCREF(Py_None
); resultobj
= Py_None
;
20968 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20969 PyObject
*resultobj
;
20970 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20972 int arg3
= (int) wxLIST_NEXT_ALL
;
20973 int arg4
= (int) wxLIST_STATE_DONTCARE
;
20975 PyObject
* obj0
= 0 ;
20976 PyObject
* obj1
= 0 ;
20977 PyObject
* obj2
= 0 ;
20978 PyObject
* obj3
= 0 ;
20979 char *kwnames
[] = {
20980 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
20983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20986 arg2
= (long) SWIG_AsLong(obj1
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20989 arg3
= (int) SWIG_AsInt(obj2
);
20990 if (PyErr_Occurred()) SWIG_fail
;
20993 arg4
= (int) SWIG_AsInt(obj3
);
20994 if (PyErr_Occurred()) SWIG_fail
;
20997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20998 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21000 wxPyEndAllowThreads(__tstate
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21003 resultobj
= SWIG_FromLong((long)result
);
21010 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21011 PyObject
*resultobj
;
21012 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21014 wxImageList
*result
;
21015 PyObject
* obj0
= 0 ;
21016 PyObject
* obj1
= 0 ;
21017 char *kwnames
[] = {
21018 (char *) "self",(char *) "which", NULL
21021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21024 arg2
= (int) SWIG_AsInt(obj1
);
21025 if (PyErr_Occurred()) SWIG_fail
;
21027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21028 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21030 wxPyEndAllowThreads(__tstate
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21034 resultobj
= wxPyMake_wxObject(result
);
21042 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21043 PyObject
*resultobj
;
21044 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21045 wxImageList
*arg2
= (wxImageList
*) 0 ;
21047 PyObject
* obj0
= 0 ;
21048 PyObject
* obj1
= 0 ;
21049 PyObject
* obj2
= 0 ;
21050 char *kwnames
[] = {
21051 (char *) "self",(char *) "imageList",(char *) "which", NULL
21054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21059 arg3
= (int) SWIG_AsInt(obj2
);
21060 if (PyErr_Occurred()) SWIG_fail
;
21062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21063 (arg1
)->SetImageList(arg2
,arg3
);
21065 wxPyEndAllowThreads(__tstate
);
21066 if (PyErr_Occurred()) SWIG_fail
;
21068 Py_INCREF(Py_None
); resultobj
= Py_None
;
21075 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21076 PyObject
*resultobj
;
21077 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21078 wxImageList
*arg2
= (wxImageList
*) 0 ;
21080 PyObject
* obj0
= 0 ;
21081 PyObject
* obj1
= 0 ;
21082 PyObject
* obj2
= 0 ;
21083 char *kwnames
[] = {
21084 (char *) "self",(char *) "imageList",(char *) "which", NULL
21087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21091 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21092 arg3
= (int) SWIG_AsInt(obj2
);
21093 if (PyErr_Occurred()) SWIG_fail
;
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 (arg1
)->AssignImageList(arg2
,arg3
);
21098 wxPyEndAllowThreads(__tstate
);
21099 if (PyErr_Occurred()) SWIG_fail
;
21101 Py_INCREF(Py_None
); resultobj
= Py_None
;
21108 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21109 PyObject
*resultobj
;
21110 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21112 PyObject
* obj0
= 0 ;
21113 char *kwnames
[] = {
21114 (char *) "self", NULL
21117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
21118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21122 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
21124 wxPyEndAllowThreads(__tstate
);
21125 if (PyErr_Occurred()) SWIG_fail
;
21127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21134 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21135 PyObject
*resultobj
;
21136 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21138 PyObject
* obj0
= 0 ;
21139 char *kwnames
[] = {
21140 (char *) "self", NULL
21143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21148 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21150 wxPyEndAllowThreads(__tstate
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21160 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21161 PyObject
*resultobj
;
21162 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21164 PyObject
* obj0
= 0 ;
21165 PyObject
* obj1
= 0 ;
21166 char *kwnames
[] = {
21167 (char *) "self",(char *) "item", NULL
21170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21173 arg2
= (long) SWIG_AsLong(obj1
);
21174 if (PyErr_Occurred()) SWIG_fail
;
21176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21177 (arg1
)->RefreshItem(arg2
);
21179 wxPyEndAllowThreads(__tstate
);
21180 if (PyErr_Occurred()) SWIG_fail
;
21182 Py_INCREF(Py_None
); resultobj
= Py_None
;
21189 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21190 PyObject
*resultobj
;
21191 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21194 PyObject
* obj0
= 0 ;
21195 PyObject
* obj1
= 0 ;
21196 PyObject
* obj2
= 0 ;
21197 char *kwnames
[] = {
21198 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21204 arg2
= (long) SWIG_AsLong(obj1
);
21205 if (PyErr_Occurred()) SWIG_fail
;
21206 arg3
= (long) SWIG_AsLong(obj2
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21210 (arg1
)->RefreshItems(arg2
,arg3
);
21212 wxPyEndAllowThreads(__tstate
);
21213 if (PyErr_Occurred()) SWIG_fail
;
21215 Py_INCREF(Py_None
); resultobj
= Py_None
;
21222 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21223 PyObject
*resultobj
;
21224 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21225 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21227 PyObject
* obj0
= 0 ;
21228 PyObject
* obj1
= 0 ;
21229 char *kwnames
[] = {
21230 (char *) "self",(char *) "flag", NULL
21233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21237 arg2
= (int) SWIG_AsInt(obj1
);
21238 if (PyErr_Occurred()) SWIG_fail
;
21241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21242 result
= (bool)(arg1
)->Arrange(arg2
);
21244 wxPyEndAllowThreads(__tstate
);
21245 if (PyErr_Occurred()) SWIG_fail
;
21247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21254 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21255 PyObject
*resultobj
;
21256 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21259 PyObject
* obj0
= 0 ;
21260 PyObject
* obj1
= 0 ;
21261 char *kwnames
[] = {
21262 (char *) "self",(char *) "item", NULL
21265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21268 arg2
= (long) SWIG_AsLong(obj1
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21272 result
= (bool)(arg1
)->DeleteItem(arg2
);
21274 wxPyEndAllowThreads(__tstate
);
21275 if (PyErr_Occurred()) SWIG_fail
;
21277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21284 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21285 PyObject
*resultobj
;
21286 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21288 PyObject
* obj0
= 0 ;
21289 char *kwnames
[] = {
21290 (char *) "self", NULL
21293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21298 result
= (bool)(arg1
)->DeleteAllItems();
21300 wxPyEndAllowThreads(__tstate
);
21301 if (PyErr_Occurred()) SWIG_fail
;
21303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21310 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21311 PyObject
*resultobj
;
21312 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21315 PyObject
* obj0
= 0 ;
21316 PyObject
* obj1
= 0 ;
21317 char *kwnames
[] = {
21318 (char *) "self",(char *) "col", NULL
21321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21324 arg2
= (int) SWIG_AsInt(obj1
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21328 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21330 wxPyEndAllowThreads(__tstate
);
21331 if (PyErr_Occurred()) SWIG_fail
;
21333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21340 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21341 PyObject
*resultobj
;
21342 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21344 PyObject
* obj0
= 0 ;
21345 char *kwnames
[] = {
21346 (char *) "self", NULL
21349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21354 result
= (bool)(arg1
)->DeleteAllColumns();
21356 wxPyEndAllowThreads(__tstate
);
21357 if (PyErr_Occurred()) SWIG_fail
;
21359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21366 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21367 PyObject
*resultobj
;
21368 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21369 PyObject
* obj0
= 0 ;
21370 char *kwnames
[] = {
21371 (char *) "self", NULL
21374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21379 (arg1
)->ClearAll();
21381 wxPyEndAllowThreads(__tstate
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21384 Py_INCREF(Py_None
); resultobj
= Py_None
;
21391 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21392 PyObject
*resultobj
;
21393 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21395 PyObject
* obj0
= 0 ;
21396 PyObject
* obj1
= 0 ;
21397 char *kwnames
[] = {
21398 (char *) "self",(char *) "item", NULL
21401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21404 arg2
= (long) SWIG_AsLong(obj1
);
21405 if (PyErr_Occurred()) SWIG_fail
;
21407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21408 (arg1
)->EditLabel(arg2
);
21410 wxPyEndAllowThreads(__tstate
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21413 Py_INCREF(Py_None
); resultobj
= Py_None
;
21420 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21421 PyObject
*resultobj
;
21422 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21425 PyObject
* obj0
= 0 ;
21426 PyObject
* obj1
= 0 ;
21427 char *kwnames
[] = {
21428 (char *) "self",(char *) "item", NULL
21431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21434 arg2
= (long) SWIG_AsLong(obj1
);
21435 if (PyErr_Occurred()) SWIG_fail
;
21437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21438 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21440 wxPyEndAllowThreads(__tstate
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21450 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21451 PyObject
*resultobj
;
21452 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21454 wxString
*arg3
= 0 ;
21455 bool arg4
= (bool) False
;
21457 bool temp3
= False
;
21458 PyObject
* obj0
= 0 ;
21459 PyObject
* obj1
= 0 ;
21460 PyObject
* obj2
= 0 ;
21461 PyObject
* obj3
= 0 ;
21462 char *kwnames
[] = {
21463 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21469 arg2
= (long) SWIG_AsLong(obj1
);
21470 if (PyErr_Occurred()) SWIG_fail
;
21472 arg3
= wxString_in_helper(obj2
);
21473 if (arg3
== NULL
) SWIG_fail
;
21477 arg4
= (bool) SWIG_AsBool(obj3
);
21478 if (PyErr_Occurred()) SWIG_fail
;
21481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21482 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21484 wxPyEndAllowThreads(__tstate
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21487 resultobj
= SWIG_FromLong((long)result
);
21502 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21503 PyObject
*resultobj
;
21504 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21508 PyObject
* obj0
= 0 ;
21509 PyObject
* obj1
= 0 ;
21510 PyObject
* obj2
= 0 ;
21511 char *kwnames
[] = {
21512 (char *) "self",(char *) "start",(char *) "data", NULL
21515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21518 arg2
= (long) SWIG_AsLong(obj1
);
21519 if (PyErr_Occurred()) SWIG_fail
;
21520 arg3
= (long) SWIG_AsLong(obj2
);
21521 if (PyErr_Occurred()) SWIG_fail
;
21523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21524 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21526 wxPyEndAllowThreads(__tstate
);
21527 if (PyErr_Occurred()) SWIG_fail
;
21529 resultobj
= SWIG_FromLong((long)result
);
21536 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21537 PyObject
*resultobj
;
21538 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21540 wxPoint
*arg3
= 0 ;
21544 PyObject
* obj0
= 0 ;
21545 PyObject
* obj1
= 0 ;
21546 PyObject
* obj2
= 0 ;
21547 PyObject
* obj3
= 0 ;
21548 char *kwnames
[] = {
21549 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21555 arg2
= (long) SWIG_AsLong(obj1
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21559 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21561 arg4
= (int) SWIG_AsInt(obj3
);
21562 if (PyErr_Occurred()) SWIG_fail
;
21564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21565 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
21567 wxPyEndAllowThreads(__tstate
);
21568 if (PyErr_Occurred()) SWIG_fail
;
21570 resultobj
= SWIG_FromLong((long)result
);
21577 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21578 PyObject
*resultobj
;
21579 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21580 wxPoint
*arg2
= 0 ;
21585 PyObject
* obj0
= 0 ;
21586 PyObject
* obj1
= 0 ;
21587 char *kwnames
[] = {
21588 (char *) "self",(char *) "point", NULL
21592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
21593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21597 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21601 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
21603 wxPyEndAllowThreads(__tstate
);
21604 if (PyErr_Occurred()) SWIG_fail
;
21606 resultobj
= SWIG_FromLong((long)result
);
21608 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21609 resultobj
= t_output_helper(resultobj
,o
);
21617 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21618 PyObject
*resultobj
;
21619 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21620 wxListItem
*arg2
= 0 ;
21622 PyObject
* obj0
= 0 ;
21623 PyObject
* obj1
= 0 ;
21624 char *kwnames
[] = {
21625 (char *) "self",(char *) "info", NULL
21628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21632 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21634 if (arg2
== NULL
) {
21635 PyErr_SetString(PyExc_TypeError
,"null reference");
21639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21640 result
= (long)(arg1
)->InsertItem(*arg2
);
21642 wxPyEndAllowThreads(__tstate
);
21643 if (PyErr_Occurred()) SWIG_fail
;
21645 resultobj
= SWIG_FromLong((long)result
);
21652 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21653 PyObject
*resultobj
;
21654 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21656 wxString
*arg3
= 0 ;
21658 bool temp3
= False
;
21659 PyObject
* obj0
= 0 ;
21660 PyObject
* obj1
= 0 ;
21661 PyObject
* obj2
= 0 ;
21662 char *kwnames
[] = {
21663 (char *) "self",(char *) "index",(char *) "label", NULL
21666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21669 arg2
= (long) SWIG_AsLong(obj1
);
21670 if (PyErr_Occurred()) SWIG_fail
;
21672 arg3
= wxString_in_helper(obj2
);
21673 if (arg3
== NULL
) SWIG_fail
;
21677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21678 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
21680 wxPyEndAllowThreads(__tstate
);
21681 if (PyErr_Occurred()) SWIG_fail
;
21683 resultobj
= SWIG_FromLong((long)result
);
21698 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21699 PyObject
*resultobj
;
21700 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21704 PyObject
* obj0
= 0 ;
21705 PyObject
* obj1
= 0 ;
21706 PyObject
* obj2
= 0 ;
21707 char *kwnames
[] = {
21708 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21714 arg2
= (long) SWIG_AsLong(obj1
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21716 arg3
= (int) SWIG_AsInt(obj2
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21720 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
21722 wxPyEndAllowThreads(__tstate
);
21723 if (PyErr_Occurred()) SWIG_fail
;
21725 resultobj
= SWIG_FromLong((long)result
);
21732 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21733 PyObject
*resultobj
;
21734 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21736 wxString
*arg3
= 0 ;
21739 bool temp3
= False
;
21740 PyObject
* obj0
= 0 ;
21741 PyObject
* obj1
= 0 ;
21742 PyObject
* obj2
= 0 ;
21743 PyObject
* obj3
= 0 ;
21744 char *kwnames
[] = {
21745 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21751 arg2
= (long) SWIG_AsLong(obj1
);
21752 if (PyErr_Occurred()) SWIG_fail
;
21754 arg3
= wxString_in_helper(obj2
);
21755 if (arg3
== NULL
) SWIG_fail
;
21758 arg4
= (int) SWIG_AsInt(obj3
);
21759 if (PyErr_Occurred()) SWIG_fail
;
21761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21762 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
21764 wxPyEndAllowThreads(__tstate
);
21765 if (PyErr_Occurred()) SWIG_fail
;
21767 resultobj
= SWIG_FromLong((long)result
);
21782 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21783 PyObject
*resultobj
;
21784 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21786 wxListItem
*arg3
= 0 ;
21788 PyObject
* obj0
= 0 ;
21789 PyObject
* obj1
= 0 ;
21790 PyObject
* obj2
= 0 ;
21791 char *kwnames
[] = {
21792 (char *) "self",(char *) "col",(char *) "info", NULL
21795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21798 arg2
= (long) SWIG_AsLong(obj1
);
21799 if (PyErr_Occurred()) SWIG_fail
;
21800 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21801 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21803 if (arg3
== NULL
) {
21804 PyErr_SetString(PyExc_TypeError
,"null reference");
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21814 resultobj
= SWIG_FromLong((long)result
);
21821 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21822 PyObject
*resultobj
;
21823 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21825 wxString
*arg3
= 0 ;
21826 int arg4
= (int) wxLIST_FORMAT_LEFT
;
21827 int arg5
= (int) -1 ;
21829 bool temp3
= False
;
21830 PyObject
* obj0
= 0 ;
21831 PyObject
* obj1
= 0 ;
21832 PyObject
* obj2
= 0 ;
21833 PyObject
* obj3
= 0 ;
21834 PyObject
* obj4
= 0 ;
21835 char *kwnames
[] = {
21836 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
21839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21842 arg2
= (long) SWIG_AsLong(obj1
);
21843 if (PyErr_Occurred()) SWIG_fail
;
21845 arg3
= wxString_in_helper(obj2
);
21846 if (arg3
== NULL
) SWIG_fail
;
21850 arg4
= (int) SWIG_AsInt(obj3
);
21851 if (PyErr_Occurred()) SWIG_fail
;
21854 arg5
= (int) SWIG_AsInt(obj4
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21861 wxPyEndAllowThreads(__tstate
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21864 resultobj
= SWIG_FromLong((long)result
);
21879 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21880 PyObject
*resultobj
;
21881 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21883 PyObject
* obj0
= 0 ;
21884 PyObject
* obj1
= 0 ;
21885 char *kwnames
[] = {
21886 (char *) "self",(char *) "count", NULL
21889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
21890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21892 arg2
= (long) SWIG_AsLong(obj1
);
21893 if (PyErr_Occurred()) SWIG_fail
;
21895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21896 (arg1
)->SetItemCount(arg2
);
21898 wxPyEndAllowThreads(__tstate
);
21899 if (PyErr_Occurred()) SWIG_fail
;
21901 Py_INCREF(Py_None
); resultobj
= Py_None
;
21908 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21909 PyObject
*resultobj
;
21910 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21914 PyObject
* obj0
= 0 ;
21915 PyObject
* obj1
= 0 ;
21916 PyObject
* obj2
= 0 ;
21917 char *kwnames
[] = {
21918 (char *) "self",(char *) "dx",(char *) "dy", NULL
21921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21924 arg2
= (int) SWIG_AsInt(obj1
);
21925 if (PyErr_Occurred()) SWIG_fail
;
21926 arg3
= (int) SWIG_AsInt(obj2
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21930 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
21932 wxPyEndAllowThreads(__tstate
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21942 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21943 PyObject
*resultobj
;
21944 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21946 wxColour
*arg3
= 0 ;
21948 PyObject
* obj0
= 0 ;
21949 PyObject
* obj1
= 0 ;
21950 PyObject
* obj2
= 0 ;
21951 char *kwnames
[] = {
21952 (char *) "self",(char *) "item",(char *) "col", NULL
21955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21958 arg2
= (long) SWIG_AsLong(obj1
);
21959 if (PyErr_Occurred()) SWIG_fail
;
21962 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21966 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
21968 wxPyEndAllowThreads(__tstate
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21971 Py_INCREF(Py_None
); resultobj
= Py_None
;
21978 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21979 PyObject
*resultobj
;
21980 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21983 PyObject
* obj0
= 0 ;
21984 PyObject
* obj1
= 0 ;
21985 char *kwnames
[] = {
21986 (char *) "self",(char *) "item", NULL
21989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21992 arg2
= (long) SWIG_AsLong(obj1
);
21993 if (PyErr_Occurred()) SWIG_fail
;
21995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21996 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
21998 wxPyEndAllowThreads(__tstate
);
21999 if (PyErr_Occurred()) SWIG_fail
;
22002 wxColour
* resultptr
;
22003 resultptr
= new wxColour((wxColour
&) result
);
22004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22012 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22013 PyObject
*resultobj
;
22014 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22016 wxColour
*arg3
= 0 ;
22018 PyObject
* obj0
= 0 ;
22019 PyObject
* obj1
= 0 ;
22020 PyObject
* obj2
= 0 ;
22021 char *kwnames
[] = {
22022 (char *) "self",(char *) "item",(char *) "col", NULL
22025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22028 arg2
= (long) SWIG_AsLong(obj1
);
22029 if (PyErr_Occurred()) SWIG_fail
;
22032 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22036 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22038 wxPyEndAllowThreads(__tstate
);
22039 if (PyErr_Occurred()) SWIG_fail
;
22041 Py_INCREF(Py_None
); resultobj
= Py_None
;
22048 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22049 PyObject
*resultobj
;
22050 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22053 PyObject
* obj0
= 0 ;
22054 PyObject
* obj1
= 0 ;
22055 char *kwnames
[] = {
22056 (char *) "self",(char *) "item", NULL
22059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22066 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22068 wxPyEndAllowThreads(__tstate
);
22069 if (PyErr_Occurred()) SWIG_fail
;
22072 wxColour
* resultptr
;
22073 resultptr
= new wxColour((wxColour
&) result
);
22074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22082 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22083 PyObject
*resultobj
;
22084 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22085 PyObject
*arg2
= (PyObject
*) 0 ;
22087 PyObject
* obj0
= 0 ;
22088 PyObject
* obj1
= 0 ;
22089 char *kwnames
[] = {
22090 (char *) "self",(char *) "func", NULL
22093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22099 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22111 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
;
22113 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22115 PyObject
* obj0
= 0 ;
22116 char *kwnames
[] = {
22117 (char *) "self", NULL
22120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22127 wxPyEndAllowThreads(__tstate
);
22128 if (PyErr_Occurred()) SWIG_fail
;
22131 resultobj
= wxPyMake_wxObject(result
);
22139 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
22141 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22142 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22144 return Py_BuildValue((char *)"");
22146 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22147 PyObject
*resultobj
;
22148 wxWindow
*arg1
= (wxWindow
*) 0 ;
22149 int arg2
= (int) -1 ;
22150 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22151 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22152 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22153 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22154 long arg5
= (long) wxLC_REPORT
;
22155 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22156 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22157 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22158 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22159 wxListView
*result
;
22162 bool temp7
= False
;
22163 PyObject
* obj0
= 0 ;
22164 PyObject
* obj1
= 0 ;
22165 PyObject
* obj2
= 0 ;
22166 PyObject
* obj3
= 0 ;
22167 PyObject
* obj4
= 0 ;
22168 PyObject
* obj5
= 0 ;
22169 PyObject
* obj6
= 0 ;
22170 char *kwnames
[] = {
22171 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22178 arg2
= (int) SWIG_AsInt(obj1
);
22179 if (PyErr_Occurred()) SWIG_fail
;
22184 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22190 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22194 arg5
= (long) SWIG_AsLong(obj4
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22198 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
22199 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22201 if (arg6
== NULL
) {
22202 PyErr_SetString(PyExc_TypeError
,"null reference");
22208 arg7
= wxString_in_helper(obj6
);
22209 if (arg7
== NULL
) SWIG_fail
;
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22235 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22236 PyObject
*resultobj
;
22237 wxListView
*result
;
22238 char *kwnames
[] = {
22242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22245 result
= (wxListView
*)new wxListView();
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22257 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22258 PyObject
*resultobj
;
22259 wxListView
*arg1
= (wxListView
*) 0 ;
22260 wxWindow
*arg2
= (wxWindow
*) 0 ;
22261 int arg3
= (int) -1 ;
22262 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22263 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22264 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22265 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22266 long arg6
= (long) wxLC_REPORT
;
22267 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22268 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22269 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22270 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22274 bool temp8
= False
;
22275 PyObject
* obj0
= 0 ;
22276 PyObject
* obj1
= 0 ;
22277 PyObject
* obj2
= 0 ;
22278 PyObject
* obj3
= 0 ;
22279 PyObject
* obj4
= 0 ;
22280 PyObject
* obj5
= 0 ;
22281 PyObject
* obj6
= 0 ;
22282 PyObject
* obj7
= 0 ;
22283 char *kwnames
[] = {
22284 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22290 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22293 arg3
= (int) SWIG_AsInt(obj2
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22299 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22305 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22309 arg6
= (long) SWIG_AsLong(obj5
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22313 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
22314 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22316 if (arg7
== NULL
) {
22317 PyErr_SetString(PyExc_TypeError
,"null reference");
22323 arg8
= wxString_in_helper(obj7
);
22324 if (arg8
== NULL
) SWIG_fail
;
22329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22330 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22350 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22351 PyObject
*resultobj
;
22352 wxListView
*arg1
= (wxListView
*) 0 ;
22354 bool arg3
= (bool) True
;
22355 PyObject
* obj0
= 0 ;
22356 PyObject
* obj1
= 0 ;
22357 PyObject
* obj2
= 0 ;
22358 char *kwnames
[] = {
22359 (char *) "self",(char *) "n",(char *) "on", NULL
22362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22365 arg2
= (long) SWIG_AsLong(obj1
);
22366 if (PyErr_Occurred()) SWIG_fail
;
22368 arg3
= (bool) SWIG_AsBool(obj2
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22373 (arg1
)->Select(arg2
,arg3
);
22375 wxPyEndAllowThreads(__tstate
);
22376 if (PyErr_Occurred()) SWIG_fail
;
22378 Py_INCREF(Py_None
); resultobj
= Py_None
;
22385 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22386 PyObject
*resultobj
;
22387 wxListView
*arg1
= (wxListView
*) 0 ;
22389 PyObject
* obj0
= 0 ;
22390 PyObject
* obj1
= 0 ;
22391 char *kwnames
[] = {
22392 (char *) "self",(char *) "index", NULL
22395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22398 arg2
= (long) SWIG_AsLong(obj1
);
22399 if (PyErr_Occurred()) SWIG_fail
;
22401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22402 (arg1
)->Focus(arg2
);
22404 wxPyEndAllowThreads(__tstate
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22407 Py_INCREF(Py_None
); resultobj
= Py_None
;
22414 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22415 PyObject
*resultobj
;
22416 wxListView
*arg1
= (wxListView
*) 0 ;
22418 PyObject
* obj0
= 0 ;
22419 char *kwnames
[] = {
22420 (char *) "self", NULL
22423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22428 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22430 wxPyEndAllowThreads(__tstate
);
22431 if (PyErr_Occurred()) SWIG_fail
;
22433 resultobj
= SWIG_FromLong((long)result
);
22440 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22441 PyObject
*resultobj
;
22442 wxListView
*arg1
= (wxListView
*) 0 ;
22445 PyObject
* obj0
= 0 ;
22446 PyObject
* obj1
= 0 ;
22447 char *kwnames
[] = {
22448 (char *) "self",(char *) "item", NULL
22451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22454 arg2
= (long) SWIG_AsLong(obj1
);
22455 if (PyErr_Occurred()) SWIG_fail
;
22457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22458 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22460 wxPyEndAllowThreads(__tstate
);
22461 if (PyErr_Occurred()) SWIG_fail
;
22463 resultobj
= SWIG_FromLong((long)result
);
22470 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22471 PyObject
*resultobj
;
22472 wxListView
*arg1
= (wxListView
*) 0 ;
22474 PyObject
* obj0
= 0 ;
22475 char *kwnames
[] = {
22476 (char *) "self", NULL
22479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22484 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22486 wxPyEndAllowThreads(__tstate
);
22487 if (PyErr_Occurred()) SWIG_fail
;
22489 resultobj
= SWIG_FromLong((long)result
);
22496 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22497 PyObject
*resultobj
;
22498 wxListView
*arg1
= (wxListView
*) 0 ;
22501 PyObject
* obj0
= 0 ;
22502 PyObject
* obj1
= 0 ;
22503 char *kwnames
[] = {
22504 (char *) "self",(char *) "index", NULL
22507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22510 arg2
= (long) SWIG_AsLong(obj1
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22514 result
= (bool)(arg1
)->IsSelected(arg2
);
22516 wxPyEndAllowThreads(__tstate
);
22517 if (PyErr_Occurred()) SWIG_fail
;
22519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22526 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22527 PyObject
*resultobj
;
22528 wxListView
*arg1
= (wxListView
*) 0 ;
22531 PyObject
* obj0
= 0 ;
22532 PyObject
* obj1
= 0 ;
22533 PyObject
* obj2
= 0 ;
22534 char *kwnames
[] = {
22535 (char *) "self",(char *) "col",(char *) "image", NULL
22538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22541 arg2
= (int) SWIG_AsInt(obj1
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22543 arg3
= (int) SWIG_AsInt(obj2
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22547 (arg1
)->SetColumnImage(arg2
,arg3
);
22549 wxPyEndAllowThreads(__tstate
);
22550 if (PyErr_Occurred()) SWIG_fail
;
22552 Py_INCREF(Py_None
); resultobj
= Py_None
;
22559 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22560 PyObject
*resultobj
;
22561 wxListView
*arg1
= (wxListView
*) 0 ;
22563 PyObject
* obj0
= 0 ;
22564 PyObject
* obj1
= 0 ;
22565 char *kwnames
[] = {
22566 (char *) "self",(char *) "col", NULL
22569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22572 arg2
= (int) SWIG_AsInt(obj1
);
22573 if (PyErr_Occurred()) SWIG_fail
;
22575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22576 (arg1
)->ClearColumnImage(arg2
);
22578 wxPyEndAllowThreads(__tstate
);
22579 if (PyErr_Occurred()) SWIG_fail
;
22581 Py_INCREF(Py_None
); resultobj
= Py_None
;
22588 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
22590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22591 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
22593 return Py_BuildValue((char *)"");
22595 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
22596 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
22601 static PyObject
*_wrap_TreeCtrlNameStr_get() {
22606 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22608 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22615 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22616 PyObject
*resultobj
;
22617 wxTreeItemId
*result
;
22618 char *kwnames
[] = {
22622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
22624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22625 result
= (wxTreeItemId
*)new wxTreeItemId();
22627 wxPyEndAllowThreads(__tstate
);
22628 if (PyErr_Occurred()) SWIG_fail
;
22630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
22637 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22638 PyObject
*resultobj
;
22639 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22640 PyObject
* obj0
= 0 ;
22641 char *kwnames
[] = {
22642 (char *) "self", NULL
22645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
22646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 Py_INCREF(Py_None
); resultobj
= Py_None
;
22662 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22663 PyObject
*resultobj
;
22664 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22666 PyObject
* obj0
= 0 ;
22667 char *kwnames
[] = {
22668 (char *) "self", NULL
22671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
22672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22676 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
22678 wxPyEndAllowThreads(__tstate
);
22679 if (PyErr_Occurred()) SWIG_fail
;
22681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22688 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22689 PyObject
*resultobj
;
22690 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22691 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22693 PyObject
* obj0
= 0 ;
22694 PyObject
* obj1
= 0 ;
22695 char *kwnames
[] = {
22696 (char *) "self",(char *) "other", NULL
22699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
22703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22706 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
22708 wxPyEndAllowThreads(__tstate
);
22709 if (PyErr_Occurred()) SWIG_fail
;
22711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22718 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22719 PyObject
*resultobj
;
22720 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22721 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22723 PyObject
* obj0
= 0 ;
22724 PyObject
* obj1
= 0 ;
22725 char *kwnames
[] = {
22726 (char *) "self",(char *) "other", NULL
22729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22732 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
22733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22736 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
22738 wxPyEndAllowThreads(__tstate
);
22739 if (PyErr_Occurred()) SWIG_fail
;
22741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22748 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22749 PyObject
*resultobj
;
22750 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22751 void *arg2
= (void *) 0 ;
22752 PyObject
* obj0
= 0 ;
22753 PyObject
* obj1
= 0 ;
22754 char *kwnames
[] = {
22755 (char *) "self",(char *) "m_pItem", NULL
22758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22761 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22762 if (arg1
) (arg1
)->m_pItem
= arg2
;
22764 Py_INCREF(Py_None
); resultobj
= Py_None
;
22771 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22772 PyObject
*resultobj
;
22773 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22775 PyObject
* obj0
= 0 ;
22776 char *kwnames
[] = {
22777 (char *) "self", NULL
22780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
22781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22783 result
= (void *) ((arg1
)->m_pItem
);
22785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
22792 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
22794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22795 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
22797 return Py_BuildValue((char *)"");
22799 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22800 PyObject
*resultobj
;
22801 PyObject
*arg1
= (PyObject
*) NULL
;
22802 wxPyTreeItemData
*result
;
22803 PyObject
* obj0
= 0 ;
22804 char *kwnames
[] = {
22805 (char *) "obj", NULL
22808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
22813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22814 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
22816 wxPyEndAllowThreads(__tstate
);
22817 if (PyErr_Occurred()) SWIG_fail
;
22819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
22826 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22827 PyObject
*resultobj
;
22828 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22830 PyObject
* obj0
= 0 ;
22831 char *kwnames
[] = {
22832 (char *) "self", NULL
22835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
22836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
22837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22840 result
= (PyObject
*)(arg1
)->GetData();
22842 wxPyEndAllowThreads(__tstate
);
22843 if (PyErr_Occurred()) SWIG_fail
;
22845 resultobj
= result
;
22852 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22853 PyObject
*resultobj
;
22854 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22855 PyObject
*arg2
= (PyObject
*) 0 ;
22856 PyObject
* obj0
= 0 ;
22857 PyObject
* obj1
= 0 ;
22858 char *kwnames
[] = {
22859 (char *) "self",(char *) "obj", NULL
22862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
22864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22868 (arg1
)->SetData(arg2
);
22870 wxPyEndAllowThreads(__tstate
);
22871 if (PyErr_Occurred()) SWIG_fail
;
22873 Py_INCREF(Py_None
); resultobj
= Py_None
;
22880 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22881 PyObject
*resultobj
;
22882 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22883 wxTreeItemId
*result
;
22884 PyObject
* obj0
= 0 ;
22885 char *kwnames
[] = {
22886 (char *) "self", NULL
22889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
22890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
22891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22895 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
22896 result
= (wxTreeItemId
*) &_result_ref
;
22899 wxPyEndAllowThreads(__tstate
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
22909 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22910 PyObject
*resultobj
;
22911 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22912 wxTreeItemId
*arg2
= 0 ;
22913 PyObject
* obj0
= 0 ;
22914 PyObject
* obj1
= 0 ;
22915 char *kwnames
[] = {
22916 (char *) "self",(char *) "id", NULL
22919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
22921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
22923 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22925 if (arg2
== NULL
) {
22926 PyErr_SetString(PyExc_TypeError
,"null reference");
22930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22931 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
22933 wxPyEndAllowThreads(__tstate
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22936 Py_INCREF(Py_None
); resultobj
= Py_None
;
22943 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22944 PyObject
*resultobj
;
22945 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22946 PyObject
* obj0
= 0 ;
22947 char *kwnames
[] = {
22948 (char *) "self", NULL
22951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
22952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
22953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22956 wxPyTreeItemData_Destroy(arg1
);
22958 wxPyEndAllowThreads(__tstate
);
22959 if (PyErr_Occurred()) SWIG_fail
;
22961 Py_INCREF(Py_None
); resultobj
= Py_None
;
22968 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
22970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22971 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
22973 return Py_BuildValue((char *)"");
22975 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22976 PyObject
*resultobj
;
22977 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22978 int arg2
= (int) 0 ;
22979 wxTreeEvent
*result
;
22980 PyObject
* obj0
= 0 ;
22981 PyObject
* obj1
= 0 ;
22982 char *kwnames
[] = {
22983 (char *) "commandType",(char *) "id", NULL
22986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22988 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
22989 if (PyErr_Occurred()) SWIG_fail
;
22992 arg2
= (int) SWIG_AsInt(obj1
);
22993 if (PyErr_Occurred()) SWIG_fail
;
22996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22997 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
22999 wxPyEndAllowThreads(__tstate
);
23000 if (PyErr_Occurred()) SWIG_fail
;
23002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
23009 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23010 PyObject
*resultobj
;
23011 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23012 wxTreeItemId result
;
23013 PyObject
* obj0
= 0 ;
23014 char *kwnames
[] = {
23015 (char *) "self", NULL
23018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23023 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23025 wxPyEndAllowThreads(__tstate
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23029 wxTreeItemId
* resultptr
;
23030 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23039 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23040 PyObject
*resultobj
;
23041 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23042 wxTreeItemId
*arg2
= 0 ;
23043 PyObject
* obj0
= 0 ;
23044 PyObject
* obj1
= 0 ;
23045 char *kwnames
[] = {
23046 (char *) "self",(char *) "item", NULL
23049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23052 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23053 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23055 if (arg2
== NULL
) {
23056 PyErr_SetString(PyExc_TypeError
,"null reference");
23060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23061 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23063 wxPyEndAllowThreads(__tstate
);
23064 if (PyErr_Occurred()) SWIG_fail
;
23066 Py_INCREF(Py_None
); resultobj
= Py_None
;
23073 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23074 PyObject
*resultobj
;
23075 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23076 wxTreeItemId result
;
23077 PyObject
* obj0
= 0 ;
23078 char *kwnames
[] = {
23079 (char *) "self", NULL
23082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23087 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23089 wxPyEndAllowThreads(__tstate
);
23090 if (PyErr_Occurred()) SWIG_fail
;
23093 wxTreeItemId
* resultptr
;
23094 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23103 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23104 PyObject
*resultobj
;
23105 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23106 wxTreeItemId
*arg2
= 0 ;
23107 PyObject
* obj0
= 0 ;
23108 PyObject
* obj1
= 0 ;
23109 char *kwnames
[] = {
23110 (char *) "self",(char *) "item", NULL
23113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23117 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23119 if (arg2
== NULL
) {
23120 PyErr_SetString(PyExc_TypeError
,"null reference");
23124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23125 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23127 wxPyEndAllowThreads(__tstate
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23130 Py_INCREF(Py_None
); resultobj
= Py_None
;
23137 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23138 PyObject
*resultobj
;
23139 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23141 PyObject
* obj0
= 0 ;
23142 char *kwnames
[] = {
23143 (char *) "self", NULL
23146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23151 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23153 wxPyEndAllowThreads(__tstate
);
23154 if (PyErr_Occurred()) SWIG_fail
;
23157 wxPoint
* resultptr
;
23158 resultptr
= new wxPoint((wxPoint
&) result
);
23159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23167 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23168 PyObject
*resultobj
;
23169 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23170 wxPoint
*arg2
= 0 ;
23172 PyObject
* obj0
= 0 ;
23173 PyObject
* obj1
= 0 ;
23174 char *kwnames
[] = {
23175 (char *) "self",(char *) "pt", NULL
23178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23183 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23187 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23189 wxPyEndAllowThreads(__tstate
);
23190 if (PyErr_Occurred()) SWIG_fail
;
23192 Py_INCREF(Py_None
); resultobj
= Py_None
;
23199 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23200 PyObject
*resultobj
;
23201 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23202 wxKeyEvent
*result
;
23203 PyObject
* obj0
= 0 ;
23204 char *kwnames
[] = {
23205 (char *) "self", NULL
23208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23215 result
= (wxKeyEvent
*) &_result_ref
;
23218 wxPyEndAllowThreads(__tstate
);
23219 if (PyErr_Occurred()) SWIG_fail
;
23221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
23228 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23229 PyObject
*resultobj
;
23230 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23232 PyObject
* obj0
= 0 ;
23233 char *kwnames
[] = {
23234 (char *) "self", NULL
23237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23242 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23244 wxPyEndAllowThreads(__tstate
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23247 resultobj
= SWIG_FromInt((int)result
);
23254 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23255 PyObject
*resultobj
;
23256 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23257 wxKeyEvent
*arg2
= 0 ;
23258 PyObject
* obj0
= 0 ;
23259 PyObject
* obj1
= 0 ;
23260 char *kwnames
[] = {
23261 (char *) "self",(char *) "evt", NULL
23264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
23268 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23270 if (arg2
== NULL
) {
23271 PyErr_SetString(PyExc_TypeError
,"null reference");
23275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23276 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23278 wxPyEndAllowThreads(__tstate
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23281 Py_INCREF(Py_None
); resultobj
= Py_None
;
23288 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23289 PyObject
*resultobj
;
23290 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23292 PyObject
* obj0
= 0 ;
23293 char *kwnames
[] = {
23294 (char *) "self", NULL
23297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23303 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23304 result
= (wxString
*) &_result_ref
;
23307 wxPyEndAllowThreads(__tstate
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23312 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23314 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23323 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23324 PyObject
*resultobj
;
23325 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23326 wxString
*arg2
= 0 ;
23327 bool temp2
= False
;
23328 PyObject
* obj0
= 0 ;
23329 PyObject
* obj1
= 0 ;
23330 char *kwnames
[] = {
23331 (char *) "self",(char *) "label", NULL
23334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23338 arg2
= wxString_in_helper(obj1
);
23339 if (arg2
== NULL
) SWIG_fail
;
23343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23344 (arg1
)->SetLabel((wxString
const &)*arg2
);
23346 wxPyEndAllowThreads(__tstate
);
23347 if (PyErr_Occurred()) SWIG_fail
;
23349 Py_INCREF(Py_None
); resultobj
= Py_None
;
23364 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23365 PyObject
*resultobj
;
23366 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23368 PyObject
* obj0
= 0 ;
23369 char *kwnames
[] = {
23370 (char *) "self", NULL
23373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23378 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23380 wxPyEndAllowThreads(__tstate
);
23381 if (PyErr_Occurred()) SWIG_fail
;
23383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23390 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23391 PyObject
*resultobj
;
23392 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23394 PyObject
* obj0
= 0 ;
23395 PyObject
* obj1
= 0 ;
23396 char *kwnames
[] = {
23397 (char *) "self",(char *) "editCancelled", NULL
23400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23403 arg2
= (bool) SWIG_AsBool(obj1
);
23404 if (PyErr_Occurred()) SWIG_fail
;
23406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23407 (arg1
)->SetEditCanceled(arg2
);
23409 wxPyEndAllowThreads(__tstate
);
23410 if (PyErr_Occurred()) SWIG_fail
;
23412 Py_INCREF(Py_None
); resultobj
= Py_None
;
23419 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23420 PyObject
*resultobj
;
23421 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23422 wxString
*arg2
= 0 ;
23423 bool temp2
= False
;
23424 PyObject
* obj0
= 0 ;
23425 PyObject
* obj1
= 0 ;
23426 char *kwnames
[] = {
23427 (char *) "self",(char *) "toolTip", NULL
23430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23434 arg2
= wxString_in_helper(obj1
);
23435 if (arg2
== NULL
) SWIG_fail
;
23439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23440 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23442 wxPyEndAllowThreads(__tstate
);
23443 if (PyErr_Occurred()) SWIG_fail
;
23445 Py_INCREF(Py_None
); resultobj
= Py_None
;
23460 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
23462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23463 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23465 return Py_BuildValue((char *)"");
23467 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23468 PyObject
*resultobj
;
23469 wxWindow
*arg1
= (wxWindow
*) 0 ;
23470 int arg2
= (int) -1 ;
23471 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23472 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23473 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23474 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23475 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23476 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23477 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23478 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23479 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23480 wxPyTreeCtrl
*result
;
23483 bool temp7
= False
;
23484 PyObject
* obj0
= 0 ;
23485 PyObject
* obj1
= 0 ;
23486 PyObject
* obj2
= 0 ;
23487 PyObject
* obj3
= 0 ;
23488 PyObject
* obj4
= 0 ;
23489 PyObject
* obj5
= 0 ;
23490 PyObject
* obj6
= 0 ;
23491 char *kwnames
[] = {
23492 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23499 arg2
= (int) SWIG_AsInt(obj1
);
23500 if (PyErr_Occurred()) SWIG_fail
;
23505 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23511 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23515 arg5
= (long) SWIG_AsLong(obj4
);
23516 if (PyErr_Occurred()) SWIG_fail
;
23519 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23520 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23522 if (arg6
== NULL
) {
23523 PyErr_SetString(PyExc_TypeError
,"null reference");
23529 arg7
= wxString_in_helper(obj6
);
23530 if (arg7
== NULL
) SWIG_fail
;
23535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23536 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23538 wxPyEndAllowThreads(__tstate
);
23539 if (PyErr_Occurred()) SWIG_fail
;
23542 resultobj
= wxPyMake_wxObject(result
);
23558 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23559 PyObject
*resultobj
;
23560 wxPyTreeCtrl
*result
;
23561 char *kwnames
[] = {
23565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
23567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23568 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
23570 wxPyEndAllowThreads(__tstate
);
23571 if (PyErr_Occurred()) SWIG_fail
;
23574 resultobj
= wxPyMake_wxObject(result
);
23582 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23583 PyObject
*resultobj
;
23584 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23585 wxWindow
*arg2
= (wxWindow
*) 0 ;
23586 int arg3
= (int) -1 ;
23587 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23588 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23589 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23590 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23591 long arg6
= (long) wxTR_DEFAULT_STYLE
;
23592 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23593 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23594 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
23595 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23599 bool temp8
= False
;
23600 PyObject
* obj0
= 0 ;
23601 PyObject
* obj1
= 0 ;
23602 PyObject
* obj2
= 0 ;
23603 PyObject
* obj3
= 0 ;
23604 PyObject
* obj4
= 0 ;
23605 PyObject
* obj5
= 0 ;
23606 PyObject
* obj6
= 0 ;
23607 PyObject
* obj7
= 0 ;
23608 char *kwnames
[] = {
23609 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23618 arg3
= (int) SWIG_AsInt(obj2
);
23619 if (PyErr_Occurred()) SWIG_fail
;
23624 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23630 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23634 arg6
= (long) SWIG_AsLong(obj5
);
23635 if (PyErr_Occurred()) SWIG_fail
;
23638 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23639 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23641 if (arg7
== NULL
) {
23642 PyErr_SetString(PyExc_TypeError
,"null reference");
23648 arg8
= wxString_in_helper(obj7
);
23649 if (arg8
== NULL
) SWIG_fail
;
23654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23655 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23657 wxPyEndAllowThreads(__tstate
);
23658 if (PyErr_Occurred()) SWIG_fail
;
23660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23675 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23676 PyObject
*resultobj
;
23677 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23678 PyObject
*arg2
= (PyObject
*) 0 ;
23679 PyObject
*arg3
= (PyObject
*) 0 ;
23680 PyObject
* obj0
= 0 ;
23681 PyObject
* obj1
= 0 ;
23682 PyObject
* obj2
= 0 ;
23683 char *kwnames
[] = {
23684 (char *) "self",(char *) "self",(char *) "_class", NULL
23687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23694 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23696 wxPyEndAllowThreads(__tstate
);
23697 if (PyErr_Occurred()) SWIG_fail
;
23699 Py_INCREF(Py_None
); resultobj
= Py_None
;
23706 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23707 PyObject
*resultobj
;
23708 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23710 PyObject
* obj0
= 0 ;
23711 char *kwnames
[] = {
23712 (char *) "self", NULL
23715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
23716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23720 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
23722 wxPyEndAllowThreads(__tstate
);
23723 if (PyErr_Occurred()) SWIG_fail
;
23725 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
23732 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23733 PyObject
*resultobj
;
23734 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23735 unsigned int result
;
23736 PyObject
* obj0
= 0 ;
23737 char *kwnames
[] = {
23738 (char *) "self", NULL
23741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
23742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
23748 wxPyEndAllowThreads(__tstate
);
23749 if (PyErr_Occurred()) SWIG_fail
;
23751 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
23758 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23759 PyObject
*resultobj
;
23760 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23761 unsigned int arg2
;
23762 PyObject
* obj0
= 0 ;
23763 PyObject
* obj1
= 0 ;
23764 char *kwnames
[] = {
23765 (char *) "self",(char *) "indent", NULL
23768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
23769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23771 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23775 (arg1
)->SetIndent(arg2
);
23777 wxPyEndAllowThreads(__tstate
);
23778 if (PyErr_Occurred()) SWIG_fail
;
23780 Py_INCREF(Py_None
); resultobj
= Py_None
;
23787 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23788 PyObject
*resultobj
;
23789 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23790 unsigned int result
;
23791 PyObject
* obj0
= 0 ;
23792 char *kwnames
[] = {
23793 (char *) "self", NULL
23796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
23797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23801 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
23803 wxPyEndAllowThreads(__tstate
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23806 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
23813 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23814 PyObject
*resultobj
;
23815 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23816 unsigned int arg2
;
23817 PyObject
* obj0
= 0 ;
23818 PyObject
* obj1
= 0 ;
23819 char *kwnames
[] = {
23820 (char *) "self",(char *) "spacing", NULL
23823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
23824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23826 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
23827 if (PyErr_Occurred()) SWIG_fail
;
23829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23830 (arg1
)->SetSpacing(arg2
);
23832 wxPyEndAllowThreads(__tstate
);
23833 if (PyErr_Occurred()) SWIG_fail
;
23835 Py_INCREF(Py_None
); resultobj
= Py_None
;
23842 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23843 PyObject
*resultobj
;
23844 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23845 wxImageList
*result
;
23846 PyObject
* obj0
= 0 ;
23847 char *kwnames
[] = {
23848 (char *) "self", NULL
23851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
23852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23856 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
23858 wxPyEndAllowThreads(__tstate
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23862 resultobj
= wxPyMake_wxObject(result
);
23870 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23871 PyObject
*resultobj
;
23872 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23873 wxImageList
*result
;
23874 PyObject
* obj0
= 0 ;
23875 char *kwnames
[] = {
23876 (char *) "self", NULL
23879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
23880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23884 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
23886 wxPyEndAllowThreads(__tstate
);
23887 if (PyErr_Occurred()) SWIG_fail
;
23890 resultobj
= wxPyMake_wxObject(result
);
23898 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23899 PyObject
*resultobj
;
23900 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23901 wxImageList
*arg2
= (wxImageList
*) 0 ;
23902 PyObject
* obj0
= 0 ;
23903 PyObject
* obj1
= 0 ;
23904 char *kwnames
[] = {
23905 (char *) "self",(char *) "imageList", NULL
23908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
23912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23915 (arg1
)->SetImageList(arg2
);
23917 wxPyEndAllowThreads(__tstate
);
23918 if (PyErr_Occurred()) SWIG_fail
;
23920 Py_INCREF(Py_None
); resultobj
= Py_None
;
23927 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23928 PyObject
*resultobj
;
23929 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23930 wxImageList
*arg2
= (wxImageList
*) 0 ;
23931 PyObject
* obj0
= 0 ;
23932 PyObject
* obj1
= 0 ;
23933 char *kwnames
[] = {
23934 (char *) "self",(char *) "imageList", NULL
23937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
23941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23944 (arg1
)->SetStateImageList(arg2
);
23946 wxPyEndAllowThreads(__tstate
);
23947 if (PyErr_Occurred()) SWIG_fail
;
23949 Py_INCREF(Py_None
); resultobj
= Py_None
;
23956 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23957 PyObject
*resultobj
;
23958 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23959 wxImageList
*arg2
= (wxImageList
*) 0 ;
23960 PyObject
* obj0
= 0 ;
23961 PyObject
* obj1
= 0 ;
23962 char *kwnames
[] = {
23963 (char *) "self",(char *) "imageList", NULL
23966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
23970 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23973 (arg1
)->AssignImageList(arg2
);
23975 wxPyEndAllowThreads(__tstate
);
23976 if (PyErr_Occurred()) SWIG_fail
;
23978 Py_INCREF(Py_None
); resultobj
= Py_None
;
23985 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23986 PyObject
*resultobj
;
23987 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23988 wxImageList
*arg2
= (wxImageList
*) 0 ;
23989 PyObject
* obj0
= 0 ;
23990 PyObject
* obj1
= 0 ;
23991 char *kwnames
[] = {
23992 (char *) "self",(char *) "imageList", NULL
23995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23998 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
23999 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24002 (arg1
)->AssignStateImageList(arg2
);
24004 wxPyEndAllowThreads(__tstate
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24007 Py_INCREF(Py_None
); resultobj
= Py_None
;
24014 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24015 PyObject
*resultobj
;
24016 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24017 wxTreeItemId
*arg2
= 0 ;
24019 PyObject
* obj0
= 0 ;
24020 PyObject
* obj1
= 0 ;
24021 char *kwnames
[] = {
24022 (char *) "self",(char *) "item", NULL
24025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24029 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24031 if (arg2
== NULL
) {
24032 PyErr_SetString(PyExc_TypeError
,"null reference");
24036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24037 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24039 wxPyEndAllowThreads(__tstate
);
24040 if (PyErr_Occurred()) SWIG_fail
;
24044 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24046 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24055 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24056 PyObject
*resultobj
;
24057 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24058 wxTreeItemId
*arg2
= 0 ;
24059 int arg3
= (int) wxTreeItemIcon_Normal
;
24061 PyObject
* obj0
= 0 ;
24062 PyObject
* obj1
= 0 ;
24063 PyObject
* obj2
= 0 ;
24064 char *kwnames
[] = {
24065 (char *) "self",(char *) "item",(char *) "which", NULL
24068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24072 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24074 if (arg2
== NULL
) {
24075 PyErr_SetString(PyExc_TypeError
,"null reference");
24079 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
24080 if (PyErr_Occurred()) SWIG_fail
;
24083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24084 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24086 wxPyEndAllowThreads(__tstate
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24089 resultobj
= SWIG_FromInt((int)result
);
24096 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24097 PyObject
*resultobj
;
24098 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24099 wxTreeItemId
*arg2
= 0 ;
24100 wxPyTreeItemData
*result
;
24101 PyObject
* obj0
= 0 ;
24102 PyObject
* obj1
= 0 ;
24103 char *kwnames
[] = {
24104 (char *) "self",(char *) "item", NULL
24107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24110 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24111 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24113 if (arg2
== NULL
) {
24114 PyErr_SetString(PyExc_TypeError
,"null reference");
24118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24119 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24121 wxPyEndAllowThreads(__tstate
);
24122 if (PyErr_Occurred()) SWIG_fail
;
24124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
24131 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24132 PyObject
*resultobj
;
24133 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24134 wxTreeItemId
*arg2
= 0 ;
24136 PyObject
* obj0
= 0 ;
24137 PyObject
* obj1
= 0 ;
24138 char *kwnames
[] = {
24139 (char *) "self",(char *) "item", NULL
24142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24145 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24146 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24148 if (arg2
== NULL
) {
24149 PyErr_SetString(PyExc_TypeError
,"null reference");
24153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24154 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24156 wxPyEndAllowThreads(__tstate
);
24157 if (PyErr_Occurred()) SWIG_fail
;
24159 resultobj
= result
;
24166 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24167 PyObject
*resultobj
;
24168 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24169 wxTreeItemId
*arg2
= 0 ;
24171 PyObject
* obj0
= 0 ;
24172 PyObject
* obj1
= 0 ;
24173 char *kwnames
[] = {
24174 (char *) "self",(char *) "item", NULL
24177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24180 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24181 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24183 if (arg2
== NULL
) {
24184 PyErr_SetString(PyExc_TypeError
,"null reference");
24188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24189 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24191 wxPyEndAllowThreads(__tstate
);
24192 if (PyErr_Occurred()) SWIG_fail
;
24195 wxColour
* resultptr
;
24196 resultptr
= new wxColour((wxColour
&) result
);
24197 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24205 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24206 PyObject
*resultobj
;
24207 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24208 wxTreeItemId
*arg2
= 0 ;
24210 PyObject
* obj0
= 0 ;
24211 PyObject
* obj1
= 0 ;
24212 char *kwnames
[] = {
24213 (char *) "self",(char *) "item", NULL
24216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24219 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24220 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24222 if (arg2
== NULL
) {
24223 PyErr_SetString(PyExc_TypeError
,"null reference");
24227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24228 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24230 wxPyEndAllowThreads(__tstate
);
24231 if (PyErr_Occurred()) SWIG_fail
;
24234 wxColour
* resultptr
;
24235 resultptr
= new wxColour((wxColour
&) result
);
24236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24244 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24245 PyObject
*resultobj
;
24246 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24247 wxTreeItemId
*arg2
= 0 ;
24249 PyObject
* obj0
= 0 ;
24250 PyObject
* obj1
= 0 ;
24251 char *kwnames
[] = {
24252 (char *) "self",(char *) "item", NULL
24255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24259 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24261 if (arg2
== NULL
) {
24262 PyErr_SetString(PyExc_TypeError
,"null reference");
24266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24267 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24269 wxPyEndAllowThreads(__tstate
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24273 wxFont
* resultptr
;
24274 resultptr
= new wxFont((wxFont
&) result
);
24275 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
24283 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24284 PyObject
*resultobj
;
24285 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24286 wxTreeItemId
*arg2
= 0 ;
24287 wxString
*arg3
= 0 ;
24288 bool temp3
= False
;
24289 PyObject
* obj0
= 0 ;
24290 PyObject
* obj1
= 0 ;
24291 PyObject
* obj2
= 0 ;
24292 char *kwnames
[] = {
24293 (char *) "self",(char *) "item",(char *) "text", NULL
24296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24299 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24300 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24302 if (arg2
== NULL
) {
24303 PyErr_SetString(PyExc_TypeError
,"null reference");
24307 arg3
= wxString_in_helper(obj2
);
24308 if (arg3
== NULL
) SWIG_fail
;
24312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24313 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24315 wxPyEndAllowThreads(__tstate
);
24316 if (PyErr_Occurred()) SWIG_fail
;
24318 Py_INCREF(Py_None
); resultobj
= Py_None
;
24333 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24334 PyObject
*resultobj
;
24335 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24336 wxTreeItemId
*arg2
= 0 ;
24338 int arg4
= (int) wxTreeItemIcon_Normal
;
24339 PyObject
* obj0
= 0 ;
24340 PyObject
* obj1
= 0 ;
24341 PyObject
* obj2
= 0 ;
24342 PyObject
* obj3
= 0 ;
24343 char *kwnames
[] = {
24344 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24350 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24351 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24353 if (arg2
== NULL
) {
24354 PyErr_SetString(PyExc_TypeError
,"null reference");
24357 arg3
= (int) SWIG_AsInt(obj2
);
24358 if (PyErr_Occurred()) SWIG_fail
;
24360 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
24361 if (PyErr_Occurred()) SWIG_fail
;
24364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24365 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24367 wxPyEndAllowThreads(__tstate
);
24368 if (PyErr_Occurred()) SWIG_fail
;
24370 Py_INCREF(Py_None
); resultobj
= Py_None
;
24377 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24378 PyObject
*resultobj
;
24379 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24380 wxTreeItemId
*arg2
= 0 ;
24381 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24382 PyObject
* obj0
= 0 ;
24383 PyObject
* obj1
= 0 ;
24384 PyObject
* obj2
= 0 ;
24385 char *kwnames
[] = {
24386 (char *) "self",(char *) "item",(char *) "data", NULL
24389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24393 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24395 if (arg2
== NULL
) {
24396 PyErr_SetString(PyExc_TypeError
,"null reference");
24399 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
24400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24403 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24405 wxPyEndAllowThreads(__tstate
);
24406 if (PyErr_Occurred()) SWIG_fail
;
24408 Py_INCREF(Py_None
); resultobj
= Py_None
;
24415 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24416 PyObject
*resultobj
;
24417 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24418 wxTreeItemId
*arg2
= 0 ;
24419 PyObject
*arg3
= (PyObject
*) 0 ;
24420 PyObject
* obj0
= 0 ;
24421 PyObject
* obj1
= 0 ;
24422 PyObject
* obj2
= 0 ;
24423 char *kwnames
[] = {
24424 (char *) "self",(char *) "item",(char *) "obj", NULL
24427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24431 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24433 if (arg2
== NULL
) {
24434 PyErr_SetString(PyExc_TypeError
,"null reference");
24439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24440 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24442 wxPyEndAllowThreads(__tstate
);
24443 if (PyErr_Occurred()) SWIG_fail
;
24445 Py_INCREF(Py_None
); resultobj
= Py_None
;
24452 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24453 PyObject
*resultobj
;
24454 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24455 wxTreeItemId
*arg2
= 0 ;
24456 bool arg3
= (bool) True
;
24457 PyObject
* obj0
= 0 ;
24458 PyObject
* obj1
= 0 ;
24459 PyObject
* obj2
= 0 ;
24460 char *kwnames
[] = {
24461 (char *) "self",(char *) "item",(char *) "has", NULL
24464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24468 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24470 if (arg2
== NULL
) {
24471 PyErr_SetString(PyExc_TypeError
,"null reference");
24475 arg3
= (bool) SWIG_AsBool(obj2
);
24476 if (PyErr_Occurred()) SWIG_fail
;
24479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24480 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24482 wxPyEndAllowThreads(__tstate
);
24483 if (PyErr_Occurred()) SWIG_fail
;
24485 Py_INCREF(Py_None
); resultobj
= Py_None
;
24492 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24493 PyObject
*resultobj
;
24494 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24495 wxTreeItemId
*arg2
= 0 ;
24496 bool arg3
= (bool) True
;
24497 PyObject
* obj0
= 0 ;
24498 PyObject
* obj1
= 0 ;
24499 PyObject
* obj2
= 0 ;
24500 char *kwnames
[] = {
24501 (char *) "self",(char *) "item",(char *) "bold", NULL
24504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24508 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24510 if (arg2
== NULL
) {
24511 PyErr_SetString(PyExc_TypeError
,"null reference");
24515 arg3
= (bool) SWIG_AsBool(obj2
);
24516 if (PyErr_Occurred()) SWIG_fail
;
24519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24520 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24522 wxPyEndAllowThreads(__tstate
);
24523 if (PyErr_Occurred()) SWIG_fail
;
24525 Py_INCREF(Py_None
); resultobj
= Py_None
;
24532 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24533 PyObject
*resultobj
;
24534 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24535 wxTreeItemId
*arg2
= 0 ;
24536 wxColour
*arg3
= 0 ;
24538 PyObject
* obj0
= 0 ;
24539 PyObject
* obj1
= 0 ;
24540 PyObject
* obj2
= 0 ;
24541 char *kwnames
[] = {
24542 (char *) "self",(char *) "item",(char *) "col", NULL
24545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24549 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24551 if (arg2
== NULL
) {
24552 PyErr_SetString(PyExc_TypeError
,"null reference");
24557 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24561 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24566 Py_INCREF(Py_None
); resultobj
= Py_None
;
24573 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
;
24575 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24576 wxTreeItemId
*arg2
= 0 ;
24577 wxColour
*arg3
= 0 ;
24579 PyObject
* obj0
= 0 ;
24580 PyObject
* obj1
= 0 ;
24581 PyObject
* obj2
= 0 ;
24582 char *kwnames
[] = {
24583 (char *) "self",(char *) "item",(char *) "col", NULL
24586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24590 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24592 if (arg2
== NULL
) {
24593 PyErr_SetString(PyExc_TypeError
,"null reference");
24598 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24602 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24604 wxPyEndAllowThreads(__tstate
);
24605 if (PyErr_Occurred()) SWIG_fail
;
24607 Py_INCREF(Py_None
); resultobj
= Py_None
;
24614 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24615 PyObject
*resultobj
;
24616 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24617 wxTreeItemId
*arg2
= 0 ;
24619 PyObject
* obj0
= 0 ;
24620 PyObject
* obj1
= 0 ;
24621 PyObject
* obj2
= 0 ;
24622 char *kwnames
[] = {
24623 (char *) "self",(char *) "item",(char *) "font", NULL
24626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24632 if (arg2
== NULL
) {
24633 PyErr_SetString(PyExc_TypeError
,"null reference");
24636 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
24637 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24639 if (arg3
== NULL
) {
24640 PyErr_SetString(PyExc_TypeError
,"null reference");
24644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24645 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
24647 wxPyEndAllowThreads(__tstate
);
24648 if (PyErr_Occurred()) SWIG_fail
;
24650 Py_INCREF(Py_None
); resultobj
= Py_None
;
24657 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24658 PyObject
*resultobj
;
24659 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24660 wxTreeItemId
*arg2
= 0 ;
24662 PyObject
* obj0
= 0 ;
24663 PyObject
* obj1
= 0 ;
24664 char *kwnames
[] = {
24665 (char *) "self",(char *) "item", NULL
24668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24672 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24674 if (arg2
== NULL
) {
24675 PyErr_SetString(PyExc_TypeError
,"null reference");
24679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24680 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
24682 wxPyEndAllowThreads(__tstate
);
24683 if (PyErr_Occurred()) SWIG_fail
;
24685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24692 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24693 PyObject
*resultobj
;
24694 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24695 wxTreeItemId
*arg2
= 0 ;
24697 PyObject
* obj0
= 0 ;
24698 PyObject
* obj1
= 0 ;
24699 char *kwnames
[] = {
24700 (char *) "self",(char *) "item", NULL
24703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
24704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24707 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24709 if (arg2
== NULL
) {
24710 PyErr_SetString(PyExc_TypeError
,"null reference");
24714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24715 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
24717 wxPyEndAllowThreads(__tstate
);
24718 if (PyErr_Occurred()) SWIG_fail
;
24720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24727 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24728 PyObject
*resultobj
;
24729 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24730 wxTreeItemId
*arg2
= 0 ;
24732 PyObject
* obj0
= 0 ;
24733 PyObject
* obj1
= 0 ;
24734 char *kwnames
[] = {
24735 (char *) "self",(char *) "item", NULL
24738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) 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");
24749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24750 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
24752 wxPyEndAllowThreads(__tstate
);
24753 if (PyErr_Occurred()) SWIG_fail
;
24755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24762 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24763 PyObject
*resultobj
;
24764 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24765 wxTreeItemId
*arg2
= 0 ;
24767 PyObject
* obj0
= 0 ;
24768 PyObject
* obj1
= 0 ;
24769 char *kwnames
[] = {
24770 (char *) "self",(char *) "item", NULL
24773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24777 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24779 if (arg2
== NULL
) {
24780 PyErr_SetString(PyExc_TypeError
,"null reference");
24784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24785 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
24787 wxPyEndAllowThreads(__tstate
);
24788 if (PyErr_Occurred()) SWIG_fail
;
24790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24797 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24798 PyObject
*resultobj
;
24799 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24800 wxTreeItemId
*arg2
= 0 ;
24802 PyObject
* obj0
= 0 ;
24803 PyObject
* obj1
= 0 ;
24804 char *kwnames
[] = {
24805 (char *) "self",(char *) "item", NULL
24808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
24809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24811 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24812 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24814 if (arg2
== NULL
) {
24815 PyErr_SetString(PyExc_TypeError
,"null reference");
24819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24820 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
24822 wxPyEndAllowThreads(__tstate
);
24823 if (PyErr_Occurred()) SWIG_fail
;
24825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24832 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24833 PyObject
*resultobj
;
24834 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24835 wxTreeItemId
*arg2
= 0 ;
24836 bool arg3
= (bool) True
;
24838 PyObject
* obj0
= 0 ;
24839 PyObject
* obj1
= 0 ;
24840 PyObject
* obj2
= 0 ;
24841 char *kwnames
[] = {
24842 (char *) "self",(char *) "item",(char *) "recursively", NULL
24845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24848 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24849 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24851 if (arg2
== NULL
) {
24852 PyErr_SetString(PyExc_TypeError
,"null reference");
24856 arg3
= (bool) SWIG_AsBool(obj2
);
24857 if (PyErr_Occurred()) SWIG_fail
;
24860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24861 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
24863 wxPyEndAllowThreads(__tstate
);
24864 if (PyErr_Occurred()) SWIG_fail
;
24866 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24873 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24874 PyObject
*resultobj
;
24875 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24876 wxTreeItemId result
;
24877 PyObject
* obj0
= 0 ;
24878 char *kwnames
[] = {
24879 (char *) "self", NULL
24882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
24883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24887 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
24889 wxPyEndAllowThreads(__tstate
);
24890 if (PyErr_Occurred()) SWIG_fail
;
24893 wxTreeItemId
* resultptr
;
24894 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24903 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24904 PyObject
*resultobj
;
24905 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24906 wxTreeItemId result
;
24907 PyObject
* obj0
= 0 ;
24908 char *kwnames
[] = {
24909 (char *) "self", NULL
24912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
24913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24917 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
24919 wxPyEndAllowThreads(__tstate
);
24920 if (PyErr_Occurred()) SWIG_fail
;
24923 wxTreeItemId
* resultptr
;
24924 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24925 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24933 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24934 PyObject
*resultobj
;
24935 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24937 PyObject
* obj0
= 0 ;
24938 char *kwnames
[] = {
24939 (char *) "self", NULL
24942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
24943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24947 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
24949 wxPyEndAllowThreads(__tstate
);
24950 if (PyErr_Occurred()) SWIG_fail
;
24952 resultobj
= result
;
24959 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24960 PyObject
*resultobj
;
24961 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24962 wxTreeItemId
*arg2
= 0 ;
24963 wxTreeItemId result
;
24964 PyObject
* obj0
= 0 ;
24965 PyObject
* obj1
= 0 ;
24966 char *kwnames
[] = {
24967 (char *) "self",(char *) "item", NULL
24970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
24971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24974 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24976 if (arg2
== NULL
) {
24977 PyErr_SetString(PyExc_TypeError
,"null reference");
24981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24982 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
24984 wxPyEndAllowThreads(__tstate
);
24985 if (PyErr_Occurred()) SWIG_fail
;
24988 wxTreeItemId
* resultptr
;
24989 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24998 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24999 PyObject
*resultobj
;
25000 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25001 wxTreeItemId
*arg2
= 0 ;
25003 PyObject
* obj0
= 0 ;
25004 PyObject
* obj1
= 0 ;
25005 char *kwnames
[] = {
25006 (char *) "self",(char *) "item", NULL
25009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25012 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25013 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25015 if (arg2
== NULL
) {
25016 PyErr_SetString(PyExc_TypeError
,"null reference");
25020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25021 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25023 wxPyEndAllowThreads(__tstate
);
25024 if (PyErr_Occurred()) SWIG_fail
;
25026 resultobj
= result
;
25033 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25034 PyObject
*resultobj
;
25035 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25036 wxTreeItemId
*arg2
= 0 ;
25037 void *arg3
= (void *) 0 ;
25039 PyObject
* obj0
= 0 ;
25040 PyObject
* obj1
= 0 ;
25041 PyObject
* obj2
= 0 ;
25042 char *kwnames
[] = {
25043 (char *) "self",(char *) "item",(char *) "cookie", NULL
25046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25050 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25052 if (arg2
== NULL
) {
25053 PyErr_SetString(PyExc_TypeError
,"null reference");
25056 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25059 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25061 wxPyEndAllowThreads(__tstate
);
25062 if (PyErr_Occurred()) SWIG_fail
;
25064 resultobj
= result
;
25071 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25072 PyObject
*resultobj
;
25073 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25074 wxTreeItemId
*arg2
= 0 ;
25075 wxTreeItemId result
;
25076 PyObject
* obj0
= 0 ;
25077 PyObject
* obj1
= 0 ;
25078 char *kwnames
[] = {
25079 (char *) "self",(char *) "item", NULL
25082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25085 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25086 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25088 if (arg2
== NULL
) {
25089 PyErr_SetString(PyExc_TypeError
,"null reference");
25093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25094 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25096 wxPyEndAllowThreads(__tstate
);
25097 if (PyErr_Occurred()) SWIG_fail
;
25100 wxTreeItemId
* resultptr
;
25101 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25110 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25111 PyObject
*resultobj
;
25112 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25113 wxTreeItemId
*arg2
= 0 ;
25114 wxTreeItemId result
;
25115 PyObject
* obj0
= 0 ;
25116 PyObject
* obj1
= 0 ;
25117 char *kwnames
[] = {
25118 (char *) "self",(char *) "item", NULL
25121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25125 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25127 if (arg2
== NULL
) {
25128 PyErr_SetString(PyExc_TypeError
,"null reference");
25132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25133 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25135 wxPyEndAllowThreads(__tstate
);
25136 if (PyErr_Occurred()) SWIG_fail
;
25139 wxTreeItemId
* resultptr
;
25140 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25141 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25149 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25150 PyObject
*resultobj
;
25151 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25152 wxTreeItemId
*arg2
= 0 ;
25153 wxTreeItemId result
;
25154 PyObject
* obj0
= 0 ;
25155 PyObject
* obj1
= 0 ;
25156 char *kwnames
[] = {
25157 (char *) "self",(char *) "item", NULL
25160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25163 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25164 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25166 if (arg2
== NULL
) {
25167 PyErr_SetString(PyExc_TypeError
,"null reference");
25171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25172 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25174 wxPyEndAllowThreads(__tstate
);
25175 if (PyErr_Occurred()) SWIG_fail
;
25178 wxTreeItemId
* resultptr
;
25179 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25180 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25188 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25189 PyObject
*resultobj
;
25190 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25191 wxTreeItemId result
;
25192 PyObject
* obj0
= 0 ;
25193 char *kwnames
[] = {
25194 (char *) "self", NULL
25197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25202 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25204 wxPyEndAllowThreads(__tstate
);
25205 if (PyErr_Occurred()) SWIG_fail
;
25208 wxTreeItemId
* resultptr
;
25209 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25210 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25218 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25219 PyObject
*resultobj
;
25220 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25221 wxTreeItemId
*arg2
= 0 ;
25222 wxTreeItemId result
;
25223 PyObject
* obj0
= 0 ;
25224 PyObject
* obj1
= 0 ;
25225 char *kwnames
[] = {
25226 (char *) "self",(char *) "item", NULL
25229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25235 if (arg2
== NULL
) {
25236 PyErr_SetString(PyExc_TypeError
,"null reference");
25240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25241 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25243 wxPyEndAllowThreads(__tstate
);
25244 if (PyErr_Occurred()) SWIG_fail
;
25247 wxTreeItemId
* resultptr
;
25248 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25249 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25257 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25258 PyObject
*resultobj
;
25259 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25260 wxTreeItemId
*arg2
= 0 ;
25261 wxTreeItemId result
;
25262 PyObject
* obj0
= 0 ;
25263 PyObject
* obj1
= 0 ;
25264 char *kwnames
[] = {
25265 (char *) "self",(char *) "item", NULL
25268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25271 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25272 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25274 if (arg2
== NULL
) {
25275 PyErr_SetString(PyExc_TypeError
,"null reference");
25279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25280 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25286 wxTreeItemId
* resultptr
;
25287 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25296 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25297 PyObject
*resultobj
;
25298 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25299 wxString
*arg2
= 0 ;
25300 int arg3
= (int) -1 ;
25301 int arg4
= (int) -1 ;
25302 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25303 wxTreeItemId result
;
25304 bool temp2
= False
;
25305 PyObject
* obj0
= 0 ;
25306 PyObject
* obj1
= 0 ;
25307 PyObject
* obj2
= 0 ;
25308 PyObject
* obj3
= 0 ;
25309 PyObject
* obj4
= 0 ;
25310 char *kwnames
[] = {
25311 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25318 arg2
= wxString_in_helper(obj1
);
25319 if (arg2
== NULL
) SWIG_fail
;
25323 arg3
= (int) SWIG_AsInt(obj2
);
25324 if (PyErr_Occurred()) SWIG_fail
;
25327 arg4
= (int) SWIG_AsInt(obj3
);
25328 if (PyErr_Occurred()) SWIG_fail
;
25331 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
25332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25336 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25338 wxPyEndAllowThreads(__tstate
);
25339 if (PyErr_Occurred()) SWIG_fail
;
25342 wxTreeItemId
* resultptr
;
25343 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25344 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25360 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25361 PyObject
*resultobj
;
25362 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25363 wxTreeItemId
*arg2
= 0 ;
25364 wxString
*arg3
= 0 ;
25365 int arg4
= (int) -1 ;
25366 int arg5
= (int) -1 ;
25367 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25368 wxTreeItemId result
;
25369 bool temp3
= False
;
25370 PyObject
* obj0
= 0 ;
25371 PyObject
* obj1
= 0 ;
25372 PyObject
* obj2
= 0 ;
25373 PyObject
* obj3
= 0 ;
25374 PyObject
* obj4
= 0 ;
25375 PyObject
* obj5
= 0 ;
25376 char *kwnames
[] = {
25377 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25384 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25386 if (arg2
== NULL
) {
25387 PyErr_SetString(PyExc_TypeError
,"null reference");
25391 arg3
= wxString_in_helper(obj2
);
25392 if (arg3
== NULL
) SWIG_fail
;
25396 arg4
= (int) SWIG_AsInt(obj3
);
25397 if (PyErr_Occurred()) SWIG_fail
;
25400 arg5
= (int) SWIG_AsInt(obj4
);
25401 if (PyErr_Occurred()) SWIG_fail
;
25404 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
25405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25409 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25411 wxPyEndAllowThreads(__tstate
);
25412 if (PyErr_Occurred()) SWIG_fail
;
25415 wxTreeItemId
* resultptr
;
25416 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25417 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25433 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25434 PyObject
*resultobj
;
25435 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25436 wxTreeItemId
*arg2
= 0 ;
25437 wxTreeItemId
*arg3
= 0 ;
25438 wxString
*arg4
= 0 ;
25439 int arg5
= (int) -1 ;
25440 int arg6
= (int) -1 ;
25441 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25442 wxTreeItemId result
;
25443 bool temp4
= False
;
25444 PyObject
* obj0
= 0 ;
25445 PyObject
* obj1
= 0 ;
25446 PyObject
* obj2
= 0 ;
25447 PyObject
* obj3
= 0 ;
25448 PyObject
* obj4
= 0 ;
25449 PyObject
* obj5
= 0 ;
25450 PyObject
* obj6
= 0 ;
25451 char *kwnames
[] = {
25452 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25458 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25459 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25461 if (arg2
== NULL
) {
25462 PyErr_SetString(PyExc_TypeError
,"null reference");
25465 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
25466 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25468 if (arg3
== NULL
) {
25469 PyErr_SetString(PyExc_TypeError
,"null reference");
25473 arg4
= wxString_in_helper(obj3
);
25474 if (arg4
== NULL
) SWIG_fail
;
25478 arg5
= (int) SWIG_AsInt(obj4
);
25479 if (PyErr_Occurred()) SWIG_fail
;
25482 arg6
= (int) SWIG_AsInt(obj5
);
25483 if (PyErr_Occurred()) SWIG_fail
;
25486 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
25487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25491 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25493 wxPyEndAllowThreads(__tstate
);
25494 if (PyErr_Occurred()) SWIG_fail
;
25497 wxTreeItemId
* resultptr
;
25498 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25515 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25516 PyObject
*resultobj
;
25517 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25518 wxTreeItemId
*arg2
= 0 ;
25520 wxString
*arg4
= 0 ;
25521 int arg5
= (int) -1 ;
25522 int arg6
= (int) -1 ;
25523 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25524 wxTreeItemId result
;
25525 bool temp4
= False
;
25526 PyObject
* obj0
= 0 ;
25527 PyObject
* obj1
= 0 ;
25528 PyObject
* obj2
= 0 ;
25529 PyObject
* obj3
= 0 ;
25530 PyObject
* obj4
= 0 ;
25531 PyObject
* obj5
= 0 ;
25532 PyObject
* obj6
= 0 ;
25533 char *kwnames
[] = {
25534 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25540 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25541 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25543 if (arg2
== NULL
) {
25544 PyErr_SetString(PyExc_TypeError
,"null reference");
25547 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
25548 if (PyErr_Occurred()) SWIG_fail
;
25550 arg4
= wxString_in_helper(obj3
);
25551 if (arg4
== NULL
) SWIG_fail
;
25555 arg5
= (int) SWIG_AsInt(obj4
);
25556 if (PyErr_Occurred()) SWIG_fail
;
25559 arg6
= (int) SWIG_AsInt(obj5
);
25560 if (PyErr_Occurred()) SWIG_fail
;
25563 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
25564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25568 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25570 wxPyEndAllowThreads(__tstate
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25574 wxTreeItemId
* resultptr
;
25575 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25592 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25593 PyObject
*resultobj
;
25594 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25595 wxTreeItemId
*arg2
= 0 ;
25596 wxString
*arg3
= 0 ;
25597 int arg4
= (int) -1 ;
25598 int arg5
= (int) -1 ;
25599 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25600 wxTreeItemId result
;
25601 bool temp3
= False
;
25602 PyObject
* obj0
= 0 ;
25603 PyObject
* obj1
= 0 ;
25604 PyObject
* obj2
= 0 ;
25605 PyObject
* obj3
= 0 ;
25606 PyObject
* obj4
= 0 ;
25607 PyObject
* obj5
= 0 ;
25608 char *kwnames
[] = {
25609 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25618 if (arg2
== NULL
) {
25619 PyErr_SetString(PyExc_TypeError
,"null reference");
25623 arg3
= wxString_in_helper(obj2
);
25624 if (arg3
== NULL
) SWIG_fail
;
25628 arg4
= (int) SWIG_AsInt(obj3
);
25629 if (PyErr_Occurred()) SWIG_fail
;
25632 arg5
= (int) SWIG_AsInt(obj4
);
25633 if (PyErr_Occurred()) SWIG_fail
;
25636 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
25637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25641 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25643 wxPyEndAllowThreads(__tstate
);
25644 if (PyErr_Occurred()) SWIG_fail
;
25647 wxTreeItemId
* resultptr
;
25648 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25665 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25666 PyObject
*resultobj
;
25667 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25668 wxTreeItemId
*arg2
= 0 ;
25669 PyObject
* obj0
= 0 ;
25670 PyObject
* obj1
= 0 ;
25671 char *kwnames
[] = {
25672 (char *) "self",(char *) "item", NULL
25675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
25676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25678 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25679 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25681 if (arg2
== NULL
) {
25682 PyErr_SetString(PyExc_TypeError
,"null reference");
25686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25687 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
25689 wxPyEndAllowThreads(__tstate
);
25690 if (PyErr_Occurred()) SWIG_fail
;
25692 Py_INCREF(Py_None
); resultobj
= Py_None
;
25699 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25700 PyObject
*resultobj
;
25701 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25702 wxTreeItemId
*arg2
= 0 ;
25703 PyObject
* obj0
= 0 ;
25704 PyObject
* obj1
= 0 ;
25705 char *kwnames
[] = {
25706 (char *) "self",(char *) "item", NULL
25709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25713 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25715 if (arg2
== NULL
) {
25716 PyErr_SetString(PyExc_TypeError
,"null reference");
25720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25721 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
25723 wxPyEndAllowThreads(__tstate
);
25724 if (PyErr_Occurred()) SWIG_fail
;
25726 Py_INCREF(Py_None
); resultobj
= Py_None
;
25733 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25734 PyObject
*resultobj
;
25735 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25736 PyObject
* obj0
= 0 ;
25737 char *kwnames
[] = {
25738 (char *) "self", NULL
25741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25746 (arg1
)->DeleteAllItems();
25748 wxPyEndAllowThreads(__tstate
);
25749 if (PyErr_Occurred()) SWIG_fail
;
25751 Py_INCREF(Py_None
); resultobj
= Py_None
;
25758 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25759 PyObject
*resultobj
;
25760 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25761 wxTreeItemId
*arg2
= 0 ;
25762 PyObject
* obj0
= 0 ;
25763 PyObject
* obj1
= 0 ;
25764 char *kwnames
[] = {
25765 (char *) "self",(char *) "item", NULL
25768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
25769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25772 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25774 if (arg2
== NULL
) {
25775 PyErr_SetString(PyExc_TypeError
,"null reference");
25779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25780 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
25782 wxPyEndAllowThreads(__tstate
);
25783 if (PyErr_Occurred()) SWIG_fail
;
25785 Py_INCREF(Py_None
); resultobj
= Py_None
;
25792 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25793 PyObject
*resultobj
;
25794 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25795 wxTreeItemId
*arg2
= 0 ;
25796 PyObject
* obj0
= 0 ;
25797 PyObject
* obj1
= 0 ;
25798 char *kwnames
[] = {
25799 (char *) "self",(char *) "item", NULL
25802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
25803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25805 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25806 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25808 if (arg2
== NULL
) {
25809 PyErr_SetString(PyExc_TypeError
,"null reference");
25813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25814 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
25816 wxPyEndAllowThreads(__tstate
);
25817 if (PyErr_Occurred()) SWIG_fail
;
25819 Py_INCREF(Py_None
); resultobj
= Py_None
;
25826 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25827 PyObject
*resultobj
;
25828 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25829 wxTreeItemId
*arg2
= 0 ;
25830 PyObject
* obj0
= 0 ;
25831 PyObject
* obj1
= 0 ;
25832 char *kwnames
[] = {
25833 (char *) "self",(char *) "item", NULL
25836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
25837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25840 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25842 if (arg2
== NULL
) {
25843 PyErr_SetString(PyExc_TypeError
,"null reference");
25847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25848 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
25850 wxPyEndAllowThreads(__tstate
);
25851 if (PyErr_Occurred()) SWIG_fail
;
25853 Py_INCREF(Py_None
); resultobj
= Py_None
;
25860 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25861 PyObject
*resultobj
;
25862 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25863 wxTreeItemId
*arg2
= 0 ;
25864 PyObject
* obj0
= 0 ;
25865 PyObject
* obj1
= 0 ;
25866 char *kwnames
[] = {
25867 (char *) "self",(char *) "item", NULL
25870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
25871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25874 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25876 if (arg2
== NULL
) {
25877 PyErr_SetString(PyExc_TypeError
,"null reference");
25881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25882 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
25884 wxPyEndAllowThreads(__tstate
);
25885 if (PyErr_Occurred()) SWIG_fail
;
25887 Py_INCREF(Py_None
); resultobj
= Py_None
;
25894 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25895 PyObject
*resultobj
;
25896 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25897 PyObject
* obj0
= 0 ;
25898 char *kwnames
[] = {
25899 (char *) "self", NULL
25902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
25903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25907 (arg1
)->Unselect();
25909 wxPyEndAllowThreads(__tstate
);
25910 if (PyErr_Occurred()) SWIG_fail
;
25912 Py_INCREF(Py_None
); resultobj
= Py_None
;
25919 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25920 PyObject
*resultobj
;
25921 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25922 wxTreeItemId
*arg2
= 0 ;
25923 PyObject
* obj0
= 0 ;
25924 PyObject
* obj1
= 0 ;
25925 char *kwnames
[] = {
25926 (char *) "self",(char *) "item", NULL
25929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25933 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25935 if (arg2
== NULL
) {
25936 PyErr_SetString(PyExc_TypeError
,"null reference");
25940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25941 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
25943 wxPyEndAllowThreads(__tstate
);
25944 if (PyErr_Occurred()) SWIG_fail
;
25946 Py_INCREF(Py_None
); resultobj
= Py_None
;
25953 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25954 PyObject
*resultobj
;
25955 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25956 PyObject
* obj0
= 0 ;
25957 char *kwnames
[] = {
25958 (char *) "self", NULL
25961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
25962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25966 (arg1
)->UnselectAll();
25968 wxPyEndAllowThreads(__tstate
);
25969 if (PyErr_Occurred()) SWIG_fail
;
25971 Py_INCREF(Py_None
); resultobj
= Py_None
;
25978 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25979 PyObject
*resultobj
;
25980 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25981 wxTreeItemId
*arg2
= 0 ;
25982 bool arg3
= (bool) True
;
25983 PyObject
* obj0
= 0 ;
25984 PyObject
* obj1
= 0 ;
25985 PyObject
* obj2
= 0 ;
25986 char *kwnames
[] = {
25987 (char *) "self",(char *) "item",(char *) "select", NULL
25990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25994 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25996 if (arg2
== NULL
) {
25997 PyErr_SetString(PyExc_TypeError
,"null reference");
26001 arg3
= (bool) SWIG_AsBool(obj2
);
26002 if (PyErr_Occurred()) SWIG_fail
;
26005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26006 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
26008 wxPyEndAllowThreads(__tstate
);
26009 if (PyErr_Occurred()) SWIG_fail
;
26011 Py_INCREF(Py_None
); resultobj
= Py_None
;
26018 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26019 PyObject
*resultobj
;
26020 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26021 wxTreeItemId
*arg2
= 0 ;
26022 PyObject
* obj0
= 0 ;
26023 PyObject
* obj1
= 0 ;
26024 char *kwnames
[] = {
26025 (char *) "self",(char *) "item", NULL
26028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26031 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26032 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26034 if (arg2
== NULL
) {
26035 PyErr_SetString(PyExc_TypeError
,"null reference");
26039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26040 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26042 wxPyEndAllowThreads(__tstate
);
26043 if (PyErr_Occurred()) SWIG_fail
;
26045 Py_INCREF(Py_None
); resultobj
= Py_None
;
26052 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26053 PyObject
*resultobj
;
26054 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26055 wxTreeItemId
*arg2
= 0 ;
26056 PyObject
* obj0
= 0 ;
26057 PyObject
* obj1
= 0 ;
26058 char *kwnames
[] = {
26059 (char *) "self",(char *) "item", NULL
26062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26066 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26068 if (arg2
== NULL
) {
26069 PyErr_SetString(PyExc_TypeError
,"null reference");
26073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26074 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26076 wxPyEndAllowThreads(__tstate
);
26077 if (PyErr_Occurred()) SWIG_fail
;
26079 Py_INCREF(Py_None
); resultobj
= Py_None
;
26086 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26087 PyObject
*resultobj
;
26088 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26089 wxTreeItemId
*arg2
= 0 ;
26090 PyObject
* obj0
= 0 ;
26091 PyObject
* obj1
= 0 ;
26092 char *kwnames
[] = {
26093 (char *) "self",(char *) "item", NULL
26096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26099 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26100 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26102 if (arg2
== NULL
) {
26103 PyErr_SetString(PyExc_TypeError
,"null reference");
26107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26108 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26110 wxPyEndAllowThreads(__tstate
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26113 Py_INCREF(Py_None
); resultobj
= Py_None
;
26120 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26121 PyObject
*resultobj
;
26122 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26123 wxTreeItemId
*arg2
= 0 ;
26124 PyObject
* obj0
= 0 ;
26125 PyObject
* obj1
= 0 ;
26126 char *kwnames
[] = {
26127 (char *) "self",(char *) "item", NULL
26130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26133 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26134 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26136 if (arg2
== NULL
) {
26137 PyErr_SetString(PyExc_TypeError
,"null reference");
26141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26142 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26144 wxPyEndAllowThreads(__tstate
);
26145 if (PyErr_Occurred()) SWIG_fail
;
26147 Py_INCREF(Py_None
); resultobj
= Py_None
;
26154 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26155 PyObject
*resultobj
;
26156 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26157 wxTextCtrl
*result
;
26158 PyObject
* obj0
= 0 ;
26159 char *kwnames
[] = {
26160 (char *) "self", NULL
26163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26168 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26170 wxPyEndAllowThreads(__tstate
);
26171 if (PyErr_Occurred()) SWIG_fail
;
26174 resultobj
= wxPyMake_wxObject(result
);
26182 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26183 PyObject
*resultobj
;
26184 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26185 wxTreeItemId
*arg2
= 0 ;
26186 PyObject
* obj0
= 0 ;
26187 PyObject
* obj1
= 0 ;
26188 char *kwnames
[] = {
26189 (char *) "self",(char *) "item", NULL
26192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26195 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26196 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26198 if (arg2
== NULL
) {
26199 PyErr_SetString(PyExc_TypeError
,"null reference");
26203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26204 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26206 wxPyEndAllowThreads(__tstate
);
26207 if (PyErr_Occurred()) SWIG_fail
;
26209 Py_INCREF(Py_None
); resultobj
= Py_None
;
26216 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26217 PyObject
*resultobj
;
26218 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26219 wxPoint
*arg2
= 0 ;
26221 wxTreeItemId result
;
26224 PyObject
* obj0
= 0 ;
26225 PyObject
* obj1
= 0 ;
26226 char *kwnames
[] = {
26227 (char *) "self",(char *) "point", NULL
26231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26236 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26240 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26242 wxPyEndAllowThreads(__tstate
);
26243 if (PyErr_Occurred()) SWIG_fail
;
26246 wxTreeItemId
* resultptr
;
26247 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26248 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26251 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26252 resultobj
= t_output_helper(resultobj
,o
);
26260 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26261 PyObject
*resultobj
;
26262 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26263 wxTreeItemId
*arg2
= 0 ;
26264 bool arg3
= (bool) False
;
26266 PyObject
* obj0
= 0 ;
26267 PyObject
* obj1
= 0 ;
26268 PyObject
* obj2
= 0 ;
26269 char *kwnames
[] = {
26270 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26277 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26279 if (arg2
== NULL
) {
26280 PyErr_SetString(PyExc_TypeError
,"null reference");
26284 arg3
= (bool) SWIG_AsBool(obj2
);
26285 if (PyErr_Occurred()) SWIG_fail
;
26288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26289 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26291 wxPyEndAllowThreads(__tstate
);
26292 if (PyErr_Occurred()) SWIG_fail
;
26294 resultobj
= result
;
26301 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
26303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26304 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26306 return Py_BuildValue((char *)"");
26308 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
26309 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26314 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
26319 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26321 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26328 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26329 PyObject
*resultobj
;
26330 wxWindow
*arg1
= (wxWindow
*) 0 ;
26331 int arg2
= (int) (int)-1 ;
26332 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
26333 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26334 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26335 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26336 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26337 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26338 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26339 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26340 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26341 int arg8
= (int) 0 ;
26342 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26343 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26344 wxGenericDirCtrl
*result
;
26345 bool temp3
= False
;
26348 bool temp7
= False
;
26349 bool temp9
= False
;
26350 PyObject
* obj0
= 0 ;
26351 PyObject
* obj1
= 0 ;
26352 PyObject
* obj2
= 0 ;
26353 PyObject
* obj3
= 0 ;
26354 PyObject
* obj4
= 0 ;
26355 PyObject
* obj5
= 0 ;
26356 PyObject
* obj6
= 0 ;
26357 PyObject
* obj7
= 0 ;
26358 PyObject
* obj8
= 0 ;
26359 char *kwnames
[] = {
26360 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26367 arg2
= (int const) SWIG_AsInt(obj1
);
26368 if (PyErr_Occurred()) SWIG_fail
;
26372 arg3
= wxString_in_helper(obj2
);
26373 if (arg3
== NULL
) SWIG_fail
;
26380 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26386 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26390 arg6
= (long) SWIG_AsLong(obj5
);
26391 if (PyErr_Occurred()) SWIG_fail
;
26395 arg7
= wxString_in_helper(obj6
);
26396 if (arg7
== NULL
) SWIG_fail
;
26401 arg8
= (int) SWIG_AsInt(obj7
);
26402 if (PyErr_Occurred()) SWIG_fail
;
26406 arg9
= wxString_in_helper(obj8
);
26407 if (arg9
== NULL
) SWIG_fail
;
26412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26413 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
26415 wxPyEndAllowThreads(__tstate
);
26416 if (PyErr_Occurred()) SWIG_fail
;
26418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26449 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26450 PyObject
*resultobj
;
26451 wxGenericDirCtrl
*result
;
26452 char *kwnames
[] = {
26456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
26458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26459 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
26461 wxPyEndAllowThreads(__tstate
);
26462 if (PyErr_Occurred()) SWIG_fail
;
26464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26471 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26472 PyObject
*resultobj
;
26473 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26474 wxWindow
*arg2
= (wxWindow
*) 0 ;
26475 int arg3
= (int) (int)-1 ;
26476 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
26477 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26478 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
26479 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
26480 wxSize
const &arg6_defvalue
= wxDefaultSize
;
26481 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
26482 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26483 wxString
const &arg8_defvalue
= wxPyEmptyString
;
26484 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26485 int arg9
= (int) 0 ;
26486 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
26487 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26489 bool temp4
= False
;
26492 bool temp8
= False
;
26493 bool temp10
= False
;
26494 PyObject
* obj0
= 0 ;
26495 PyObject
* obj1
= 0 ;
26496 PyObject
* obj2
= 0 ;
26497 PyObject
* obj3
= 0 ;
26498 PyObject
* obj4
= 0 ;
26499 PyObject
* obj5
= 0 ;
26500 PyObject
* obj6
= 0 ;
26501 PyObject
* obj7
= 0 ;
26502 PyObject
* obj8
= 0 ;
26503 PyObject
* obj9
= 0 ;
26504 char *kwnames
[] = {
26505 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26511 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26514 arg3
= (int const) SWIG_AsInt(obj2
);
26515 if (PyErr_Occurred()) SWIG_fail
;
26519 arg4
= wxString_in_helper(obj3
);
26520 if (arg4
== NULL
) SWIG_fail
;
26527 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
26533 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
26537 arg7
= (long) SWIG_AsLong(obj6
);
26538 if (PyErr_Occurred()) SWIG_fail
;
26542 arg8
= wxString_in_helper(obj7
);
26543 if (arg8
== NULL
) SWIG_fail
;
26548 arg9
= (int) SWIG_AsInt(obj8
);
26549 if (PyErr_Occurred()) SWIG_fail
;
26553 arg10
= wxString_in_helper(obj9
);
26554 if (arg10
== NULL
) SWIG_fail
;
26559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26560 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
26562 wxPyEndAllowThreads(__tstate
);
26563 if (PyErr_Occurred()) SWIG_fail
;
26565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26596 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26597 PyObject
*resultobj
;
26598 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26599 wxString
*arg2
= 0 ;
26601 bool temp2
= False
;
26602 PyObject
* obj0
= 0 ;
26603 PyObject
* obj1
= 0 ;
26604 char *kwnames
[] = {
26605 (char *) "self",(char *) "path", NULL
26608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26612 arg2
= wxString_in_helper(obj1
);
26613 if (arg2
== NULL
) SWIG_fail
;
26617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26618 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
26620 wxPyEndAllowThreads(__tstate
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26638 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26639 PyObject
*resultobj
;
26640 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26642 PyObject
* obj0
= 0 ;
26643 char *kwnames
[] = {
26644 (char *) "self", NULL
26647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
26648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26652 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
26654 wxPyEndAllowThreads(__tstate
);
26655 if (PyErr_Occurred()) SWIG_fail
;
26659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26670 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26671 PyObject
*resultobj
;
26672 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26673 wxString
*arg2
= 0 ;
26674 bool temp2
= False
;
26675 PyObject
* obj0
= 0 ;
26676 PyObject
* obj1
= 0 ;
26677 char *kwnames
[] = {
26678 (char *) "self",(char *) "path", NULL
26681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26685 arg2
= wxString_in_helper(obj1
);
26686 if (arg2
== NULL
) SWIG_fail
;
26690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26691 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
26693 wxPyEndAllowThreads(__tstate
);
26694 if (PyErr_Occurred()) SWIG_fail
;
26696 Py_INCREF(Py_None
); resultobj
= Py_None
;
26711 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26712 PyObject
*resultobj
;
26713 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26715 PyObject
* obj0
= 0 ;
26716 char *kwnames
[] = {
26717 (char *) "self", NULL
26720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
26721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26725 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
26727 wxPyEndAllowThreads(__tstate
);
26728 if (PyErr_Occurred()) SWIG_fail
;
26732 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26734 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26743 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26744 PyObject
*resultobj
;
26745 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26747 PyObject
* obj0
= 0 ;
26748 char *kwnames
[] = {
26749 (char *) "self", NULL
26752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
26753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26757 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
26759 wxPyEndAllowThreads(__tstate
);
26760 if (PyErr_Occurred()) SWIG_fail
;
26764 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26766 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26775 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26776 PyObject
*resultobj
;
26777 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26778 wxString
*arg2
= 0 ;
26779 bool temp2
= False
;
26780 PyObject
* obj0
= 0 ;
26781 PyObject
* obj1
= 0 ;
26782 char *kwnames
[] = {
26783 (char *) "self",(char *) "path", NULL
26786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26790 arg2
= wxString_in_helper(obj1
);
26791 if (arg2
== NULL
) SWIG_fail
;
26795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26796 (arg1
)->SetPath((wxString
const &)*arg2
);
26798 wxPyEndAllowThreads(__tstate
);
26799 if (PyErr_Occurred()) SWIG_fail
;
26801 Py_INCREF(Py_None
); resultobj
= Py_None
;
26816 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26817 PyObject
*resultobj
;
26818 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26820 PyObject
* obj0
= 0 ;
26821 PyObject
* obj1
= 0 ;
26822 char *kwnames
[] = {
26823 (char *) "self",(char *) "show", NULL
26826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
26827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26829 arg2
= (bool) SWIG_AsBool(obj1
);
26830 if (PyErr_Occurred()) SWIG_fail
;
26832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26833 (arg1
)->ShowHidden(arg2
);
26835 wxPyEndAllowThreads(__tstate
);
26836 if (PyErr_Occurred()) SWIG_fail
;
26838 Py_INCREF(Py_None
); resultobj
= Py_None
;
26845 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26846 PyObject
*resultobj
;
26847 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26849 PyObject
* obj0
= 0 ;
26850 char *kwnames
[] = {
26851 (char *) "self", NULL
26854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
26855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26859 result
= (bool)(arg1
)->GetShowHidden();
26861 wxPyEndAllowThreads(__tstate
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26871 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26872 PyObject
*resultobj
;
26873 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26875 PyObject
* obj0
= 0 ;
26876 char *kwnames
[] = {
26877 (char *) "self", NULL
26880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
26881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26885 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
26887 wxPyEndAllowThreads(__tstate
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26903 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26904 PyObject
*resultobj
;
26905 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26906 wxString
*arg2
= 0 ;
26907 bool temp2
= False
;
26908 PyObject
* obj0
= 0 ;
26909 PyObject
* obj1
= 0 ;
26910 char *kwnames
[] = {
26911 (char *) "self",(char *) "filter", NULL
26914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
26915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26918 arg2
= wxString_in_helper(obj1
);
26919 if (arg2
== NULL
) SWIG_fail
;
26923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26924 (arg1
)->SetFilter((wxString
const &)*arg2
);
26926 wxPyEndAllowThreads(__tstate
);
26927 if (PyErr_Occurred()) SWIG_fail
;
26929 Py_INCREF(Py_None
); resultobj
= Py_None
;
26944 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26945 PyObject
*resultobj
;
26946 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26948 PyObject
* obj0
= 0 ;
26949 char *kwnames
[] = {
26950 (char *) "self", NULL
26953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
26954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26958 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
26960 wxPyEndAllowThreads(__tstate
);
26961 if (PyErr_Occurred()) SWIG_fail
;
26963 resultobj
= SWIG_FromInt((int)result
);
26970 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26971 PyObject
*resultobj
;
26972 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26974 PyObject
* obj0
= 0 ;
26975 PyObject
* obj1
= 0 ;
26976 char *kwnames
[] = {
26977 (char *) "self",(char *) "n", NULL
26980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
26981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26983 arg2
= (int) SWIG_AsInt(obj1
);
26984 if (PyErr_Occurred()) SWIG_fail
;
26986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26987 (arg1
)->SetFilterIndex(arg2
);
26989 wxPyEndAllowThreads(__tstate
);
26990 if (PyErr_Occurred()) SWIG_fail
;
26992 Py_INCREF(Py_None
); resultobj
= Py_None
;
26999 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27000 PyObject
*resultobj
;
27001 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27002 wxTreeItemId result
;
27003 PyObject
* obj0
= 0 ;
27004 char *kwnames
[] = {
27005 (char *) "self", NULL
27008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27013 result
= (arg1
)->GetRootId();
27015 wxPyEndAllowThreads(__tstate
);
27016 if (PyErr_Occurred()) SWIG_fail
;
27019 wxTreeItemId
* resultptr
;
27020 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27021 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27029 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27030 PyObject
*resultobj
;
27031 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27032 wxPyTreeCtrl
*result
;
27033 PyObject
* obj0
= 0 ;
27034 char *kwnames
[] = {
27035 (char *) "self", NULL
27038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",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
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27045 wxPyEndAllowThreads(__tstate
);
27046 if (PyErr_Occurred()) SWIG_fail
;
27049 resultobj
= wxPyMake_wxObject(result
);
27057 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27058 PyObject
*resultobj
;
27059 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27060 wxDirFilterListCtrl
*result
;
27061 PyObject
* obj0
= 0 ;
27062 char *kwnames
[] = {
27063 (char *) "self", NULL
27066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27071 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27073 wxPyEndAllowThreads(__tstate
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27083 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27084 PyObject
*resultobj
;
27085 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27086 wxTreeItemId arg2
;
27087 wxString
*arg3
= 0 ;
27089 wxTreeItemId result
;
27090 wxTreeItemId
*argp2
;
27091 bool temp3
= False
;
27093 PyObject
* obj0
= 0 ;
27094 PyObject
* obj1
= 0 ;
27095 PyObject
* obj2
= 0 ;
27096 char *kwnames
[] = {
27097 (char *) "self",(char *) "parentId",(char *) "path", NULL
27101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27104 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
27105 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27108 arg3
= wxString_in_helper(obj2
);
27109 if (arg3
== NULL
) SWIG_fail
;
27113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27114 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27116 wxPyEndAllowThreads(__tstate
);
27117 if (PyErr_Occurred()) SWIG_fail
;
27120 wxTreeItemId
* resultptr
;
27121 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27125 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27126 resultobj
= t_output_helper(resultobj
,o
);
27142 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27143 PyObject
*resultobj
;
27144 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27145 PyObject
* obj0
= 0 ;
27146 char *kwnames
[] = {
27147 (char *) "self", NULL
27150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27155 (arg1
)->DoResize();
27157 wxPyEndAllowThreads(__tstate
);
27158 if (PyErr_Occurred()) SWIG_fail
;
27160 Py_INCREF(Py_None
); resultobj
= Py_None
;
27167 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27168 PyObject
*resultobj
;
27169 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27170 PyObject
* obj0
= 0 ;
27171 char *kwnames
[] = {
27172 (char *) "self", NULL
27175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27180 (arg1
)->ReCreateTree();
27182 wxPyEndAllowThreads(__tstate
);
27183 if (PyErr_Occurred()) SWIG_fail
;
27185 Py_INCREF(Py_None
); resultobj
= Py_None
;
27192 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
27194 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27195 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27197 return Py_BuildValue((char *)"");
27199 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27200 PyObject
*resultobj
;
27201 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27202 int arg2
= (int) (int)-1 ;
27203 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27204 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27205 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27206 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27207 long arg5
= (long) 0 ;
27208 wxDirFilterListCtrl
*result
;
27211 PyObject
* obj0
= 0 ;
27212 PyObject
* obj1
= 0 ;
27213 PyObject
* obj2
= 0 ;
27214 PyObject
* obj3
= 0 ;
27215 PyObject
* obj4
= 0 ;
27216 char *kwnames
[] = {
27217 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27224 arg2
= (int const) SWIG_AsInt(obj1
);
27225 if (PyErr_Occurred()) SWIG_fail
;
27230 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27236 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27240 arg5
= (long) SWIG_AsLong(obj4
);
27241 if (PyErr_Occurred()) SWIG_fail
;
27244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27245 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27247 wxPyEndAllowThreads(__tstate
);
27248 if (PyErr_Occurred()) SWIG_fail
;
27250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27257 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27258 PyObject
*resultobj
;
27259 wxDirFilterListCtrl
*result
;
27260 char *kwnames
[] = {
27264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27267 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27269 wxPyEndAllowThreads(__tstate
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27279 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27280 PyObject
*resultobj
;
27281 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27282 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27283 int arg3
= (int) (int)-1 ;
27284 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27285 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27286 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27287 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27288 long arg6
= (long) 0 ;
27292 PyObject
* obj0
= 0 ;
27293 PyObject
* obj1
= 0 ;
27294 PyObject
* obj2
= 0 ;
27295 PyObject
* obj3
= 0 ;
27296 PyObject
* obj4
= 0 ;
27297 PyObject
* obj5
= 0 ;
27298 char *kwnames
[] = {
27299 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
27306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27308 arg3
= (int const) SWIG_AsInt(obj2
);
27309 if (PyErr_Occurred()) SWIG_fail
;
27314 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27320 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27324 arg6
= (long) SWIG_AsLong(obj5
);
27325 if (PyErr_Occurred()) SWIG_fail
;
27328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27329 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
27331 wxPyEndAllowThreads(__tstate
);
27332 if (PyErr_Occurred()) SWIG_fail
;
27334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27341 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27342 PyObject
*resultobj
;
27343 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27344 wxString
*arg2
= 0 ;
27346 bool temp2
= False
;
27347 PyObject
* obj0
= 0 ;
27348 PyObject
* obj1
= 0 ;
27349 PyObject
* obj2
= 0 ;
27350 char *kwnames
[] = {
27351 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27358 arg2
= wxString_in_helper(obj1
);
27359 if (arg2
== NULL
) SWIG_fail
;
27362 arg3
= (int) SWIG_AsInt(obj2
);
27363 if (PyErr_Occurred()) SWIG_fail
;
27365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27366 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27368 wxPyEndAllowThreads(__tstate
);
27369 if (PyErr_Occurred()) SWIG_fail
;
27371 Py_INCREF(Py_None
); resultobj
= Py_None
;
27386 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
27388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27389 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
27391 return Py_BuildValue((char *)"");
27393 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27394 PyObject
*resultobj
;
27395 wxWindow
*arg1
= (wxWindow
*) 0 ;
27397 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27398 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27399 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27400 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27401 long arg5
= (long) 0 ;
27402 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27403 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27404 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
27405 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27406 wxPyControl
*result
;
27409 bool temp7
= False
;
27410 PyObject
* obj0
= 0 ;
27411 PyObject
* obj1
= 0 ;
27412 PyObject
* obj2
= 0 ;
27413 PyObject
* obj3
= 0 ;
27414 PyObject
* obj4
= 0 ;
27415 PyObject
* obj5
= 0 ;
27416 PyObject
* obj6
= 0 ;
27417 char *kwnames
[] = {
27418 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27424 arg2
= (int const) SWIG_AsInt(obj1
);
27425 if (PyErr_Occurred()) SWIG_fail
;
27429 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27435 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27439 arg5
= (long) SWIG_AsLong(obj4
);
27440 if (PyErr_Occurred()) SWIG_fail
;
27443 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
27444 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27446 if (arg6
== NULL
) {
27447 PyErr_SetString(PyExc_TypeError
,"null reference");
27453 arg7
= wxString_in_helper(obj6
);
27454 if (arg7
== NULL
) SWIG_fail
;
27459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27460 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27462 wxPyEndAllowThreads(__tstate
);
27463 if (PyErr_Occurred()) SWIG_fail
;
27465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
27480 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27481 PyObject
*resultobj
;
27482 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27483 PyObject
*arg2
= (PyObject
*) 0 ;
27484 PyObject
*arg3
= (PyObject
*) 0 ;
27485 PyObject
* obj0
= 0 ;
27486 PyObject
* obj1
= 0 ;
27487 PyObject
* obj2
= 0 ;
27488 char *kwnames
[] = {
27489 (char *) "self",(char *) "self",(char *) "_class", NULL
27492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27499 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27501 wxPyEndAllowThreads(__tstate
);
27502 if (PyErr_Occurred()) SWIG_fail
;
27504 Py_INCREF(Py_None
); resultobj
= Py_None
;
27511 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27512 PyObject
*resultobj
;
27513 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27518 PyObject
* obj0
= 0 ;
27519 PyObject
* obj1
= 0 ;
27520 PyObject
* obj2
= 0 ;
27521 PyObject
* obj3
= 0 ;
27522 PyObject
* obj4
= 0 ;
27523 char *kwnames
[] = {
27524 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27530 arg2
= (int) SWIG_AsInt(obj1
);
27531 if (PyErr_Occurred()) SWIG_fail
;
27532 arg3
= (int) SWIG_AsInt(obj2
);
27533 if (PyErr_Occurred()) SWIG_fail
;
27534 arg4
= (int) SWIG_AsInt(obj3
);
27535 if (PyErr_Occurred()) SWIG_fail
;
27536 arg5
= (int) SWIG_AsInt(obj4
);
27537 if (PyErr_Occurred()) SWIG_fail
;
27539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27540 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
27542 wxPyEndAllowThreads(__tstate
);
27543 if (PyErr_Occurred()) SWIG_fail
;
27545 Py_INCREF(Py_None
); resultobj
= Py_None
;
27552 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27553 PyObject
*resultobj
;
27554 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27559 int arg6
= (int) wxSIZE_AUTO
;
27560 PyObject
* obj0
= 0 ;
27561 PyObject
* obj1
= 0 ;
27562 PyObject
* obj2
= 0 ;
27563 PyObject
* obj3
= 0 ;
27564 PyObject
* obj4
= 0 ;
27565 PyObject
* obj5
= 0 ;
27566 char *kwnames
[] = {
27567 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27573 arg2
= (int) SWIG_AsInt(obj1
);
27574 if (PyErr_Occurred()) SWIG_fail
;
27575 arg3
= (int) SWIG_AsInt(obj2
);
27576 if (PyErr_Occurred()) SWIG_fail
;
27577 arg4
= (int) SWIG_AsInt(obj3
);
27578 if (PyErr_Occurred()) SWIG_fail
;
27579 arg5
= (int) SWIG_AsInt(obj4
);
27580 if (PyErr_Occurred()) SWIG_fail
;
27582 arg6
= (int) SWIG_AsInt(obj5
);
27583 if (PyErr_Occurred()) SWIG_fail
;
27586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27587 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
27589 wxPyEndAllowThreads(__tstate
);
27590 if (PyErr_Occurred()) SWIG_fail
;
27592 Py_INCREF(Py_None
); resultobj
= Py_None
;
27599 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27600 PyObject
*resultobj
;
27601 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27604 PyObject
* obj0
= 0 ;
27605 PyObject
* obj1
= 0 ;
27606 PyObject
* obj2
= 0 ;
27607 char *kwnames
[] = {
27608 (char *) "self",(char *) "width",(char *) "height", NULL
27611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27614 arg2
= (int) SWIG_AsInt(obj1
);
27615 if (PyErr_Occurred()) SWIG_fail
;
27616 arg3
= (int) SWIG_AsInt(obj2
);
27617 if (PyErr_Occurred()) SWIG_fail
;
27619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27620 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
27622 wxPyEndAllowThreads(__tstate
);
27623 if (PyErr_Occurred()) SWIG_fail
;
27625 Py_INCREF(Py_None
); resultobj
= Py_None
;
27632 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27633 PyObject
*resultobj
;
27634 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27637 PyObject
* obj0
= 0 ;
27638 PyObject
* obj1
= 0 ;
27639 PyObject
* obj2
= 0 ;
27640 char *kwnames
[] = {
27641 (char *) "self",(char *) "x",(char *) "y", NULL
27644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27647 arg2
= (int) SWIG_AsInt(obj1
);
27648 if (PyErr_Occurred()) SWIG_fail
;
27649 arg3
= (int) SWIG_AsInt(obj2
);
27650 if (PyErr_Occurred()) SWIG_fail
;
27652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27653 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
27655 wxPyEndAllowThreads(__tstate
);
27656 if (PyErr_Occurred()) SWIG_fail
;
27658 Py_INCREF(Py_None
); resultobj
= Py_None
;
27665 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27666 PyObject
*resultobj
;
27667 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27668 int *arg2
= (int *) 0 ;
27669 int *arg3
= (int *) 0 ;
27672 PyObject
* obj0
= 0 ;
27673 char *kwnames
[] = {
27674 (char *) "self", NULL
27679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
27680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27684 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
27686 wxPyEndAllowThreads(__tstate
);
27687 if (PyErr_Occurred()) SWIG_fail
;
27689 Py_INCREF(Py_None
); resultobj
= Py_None
;
27691 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27692 resultobj
= t_output_helper(resultobj
,o
);
27695 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27696 resultobj
= t_output_helper(resultobj
,o
);
27704 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27705 PyObject
*resultobj
;
27706 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27707 int *arg2
= (int *) 0 ;
27708 int *arg3
= (int *) 0 ;
27711 PyObject
* obj0
= 0 ;
27712 char *kwnames
[] = {
27713 (char *) "self", NULL
27718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
27719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27723 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
27725 wxPyEndAllowThreads(__tstate
);
27726 if (PyErr_Occurred()) SWIG_fail
;
27728 Py_INCREF(Py_None
); resultobj
= Py_None
;
27730 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27731 resultobj
= t_output_helper(resultobj
,o
);
27734 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27735 resultobj
= t_output_helper(resultobj
,o
);
27743 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27744 PyObject
*resultobj
;
27745 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27746 int *arg2
= (int *) 0 ;
27747 int *arg3
= (int *) 0 ;
27750 PyObject
* obj0
= 0 ;
27751 char *kwnames
[] = {
27752 (char *) "self", NULL
27757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
27758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27762 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
27764 wxPyEndAllowThreads(__tstate
);
27765 if (PyErr_Occurred()) SWIG_fail
;
27767 Py_INCREF(Py_None
); resultobj
= Py_None
;
27769 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27770 resultobj
= t_output_helper(resultobj
,o
);
27773 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27774 resultobj
= t_output_helper(resultobj
,o
);
27782 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27783 PyObject
*resultobj
;
27784 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27786 PyObject
* obj0
= 0 ;
27787 char *kwnames
[] = {
27788 (char *) "self", NULL
27791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
27792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27796 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
27798 wxPyEndAllowThreads(__tstate
);
27799 if (PyErr_Occurred()) SWIG_fail
;
27802 wxSize
* resultptr
;
27803 resultptr
= new wxSize((wxSize
&) result
);
27804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27812 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27813 PyObject
*resultobj
;
27814 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27816 PyObject
* obj0
= 0 ;
27817 char *kwnames
[] = {
27818 (char *) "self", NULL
27821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
27822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27826 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
27828 wxPyEndAllowThreads(__tstate
);
27829 if (PyErr_Occurred()) SWIG_fail
;
27832 wxSize
* resultptr
;
27833 resultptr
= new wxSize((wxSize
&) result
);
27834 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27842 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27843 PyObject
*resultobj
;
27844 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27845 PyObject
* obj0
= 0 ;
27846 char *kwnames
[] = {
27847 (char *) "self", NULL
27850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
27851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27855 (arg1
)->base_InitDialog();
27857 wxPyEndAllowThreads(__tstate
);
27858 if (PyErr_Occurred()) SWIG_fail
;
27860 Py_INCREF(Py_None
); resultobj
= Py_None
;
27867 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27868 PyObject
*resultobj
;
27869 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27871 PyObject
* obj0
= 0 ;
27872 char *kwnames
[] = {
27873 (char *) "self", NULL
27876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
27877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27881 result
= (bool)(arg1
)->base_TransferDataToWindow();
27883 wxPyEndAllowThreads(__tstate
);
27884 if (PyErr_Occurred()) SWIG_fail
;
27886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27893 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27894 PyObject
*resultobj
;
27895 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27897 PyObject
* obj0
= 0 ;
27898 char *kwnames
[] = {
27899 (char *) "self", NULL
27902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
27903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27907 result
= (bool)(arg1
)->base_TransferDataFromWindow();
27909 wxPyEndAllowThreads(__tstate
);
27910 if (PyErr_Occurred()) SWIG_fail
;
27912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27919 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27920 PyObject
*resultobj
;
27921 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27923 PyObject
* obj0
= 0 ;
27924 char *kwnames
[] = {
27925 (char *) "self", NULL
27928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
27929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27933 result
= (bool)(arg1
)->base_Validate();
27935 wxPyEndAllowThreads(__tstate
);
27936 if (PyErr_Occurred()) SWIG_fail
;
27938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27945 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27946 PyObject
*resultobj
;
27947 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27949 PyObject
* obj0
= 0 ;
27950 char *kwnames
[] = {
27951 (char *) "self", NULL
27954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27959 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
27961 wxPyEndAllowThreads(__tstate
);
27962 if (PyErr_Occurred()) SWIG_fail
;
27964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27971 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27972 PyObject
*resultobj
;
27973 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27975 PyObject
* obj0
= 0 ;
27976 char *kwnames
[] = {
27977 (char *) "self", NULL
27980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27985 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
27987 wxPyEndAllowThreads(__tstate
);
27988 if (PyErr_Occurred()) SWIG_fail
;
27990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27997 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27998 PyObject
*resultobj
;
27999 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28001 PyObject
* obj0
= 0 ;
28002 char *kwnames
[] = {
28003 (char *) "self", NULL
28006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28011 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28013 wxPyEndAllowThreads(__tstate
);
28014 if (PyErr_Occurred()) SWIG_fail
;
28017 wxSize
* resultptr
;
28018 resultptr
= new wxSize((wxSize
&) result
);
28019 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28027 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28028 PyObject
*resultobj
;
28029 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28030 wxWindow
*arg2
= (wxWindow
*) 0 ;
28031 PyObject
* obj0
= 0 ;
28032 PyObject
* obj1
= 0 ;
28033 char *kwnames
[] = {
28034 (char *) "self",(char *) "child", NULL
28037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28044 (arg1
)->base_AddChild(arg2
);
28046 wxPyEndAllowThreads(__tstate
);
28047 if (PyErr_Occurred()) SWIG_fail
;
28049 Py_INCREF(Py_None
); resultobj
= Py_None
;
28056 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28057 PyObject
*resultobj
;
28058 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28059 wxWindow
*arg2
= (wxWindow
*) 0 ;
28060 PyObject
* obj0
= 0 ;
28061 PyObject
* obj1
= 0 ;
28062 char *kwnames
[] = {
28063 (char *) "self",(char *) "child", NULL
28066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28069 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28073 (arg1
)->base_RemoveChild(arg2
);
28075 wxPyEndAllowThreads(__tstate
);
28076 if (PyErr_Occurred()) SWIG_fail
;
28078 Py_INCREF(Py_None
); resultobj
= Py_None
;
28085 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
28087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28088 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28090 return Py_BuildValue((char *)"");
28092 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28093 PyObject
*resultobj
;
28094 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28095 int arg2
= (int) 0 ;
28096 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28097 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28098 wxHelpEvent
*result
;
28100 PyObject
* obj0
= 0 ;
28101 PyObject
* obj1
= 0 ;
28102 PyObject
* obj2
= 0 ;
28103 char *kwnames
[] = {
28104 (char *) "type",(char *) "winid",(char *) "pt", NULL
28107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28109 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
28110 if (PyErr_Occurred()) SWIG_fail
;
28113 arg2
= (int) SWIG_AsInt(obj1
);
28114 if (PyErr_Occurred()) SWIG_fail
;
28119 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28124 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28126 wxPyEndAllowThreads(__tstate
);
28127 if (PyErr_Occurred()) SWIG_fail
;
28129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
28136 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28137 PyObject
*resultobj
;
28138 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28140 PyObject
* obj0
= 0 ;
28141 char *kwnames
[] = {
28142 (char *) "self", NULL
28145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28150 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28152 wxPyEndAllowThreads(__tstate
);
28153 if (PyErr_Occurred()) SWIG_fail
;
28156 wxPoint
* resultptr
;
28157 resultptr
= new wxPoint((wxPoint
&) result
);
28158 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28166 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28167 PyObject
*resultobj
;
28168 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28169 wxPoint
*arg2
= 0 ;
28171 PyObject
* obj0
= 0 ;
28172 PyObject
* obj1
= 0 ;
28173 char *kwnames
[] = {
28174 (char *) "self",(char *) "pos", NULL
28177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28182 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28186 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28188 wxPyEndAllowThreads(__tstate
);
28189 if (PyErr_Occurred()) SWIG_fail
;
28191 Py_INCREF(Py_None
); resultobj
= Py_None
;
28198 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28199 PyObject
*resultobj
;
28200 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28202 PyObject
* obj0
= 0 ;
28203 char *kwnames
[] = {
28204 (char *) "self", NULL
28207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28213 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
28214 result
= (wxString
*) &_result_ref
;
28217 wxPyEndAllowThreads(__tstate
);
28218 if (PyErr_Occurred()) SWIG_fail
;
28222 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28224 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28233 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28234 PyObject
*resultobj
;
28235 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28236 wxString
*arg2
= 0 ;
28237 bool temp2
= False
;
28238 PyObject
* obj0
= 0 ;
28239 PyObject
* obj1
= 0 ;
28240 char *kwnames
[] = {
28241 (char *) "self",(char *) "link", NULL
28244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
28245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28248 arg2
= wxString_in_helper(obj1
);
28249 if (arg2
== NULL
) SWIG_fail
;
28253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28254 (arg1
)->SetLink((wxString
const &)*arg2
);
28256 wxPyEndAllowThreads(__tstate
);
28257 if (PyErr_Occurred()) SWIG_fail
;
28259 Py_INCREF(Py_None
); resultobj
= Py_None
;
28274 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28275 PyObject
*resultobj
;
28276 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28278 PyObject
* obj0
= 0 ;
28279 char *kwnames
[] = {
28280 (char *) "self", NULL
28283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
28284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28289 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
28290 result
= (wxString
*) &_result_ref
;
28293 wxPyEndAllowThreads(__tstate
);
28294 if (PyErr_Occurred()) SWIG_fail
;
28298 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28300 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28309 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28310 PyObject
*resultobj
;
28311 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28312 wxString
*arg2
= 0 ;
28313 bool temp2
= False
;
28314 PyObject
* obj0
= 0 ;
28315 PyObject
* obj1
= 0 ;
28316 char *kwnames
[] = {
28317 (char *) "self",(char *) "target", NULL
28320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28324 arg2
= wxString_in_helper(obj1
);
28325 if (arg2
== NULL
) SWIG_fail
;
28329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28330 (arg1
)->SetTarget((wxString
const &)*arg2
);
28332 wxPyEndAllowThreads(__tstate
);
28333 if (PyErr_Occurred()) SWIG_fail
;
28335 Py_INCREF(Py_None
); resultobj
= Py_None
;
28350 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
28352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28353 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
28355 return Py_BuildValue((char *)"");
28357 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28358 PyObject
*resultobj
;
28359 wxWindow
*arg1
= (wxWindow
*) NULL
;
28360 bool arg2
= (bool) True
;
28361 wxContextHelp
*result
;
28362 PyObject
* obj0
= 0 ;
28363 PyObject
* obj1
= 0 ;
28364 char *kwnames
[] = {
28365 (char *) "window",(char *) "doNow", NULL
28368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28374 arg2
= (bool) SWIG_AsBool(obj1
);
28375 if (PyErr_Occurred()) SWIG_fail
;
28378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28379 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
28381 wxPyEndAllowThreads(__tstate
);
28382 if (PyErr_Occurred()) SWIG_fail
;
28384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
28391 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28392 PyObject
*resultobj
;
28393 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28394 PyObject
* obj0
= 0 ;
28395 char *kwnames
[] = {
28396 (char *) "self", NULL
28399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
28400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28406 wxPyEndAllowThreads(__tstate
);
28407 if (PyErr_Occurred()) SWIG_fail
;
28409 Py_INCREF(Py_None
); resultobj
= Py_None
;
28416 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28417 PyObject
*resultobj
;
28418 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28419 wxWindow
*arg2
= (wxWindow
*) NULL
;
28421 PyObject
* obj0
= 0 ;
28422 PyObject
* obj1
= 0 ;
28423 char *kwnames
[] = {
28424 (char *) "self",(char *) "window", NULL
28427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28429 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
;
28435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28436 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
28438 wxPyEndAllowThreads(__tstate
);
28439 if (PyErr_Occurred()) SWIG_fail
;
28441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28448 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28449 PyObject
*resultobj
;
28450 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28452 PyObject
* obj0
= 0 ;
28453 char *kwnames
[] = {
28454 (char *) "self", NULL
28457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
28458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28462 result
= (bool)(arg1
)->EndContextHelp();
28464 wxPyEndAllowThreads(__tstate
);
28465 if (PyErr_Occurred()) SWIG_fail
;
28467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28474 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
28476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28477 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
28479 return Py_BuildValue((char *)"");
28481 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28482 PyObject
*resultobj
;
28483 wxWindow
*arg1
= (wxWindow
*) 0 ;
28484 int arg2
= (int) wxID_CONTEXT_HELP
;
28485 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28486 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28487 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28488 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28489 long arg5
= (long) wxBU_AUTODRAW
;
28490 wxContextHelpButton
*result
;
28493 PyObject
* obj0
= 0 ;
28494 PyObject
* obj1
= 0 ;
28495 PyObject
* obj2
= 0 ;
28496 PyObject
* obj3
= 0 ;
28497 PyObject
* obj4
= 0 ;
28498 char *kwnames
[] = {
28499 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28506 arg2
= (int) SWIG_AsInt(obj1
);
28507 if (PyErr_Occurred()) SWIG_fail
;
28512 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28518 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28522 arg5
= (long) SWIG_AsLong(obj4
);
28523 if (PyErr_Occurred()) SWIG_fail
;
28526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28527 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28529 wxPyEndAllowThreads(__tstate
);
28530 if (PyErr_Occurred()) SWIG_fail
;
28532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
28539 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
28541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28542 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
28544 return Py_BuildValue((char *)"");
28546 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28547 PyObject
*resultobj
;
28548 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28549 wxHelpProvider
*result
;
28550 PyObject
* obj0
= 0 ;
28551 char *kwnames
[] = {
28552 (char *) "helpProvider", NULL
28555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
28556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28560 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
28562 wxPyEndAllowThreads(__tstate
);
28563 if (PyErr_Occurred()) SWIG_fail
;
28565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
28572 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28573 PyObject
*resultobj
;
28574 wxHelpProvider
*result
;
28575 char *kwnames
[] = {
28579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
28581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28582 result
= (wxHelpProvider
*)wxHelpProvider::Get();
28584 wxPyEndAllowThreads(__tstate
);
28585 if (PyErr_Occurred()) SWIG_fail
;
28587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
28594 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28595 PyObject
*resultobj
;
28596 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28597 wxWindow
*arg2
= (wxWindow
*) 0 ;
28599 PyObject
* obj0
= 0 ;
28600 PyObject
* obj1
= 0 ;
28601 char *kwnames
[] = {
28602 (char *) "self",(char *) "window", NULL
28605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28612 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
28614 wxPyEndAllowThreads(__tstate
);
28615 if (PyErr_Occurred()) SWIG_fail
;
28619 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28621 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28630 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28631 PyObject
*resultobj
;
28632 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28633 wxWindow
*arg2
= (wxWindow
*) 0 ;
28635 PyObject
* obj0
= 0 ;
28636 PyObject
* obj1
= 0 ;
28637 char *kwnames
[] = {
28638 (char *) "self",(char *) "window", NULL
28641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28648 result
= (bool)(arg1
)->ShowHelp(arg2
);
28650 wxPyEndAllowThreads(__tstate
);
28651 if (PyErr_Occurred()) SWIG_fail
;
28653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28660 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28661 PyObject
*resultobj
;
28662 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28663 wxWindow
*arg2
= (wxWindow
*) 0 ;
28664 wxString
*arg3
= 0 ;
28665 bool temp3
= False
;
28666 PyObject
* obj0
= 0 ;
28667 PyObject
* obj1
= 0 ;
28668 PyObject
* obj2
= 0 ;
28669 char *kwnames
[] = {
28670 (char *) "self",(char *) "window",(char *) "text", NULL
28673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28679 arg3
= wxString_in_helper(obj2
);
28680 if (arg3
== NULL
) SWIG_fail
;
28684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28685 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28687 wxPyEndAllowThreads(__tstate
);
28688 if (PyErr_Occurred()) SWIG_fail
;
28690 Py_INCREF(Py_None
); resultobj
= Py_None
;
28705 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28706 PyObject
*resultobj
;
28707 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28709 wxString
*arg3
= 0 ;
28710 bool temp3
= False
;
28711 PyObject
* obj0
= 0 ;
28712 PyObject
* obj1
= 0 ;
28713 PyObject
* obj2
= 0 ;
28714 char *kwnames
[] = {
28715 (char *) "self",(char *) "id",(char *) "text", NULL
28718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28721 arg2
= (int) SWIG_AsInt(obj1
);
28722 if (PyErr_Occurred()) SWIG_fail
;
28724 arg3
= wxString_in_helper(obj2
);
28725 if (arg3
== NULL
) SWIG_fail
;
28729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28730 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28732 wxPyEndAllowThreads(__tstate
);
28733 if (PyErr_Occurred()) SWIG_fail
;
28735 Py_INCREF(Py_None
); resultobj
= Py_None
;
28750 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28751 PyObject
*resultobj
;
28752 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28753 wxWindow
*arg2
= (wxWindow
*) 0 ;
28754 PyObject
* obj0
= 0 ;
28755 PyObject
* obj1
= 0 ;
28756 char *kwnames
[] = {
28757 (char *) "self",(char *) "window", NULL
28760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28767 (arg1
)->RemoveHelp(arg2
);
28769 wxPyEndAllowThreads(__tstate
);
28770 if (PyErr_Occurred()) SWIG_fail
;
28772 Py_INCREF(Py_None
); resultobj
= Py_None
;
28779 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28780 PyObject
*resultobj
;
28781 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28782 PyObject
* obj0
= 0 ;
28783 char *kwnames
[] = {
28784 (char *) "self", NULL
28787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
28788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28792 wxHelpProvider_Destroy(arg1
);
28794 wxPyEndAllowThreads(__tstate
);
28795 if (PyErr_Occurred()) SWIG_fail
;
28797 Py_INCREF(Py_None
); resultobj
= Py_None
;
28804 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
28806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28807 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
28809 return Py_BuildValue((char *)"");
28811 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28812 PyObject
*resultobj
;
28813 wxSimpleHelpProvider
*result
;
28814 char *kwnames
[] = {
28818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
28820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28821 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
28823 wxPyEndAllowThreads(__tstate
);
28824 if (PyErr_Occurred()) SWIG_fail
;
28826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
28833 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
28835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28836 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
28838 return Py_BuildValue((char *)"");
28840 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28841 PyObject
*resultobj
;
28842 wxBitmap
*arg1
= 0 ;
28843 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28844 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28845 wxGenericDragImage
*result
;
28846 PyObject
* obj0
= 0 ;
28847 PyObject
* obj1
= 0 ;
28848 char *kwnames
[] = {
28849 (char *) "image",(char *) "cursor", NULL
28852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
28853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
28854 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28856 if (arg1
== NULL
) {
28857 PyErr_SetString(PyExc_TypeError
,"null reference");
28861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
28862 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28864 if (arg2
== NULL
) {
28865 PyErr_SetString(PyExc_TypeError
,"null reference");
28870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28871 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
28873 wxPyEndAllowThreads(__tstate
);
28874 if (PyErr_Occurred()) SWIG_fail
;
28876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
28883 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28884 PyObject
*resultobj
;
28886 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28887 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28888 wxGenericDragImage
*result
;
28889 PyObject
* obj0
= 0 ;
28890 PyObject
* obj1
= 0 ;
28891 char *kwnames
[] = {
28892 (char *) "image",(char *) "cursor", NULL
28895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
28896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
28897 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28899 if (arg1
== NULL
) {
28900 PyErr_SetString(PyExc_TypeError
,"null reference");
28904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
28905 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28907 if (arg2
== NULL
) {
28908 PyErr_SetString(PyExc_TypeError
,"null reference");
28913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28914 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
28916 wxPyEndAllowThreads(__tstate
);
28917 if (PyErr_Occurred()) SWIG_fail
;
28919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
28926 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28927 PyObject
*resultobj
;
28928 wxString
*arg1
= 0 ;
28929 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28930 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28931 wxGenericDragImage
*result
;
28932 bool temp1
= False
;
28933 PyObject
* obj0
= 0 ;
28934 PyObject
* obj1
= 0 ;
28935 char *kwnames
[] = {
28936 (char *) "str",(char *) "cursor", NULL
28939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
28941 arg1
= wxString_in_helper(obj0
);
28942 if (arg1
== NULL
) SWIG_fail
;
28946 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
28947 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28949 if (arg2
== NULL
) {
28950 PyErr_SetString(PyExc_TypeError
,"null reference");
28955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28956 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
28958 wxPyEndAllowThreads(__tstate
);
28959 if (PyErr_Occurred()) SWIG_fail
;
28961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
28976 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28977 PyObject
*resultobj
;
28978 wxPyTreeCtrl
*arg1
= 0 ;
28979 wxTreeItemId
*arg2
= 0 ;
28980 wxGenericDragImage
*result
;
28981 PyObject
* obj0
= 0 ;
28982 PyObject
* obj1
= 0 ;
28983 char *kwnames
[] = {
28984 (char *) "treeCtrl",(char *) "id", NULL
28987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28989 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28991 if (arg1
== NULL
) {
28992 PyErr_SetString(PyExc_TypeError
,"null reference");
28995 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28996 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28998 if (arg2
== NULL
) {
28999 PyErr_SetString(PyExc_TypeError
,"null reference");
29003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29004 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
29006 wxPyEndAllowThreads(__tstate
);
29007 if (PyErr_Occurred()) SWIG_fail
;
29009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29016 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29017 PyObject
*resultobj
;
29018 wxPyListCtrl
*arg1
= 0 ;
29020 wxGenericDragImage
*result
;
29021 PyObject
* obj0
= 0 ;
29022 PyObject
* obj1
= 0 ;
29023 char *kwnames
[] = {
29024 (char *) "listCtrl",(char *) "id", NULL
29027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
29029 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29031 if (arg1
== NULL
) {
29032 PyErr_SetString(PyExc_TypeError
,"null reference");
29035 arg2
= (long) SWIG_AsLong(obj1
);
29036 if (PyErr_Occurred()) SWIG_fail
;
29038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29039 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
29041 wxPyEndAllowThreads(__tstate
);
29042 if (PyErr_Occurred()) SWIG_fail
;
29044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29051 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29052 PyObject
*resultobj
;
29053 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29054 PyObject
* obj0
= 0 ;
29055 char *kwnames
[] = {
29056 (char *) "self", NULL
29059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
29060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29066 wxPyEndAllowThreads(__tstate
);
29067 if (PyErr_Occurred()) SWIG_fail
;
29069 Py_INCREF(Py_None
); resultobj
= Py_None
;
29076 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29077 PyObject
*resultobj
;
29078 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29079 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29080 PyObject
* obj0
= 0 ;
29081 PyObject
* obj1
= 0 ;
29082 char *kwnames
[] = {
29083 (char *) "self",(char *) "bitmap", NULL
29086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
29090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29093 (arg1
)->SetBackingBitmap(arg2
);
29095 wxPyEndAllowThreads(__tstate
);
29096 if (PyErr_Occurred()) SWIG_fail
;
29098 Py_INCREF(Py_None
); resultobj
= Py_None
;
29105 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29106 PyObject
*resultobj
;
29107 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29108 wxPoint
*arg2
= 0 ;
29109 wxWindow
*arg3
= (wxWindow
*) 0 ;
29110 bool arg4
= (bool) False
;
29111 wxRect
*arg5
= (wxRect
*) NULL
;
29114 PyObject
* obj0
= 0 ;
29115 PyObject
* obj1
= 0 ;
29116 PyObject
* obj2
= 0 ;
29117 PyObject
* obj3
= 0 ;
29118 PyObject
* obj4
= 0 ;
29119 char *kwnames
[] = {
29120 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29128 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29130 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29133 arg4
= (bool) SWIG_AsBool(obj3
);
29134 if (PyErr_Occurred()) SWIG_fail
;
29137 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
29138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29142 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
29144 wxPyEndAllowThreads(__tstate
);
29145 if (PyErr_Occurred()) SWIG_fail
;
29147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29154 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29155 PyObject
*resultobj
;
29156 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29157 wxPoint
*arg2
= 0 ;
29158 wxWindow
*arg3
= (wxWindow
*) 0 ;
29159 wxWindow
*arg4
= (wxWindow
*) 0 ;
29162 PyObject
* obj0
= 0 ;
29163 PyObject
* obj1
= 0 ;
29164 PyObject
* obj2
= 0 ;
29165 PyObject
* obj3
= 0 ;
29166 char *kwnames
[] = {
29167 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29175 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29177 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29179 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
29180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29183 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29185 wxPyEndAllowThreads(__tstate
);
29186 if (PyErr_Occurred()) SWIG_fail
;
29188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29195 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29196 PyObject
*resultobj
;
29197 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29199 PyObject
* obj0
= 0 ;
29200 char *kwnames
[] = {
29201 (char *) "self", NULL
29204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
29205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29209 result
= (bool)(arg1
)->EndDrag();
29211 wxPyEndAllowThreads(__tstate
);
29212 if (PyErr_Occurred()) SWIG_fail
;
29214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29221 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29222 PyObject
*resultobj
;
29223 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29224 wxPoint
*arg2
= 0 ;
29227 PyObject
* obj0
= 0 ;
29228 PyObject
* obj1
= 0 ;
29229 char *kwnames
[] = {
29230 (char *) "self",(char *) "pt", NULL
29233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
29234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29238 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29242 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
29244 wxPyEndAllowThreads(__tstate
);
29245 if (PyErr_Occurred()) SWIG_fail
;
29247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29254 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29255 PyObject
*resultobj
;
29256 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29258 PyObject
* obj0
= 0 ;
29259 char *kwnames
[] = {
29260 (char *) "self", NULL
29263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
29264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29268 result
= (bool)(arg1
)->Show();
29270 wxPyEndAllowThreads(__tstate
);
29271 if (PyErr_Occurred()) SWIG_fail
;
29273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29280 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29281 PyObject
*resultobj
;
29282 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29284 PyObject
* obj0
= 0 ;
29285 char *kwnames
[] = {
29286 (char *) "self", NULL
29289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
29290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29294 result
= (bool)(arg1
)->Hide();
29296 wxPyEndAllowThreads(__tstate
);
29297 if (PyErr_Occurred()) SWIG_fail
;
29299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29306 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29307 PyObject
*resultobj
;
29308 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29309 wxPoint
*arg2
= 0 ;
29312 PyObject
* obj0
= 0 ;
29313 PyObject
* obj1
= 0 ;
29314 char *kwnames
[] = {
29315 (char *) "self",(char *) "pos", NULL
29318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29323 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29327 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
29329 wxPyEndAllowThreads(__tstate
);
29330 if (PyErr_Occurred()) SWIG_fail
;
29333 wxRect
* resultptr
;
29334 resultptr
= new wxRect((wxRect
&) result
);
29335 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29343 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29344 PyObject
*resultobj
;
29345 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29347 wxPoint
*arg3
= 0 ;
29350 PyObject
* obj0
= 0 ;
29351 PyObject
* obj1
= 0 ;
29352 PyObject
* obj2
= 0 ;
29353 char *kwnames
[] = {
29354 (char *) "self",(char *) "dc",(char *) "pos", NULL
29357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29360 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29361 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29363 if (arg2
== NULL
) {
29364 PyErr_SetString(PyExc_TypeError
,"null reference");
29369 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29373 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
29375 wxPyEndAllowThreads(__tstate
);
29376 if (PyErr_Occurred()) SWIG_fail
;
29378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29385 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29386 PyObject
*resultobj
;
29387 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29389 wxMemoryDC
*arg3
= 0 ;
29395 PyObject
* obj0
= 0 ;
29396 PyObject
* obj1
= 0 ;
29397 PyObject
* obj2
= 0 ;
29398 PyObject
* obj3
= 0 ;
29399 PyObject
* obj4
= 0 ;
29400 char *kwnames
[] = {
29401 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29408 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29410 if (arg2
== NULL
) {
29411 PyErr_SetString(PyExc_TypeError
,"null reference");
29414 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
29415 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29417 if (arg3
== NULL
) {
29418 PyErr_SetString(PyExc_TypeError
,"null reference");
29423 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29427 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
29430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29431 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
29433 wxPyEndAllowThreads(__tstate
);
29434 if (PyErr_Occurred()) SWIG_fail
;
29436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29443 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29444 PyObject
*resultobj
;
29445 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29446 wxPoint
*arg2
= 0 ;
29447 wxPoint
*arg3
= 0 ;
29453 PyObject
* obj0
= 0 ;
29454 PyObject
* obj1
= 0 ;
29455 PyObject
* obj2
= 0 ;
29456 PyObject
* obj3
= 0 ;
29457 PyObject
* obj4
= 0 ;
29458 char *kwnames
[] = {
29459 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29467 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29471 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29473 arg4
= (bool) SWIG_AsBool(obj3
);
29474 if (PyErr_Occurred()) SWIG_fail
;
29475 arg5
= (bool) SWIG_AsBool(obj4
);
29476 if (PyErr_Occurred()) SWIG_fail
;
29478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29479 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
29481 wxPyEndAllowThreads(__tstate
);
29482 if (PyErr_Occurred()) SWIG_fail
;
29484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29491 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
29493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29494 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
29496 return Py_BuildValue((char *)"");
29498 static PyMethodDef SwigMethods
[] = {
29499 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29500 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29501 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29502 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29503 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29504 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
29505 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29506 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29507 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29508 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29509 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29510 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29511 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29512 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29513 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29514 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29515 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29516 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29517 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29518 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29519 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
29520 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29521 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29522 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29523 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29524 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29525 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29526 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29527 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29528 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29529 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29530 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
29531 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29532 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29533 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29534 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29535 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29536 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29537 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
29538 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29539 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29540 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29541 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29542 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29543 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29544 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29545 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29546 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29547 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29548 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29549 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29550 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29551 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29552 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29553 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29554 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29555 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
29556 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29557 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29558 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29559 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29560 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29561 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29562 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29563 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29564 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29565 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29566 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29567 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29568 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
29569 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29570 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29571 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29572 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
29573 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29574 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29575 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29576 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29577 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29578 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
29579 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29580 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29581 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29582 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
29583 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29584 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29585 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29586 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29587 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29588 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29589 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
29590 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29591 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29592 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29593 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29594 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29595 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29596 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29597 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29598 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29599 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29600 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29601 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29602 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29603 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29604 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29605 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29606 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29607 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29608 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29609 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29610 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29611 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
29612 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29613 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29614 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29615 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29616 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29617 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29618 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29619 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
29620 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
, NULL
},
29621 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29622 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29623 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29624 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29625 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29626 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29627 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29628 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29629 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29630 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29631 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29632 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29633 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29634 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29635 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29636 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29637 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29638 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29639 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29640 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29641 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29642 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29643 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29644 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29645 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29646 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29647 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29648 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29649 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
29650 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29651 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29652 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29653 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29654 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29655 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29656 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29657 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29658 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29659 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29660 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29661 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29662 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29663 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29664 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29665 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29666 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29667 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29668 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29669 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29670 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29671 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29672 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29673 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29674 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29675 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29676 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29677 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29678 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29679 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29680 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29681 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29682 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29683 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29684 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29685 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29686 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29687 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29688 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29689 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29690 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29691 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29692 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29693 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29694 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29695 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29696 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29697 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29698 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29699 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29700 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29701 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29702 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29703 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
29704 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29705 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29706 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29707 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29708 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
29709 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29710 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29711 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29712 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29713 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29714 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29715 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29716 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29717 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29718 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29719 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
29720 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29721 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29722 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29723 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29724 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29725 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29726 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29727 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29728 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29729 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29730 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29731 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
29732 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29733 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29734 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29735 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29736 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29737 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29738 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29739 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29740 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29741 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29742 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
29743 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29744 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29745 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29746 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
29747 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29748 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29749 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29750 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29751 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29752 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29753 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29754 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29755 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29756 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29757 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29758 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29759 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29760 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29761 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29762 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29763 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
29764 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29765 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29766 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29767 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29768 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29769 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
29770 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29771 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29772 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29773 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29774 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29775 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29776 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29777 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29778 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29779 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29780 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29781 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29782 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29783 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29784 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29785 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29786 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29787 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29788 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29789 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29790 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29791 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29792 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29793 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29794 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
29795 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29796 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29797 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
29798 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29799 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29800 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29801 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29802 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29803 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29804 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29805 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29806 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29807 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29808 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29809 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29810 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29811 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29812 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29813 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29814 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29815 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29816 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29817 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
, NULL
},
29818 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29819 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29820 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29821 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29822 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29823 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
, NULL
},
29824 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29825 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29826 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29827 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29828 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29829 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29830 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29831 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29832 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
29833 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29834 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
29835 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29836 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29837 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29838 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29839 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
29840 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29841 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
29842 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29843 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29844 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29845 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29846 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
29847 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29848 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29849 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29850 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29851 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
29852 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29853 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29854 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29855 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29856 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29857 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29858 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29859 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29860 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29861 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29862 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29863 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29864 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29865 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29866 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29867 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29868 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29869 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29870 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29871 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29872 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29873 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29874 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29875 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29876 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29877 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29878 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29879 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29880 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29881 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
29882 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29883 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29884 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29885 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29886 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29887 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29888 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29889 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29890 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29891 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29892 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29893 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29894 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29895 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29896 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29897 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29898 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29899 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29900 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29901 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29902 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29903 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29904 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29905 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29906 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29907 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29908 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29909 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29910 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29911 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29912 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29913 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29914 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29915 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29916 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29917 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29918 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29919 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29920 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29921 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29922 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29923 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29924 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29925 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29926 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
29927 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29928 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29929 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29930 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29931 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
29932 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29933 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29934 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29935 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29936 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29937 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29938 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29939 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29940 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29941 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29942 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29943 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
29944 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29945 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29946 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29947 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29948 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29949 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29950 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29951 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29952 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29953 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29954 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29955 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29956 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29957 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29958 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29959 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29960 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29961 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29962 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29963 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29964 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29965 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29966 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29967 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29968 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29969 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29970 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29971 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29972 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29973 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29974 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29975 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29976 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29977 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29978 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29979 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29980 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29981 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29982 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29983 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29984 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29985 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29986 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29987 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29988 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29989 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29990 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29991 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29992 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29993 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29994 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29995 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
29996 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29997 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29998 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29999 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30000 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30001 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30002 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30003 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30004 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30005 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30006 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30007 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30008 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30009 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30010 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30011 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30012 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30013 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30014 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30015 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30016 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30017 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30018 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30019 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30020 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30021 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30022 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
30023 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30024 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30025 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30026 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30027 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30028 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30029 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30030 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30031 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30032 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30033 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30034 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30035 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30036 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30037 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30038 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30039 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30040 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30041 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30042 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30043 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30044 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30045 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30046 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30047 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30048 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30049 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30050 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30051 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30052 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30053 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30054 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30055 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30056 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30057 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30058 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30059 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30060 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30061 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30062 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30063 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30064 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30065 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30066 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30067 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30068 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30069 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30070 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30071 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30072 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30073 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30074 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30075 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30076 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30077 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30078 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30079 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30080 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30081 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30082 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30083 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30084 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30085 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30086 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30087 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30088 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30089 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30090 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30091 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30092 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
30093 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30094 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30095 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30096 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30097 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30098 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30099 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30100 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30101 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30102 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30103 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30104 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
30105 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30106 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30107 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30108 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30109 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30110 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30111 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30112 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
30113 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30114 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30115 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30116 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30117 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30118 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30119 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
30120 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30121 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30122 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30123 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30124 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30125 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30126 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30127 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30128 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30129 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30130 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30131 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30132 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30133 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30134 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30135 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
30136 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30137 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30138 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30139 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30140 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30141 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30142 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30143 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30144 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30145 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30146 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30147 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30148 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30149 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30150 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30151 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30152 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30153 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30154 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30155 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30156 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30157 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30158 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30159 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30160 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30161 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30162 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30163 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30164 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30165 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30166 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30167 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30168 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30169 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30170 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30171 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30172 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30173 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30174 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30175 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30176 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30177 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30178 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30179 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30180 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30181 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30182 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30183 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30184 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30185 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30186 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30187 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30188 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30189 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30190 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30191 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30192 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30193 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30194 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30195 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30196 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30197 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30198 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30199 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30200 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30201 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30202 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30203 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30204 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30205 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30206 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30207 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30208 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30209 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
30210 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30211 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30212 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30213 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30214 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30215 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30216 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30217 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30218 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30219 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30220 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30221 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30222 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30223 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30224 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30225 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30226 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30227 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30228 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30229 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30230 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30231 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
30232 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30233 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30234 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30235 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30236 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
30237 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30238 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30239 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30240 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30241 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30242 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30243 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30244 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30245 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30246 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30247 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30248 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30249 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30250 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30251 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30252 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30253 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30254 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30255 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30256 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30257 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
30258 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30259 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30260 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30261 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30262 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30263 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30264 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30265 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
30266 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30267 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30268 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30269 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30270 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
30271 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30272 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
30273 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30274 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30275 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30276 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30277 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30278 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30279 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30280 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30281 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
30282 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30283 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
30284 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30285 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30286 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30287 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30288 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30289 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30290 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30291 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30292 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30293 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30294 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30295 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30296 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30297 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30298 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30299 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30300 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30301 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
30302 { NULL
, NULL
, 0, NULL
}
30306 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30308 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
30309 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30311 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
30312 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30314 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
30315 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
30317 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
30318 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30320 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
30321 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30323 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
30324 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
30326 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
30327 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30329 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
30330 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
30332 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
30333 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
30335 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
30336 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
30338 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
30339 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30341 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
30342 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
30344 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
30345 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
30347 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
30348 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
30350 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
30351 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
30353 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
30354 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30356 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
30357 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
30359 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
30360 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
30362 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
30363 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
30365 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
30366 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30368 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
30369 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30371 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
30372 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
30374 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
30375 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30377 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
30378 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30380 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
30381 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30383 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
30384 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30386 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
30387 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
30389 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
30390 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
30392 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
30393 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30395 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
30396 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30398 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
30399 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
30401 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
30402 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
30404 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
30405 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
30407 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
30408 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
30410 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
30411 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30413 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30414 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30416 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30417 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30419 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30420 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30422 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30423 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30425 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30426 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30428 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30429 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30431 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30432 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30434 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30435 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30437 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30438 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30440 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30441 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30443 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30444 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30446 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30447 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30449 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30450 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30452 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30453 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30455 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30456 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30458 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30459 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30461 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30462 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30464 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
30465 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30467 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
30468 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
30470 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
30471 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30473 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
30474 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30476 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
30477 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
30479 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
30480 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30482 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
30483 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30485 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
30486 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
30488 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
30489 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30491 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
30492 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30494 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
30495 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30497 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
30498 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
30500 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
30501 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
30503 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
30504 return (void *)((wxControl
*) ((wxComboBox
*) x
));
30506 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
30507 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
30509 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
30510 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
30512 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
30513 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
30515 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
30516 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
30518 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
30519 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30521 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
30522 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
30524 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
30525 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
30527 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
30528 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
30530 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
30531 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
30533 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
30534 return (void *)((wxControl
*) ((wxGauge
*) x
));
30536 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
30537 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
30539 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
30540 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
30542 static void *_p_wxButtonTo_p_wxControl(void *x
) {
30543 return (void *)((wxControl
*) ((wxButton
*) x
));
30545 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
30546 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
30548 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
30549 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30551 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
30552 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
30554 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
30555 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
30557 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
30558 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
30560 static void *_p_wxListbookTo_p_wxControl(void *x
) {
30561 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
30563 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
30564 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
30566 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
30567 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
30569 static void *_p_wxListViewTo_p_wxControl(void *x
) {
30570 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
30572 static void *_p_wxSliderTo_p_wxControl(void *x
) {
30573 return (void *)((wxControl
*) ((wxSlider
*) x
));
30575 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
30576 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
30578 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
30579 return (void *)((wxControl
*) ((wxPyControl
*) x
));
30581 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
30582 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
30584 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
30585 return (void *)((wxControl
*) ((wxStaticText
*) x
));
30587 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
30588 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
30590 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
30591 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30593 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
30594 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30596 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
30597 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30599 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
30600 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
30602 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
30603 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30605 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
30606 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30608 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
30609 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30611 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
30612 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30614 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30615 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30617 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30618 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30620 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30621 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
30623 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
30624 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30626 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
30627 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
30629 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
30630 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30632 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
30633 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30635 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
30636 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
30638 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
30639 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
30641 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
30642 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30644 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
30645 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30647 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
30648 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
30650 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
30651 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30653 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
30654 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30656 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
30657 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
30659 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
30660 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30662 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
30663 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30665 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
30666 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30668 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
30669 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30671 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
30672 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30674 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
30675 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30677 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
30678 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30680 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
30681 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30683 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
30684 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30686 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
30687 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30689 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
30690 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30692 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
30693 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30695 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
30696 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30698 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
30699 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30701 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
30702 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30704 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
30705 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30707 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
30708 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30710 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
30711 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30713 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
30714 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30716 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
30717 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30719 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
30720 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30722 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
30723 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30725 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
30726 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30728 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
30729 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30731 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
30732 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
30734 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
30735 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
30737 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
30738 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
30740 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
30741 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
30743 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
30744 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30746 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
30747 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30749 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
30750 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
30752 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
30753 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
30755 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
30756 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
30758 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
30759 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
30761 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
30762 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
30764 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
30765 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
30767 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
30768 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30770 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
30771 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30773 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
30774 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30776 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
30777 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
30779 static void *_p_wxSizerTo_p_wxObject(void *x
) {
30780 return (void *)((wxObject
*) ((wxSizer
*) x
));
30782 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
30783 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30785 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
30786 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30788 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
30789 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30791 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
30792 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30794 static void *_p_wxEventTo_p_wxObject(void *x
) {
30795 return (void *)((wxObject
*) ((wxEvent
*) x
));
30797 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
30798 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30800 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
30801 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
30803 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
30804 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
30806 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
30807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30809 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
30810 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30812 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
30813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30815 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
30816 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
30818 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
30819 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
30821 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
30822 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30824 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
30825 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30827 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
30828 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30830 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
30831 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30833 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
30834 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30836 static void *_p_wxControlTo_p_wxObject(void *x
) {
30837 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
30839 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
30840 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30842 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
30843 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30845 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
30846 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30848 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
30849 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30851 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
30852 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30854 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
30855 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
30857 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
30858 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30860 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
30861 return (void *)((wxObject
*) ((wxFSFile
*) x
));
30863 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
30864 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
30866 static void *_p_wxListViewTo_p_wxObject(void *x
) {
30867 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30869 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
30870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30872 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
30873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30875 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
30876 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
30878 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
30879 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30881 static void *_p_wxListbookTo_p_wxObject(void *x
) {
30882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30884 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
30885 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
30887 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
30888 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30890 static void *_p_wxSliderTo_p_wxObject(void *x
) {
30891 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30893 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
30894 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
30896 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
30897 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
30899 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
30900 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30902 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
30903 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30905 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
30906 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
30908 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
30909 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
30911 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
30912 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
30914 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
30915 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
30917 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
30918 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
30920 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
30921 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30923 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
30924 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
30926 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
30927 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
30929 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
30930 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
30932 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
30933 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
30935 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
30936 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
30938 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
30939 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
30941 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
30942 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
30944 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
30945 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
30947 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
30948 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
30950 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
30951 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
30953 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
30954 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
30956 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
30957 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
30959 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
30960 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
30962 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
30963 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
30965 static void *_p_wxListEventTo_p_wxObject(void *x
) {
30966 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30968 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
30969 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30971 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
30972 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30974 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
30975 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30977 static void *_p_wxButtonTo_p_wxObject(void *x
) {
30978 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30980 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
30981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30983 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
30984 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30986 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
30987 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30989 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
30990 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
30992 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
30993 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30995 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
30996 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30998 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
30999 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
31001 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
31002 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
31004 static void *_p_wxListItemTo_p_wxObject(void *x
) {
31005 return (void *)((wxObject
*) ((wxListItem
*) x
));
31007 static void *_p_wxImageTo_p_wxObject(void *x
) {
31008 return (void *)((wxObject
*) ((wxImage
*) x
));
31010 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
31011 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
31013 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31014 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31016 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
31017 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31019 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
31020 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
31022 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
31023 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31025 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
31026 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31028 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
31029 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31031 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31032 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31034 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31035 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31037 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31038 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31040 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31041 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31043 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31044 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31046 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31049 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31050 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31052 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31053 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31055 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31056 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31058 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31059 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31061 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31062 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31064 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31065 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31067 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31068 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31070 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
31071 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31073 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31074 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31076 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31077 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31079 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
31080 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31082 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31083 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31085 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31086 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31088 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31089 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31091 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31092 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31094 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
31095 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
31097 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
31098 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31100 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31101 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31103 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31104 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31106 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
31107 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
31109 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
31110 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
31112 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31113 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31115 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
31116 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31118 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
31119 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
31121 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
31122 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
31124 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
31125 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
31127 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31128 return (void *)((wxWindow
*) ((wxControl
*) x
));
31130 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
31131 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
31133 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
31134 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31136 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
31137 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
31139 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
31140 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
31142 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
31143 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
31145 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
31146 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
31148 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31149 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31151 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
31152 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
31154 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
31155 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
31157 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
31158 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31160 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
31161 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
31163 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
31164 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
31166 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
31167 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
31169 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
31170 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31172 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
31173 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31175 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
31176 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31178 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
31179 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31181 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
31182 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31184 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
31185 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
31187 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
31188 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
31190 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
31191 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
31193 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
31194 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
31196 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
31197 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
31199 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
31200 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
31202 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
31203 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
31205 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
31206 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31208 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
31209 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31211 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
31212 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
31214 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
31215 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31217 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
31218 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31220 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
31221 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31223 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
31224 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
31226 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
31227 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31229 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
31230 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31232 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
31233 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31235 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
31236 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31238 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
31239 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31241 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
31242 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
31244 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
31245 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31247 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
31248 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31250 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
31251 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31253 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
31254 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
31256 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
31257 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31259 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
31260 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31262 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
31263 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31265 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
31266 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
31268 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
31269 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
31271 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
31272 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
31274 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
31275 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
31277 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}};
31278 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}};
31279 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}};
31280 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}};
31281 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}};
31282 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}};
31283 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}};
31284 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}};
31285 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}};
31286 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}};
31287 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}};
31288 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}};
31289 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}};
31290 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}};
31291 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}};
31292 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}};
31293 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}};
31294 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}};
31295 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}};
31296 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}};
31297 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31298 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}};
31299 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}};
31300 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}};
31301 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}};
31302 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}};
31303 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}};
31304 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}};
31305 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}};
31306 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}};
31307 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}};
31308 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}};
31309 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}};
31310 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}};
31311 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}};
31312 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}};
31313 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}};
31314 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}};
31315 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}};
31316 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}};
31317 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}};
31318 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}};
31319 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}};
31320 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}};
31321 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}};
31322 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}};
31323 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}};
31324 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}};
31325 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}};
31326 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}};
31327 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}};
31328 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}};
31329 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}};
31330 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}};
31331 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}};
31332 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}};
31333 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}};
31334 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}};
31335 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}};
31336 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}};
31337 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}};
31338 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}};
31339 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}};
31340 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}};
31341 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}};
31342 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}};
31343 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}};
31344 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}};
31345 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}};
31346 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}};
31347 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}};
31348 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}};
31349 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}};
31350 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}};
31351 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}};
31352 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}};
31353 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}};
31354 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}};
31355 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31356 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}};
31357 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}};
31358 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}};
31359 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}};
31360 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}};
31362 static swig_type_info
*swig_types_initial
[] = {
31363 _swigt__p_wxTextUrlEvent
,
31364 _swigt__p_wxBookCtrlEvent
,
31366 _swigt__p_wxCheckBox
,
31367 _swigt__p_wxPyTreeCtrl
,
31369 _swigt__p_wxGenericDirCtrl
,
31371 _swigt__p_wxPyTreeItemData
,
31372 _swigt__p_wxItemContainer
,
31373 _swigt__p_wxDirFilterListCtrl
,
31374 _swigt__p_wxPyListCtrl
,
31375 _swigt__p_wxStaticLine
,
31376 _swigt__p_wxControl
,
31377 _swigt__p_wxPyControl
,
31379 _swigt__p_wxToolBarBase
,
31381 _swigt__p_wxToggleButton
,
31382 _swigt__p_wxRadioButton
,
31383 _swigt__p_wxChoice
,
31384 _swigt__p_wxMemoryDC
,
31385 _swigt__p_wxListItemAttr
,
31390 _swigt__p_wxListView
,
31392 _swigt__p_wxTextCtrl
,
31393 _swigt__p_wxNotebook
,
31394 _swigt__p_wxNotifyEvent
,
31395 _swigt__p_wxArrayString
,
31396 _swigt__p_wxListbook
,
31397 _swigt__p_wxStaticBitmap
,
31398 _swigt__p_wxSlider
,
31399 _swigt__p_wxStaticBox
,
31400 _swigt__p_wxArrayInt
,
31401 _swigt__p_wxContextHelp
,
31403 _swigt__p_wxEvtHandler
,
31404 _swigt__p_wxListEvent
,
31405 _swigt__p_wxListBox
,
31406 _swigt__p_wxCheckListBox
,
31407 _swigt__p_wxBookCtrl
,
31408 _swigt__p_wxSpinButton
,
31409 _swigt__p_wxButton
,
31410 _swigt__p_wxBitmapButton
,
31412 _swigt__p_wxContextHelpButton
,
31413 _swigt__p_wxRadioBox
,
31414 _swigt__p_wxScrollBar
,
31416 _swigt__p_wxTreeItemId
,
31417 _swigt__p_wxComboBox
,
31418 _swigt__p_wxHelpEvent
,
31419 _swigt__p_wxListItem
,
31420 _swigt__p_wxNotebookSizer
,
31421 _swigt__p_wxSpinEvent
,
31422 _swigt__p_wxGenericDragImage
,
31423 _swigt__p_wxSpinCtrl
,
31424 _swigt__p_wxImageList
,
31425 _swigt__p_wxHelpProvider
,
31426 _swigt__p_wxTextAttr
,
31427 _swigt__p_wxSimpleHelpProvider
,
31429 _swigt__p_wxListbookEvent
,
31430 _swigt__p_wxNotebookEvent
,
31431 _swigt__p_wxObject
,
31432 _swigt__p_wxCursor
,
31433 _swigt__p_wxKeyEvent
,
31434 _swigt__p_wxWindow
,
31435 _swigt__p_wxString
,
31436 _swigt__p_wxBitmap
,
31437 _swigt__p_wxTreeEvent
,
31438 _swigt__p_wxMouseEvent
,
31439 _swigt__p_wxCommandEvent
,
31440 _swigt__p_wxStaticText
,
31441 _swigt__p_wxControlWithItems
,
31442 _swigt__p_wxToolBarToolBase
,
31443 _swigt__p_wxColour
,
31444 _swigt__p_wxToolBar
,
31445 _swigt__p_wxBookCtrlSizer
,
31446 _swigt__p_wxValidator
,
31451 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31453 static swig_const_info swig_const_table
[] = {
31454 {0, 0, 0, 0.0, 0, 0}};
31463 SWIGEXPORT(void) SWIG_init(void) {
31464 static PyObject
*SWIG_globals
= 0;
31465 static int typeinit
= 0;
31468 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
31469 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
31470 d
= PyModule_GetDict(m
);
31473 for (i
= 0; swig_types_initial
[i
]; i
++) {
31474 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
31478 SWIG_InstallConstants(d
,swig_const_table
);
31480 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
31481 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
31482 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
31483 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
31484 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
31485 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
31486 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
31487 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
31488 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
31489 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
31490 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
31491 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
31492 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
31493 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
31494 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
31495 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
31496 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
31497 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
31498 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
31499 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
31500 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
31501 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
31502 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
31503 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
31504 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
31505 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
31506 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
31507 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
31508 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
31509 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
31510 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
31511 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
31512 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
31513 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
31514 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
31515 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
31516 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
31517 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
31518 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
31519 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
31520 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
31521 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
31522 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
31523 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
31524 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
31525 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
31526 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
31527 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
31528 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
31529 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
31530 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
31531 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
31532 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
31533 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
31534 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
31535 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
31536 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
31537 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
31538 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
31539 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
31540 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
31541 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
31542 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
31543 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
31544 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
31545 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
31546 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
31547 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
31548 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
31549 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
31550 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
31551 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
31552 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
31553 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
31554 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
31555 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
31556 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
31557 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
31558 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
31559 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
31560 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
31561 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
31562 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
31563 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
31564 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
31565 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
31566 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
31567 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
31568 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
31569 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
31570 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
31571 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
31572 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
31573 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
31574 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
31575 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
31576 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
31577 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
31578 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
31579 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
31580 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
31581 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
31582 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
31583 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
31584 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
31585 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
31586 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
31587 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
31588 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
31589 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
31590 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
31591 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
31592 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
31593 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
31594 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
31595 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
31596 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
31597 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
31598 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
31599 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
31600 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
31601 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
31602 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
31603 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
31604 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
31605 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
31606 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
31607 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
31608 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
31609 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
31610 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
31611 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
31612 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
31613 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
31614 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
31615 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
31616 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
31617 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
31618 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
31619 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
31620 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
31621 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
31622 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
31623 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
31624 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
31625 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
31626 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
31627 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
31628 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
31629 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
31630 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
31631 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
31632 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
31633 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
31634 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
31635 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
31636 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
31637 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
31638 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
31639 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
31640 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
31641 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
31642 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
31643 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
31644 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
31645 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
31646 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
31647 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
31648 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
31649 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
31650 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
31651 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
31652 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
31653 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
31654 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
31655 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
31656 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
31657 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
31658 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
31659 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
31660 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
31661 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
31662 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
31663 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
31664 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
31665 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
31666 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
31667 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
31668 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
31669 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
31670 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
31671 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
31672 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
31673 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
31674 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
31675 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
31676 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
31677 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
31678 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
31679 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
31680 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
31681 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
31682 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
31683 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
31684 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
31685 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
31686 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
31687 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
31688 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
31689 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
31690 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
31692 // Map renamed classes back to their common name for OOR
31693 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31695 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
31696 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
31697 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
31698 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
31699 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
31700 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
31701 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
31702 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
31703 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
31704 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
31705 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
31706 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
31707 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
31708 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
31709 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
31710 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
31711 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
31712 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
31713 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
31714 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
31715 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
31716 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
31717 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
31718 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
31719 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
31720 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
31721 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
31722 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
31723 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
31724 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
31725 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
31726 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
31727 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
31728 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
31729 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
31730 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
31731 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
31732 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
31733 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
31734 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
31735 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
31736 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
31737 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
31738 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
31739 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
31740 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
31741 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
31742 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
31743 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
31744 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
31745 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
31746 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
31747 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
31748 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
31749 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
31750 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
31752 // Map renamed classes back to their common name for OOR
31753 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31754 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31756 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
31757 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
31758 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
31759 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
31760 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
31761 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
31762 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
31763 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
31764 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
31765 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
31767 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");