1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211 #define SWIGTYPE_p_wxSizer swig_types[2]
212 #define SWIGTYPE_p_wxCheckBox swig_types[3]
213 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214 #define SWIGTYPE_p_wxEvent swig_types[5]
215 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216 #define SWIGTYPE_p_bool swig_types[7]
217 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218 #define SWIGTYPE_p_wxItemContainer swig_types[9]
219 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxPyListCtrl swig_types[11]
221 #define SWIGTYPE_p_wxStaticLine swig_types[12]
222 #define SWIGTYPE_p_wxControl swig_types[13]
223 #define SWIGTYPE_p_wxPyControl swig_types[14]
224 #define SWIGTYPE_p_wxGauge swig_types[15]
225 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
226 #define SWIGTYPE_p_wxFont swig_types[17]
227 #define SWIGTYPE_p_wxToggleButton swig_types[18]
228 #define SWIGTYPE_p_wxRadioButton swig_types[19]
229 #define SWIGTYPE_p_wxChoice swig_types[20]
230 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
231 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
232 #define SWIGTYPE_p_void swig_types[23]
233 #define SWIGTYPE_p_int swig_types[24]
234 #define SWIGTYPE_p_wxSize swig_types[25]
235 #define SWIGTYPE_p_wxDC swig_types[26]
236 #define SWIGTYPE_p_wxListView swig_types[27]
237 #define SWIGTYPE_p_wxIcon swig_types[28]
238 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
239 #define SWIGTYPE_p_wxNotebook swig_types[30]
240 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
241 #define SWIGTYPE_p_wxArrayString swig_types[32]
242 #define SWIGTYPE_p_wxListbook swig_types[33]
243 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
244 #define SWIGTYPE_p_wxSlider swig_types[35]
245 #define SWIGTYPE_p_wxStaticBox swig_types[36]
246 #define SWIGTYPE_p_wxArrayInt swig_types[37]
247 #define SWIGTYPE_p_wxContextHelp swig_types[38]
248 #define SWIGTYPE_p_long swig_types[39]
249 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
250 #define SWIGTYPE_p_wxListEvent swig_types[41]
251 #define SWIGTYPE_p_wxListBox swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
254 #define SWIGTYPE_p_wxSpinButton swig_types[45]
255 #define SWIGTYPE_p_wxButton swig_types[46]
256 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
257 #define SWIGTYPE_p_wxRect swig_types[48]
258 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
259 #define SWIGTYPE_p_wxRadioBox swig_types[50]
260 #define SWIGTYPE_p_wxScrollBar swig_types[51]
261 #define SWIGTYPE_p_char swig_types[52]
262 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
263 #define SWIGTYPE_p_wxComboBox swig_types[54]
264 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
265 #define SWIGTYPE_p_wxListItem swig_types[56]
266 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
267 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
268 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
269 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
270 #define SWIGTYPE_p_wxImageList swig_types[61]
271 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
272 #define SWIGTYPE_p_wxTextAttr swig_types[63]
273 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
274 #define SWIGTYPE_p_wxPoint swig_types[65]
275 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
276 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
277 #define SWIGTYPE_p_wxObject swig_types[68]
278 #define SWIGTYPE_p_wxCursor swig_types[69]
279 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
280 #define SWIGTYPE_p_wxWindow swig_types[71]
281 #define SWIGTYPE_p_wxString swig_types[72]
282 #define SWIGTYPE_p_wxBitmap swig_types[73]
283 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
284 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
285 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
286 #define SWIGTYPE_p_wxStaticText swig_types[77]
287 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
288 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
289 #define SWIGTYPE_p_wxColour swig_types[80]
290 #define SWIGTYPE_p_wxToolBar swig_types[81]
291 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
292 #define SWIGTYPE_p_wxValidator swig_types[83]
293 static swig_type_info
*swig_types
[85];
295 /* -------- TYPES TABLE (END) -------- */
298 /*-----------------------------------------------
299 @(target):= _controls.so
300 ------------------------------------------------*/
301 #define SWIG_init init_controls
303 #define SWIG_name "_controls"
305 /* Auxiliar swig macros */
308 #define SWIGSTATICINLINE(a) static inline a
309 #define SWIGSTATIC(a) static a
310 #define swig_new_array(type, size) (new type[(size)])
311 #define swig_delete_array(cptr) delete[] cptr
312 #define swig_const_cast(type,a) const_cast<type>(a)
313 #define swig_static_cast(type,a) static_cast<type>(a)
314 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316 #ifdef HAVE_NUMERIC_CAST
317 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
319 #define swig_numeric_cast(type,a) static_cast<type>(a)
324 #define SWIGSTATICINLINE(a) static a
325 #define SWIGSTATIC(a) static a
326 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
327 #define swig_delete_array(cptr) free((char*)cptr)
328 #define swig_const_cast(type,a) (type)(a)
329 #define swig_static_cast(type,a) (type)(a)
330 #define swig_reinterpret_cast(type,a) (type)(a)
331 #define swig_numeric_cast(type,a) (type)(a)
333 #endif /* __cplusplus */
336 #define SWIG_FromSignedChar PyInt_FromLong
337 #define SWIG_FromUnsignedChar PyInt_FromLong
338 #define SWIG_FromShort PyInt_FromLong
339 #define SWIG_FromUnsignedShort PyInt_FromLong
340 #define SWIG_FromInt PyInt_FromLong
341 #define SWIG_FromLong PyInt_FromLong
342 #define SWIG_FromFloat PyFloat_FromDouble
343 #define SWIG_FromDouble PyFloat_FromDouble
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
348 #include "wx/wxPython/wxPython.h"
349 #include "wx/wxPython/pyclasses.h"
351 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
352 static const wxString
wxPyEmptyString(wxEmptyString
);
353 static const wxString
wxPyControlNameStr(wxControlNameStr
);
355 const wxArrayString wxPyEmptyStringArray
;
357 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
362 SWIGSTATICINLINE(long)
363 SWIG_CheckLongInRange(long value
, const char* type
,
364 long min_value
, long max_value
)
366 if (!PyErr_Occurred()) {
367 if (value
< min_value
) {
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value
, type
, min_value
);
372 PyErr_SetObject(PyExc_OverflowError
, err
);
374 } else if (value
> max_value
) {
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value
, type
, max_value
);
378 PyErr_SetObject(PyExc_OverflowError
, err
);
386 SWIGSTATICINLINE(long)
387 SWIG_AsLong(PyObject
* obj
)
389 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
393 #if INT_MAX != LONG_MAX
394 SWIGSTATICINLINE(int)
395 SWIG_AsInt(PyObject
*obj
)
397 return swig_numeric_cast(int,
398 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
399 "int", INT_MIN
, INT_MAX
));
402 #define SWIG_AsInt SWIG_AsLong
406 SWIGSTATICINLINE(int)
407 SWIG_CheckInt(PyObject
* obj
)
410 if (PyErr_Occurred()) {
419 SWIGSTATICINLINE(int)
420 SWIG_CheckLong(PyObject
* obj
)
423 if (PyErr_Occurred()) {
431 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
433 SWIGSTATICINLINE(bool)
434 SWIG_AsBool(PyObject
*obj
)
436 return PyObject_IsTrue(obj
) ? true : false;
440 SWIGSTATICINLINE(int)
441 SWIG_CheckBool(PyObject
* obj
)
444 if (PyErr_Occurred()) {
452 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
453 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
454 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
455 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
456 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
457 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
459 #include <wx/checklst.h>
462 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
463 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
465 wxPyClientData
* data
= new wxPyClientData(clientData
);
466 self
->Insert(item
, pos
, data
);
468 self
->Insert(item
, pos
);
470 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
472 self
->GetSelections(lst
);
473 PyObject
*tup
= PyTuple_New(lst
.GetCount());
474 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
475 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
479 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
481 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
482 self
->GetItem(item
)->SetTextColour(c
);
485 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
487 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
488 self
->GetItem(item
)->SetBackgroundColour(c
);
491 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
493 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
494 self
->GetItem(item
)->SetFont(f
);
497 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
499 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
505 } else if (target
== Py_None
) {
509 if (!PyTuple_Check(target
)) {
511 target
= PyTuple_New(1);
512 PyTuple_SetItem(target
, 0, o2
);
515 PyTuple_SetItem(o3
, 0, o
);
518 target
= PySequence_Concat(o2
, o3
);
526 SWIGSTATICINLINE(unsigned long)
527 SWIG_AsUnsignedLong(PyObject
* obj
)
529 if (PyLong_Check(obj
)) {
530 return PyLong_AsUnsignedLong(obj
);
532 long i
= PyInt_AsLong(obj
);
533 if ( !PyErr_Occurred() && (i
< 0)) {
534 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
541 SWIGSTATICINLINE(int)
542 SWIG_CheckUnsignedLong(PyObject
* obj
)
544 SWIG_AsUnsignedLong(obj
);
545 if (PyErr_Occurred()) {
553 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
554 self
->AppendText(text
);
556 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
557 return self
->GetValue().Mid(from
, to
- from
);
559 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
560 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
561 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
562 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
563 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
565 #include <wx/slider.h>
568 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
569 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
572 // implement dummy items for platforms that don't have this class
574 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
576 class wxToggleButton
: public wxControl
579 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
580 const wxPoint
&, const wxSize
&, long,
581 const wxValidator
&, const wxString
&)
582 { wxPyRaiseNotImplemented(); }
585 { wxPyRaiseNotImplemented(); }
589 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
591 SWIGSTATICINLINE(PyObject
* )
592 SWIG_FromUnsignedLong(unsigned long value
)
594 return (value
> LONG_MAX
) ?
595 PyLong_FromUnsignedLong(value
)
596 : PyInt_FromLong(swig_numeric_cast(long,value
));
599 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
600 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
601 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
603 Py_INCREF(udata
->m_obj
);
610 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
611 self
->SetClientData(new wxPyUserData(clientData
));
613 wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
614 wxPyUserData
* udata
= NULL
;
615 if (clientData
&& clientData
!= Py_None
)
616 udata
= new wxPyUserData(clientData
);
617 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
618 shortHelp
, longHelp
, udata
);
620 wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
621 wxPyUserData
* udata
= NULL
;
622 if (clientData
&& clientData
!= Py_None
)
623 udata
= new wxPyUserData(clientData
);
624 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
625 shortHelp
, longHelp
, udata
);
627 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
628 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
630 Py_INCREF(udata
->m_obj
);
637 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
638 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
641 #include <wx/listctrl.h>
644 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
645 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
646 // Python aware sorting function for wxPyListCtrl
647 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
649 PyObject
* func
= (PyObject
*)funcPtr
;
650 bool blocked
= wxPyBeginBlockThreads();
652 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
653 PyObject
* result
= PyEval_CallObject(func
, args
);
656 retval
= PyInt_AsLong(result
);
660 wxPyEndBlockThreads(blocked
);
664 // C++ Version of a Python aware class
665 class wxPyListCtrl
: public wxListCtrl
{
666 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
668 wxPyListCtrl() : wxListCtrl() {}
669 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
673 const wxValidator
& validator
,
674 const wxString
& name
) :
675 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
677 bool Create(wxWindow
* parent
, wxWindowID id
,
681 const wxValidator
& validator
,
682 const wxString
& name
) {
683 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
686 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
687 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
688 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
693 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
695 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
696 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
697 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
699 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
701 item
.SetMask( wxLIST_MASK_STATE
|
709 if (self
->GetColumn(col
, item
))
710 return new wxListItem(item
);
714 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
715 wxListItem
* info
= new wxListItem
;
716 info
->m_itemId
= itemId
;
718 info
->m_mask
= 0xFFFF;
719 self
->GetItem(*info
);
722 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
724 self
->GetItemPosition(item
, pos
);
727 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
729 self
->GetItemRect(item
, rect
, code
);
732 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
733 if (!PyCallable_Check(func
))
735 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
737 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
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 bool blocked
= wxPyBeginBlockThreads();
780 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
781 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
782 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
783 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
787 wxPyEndBlockThreads(blocked
);
789 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
795 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
799 #if UINT_MAX < LONG_MAX
800 #define SWIG_FromUnsignedInt SWIG_FromLong
802 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
806 SWIGSTATICINLINE(unsigned long)
807 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
808 unsigned long max_value
)
810 if (!PyErr_Occurred()) {
811 if (value
> max_value
) {
813 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
814 value
, type
, max_value
);
815 PyErr_SetObject(PyExc_OverflowError
, err
);
823 #if UINT_MAX != ULONG_MAX
824 SWIGSTATICINLINE(unsigned int)
825 SWIG_AsUnsignedInt(PyObject
*obj
)
827 return swig_numeric_cast(unsigned int,
828 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
829 "unsigned int", UINT_MAX
));
832 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
836 SWIGSTATICINLINE(int)
837 SWIG_CheckUnsignedInt(PyObject
* obj
)
839 SWIG_AsUnsignedInt(obj
);
840 if (PyErr_Occurred()) {
848 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
849 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
851 data
= new wxPyTreeItemData();
852 data
->SetId(item
); // set the id
853 self
->SetItemData(item
, data
);
857 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
858 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
860 data
= new wxPyTreeItemData();
861 data
->SetId(item
); // set the id
862 self
->SetItemData(item
, data
);
864 return data
->GetData();
866 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
867 data
->SetId(item
); // set the id
868 self
->SetItemData(item
, data
);
870 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
871 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
873 data
= new wxPyTreeItemData(obj
);
874 data
->SetId(item
); // set the id
875 self
->SetItemData(item
, data
);
879 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
880 bool blocked
= wxPyBeginBlockThreads();
881 PyObject
* rval
= PyList_New(0);
882 wxArrayTreeItemIds array
;
884 num
= self
->GetSelections(array
);
885 for (x
=0; x
< num
; x
++) {
886 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
887 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
888 PyList_Append(rval
, item
);
890 wxPyEndBlockThreads(blocked
);
893 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
895 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
896 bool blocked
= wxPyBeginBlockThreads();
897 PyObject
* tup
= PyTuple_New(2);
898 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
899 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
900 wxPyEndBlockThreads(blocked
);
903 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
904 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
905 bool blocked
= wxPyBeginBlockThreads();
906 PyObject
* tup
= PyTuple_New(2);
907 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
908 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
909 wxPyEndBlockThreads(blocked
);
912 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
914 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
915 bool blocked
= wxPyBeginBlockThreads();
916 wxRect
* r
= new wxRect(rect
);
917 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
918 wxPyEndBlockThreads(blocked
);
924 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
925 // C++ version of Python aware wxControl
926 class wxPyControl
: public wxControl
928 DECLARE_DYNAMIC_CLASS(wxPyControl
)
930 wxPyControl() : wxControl() {}
931 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
932 const wxPoint
& pos
= wxDefaultPosition
,
933 const wxSize
& size
= wxDefaultSize
,
935 const wxValidator
& validator
=wxDefaultValidator
,
936 const wxString
& name
= wxPyControlNameStr
)
937 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
940 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
941 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
942 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
943 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
945 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
946 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
947 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
949 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
950 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
952 DEC_PYCALLBACK__(InitDialog
);
953 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
954 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
955 DEC_PYCALLBACK_BOOL_(Validate
);
957 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
958 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
959 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
961 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
962 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
964 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
969 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
971 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
972 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
973 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
974 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
976 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
977 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
978 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
980 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
981 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
983 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
984 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
985 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
986 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
988 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
989 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
990 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
992 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
993 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
995 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, ShouldInheritColours
);
999 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1001 #include <wx/generic/dragimgg.h>
1006 static int _wrap_ButtonNameStr_set(PyObject
*) {
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
;
1240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1264 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1265 PyObject
*resultobj
;
1266 wxButton
*arg1
= (wxButton
*) 0 ;
1267 PyObject
* obj0
= 0 ;
1269 (char *) "self", NULL
1272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1277 (arg1
)->SetDefault();
1279 wxPyEndAllowThreads(__tstate
);
1280 if (PyErr_Occurred()) SWIG_fail
;
1282 Py_INCREF(Py_None
); resultobj
= Py_None
;
1289 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1290 PyObject
*resultobj
;
1296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1299 result
= wxButton::GetDefaultSize();
1301 wxPyEndAllowThreads(__tstate
);
1302 if (PyErr_Occurred()) SWIG_fail
;
1306 resultptr
= new wxSize((wxSize
&) result
);
1307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1315 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
1317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1318 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1320 return Py_BuildValue((char *)"");
1322 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1323 PyObject
*resultobj
;
1324 wxWindow
*arg1
= (wxWindow
*) 0 ;
1326 wxBitmap
*arg3
= 0 ;
1327 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1328 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1329 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1330 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1331 long arg6
= (long) wxBU_AUTODRAW
;
1332 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1333 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1334 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1335 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1336 wxBitmapButton
*result
;
1339 bool temp8
= False
;
1340 PyObject
* obj0
= 0 ;
1341 PyObject
* obj1
= 0 ;
1342 PyObject
* obj2
= 0 ;
1343 PyObject
* obj3
= 0 ;
1344 PyObject
* obj4
= 0 ;
1345 PyObject
* obj5
= 0 ;
1346 PyObject
* obj6
= 0 ;
1347 PyObject
* obj7
= 0 ;
1349 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1355 arg2
= (int) SWIG_AsInt(obj1
);
1356 if (PyErr_Occurred()) SWIG_fail
;
1357 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1358 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1361 PyErr_SetString(PyExc_TypeError
,"null reference");
1367 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1373 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1377 arg6
= (long) SWIG_AsLong(obj5
);
1378 if (PyErr_Occurred()) SWIG_fail
;
1381 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1382 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1385 PyErr_SetString(PyExc_TypeError
,"null reference");
1391 arg8
= wxString_in_helper(obj7
);
1392 if (arg8
== NULL
) SWIG_fail
;
1397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1398 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1400 wxPyEndAllowThreads(__tstate
);
1401 if (PyErr_Occurred()) SWIG_fail
;
1404 resultobj
= wxPyMake_wxObject(result
);
1420 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1421 PyObject
*resultobj
;
1422 wxBitmapButton
*result
;
1427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1430 result
= (wxBitmapButton
*)new wxBitmapButton();
1432 wxPyEndAllowThreads(__tstate
);
1433 if (PyErr_Occurred()) SWIG_fail
;
1436 resultobj
= wxPyMake_wxObject(result
);
1444 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1445 PyObject
*resultobj
;
1446 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1447 wxWindow
*arg2
= (wxWindow
*) 0 ;
1449 wxBitmap
*arg4
= 0 ;
1450 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1451 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1452 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1453 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1454 long arg7
= (long) wxBU_AUTODRAW
;
1455 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1456 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1457 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1458 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1462 bool temp9
= False
;
1463 PyObject
* obj0
= 0 ;
1464 PyObject
* obj1
= 0 ;
1465 PyObject
* obj2
= 0 ;
1466 PyObject
* obj3
= 0 ;
1467 PyObject
* obj4
= 0 ;
1468 PyObject
* obj5
= 0 ;
1469 PyObject
* obj6
= 0 ;
1470 PyObject
* obj7
= 0 ;
1471 PyObject
* obj8
= 0 ;
1473 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1481 arg3
= (int) SWIG_AsInt(obj2
);
1482 if (PyErr_Occurred()) SWIG_fail
;
1483 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1484 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1487 PyErr_SetString(PyExc_TypeError
,"null reference");
1493 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1499 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1503 arg7
= (long) SWIG_AsLong(obj6
);
1504 if (PyErr_Occurred()) SWIG_fail
;
1507 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1508 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1511 PyErr_SetString(PyExc_TypeError
,"null reference");
1517 arg9
= wxString_in_helper(obj8
);
1518 if (arg9
== NULL
) SWIG_fail
;
1523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1524 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1526 wxPyEndAllowThreads(__tstate
);
1527 if (PyErr_Occurred()) SWIG_fail
;
1530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1546 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
*resultobj
;
1548 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1550 PyObject
* obj0
= 0 ;
1552 (char *) "self", NULL
1555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1560 result
= (arg1
)->GetBitmapLabel();
1562 wxPyEndAllowThreads(__tstate
);
1563 if (PyErr_Occurred()) SWIG_fail
;
1566 wxBitmap
* resultptr
;
1567 resultptr
= new wxBitmap((wxBitmap
&) result
);
1568 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1576 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
*resultobj
;
1578 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1580 PyObject
* obj0
= 0 ;
1582 (char *) "self", NULL
1585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1590 result
= (arg1
)->GetBitmapDisabled();
1592 wxPyEndAllowThreads(__tstate
);
1593 if (PyErr_Occurred()) SWIG_fail
;
1596 wxBitmap
* resultptr
;
1597 resultptr
= new wxBitmap((wxBitmap
&) result
);
1598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1606 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1607 PyObject
*resultobj
;
1608 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1610 PyObject
* obj0
= 0 ;
1612 (char *) "self", NULL
1615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1620 result
= (arg1
)->GetBitmapFocus();
1622 wxPyEndAllowThreads(__tstate
);
1623 if (PyErr_Occurred()) SWIG_fail
;
1626 wxBitmap
* resultptr
;
1627 resultptr
= new wxBitmap((wxBitmap
&) result
);
1628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1636 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
*resultobj
;
1638 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1640 PyObject
* obj0
= 0 ;
1642 (char *) "self", NULL
1645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1650 result
= (arg1
)->GetBitmapSelected();
1652 wxPyEndAllowThreads(__tstate
);
1653 if (PyErr_Occurred()) SWIG_fail
;
1656 wxBitmap
* resultptr
;
1657 resultptr
= new wxBitmap((wxBitmap
&) result
);
1658 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1666 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
*resultobj
;
1668 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1669 wxBitmap
*arg2
= 0 ;
1670 PyObject
* obj0
= 0 ;
1671 PyObject
* obj1
= 0 ;
1673 (char *) "self",(char *) "bitmap", NULL
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1680 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1683 PyErr_SetString(PyExc_TypeError
,"null reference");
1687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1688 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1690 wxPyEndAllowThreads(__tstate
);
1691 if (PyErr_Occurred()) SWIG_fail
;
1693 Py_INCREF(Py_None
); resultobj
= Py_None
;
1700 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
*resultobj
;
1702 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1703 wxBitmap
*arg2
= 0 ;
1704 PyObject
* obj0
= 0 ;
1705 PyObject
* obj1
= 0 ;
1707 (char *) "self",(char *) "bitmap", NULL
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1714 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1717 PyErr_SetString(PyExc_TypeError
,"null reference");
1721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1722 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1724 wxPyEndAllowThreads(__tstate
);
1725 if (PyErr_Occurred()) SWIG_fail
;
1727 Py_INCREF(Py_None
); resultobj
= Py_None
;
1734 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1735 PyObject
*resultobj
;
1736 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1737 wxBitmap
*arg2
= 0 ;
1738 PyObject
* obj0
= 0 ;
1739 PyObject
* obj1
= 0 ;
1741 (char *) "self",(char *) "bitmap", NULL
1744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1748 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1751 PyErr_SetString(PyExc_TypeError
,"null reference");
1755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1756 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1758 wxPyEndAllowThreads(__tstate
);
1759 if (PyErr_Occurred()) SWIG_fail
;
1761 Py_INCREF(Py_None
); resultobj
= Py_None
;
1768 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
*resultobj
;
1770 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1771 wxBitmap
*arg2
= 0 ;
1772 PyObject
* obj0
= 0 ;
1773 PyObject
* obj1
= 0 ;
1775 (char *) "self",(char *) "bitmap", NULL
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1782 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1785 PyErr_SetString(PyExc_TypeError
,"null reference");
1789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1790 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1792 wxPyEndAllowThreads(__tstate
);
1793 if (PyErr_Occurred()) SWIG_fail
;
1795 Py_INCREF(Py_None
); resultobj
= Py_None
;
1802 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1803 PyObject
*resultobj
;
1804 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1807 PyObject
* obj0
= 0 ;
1808 PyObject
* obj1
= 0 ;
1809 PyObject
* obj2
= 0 ;
1811 (char *) "self",(char *) "x",(char *) "y", NULL
1814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1817 arg2
= (int) SWIG_AsInt(obj1
);
1818 if (PyErr_Occurred()) SWIG_fail
;
1819 arg3
= (int) SWIG_AsInt(obj2
);
1820 if (PyErr_Occurred()) SWIG_fail
;
1822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1823 (arg1
)->SetMargins(arg2
,arg3
);
1825 wxPyEndAllowThreads(__tstate
);
1826 if (PyErr_Occurred()) SWIG_fail
;
1828 Py_INCREF(Py_None
); resultobj
= Py_None
;
1835 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
*resultobj
;
1837 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1839 PyObject
* obj0
= 0 ;
1841 (char *) "self", NULL
1844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1849 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1851 wxPyEndAllowThreads(__tstate
);
1852 if (PyErr_Occurred()) SWIG_fail
;
1854 resultobj
= SWIG_FromInt((int)result
);
1861 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
*resultobj
;
1863 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1865 PyObject
* obj0
= 0 ;
1867 (char *) "self", NULL
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1875 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1877 wxPyEndAllowThreads(__tstate
);
1878 if (PyErr_Occurred()) SWIG_fail
;
1880 resultobj
= SWIG_FromInt((int)result
);
1887 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
1889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1890 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1892 return Py_BuildValue((char *)"");
1894 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
1895 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1900 static PyObject
*_wrap_CheckBoxNameStr_get() {
1905 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1907 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1914 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1915 PyObject
*resultobj
;
1916 wxWindow
*arg1
= (wxWindow
*) 0 ;
1918 wxString
*arg3
= 0 ;
1919 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1920 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1921 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1922 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1923 long arg6
= (long) 0 ;
1924 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1925 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1926 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1927 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1929 bool temp3
= False
;
1932 bool temp8
= False
;
1933 PyObject
* obj0
= 0 ;
1934 PyObject
* obj1
= 0 ;
1935 PyObject
* obj2
= 0 ;
1936 PyObject
* obj3
= 0 ;
1937 PyObject
* obj4
= 0 ;
1938 PyObject
* obj5
= 0 ;
1939 PyObject
* obj6
= 0 ;
1940 PyObject
* obj7
= 0 ;
1942 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1948 arg2
= (int) SWIG_AsInt(obj1
);
1949 if (PyErr_Occurred()) SWIG_fail
;
1951 arg3
= wxString_in_helper(obj2
);
1952 if (arg3
== NULL
) SWIG_fail
;
1958 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1964 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1968 arg6
= (long) SWIG_AsLong(obj5
);
1969 if (PyErr_Occurred()) SWIG_fail
;
1972 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1973 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1976 PyErr_SetString(PyExc_TypeError
,"null reference");
1982 arg8
= wxString_in_helper(obj7
);
1983 if (arg8
== NULL
) SWIG_fail
;
1988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1989 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1991 wxPyEndAllowThreads(__tstate
);
1992 if (PyErr_Occurred()) SWIG_fail
;
1994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2017 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
*resultobj
;
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2027 result
= (wxCheckBox
*)new wxCheckBox();
2029 wxPyEndAllowThreads(__tstate
);
2030 if (PyErr_Occurred()) SWIG_fail
;
2032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2039 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
*resultobj
;
2041 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2042 wxWindow
*arg2
= (wxWindow
*) 0 ;
2044 wxString
*arg4
= 0 ;
2045 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2046 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2047 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2048 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2049 long arg7
= (long) 0 ;
2050 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2051 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2052 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2053 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2055 bool temp4
= False
;
2058 bool temp9
= False
;
2059 PyObject
* obj0
= 0 ;
2060 PyObject
* obj1
= 0 ;
2061 PyObject
* obj2
= 0 ;
2062 PyObject
* obj3
= 0 ;
2063 PyObject
* obj4
= 0 ;
2064 PyObject
* obj5
= 0 ;
2065 PyObject
* obj6
= 0 ;
2066 PyObject
* obj7
= 0 ;
2067 PyObject
* obj8
= 0 ;
2069 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2077 arg3
= (int) SWIG_AsInt(obj2
);
2078 if (PyErr_Occurred()) SWIG_fail
;
2080 arg4
= wxString_in_helper(obj3
);
2081 if (arg4
== NULL
) SWIG_fail
;
2087 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2093 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2097 arg7
= (long) SWIG_AsLong(obj6
);
2098 if (PyErr_Occurred()) SWIG_fail
;
2101 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2102 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2105 PyErr_SetString(PyExc_TypeError
,"null reference");
2111 arg9
= wxString_in_helper(obj8
);
2112 if (arg9
== NULL
) SWIG_fail
;
2117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2118 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2120 wxPyEndAllowThreads(__tstate
);
2121 if (PyErr_Occurred()) SWIG_fail
;
2124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2148 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2149 PyObject
*resultobj
;
2150 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2152 PyObject
* obj0
= 0 ;
2154 (char *) "self", NULL
2157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2162 result
= (bool)(arg1
)->GetValue();
2164 wxPyEndAllowThreads(__tstate
);
2165 if (PyErr_Occurred()) SWIG_fail
;
2168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2176 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
*resultobj
;
2178 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2180 PyObject
* obj0
= 0 ;
2182 (char *) "self", NULL
2185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2190 result
= (bool)(arg1
)->IsChecked();
2192 wxPyEndAllowThreads(__tstate
);
2193 if (PyErr_Occurred()) SWIG_fail
;
2196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2204 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2205 PyObject
*resultobj
;
2206 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2208 PyObject
* obj0
= 0 ;
2209 PyObject
* obj1
= 0 ;
2211 (char *) "self",(char *) "state", NULL
2214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2217 arg2
= (bool const) SWIG_AsBool(obj1
);
2218 if (PyErr_Occurred()) SWIG_fail
;
2220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2221 (arg1
)->SetValue(arg2
);
2223 wxPyEndAllowThreads(__tstate
);
2224 if (PyErr_Occurred()) SWIG_fail
;
2226 Py_INCREF(Py_None
); resultobj
= Py_None
;
2233 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2234 PyObject
*resultobj
;
2235 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2237 PyObject
* obj0
= 0 ;
2239 (char *) "self", NULL
2242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2247 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2249 wxPyEndAllowThreads(__tstate
);
2250 if (PyErr_Occurred()) SWIG_fail
;
2252 resultobj
= SWIG_FromInt((int)result
);
2259 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
*resultobj
;
2261 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2263 PyObject
* obj0
= 0 ;
2264 PyObject
* obj1
= 0 ;
2266 (char *) "self",(char *) "state", NULL
2269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2272 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2273 if (PyErr_Occurred()) SWIG_fail
;
2275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2276 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2278 wxPyEndAllowThreads(__tstate
);
2279 if (PyErr_Occurred()) SWIG_fail
;
2281 Py_INCREF(Py_None
); resultobj
= Py_None
;
2288 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2289 PyObject
*resultobj
;
2290 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2292 PyObject
* obj0
= 0 ;
2294 (char *) "self", NULL
2297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2302 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2304 wxPyEndAllowThreads(__tstate
);
2305 if (PyErr_Occurred()) SWIG_fail
;
2308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2316 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2317 PyObject
*resultobj
;
2318 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2320 PyObject
* obj0
= 0 ;
2322 (char *) "self", NULL
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2330 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2332 wxPyEndAllowThreads(__tstate
);
2333 if (PyErr_Occurred()) SWIG_fail
;
2336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2344 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
2346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2347 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2349 return Py_BuildValue((char *)"");
2351 static int _wrap_ChoiceNameStr_set(PyObject
*) {
2352 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2357 static PyObject
*_wrap_ChoiceNameStr_get() {
2362 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2364 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2371 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2372 PyObject
*resultobj
;
2373 wxWindow
*arg1
= (wxWindow
*) 0 ;
2375 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2376 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2377 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2378 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2379 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2380 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2381 long arg6
= (long) 0 ;
2382 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2383 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2384 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2385 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2389 bool temp5
= False
;
2390 bool temp8
= False
;
2391 PyObject
* obj0
= 0 ;
2392 PyObject
* obj1
= 0 ;
2393 PyObject
* obj2
= 0 ;
2394 PyObject
* obj3
= 0 ;
2395 PyObject
* obj4
= 0 ;
2396 PyObject
* obj5
= 0 ;
2397 PyObject
* obj6
= 0 ;
2398 PyObject
* obj7
= 0 ;
2400 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2406 arg2
= (int) SWIG_AsInt(obj1
);
2407 if (PyErr_Occurred()) SWIG_fail
;
2411 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2417 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2422 if (! PySequence_Check(obj4
)) {
2423 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2426 arg5
= new wxArrayString
;
2428 int i
, len
=PySequence_Length(obj4
);
2429 for (i
=0; i
<len
; i
++) {
2430 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2432 PyObject
* str
= PyObject_Unicode(item
);
2434 PyObject
* str
= PyObject_Str(item
);
2436 arg5
->Add(Py2wxString(str
));
2443 arg6
= (long) SWIG_AsLong(obj5
);
2444 if (PyErr_Occurred()) SWIG_fail
;
2447 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2448 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2451 PyErr_SetString(PyExc_TypeError
,"null reference");
2457 arg8
= wxString_in_helper(obj7
);
2458 if (arg8
== NULL
) SWIG_fail
;
2463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2464 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2466 wxPyEndAllowThreads(__tstate
);
2467 if (PyErr_Occurred()) SWIG_fail
;
2469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2471 if (temp5
) delete arg5
;
2480 if (temp5
) delete arg5
;
2490 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2491 PyObject
*resultobj
;
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2500 result
= (wxChoice
*)new wxChoice();
2502 wxPyEndAllowThreads(__tstate
);
2503 if (PyErr_Occurred()) SWIG_fail
;
2505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2512 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2513 PyObject
*resultobj
;
2514 wxChoice
*arg1
= (wxChoice
*) 0 ;
2515 wxWindow
*arg2
= (wxWindow
*) 0 ;
2517 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2518 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2519 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2520 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2521 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2522 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2523 long arg7
= (long) 0 ;
2524 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2525 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2526 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2527 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2531 bool temp6
= False
;
2532 bool temp9
= False
;
2533 PyObject
* obj0
= 0 ;
2534 PyObject
* obj1
= 0 ;
2535 PyObject
* obj2
= 0 ;
2536 PyObject
* obj3
= 0 ;
2537 PyObject
* obj4
= 0 ;
2538 PyObject
* obj5
= 0 ;
2539 PyObject
* obj6
= 0 ;
2540 PyObject
* obj7
= 0 ;
2541 PyObject
* obj8
= 0 ;
2543 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2551 arg3
= (int) SWIG_AsInt(obj2
);
2552 if (PyErr_Occurred()) SWIG_fail
;
2556 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2562 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2567 if (! PySequence_Check(obj5
)) {
2568 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2571 arg6
= new wxArrayString
;
2573 int i
, len
=PySequence_Length(obj5
);
2574 for (i
=0; i
<len
; i
++) {
2575 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2577 PyObject
* str
= PyObject_Unicode(item
);
2579 PyObject
* str
= PyObject_Str(item
);
2581 arg6
->Add(Py2wxString(str
));
2588 arg7
= (long) SWIG_AsLong(obj6
);
2589 if (PyErr_Occurred()) SWIG_fail
;
2592 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2593 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2596 PyErr_SetString(PyExc_TypeError
,"null reference");
2602 arg9
= wxString_in_helper(obj8
);
2603 if (arg9
== NULL
) SWIG_fail
;
2608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2609 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2611 wxPyEndAllowThreads(__tstate
);
2612 if (PyErr_Occurred()) SWIG_fail
;
2615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2618 if (temp6
) delete arg6
;
2627 if (temp6
) delete arg6
;
2637 static PyObject
*_wrap_Choice_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
*resultobj
;
2639 wxChoice
*arg1
= (wxChoice
*) 0 ;
2641 PyObject
* obj0
= 0 ;
2642 PyObject
* obj1
= 0 ;
2644 (char *) "self",(char *) "n", NULL
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2650 arg2
= (int const) SWIG_AsInt(obj1
);
2651 if (PyErr_Occurred()) SWIG_fail
;
2653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 (arg1
)->SetSelection(arg2
);
2656 wxPyEndAllowThreads(__tstate
);
2657 if (PyErr_Occurred()) SWIG_fail
;
2659 Py_INCREF(Py_None
); resultobj
= Py_None
;
2666 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
*resultobj
;
2668 wxChoice
*arg1
= (wxChoice
*) 0 ;
2669 wxString
*arg2
= 0 ;
2670 bool temp2
= False
;
2671 PyObject
* obj0
= 0 ;
2672 PyObject
* obj1
= 0 ;
2674 (char *) "self",(char *) "string", NULL
2677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2681 arg2
= wxString_in_helper(obj1
);
2682 if (arg2
== NULL
) SWIG_fail
;
2686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2687 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2689 wxPyEndAllowThreads(__tstate
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2692 Py_INCREF(Py_None
); resultobj
= Py_None
;
2707 static PyObject
*_wrap_Choice_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2708 PyObject
*resultobj
;
2709 wxChoice
*arg1
= (wxChoice
*) 0 ;
2711 wxString
*arg3
= 0 ;
2712 bool temp3
= False
;
2713 PyObject
* obj0
= 0 ;
2714 PyObject
* obj1
= 0 ;
2715 PyObject
* obj2
= 0 ;
2717 (char *) "self",(char *) "n",(char *) "string", NULL
2720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2723 arg2
= (int) SWIG_AsInt(obj1
);
2724 if (PyErr_Occurred()) SWIG_fail
;
2726 arg3
= wxString_in_helper(obj2
);
2727 if (arg3
== NULL
) SWIG_fail
;
2731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2732 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2734 wxPyEndAllowThreads(__tstate
);
2735 if (PyErr_Occurred()) SWIG_fail
;
2737 Py_INCREF(Py_None
); resultobj
= Py_None
;
2752 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
2754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2755 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2757 return Py_BuildValue((char *)"");
2759 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
2760 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2765 static PyObject
*_wrap_ComboBoxNameStr_get() {
2770 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2772 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2779 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2780 PyObject
*resultobj
;
2781 wxWindow
*arg1
= (wxWindow
*) 0 ;
2783 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2784 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2785 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2786 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2787 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2788 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2789 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2790 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2791 long arg7
= (long) 0 ;
2792 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2793 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2794 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2795 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2797 bool temp3
= False
;
2800 bool temp6
= False
;
2801 bool temp9
= False
;
2802 PyObject
* obj0
= 0 ;
2803 PyObject
* obj1
= 0 ;
2804 PyObject
* obj2
= 0 ;
2805 PyObject
* obj3
= 0 ;
2806 PyObject
* obj4
= 0 ;
2807 PyObject
* obj5
= 0 ;
2808 PyObject
* obj6
= 0 ;
2809 PyObject
* obj7
= 0 ;
2810 PyObject
* obj8
= 0 ;
2812 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2818 arg2
= (int) SWIG_AsInt(obj1
);
2819 if (PyErr_Occurred()) SWIG_fail
;
2822 arg3
= wxString_in_helper(obj2
);
2823 if (arg3
== NULL
) SWIG_fail
;
2830 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2836 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2841 if (! PySequence_Check(obj5
)) {
2842 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2845 arg6
= new wxArrayString
;
2847 int i
, len
=PySequence_Length(obj5
);
2848 for (i
=0; i
<len
; i
++) {
2849 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2851 PyObject
* str
= PyObject_Unicode(item
);
2853 PyObject
* str
= PyObject_Str(item
);
2855 arg6
->Add(Py2wxString(str
));
2862 arg7
= (long) SWIG_AsLong(obj6
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2866 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2867 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2870 PyErr_SetString(PyExc_TypeError
,"null reference");
2876 arg9
= wxString_in_helper(obj8
);
2877 if (arg9
== NULL
) SWIG_fail
;
2882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2883 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2885 wxPyEndAllowThreads(__tstate
);
2886 if (PyErr_Occurred()) SWIG_fail
;
2888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2894 if (temp6
) delete arg6
;
2907 if (temp6
) delete arg6
;
2917 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
*resultobj
;
2924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2927 result
= (wxComboBox
*)new wxComboBox();
2929 wxPyEndAllowThreads(__tstate
);
2930 if (PyErr_Occurred()) SWIG_fail
;
2932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2939 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
*resultobj
;
2941 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2942 wxWindow
*arg2
= (wxWindow
*) 0 ;
2944 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2945 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2946 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2947 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2948 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2949 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2950 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2951 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2952 long arg8
= (long) 0 ;
2953 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2954 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2955 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2956 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2958 bool temp4
= False
;
2961 bool temp7
= False
;
2962 bool temp10
= False
;
2963 PyObject
* obj0
= 0 ;
2964 PyObject
* obj1
= 0 ;
2965 PyObject
* obj2
= 0 ;
2966 PyObject
* obj3
= 0 ;
2967 PyObject
* obj4
= 0 ;
2968 PyObject
* obj5
= 0 ;
2969 PyObject
* obj6
= 0 ;
2970 PyObject
* obj7
= 0 ;
2971 PyObject
* obj8
= 0 ;
2972 PyObject
* obj9
= 0 ;
2974 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
2979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2982 arg3
= (int) SWIG_AsInt(obj2
);
2983 if (PyErr_Occurred()) SWIG_fail
;
2986 arg4
= wxString_in_helper(obj3
);
2987 if (arg4
== NULL
) SWIG_fail
;
2994 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3000 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3005 if (! PySequence_Check(obj6
)) {
3006 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3009 arg7
= new wxArrayString
;
3011 int i
, len
=PySequence_Length(obj6
);
3012 for (i
=0; i
<len
; i
++) {
3013 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3015 PyObject
* str
= PyObject_Unicode(item
);
3017 PyObject
* str
= PyObject_Str(item
);
3019 arg7
->Add(Py2wxString(str
));
3026 arg8
= (long) SWIG_AsLong(obj7
);
3027 if (PyErr_Occurred()) SWIG_fail
;
3030 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3031 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3034 PyErr_SetString(PyExc_TypeError
,"null reference");
3040 arg10
= wxString_in_helper(obj9
);
3041 if (arg10
== NULL
) SWIG_fail
;
3046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3047 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
3049 wxPyEndAllowThreads(__tstate
);
3050 if (PyErr_Occurred()) SWIG_fail
;
3053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3060 if (temp7
) delete arg7
;
3073 if (temp7
) delete arg7
;
3083 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3084 PyObject
*resultobj
;
3085 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3087 PyObject
* obj0
= 0 ;
3089 (char *) "self", NULL
3092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3097 result
= ((wxComboBox
const *)arg1
)->GetValue();
3099 wxPyEndAllowThreads(__tstate
);
3100 if (PyErr_Occurred()) SWIG_fail
;
3104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3115 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3116 PyObject
*resultobj
;
3117 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3118 wxString
*arg2
= 0 ;
3119 bool temp2
= False
;
3120 PyObject
* obj0
= 0 ;
3121 PyObject
* obj1
= 0 ;
3123 (char *) "self",(char *) "value", NULL
3126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3130 arg2
= wxString_in_helper(obj1
);
3131 if (arg2
== NULL
) SWIG_fail
;
3135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3136 (arg1
)->SetValue((wxString
const &)*arg2
);
3138 wxPyEndAllowThreads(__tstate
);
3139 if (PyErr_Occurred()) SWIG_fail
;
3141 Py_INCREF(Py_None
); resultobj
= Py_None
;
3156 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3157 PyObject
*resultobj
;
3158 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3159 PyObject
* obj0
= 0 ;
3161 (char *) "self", NULL
3164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3171 wxPyEndAllowThreads(__tstate
);
3172 if (PyErr_Occurred()) SWIG_fail
;
3174 Py_INCREF(Py_None
); resultobj
= Py_None
;
3181 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3182 PyObject
*resultobj
;
3183 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3184 PyObject
* obj0
= 0 ;
3186 (char *) "self", NULL
3189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3196 wxPyEndAllowThreads(__tstate
);
3197 if (PyErr_Occurred()) SWIG_fail
;
3199 Py_INCREF(Py_None
); resultobj
= Py_None
;
3206 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
*resultobj
;
3208 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3209 PyObject
* obj0
= 0 ;
3211 (char *) "self", NULL
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3221 wxPyEndAllowThreads(__tstate
);
3222 if (PyErr_Occurred()) SWIG_fail
;
3224 Py_INCREF(Py_None
); resultobj
= Py_None
;
3231 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
*resultobj
;
3233 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3235 PyObject
* obj0
= 0 ;
3236 PyObject
* obj1
= 0 ;
3238 (char *) "self",(char *) "pos", NULL
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3244 arg2
= (long) SWIG_AsLong(obj1
);
3245 if (PyErr_Occurred()) SWIG_fail
;
3247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3248 (arg1
)->SetInsertionPoint(arg2
);
3250 wxPyEndAllowThreads(__tstate
);
3251 if (PyErr_Occurred()) SWIG_fail
;
3253 Py_INCREF(Py_None
); resultobj
= Py_None
;
3260 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3261 PyObject
*resultobj
;
3262 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3264 PyObject
* obj0
= 0 ;
3266 (char *) "self", NULL
3269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3276 wxPyEndAllowThreads(__tstate
);
3277 if (PyErr_Occurred()) SWIG_fail
;
3279 resultobj
= SWIG_FromLong((long)result
);
3286 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
*resultobj
;
3288 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3290 PyObject
* obj0
= 0 ;
3292 (char *) "self", NULL
3295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3300 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3302 wxPyEndAllowThreads(__tstate
);
3303 if (PyErr_Occurred()) SWIG_fail
;
3305 resultobj
= SWIG_FromLong((long)result
);
3312 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
*resultobj
;
3314 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3317 wxString
*arg4
= 0 ;
3318 bool temp4
= False
;
3319 PyObject
* obj0
= 0 ;
3320 PyObject
* obj1
= 0 ;
3321 PyObject
* obj2
= 0 ;
3322 PyObject
* obj3
= 0 ;
3324 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3330 arg2
= (long) SWIG_AsLong(obj1
);
3331 if (PyErr_Occurred()) SWIG_fail
;
3332 arg3
= (long) SWIG_AsLong(obj2
);
3333 if (PyErr_Occurred()) SWIG_fail
;
3335 arg4
= wxString_in_helper(obj3
);
3336 if (arg4
== NULL
) SWIG_fail
;
3340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3341 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3343 wxPyEndAllowThreads(__tstate
);
3344 if (PyErr_Occurred()) SWIG_fail
;
3346 Py_INCREF(Py_None
); resultobj
= Py_None
;
3361 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
*resultobj
;
3363 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3365 PyObject
* obj0
= 0 ;
3366 PyObject
* obj1
= 0 ;
3368 (char *) "self",(char *) "n", NULL
3371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3374 arg2
= (int) SWIG_AsInt(obj1
);
3375 if (PyErr_Occurred()) SWIG_fail
;
3377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3378 (arg1
)->SetSelection(arg2
);
3380 wxPyEndAllowThreads(__tstate
);
3381 if (PyErr_Occurred()) SWIG_fail
;
3383 Py_INCREF(Py_None
); resultobj
= Py_None
;
3390 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
*resultobj
;
3392 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3395 PyObject
* obj0
= 0 ;
3396 PyObject
* obj1
= 0 ;
3397 PyObject
* obj2
= 0 ;
3399 (char *) "self",(char *) "from",(char *) "to", NULL
3402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3405 arg2
= (long) SWIG_AsLong(obj1
);
3406 if (PyErr_Occurred()) SWIG_fail
;
3407 arg3
= (long) SWIG_AsLong(obj2
);
3408 if (PyErr_Occurred()) SWIG_fail
;
3410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3411 (arg1
)->SetSelection(arg2
,arg3
);
3413 wxPyEndAllowThreads(__tstate
);
3414 if (PyErr_Occurred()) SWIG_fail
;
3416 Py_INCREF(Py_None
); resultobj
= Py_None
;
3423 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
*resultobj
;
3425 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3427 PyObject
* obj0
= 0 ;
3428 PyObject
* obj1
= 0 ;
3430 (char *) "self",(char *) "editable", NULL
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3436 arg2
= (bool) SWIG_AsBool(obj1
);
3437 if (PyErr_Occurred()) SWIG_fail
;
3439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3440 (arg1
)->SetEditable(arg2
);
3442 wxPyEndAllowThreads(__tstate
);
3443 if (PyErr_Occurred()) SWIG_fail
;
3445 Py_INCREF(Py_None
); resultobj
= Py_None
;
3452 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
*resultobj
;
3454 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3455 PyObject
* obj0
= 0 ;
3457 (char *) "self", NULL
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 (arg1
)->SetInsertionPointEnd();
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3470 Py_INCREF(Py_None
); resultobj
= Py_None
;
3477 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
*resultobj
;
3479 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3482 PyObject
* obj0
= 0 ;
3483 PyObject
* obj1
= 0 ;
3484 PyObject
* obj2
= 0 ;
3486 (char *) "self",(char *) "from",(char *) "to", NULL
3489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3492 arg2
= (long) SWIG_AsLong(obj1
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3494 arg3
= (long) SWIG_AsLong(obj2
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3498 (arg1
)->Remove(arg2
,arg3
);
3500 wxPyEndAllowThreads(__tstate
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3503 Py_INCREF(Py_None
); resultobj
= Py_None
;
3510 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
3512 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3513 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3515 return Py_BuildValue((char *)"");
3517 static int _wrap_GaugeNameStr_set(PyObject
*) {
3518 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3523 static PyObject
*_wrap_GaugeNameStr_get() {
3528 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3530 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3537 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3538 PyObject
*resultobj
;
3539 wxWindow
*arg1
= (wxWindow
*) 0 ;
3542 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3543 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3544 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3545 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3546 long arg6
= (long) wxGA_HORIZONTAL
;
3547 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3548 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3549 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3550 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3554 bool temp8
= False
;
3555 PyObject
* obj0
= 0 ;
3556 PyObject
* obj1
= 0 ;
3557 PyObject
* obj2
= 0 ;
3558 PyObject
* obj3
= 0 ;
3559 PyObject
* obj4
= 0 ;
3560 PyObject
* obj5
= 0 ;
3561 PyObject
* obj6
= 0 ;
3562 PyObject
* obj7
= 0 ;
3564 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3570 arg2
= (int) SWIG_AsInt(obj1
);
3571 if (PyErr_Occurred()) SWIG_fail
;
3572 arg3
= (int) SWIG_AsInt(obj2
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3577 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3583 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3587 arg6
= (long) SWIG_AsLong(obj5
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3591 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3592 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3595 PyErr_SetString(PyExc_TypeError
,"null reference");
3601 arg8
= wxString_in_helper(obj7
);
3602 if (arg8
== NULL
) SWIG_fail
;
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3628 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
*resultobj
;
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 result
= (wxGauge
*)new wxGauge();
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) SWIG_fail
;
3643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3650 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
*resultobj
;
3652 wxGauge
*arg1
= (wxGauge
*) 0 ;
3653 wxWindow
*arg2
= (wxWindow
*) 0 ;
3656 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3657 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3658 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3659 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3660 long arg7
= (long) wxGA_HORIZONTAL
;
3661 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3662 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3663 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3664 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3668 bool temp9
= False
;
3669 PyObject
* obj0
= 0 ;
3670 PyObject
* obj1
= 0 ;
3671 PyObject
* obj2
= 0 ;
3672 PyObject
* obj3
= 0 ;
3673 PyObject
* obj4
= 0 ;
3674 PyObject
* obj5
= 0 ;
3675 PyObject
* obj6
= 0 ;
3676 PyObject
* obj7
= 0 ;
3677 PyObject
* obj8
= 0 ;
3679 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3687 arg3
= (int) SWIG_AsInt(obj2
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3689 arg4
= (int) SWIG_AsInt(obj3
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3694 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3700 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3704 arg7
= (long) SWIG_AsLong(obj6
);
3705 if (PyErr_Occurred()) SWIG_fail
;
3708 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3712 PyErr_SetString(PyExc_TypeError
,"null reference");
3718 arg9
= wxString_in_helper(obj8
);
3719 if (arg9
== NULL
) SWIG_fail
;
3724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3725 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3727 wxPyEndAllowThreads(__tstate
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3747 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3748 PyObject
*resultobj
;
3749 wxGauge
*arg1
= (wxGauge
*) 0 ;
3751 PyObject
* obj0
= 0 ;
3752 PyObject
* obj1
= 0 ;
3754 (char *) "self",(char *) "range", NULL
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3760 arg2
= (int) SWIG_AsInt(obj1
);
3761 if (PyErr_Occurred()) SWIG_fail
;
3763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3764 (arg1
)->SetRange(arg2
);
3766 wxPyEndAllowThreads(__tstate
);
3767 if (PyErr_Occurred()) SWIG_fail
;
3769 Py_INCREF(Py_None
); resultobj
= Py_None
;
3776 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3777 PyObject
*resultobj
;
3778 wxGauge
*arg1
= (wxGauge
*) 0 ;
3780 PyObject
* obj0
= 0 ;
3782 (char *) "self", NULL
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3790 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3792 wxPyEndAllowThreads(__tstate
);
3793 if (PyErr_Occurred()) SWIG_fail
;
3795 resultobj
= SWIG_FromInt((int)result
);
3802 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3803 PyObject
*resultobj
;
3804 wxGauge
*arg1
= (wxGauge
*) 0 ;
3806 PyObject
* obj0
= 0 ;
3807 PyObject
* obj1
= 0 ;
3809 (char *) "self",(char *) "pos", NULL
3812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3815 arg2
= (int) SWIG_AsInt(obj1
);
3816 if (PyErr_Occurred()) SWIG_fail
;
3818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3819 (arg1
)->SetValue(arg2
);
3821 wxPyEndAllowThreads(__tstate
);
3822 if (PyErr_Occurred()) SWIG_fail
;
3824 Py_INCREF(Py_None
); resultobj
= Py_None
;
3831 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
*resultobj
;
3833 wxGauge
*arg1
= (wxGauge
*) 0 ;
3835 PyObject
* obj0
= 0 ;
3837 (char *) "self", NULL
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3847 wxPyEndAllowThreads(__tstate
);
3848 if (PyErr_Occurred()) SWIG_fail
;
3850 resultobj
= SWIG_FromInt((int)result
);
3857 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3858 PyObject
*resultobj
;
3859 wxGauge
*arg1
= (wxGauge
*) 0 ;
3861 PyObject
* obj0
= 0 ;
3863 (char *) "self", NULL
3866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3873 wxPyEndAllowThreads(__tstate
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3885 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
*resultobj
;
3887 wxGauge
*arg1
= (wxGauge
*) 0 ;
3889 PyObject
* obj0
= 0 ;
3890 PyObject
* obj1
= 0 ;
3892 (char *) "self",(char *) "w", NULL
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3898 arg2
= (int) SWIG_AsInt(obj1
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 (arg1
)->SetShadowWidth(arg2
);
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3907 Py_INCREF(Py_None
); resultobj
= Py_None
;
3914 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
*resultobj
;
3916 wxGauge
*arg1
= (wxGauge
*) 0 ;
3918 PyObject
* obj0
= 0 ;
3920 (char *) "self", NULL
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3928 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3930 wxPyEndAllowThreads(__tstate
);
3931 if (PyErr_Occurred()) SWIG_fail
;
3933 resultobj
= SWIG_FromInt((int)result
);
3940 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
*resultobj
;
3942 wxGauge
*arg1
= (wxGauge
*) 0 ;
3944 PyObject
* obj0
= 0 ;
3945 PyObject
* obj1
= 0 ;
3947 (char *) "self",(char *) "w", NULL
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3953 arg2
= (int) SWIG_AsInt(obj1
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3957 (arg1
)->SetBezelFace(arg2
);
3959 wxPyEndAllowThreads(__tstate
);
3960 if (PyErr_Occurred()) SWIG_fail
;
3962 Py_INCREF(Py_None
); resultobj
= Py_None
;
3969 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3970 PyObject
*resultobj
;
3971 wxGauge
*arg1
= (wxGauge
*) 0 ;
3973 PyObject
* obj0
= 0 ;
3975 (char *) "self", NULL
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3983 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) SWIG_fail
;
3988 resultobj
= SWIG_FromInt((int)result
);
3995 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
3997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3998 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4000 return Py_BuildValue((char *)"");
4002 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
4003 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4008 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4013 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4015 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4022 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
4023 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4028 static PyObject
*_wrap_StaticBoxNameStr_get() {
4033 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4035 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4042 static int _wrap_StaticTextNameStr_set(PyObject
*) {
4043 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4048 static PyObject
*_wrap_StaticTextNameStr_get() {
4053 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4055 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4062 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
*resultobj
;
4064 wxWindow
*arg1
= (wxWindow
*) 0 ;
4066 wxString
*arg3
= 0 ;
4067 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4068 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4069 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4070 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4071 long arg6
= (long) 0 ;
4072 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4073 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4074 wxStaticBox
*result
;
4075 bool temp3
= False
;
4078 bool temp7
= False
;
4079 PyObject
* obj0
= 0 ;
4080 PyObject
* obj1
= 0 ;
4081 PyObject
* obj2
= 0 ;
4082 PyObject
* obj3
= 0 ;
4083 PyObject
* obj4
= 0 ;
4084 PyObject
* obj5
= 0 ;
4085 PyObject
* obj6
= 0 ;
4087 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4093 arg2
= (int) SWIG_AsInt(obj1
);
4094 if (PyErr_Occurred()) SWIG_fail
;
4096 arg3
= wxString_in_helper(obj2
);
4097 if (arg3
== NULL
) SWIG_fail
;
4103 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4109 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4113 arg6
= (long) SWIG_AsLong(obj5
);
4114 if (PyErr_Occurred()) SWIG_fail
;
4118 arg7
= wxString_in_helper(obj6
);
4119 if (arg7
== NULL
) SWIG_fail
;
4124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4125 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4127 wxPyEndAllowThreads(__tstate
);
4128 if (PyErr_Occurred()) SWIG_fail
;
4131 resultobj
= wxPyMake_wxObject(result
);
4155 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
;
4157 wxStaticBox
*result
;
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4165 result
= (wxStaticBox
*)new wxStaticBox();
4167 wxPyEndAllowThreads(__tstate
);
4168 if (PyErr_Occurred()) SWIG_fail
;
4171 resultobj
= wxPyMake_wxObject(result
);
4179 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4180 PyObject
*resultobj
;
4181 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4182 wxWindow
*arg2
= (wxWindow
*) 0 ;
4184 wxString
*arg4
= 0 ;
4185 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4186 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4187 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4188 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4189 long arg7
= (long) 0 ;
4190 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4191 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4193 bool temp4
= False
;
4196 bool temp8
= False
;
4197 PyObject
* obj0
= 0 ;
4198 PyObject
* obj1
= 0 ;
4199 PyObject
* obj2
= 0 ;
4200 PyObject
* obj3
= 0 ;
4201 PyObject
* obj4
= 0 ;
4202 PyObject
* obj5
= 0 ;
4203 PyObject
* obj6
= 0 ;
4204 PyObject
* obj7
= 0 ;
4206 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4214 arg3
= (int) SWIG_AsInt(obj2
);
4215 if (PyErr_Occurred()) SWIG_fail
;
4217 arg4
= wxString_in_helper(obj3
);
4218 if (arg4
== NULL
) SWIG_fail
;
4224 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4230 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4234 arg7
= (long) SWIG_AsLong(obj6
);
4235 if (PyErr_Occurred()) SWIG_fail
;
4239 arg8
= wxString_in_helper(obj7
);
4240 if (arg8
== NULL
) SWIG_fail
;
4245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4246 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4248 wxPyEndAllowThreads(__tstate
);
4249 if (PyErr_Occurred()) SWIG_fail
;
4252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4276 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
4278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4279 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4281 return Py_BuildValue((char *)"");
4283 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4284 PyObject
*resultobj
;
4285 wxWindow
*arg1
= (wxWindow
*) 0 ;
4287 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4288 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4289 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4290 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4291 long arg5
= (long) wxLI_HORIZONTAL
;
4292 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4293 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4294 wxStaticLine
*result
;
4297 bool temp6
= False
;
4298 PyObject
* obj0
= 0 ;
4299 PyObject
* obj1
= 0 ;
4300 PyObject
* obj2
= 0 ;
4301 PyObject
* obj3
= 0 ;
4302 PyObject
* obj4
= 0 ;
4303 PyObject
* obj5
= 0 ;
4305 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4311 arg2
= (int) SWIG_AsInt(obj1
);
4312 if (PyErr_Occurred()) SWIG_fail
;
4316 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4322 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4326 arg5
= (long) SWIG_AsLong(obj4
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4331 arg6
= wxString_in_helper(obj5
);
4332 if (arg6
== NULL
) SWIG_fail
;
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4338 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4358 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
*resultobj
;
4360 wxStaticLine
*result
;
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4368 result
= (wxStaticLine
*)new wxStaticLine();
4370 wxPyEndAllowThreads(__tstate
);
4371 if (PyErr_Occurred()) SWIG_fail
;
4373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4380 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4381 PyObject
*resultobj
;
4382 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4383 wxWindow
*arg2
= (wxWindow
*) 0 ;
4385 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4386 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4387 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4388 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4389 long arg6
= (long) wxLI_HORIZONTAL
;
4390 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4391 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4395 bool temp7
= False
;
4396 PyObject
* obj0
= 0 ;
4397 PyObject
* obj1
= 0 ;
4398 PyObject
* obj2
= 0 ;
4399 PyObject
* obj3
= 0 ;
4400 PyObject
* obj4
= 0 ;
4401 PyObject
* obj5
= 0 ;
4402 PyObject
* obj6
= 0 ;
4404 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4412 arg3
= (int) SWIG_AsInt(obj2
);
4413 if (PyErr_Occurred()) SWIG_fail
;
4417 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4423 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4427 arg6
= (long) SWIG_AsLong(obj5
);
4428 if (PyErr_Occurred()) SWIG_fail
;
4432 arg7
= wxString_in_helper(obj6
);
4433 if (arg7
== NULL
) SWIG_fail
;
4438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4439 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4441 wxPyEndAllowThreads(__tstate
);
4442 if (PyErr_Occurred()) SWIG_fail
;
4445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4461 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
*resultobj
;
4463 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4465 PyObject
* obj0
= 0 ;
4467 (char *) "self", NULL
4470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4489 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
*resultobj
;
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4499 result
= (int)wxStaticLine::GetDefaultSize();
4501 wxPyEndAllowThreads(__tstate
);
4502 if (PyErr_Occurred()) SWIG_fail
;
4504 resultobj
= SWIG_FromInt((int)result
);
4511 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
4513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4514 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4516 return Py_BuildValue((char *)"");
4518 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4519 PyObject
*resultobj
;
4520 wxWindow
*arg1
= (wxWindow
*) 0 ;
4522 wxString
*arg3
= 0 ;
4523 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4524 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4525 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4526 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4527 long arg6
= (long) 0 ;
4528 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4529 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4530 wxStaticText
*result
;
4531 bool temp3
= False
;
4534 bool temp7
= False
;
4535 PyObject
* obj0
= 0 ;
4536 PyObject
* obj1
= 0 ;
4537 PyObject
* obj2
= 0 ;
4538 PyObject
* obj3
= 0 ;
4539 PyObject
* obj4
= 0 ;
4540 PyObject
* obj5
= 0 ;
4541 PyObject
* obj6
= 0 ;
4543 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4549 arg2
= (int) SWIG_AsInt(obj1
);
4550 if (PyErr_Occurred()) SWIG_fail
;
4552 arg3
= wxString_in_helper(obj2
);
4553 if (arg3
== NULL
) SWIG_fail
;
4559 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4565 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4569 arg6
= (long) SWIG_AsLong(obj5
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4574 arg7
= wxString_in_helper(obj6
);
4575 if (arg7
== NULL
) SWIG_fail
;
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4583 wxPyEndAllowThreads(__tstate
);
4584 if (PyErr_Occurred()) SWIG_fail
;
4586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4609 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
*resultobj
;
4611 wxStaticText
*result
;
4616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 result
= (wxStaticText
*)new wxStaticText();
4621 wxPyEndAllowThreads(__tstate
);
4622 if (PyErr_Occurred()) SWIG_fail
;
4624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4631 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4632 PyObject
*resultobj
;
4633 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4634 wxWindow
*arg2
= (wxWindow
*) 0 ;
4636 wxString
*arg4
= 0 ;
4637 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4638 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4639 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4640 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4641 long arg7
= (long) 0 ;
4642 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4643 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4645 bool temp4
= False
;
4648 bool temp8
= False
;
4649 PyObject
* obj0
= 0 ;
4650 PyObject
* obj1
= 0 ;
4651 PyObject
* obj2
= 0 ;
4652 PyObject
* obj3
= 0 ;
4653 PyObject
* obj4
= 0 ;
4654 PyObject
* obj5
= 0 ;
4655 PyObject
* obj6
= 0 ;
4656 PyObject
* obj7
= 0 ;
4658 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
4663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4666 arg3
= (int) SWIG_AsInt(obj2
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4669 arg4
= wxString_in_helper(obj3
);
4670 if (arg4
== NULL
) SWIG_fail
;
4676 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4682 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4686 arg7
= (long) SWIG_AsLong(obj6
);
4687 if (PyErr_Occurred()) SWIG_fail
;
4691 arg8
= wxString_in_helper(obj7
);
4692 if (arg8
== NULL
) SWIG_fail
;
4697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4698 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4700 wxPyEndAllowThreads(__tstate
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4728 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
4730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4731 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4733 return Py_BuildValue((char *)"");
4735 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4736 PyObject
*resultobj
;
4737 wxWindow
*arg1
= (wxWindow
*) 0 ;
4739 wxBitmap
*arg3
= 0 ;
4740 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4741 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4742 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4743 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4744 long arg6
= (long) 0 ;
4745 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4746 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4747 wxStaticBitmap
*result
;
4750 bool temp7
= False
;
4751 PyObject
* obj0
= 0 ;
4752 PyObject
* obj1
= 0 ;
4753 PyObject
* obj2
= 0 ;
4754 PyObject
* obj3
= 0 ;
4755 PyObject
* obj4
= 0 ;
4756 PyObject
* obj5
= 0 ;
4757 PyObject
* obj6
= 0 ;
4759 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4765 arg2
= (int) SWIG_AsInt(obj1
);
4766 if (PyErr_Occurred()) SWIG_fail
;
4767 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
4768 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4771 PyErr_SetString(PyExc_TypeError
,"null reference");
4777 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4783 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4787 arg6
= (long) SWIG_AsLong(obj5
);
4788 if (PyErr_Occurred()) SWIG_fail
;
4792 arg7
= wxString_in_helper(obj6
);
4793 if (arg7
== NULL
) SWIG_fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4819 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4820 PyObject
*resultobj
;
4821 wxStaticBitmap
*result
;
4826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4829 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4831 wxPyEndAllowThreads(__tstate
);
4832 if (PyErr_Occurred()) SWIG_fail
;
4834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4841 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
*resultobj
;
4843 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4844 wxWindow
*arg2
= (wxWindow
*) 0 ;
4846 wxBitmap
*arg4
= 0 ;
4847 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4848 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4849 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4850 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4851 long arg7
= (long) 0 ;
4852 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4853 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4857 bool temp8
= False
;
4858 PyObject
* obj0
= 0 ;
4859 PyObject
* obj1
= 0 ;
4860 PyObject
* obj2
= 0 ;
4861 PyObject
* obj3
= 0 ;
4862 PyObject
* obj4
= 0 ;
4863 PyObject
* obj5
= 0 ;
4864 PyObject
* obj6
= 0 ;
4865 PyObject
* obj7
= 0 ;
4867 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4875 arg3
= (int) SWIG_AsInt(obj2
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4877 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
4878 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4881 PyErr_SetString(PyExc_TypeError
,"null reference");
4887 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4893 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4897 arg7
= (long) SWIG_AsLong(obj6
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4902 arg8
= wxString_in_helper(obj7
);
4903 if (arg8
== NULL
) SWIG_fail
;
4908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4909 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4931 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
*resultobj
;
4933 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4935 PyObject
* obj0
= 0 ;
4937 (char *) "self", NULL
4940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 result
= (arg1
)->GetBitmap();
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4951 wxBitmap
* resultptr
;
4952 resultptr
= new wxBitmap((wxBitmap
&) result
);
4953 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4961 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4962 PyObject
*resultobj
;
4963 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4964 wxBitmap
*arg2
= 0 ;
4965 PyObject
* obj0
= 0 ;
4966 PyObject
* obj1
= 0 ;
4968 (char *) "self",(char *) "bitmap", NULL
4971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4974 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4975 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4978 PyErr_SetString(PyExc_TypeError
,"null reference");
4982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4988 Py_INCREF(Py_None
); resultobj
= Py_None
;
4995 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
*resultobj
;
4997 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4999 PyObject
* obj0
= 0 ;
5000 PyObject
* obj1
= 0 ;
5002 (char *) "self",(char *) "icon", NULL
5005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5009 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5012 PyErr_SetString(PyExc_TypeError
,"null reference");
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5019 wxPyEndAllowThreads(__tstate
);
5020 if (PyErr_Occurred()) SWIG_fail
;
5022 Py_INCREF(Py_None
); resultobj
= Py_None
;
5029 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
5031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5032 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5034 return Py_BuildValue((char *)"");
5036 static int _wrap_ListBoxNameStr_set(PyObject
*) {
5037 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5042 static PyObject
*_wrap_ListBoxNameStr_get() {
5047 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5049 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5056 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
*resultobj
;
5058 wxWindow
*arg1
= (wxWindow
*) 0 ;
5060 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5061 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5062 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5063 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5064 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5065 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5066 long arg6
= (long) 0 ;
5067 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5068 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5069 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5070 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5074 bool temp5
= False
;
5075 bool temp8
= False
;
5076 PyObject
* obj0
= 0 ;
5077 PyObject
* obj1
= 0 ;
5078 PyObject
* obj2
= 0 ;
5079 PyObject
* obj3
= 0 ;
5080 PyObject
* obj4
= 0 ;
5081 PyObject
* obj5
= 0 ;
5082 PyObject
* obj6
= 0 ;
5083 PyObject
* obj7
= 0 ;
5085 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5091 arg2
= (int) SWIG_AsInt(obj1
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5096 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5102 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5107 if (! PySequence_Check(obj4
)) {
5108 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5111 arg5
= new wxArrayString
;
5113 int i
, len
=PySequence_Length(obj4
);
5114 for (i
=0; i
<len
; i
++) {
5115 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5117 PyObject
* str
= PyObject_Unicode(item
);
5119 PyObject
* str
= PyObject_Str(item
);
5121 arg5
->Add(Py2wxString(str
));
5128 arg6
= (long) SWIG_AsLong(obj5
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5132 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5133 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5136 PyErr_SetString(PyExc_TypeError
,"null reference");
5142 arg8
= wxString_in_helper(obj7
);
5143 if (arg8
== NULL
) SWIG_fail
;
5148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5149 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5156 if (temp5
) delete arg5
;
5165 if (temp5
) delete arg5
;
5175 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5176 PyObject
*resultobj
;
5182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 result
= (wxListBox
*)new wxListBox();
5187 wxPyEndAllowThreads(__tstate
);
5188 if (PyErr_Occurred()) SWIG_fail
;
5190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5197 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
*resultobj
;
5199 wxListBox
*arg1
= (wxListBox
*) 0 ;
5200 wxWindow
*arg2
= (wxWindow
*) 0 ;
5202 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5203 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5204 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5205 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5206 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5207 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5208 long arg7
= (long) 0 ;
5209 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5210 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5211 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5212 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5216 bool temp6
= False
;
5217 bool temp9
= False
;
5218 PyObject
* obj0
= 0 ;
5219 PyObject
* obj1
= 0 ;
5220 PyObject
* obj2
= 0 ;
5221 PyObject
* obj3
= 0 ;
5222 PyObject
* obj4
= 0 ;
5223 PyObject
* obj5
= 0 ;
5224 PyObject
* obj6
= 0 ;
5225 PyObject
* obj7
= 0 ;
5226 PyObject
* obj8
= 0 ;
5228 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5236 arg3
= (int) SWIG_AsInt(obj2
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5241 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5247 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5252 if (! PySequence_Check(obj5
)) {
5253 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5256 arg6
= new wxArrayString
;
5258 int i
, len
=PySequence_Length(obj5
);
5259 for (i
=0; i
<len
; i
++) {
5260 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5262 PyObject
* str
= PyObject_Unicode(item
);
5264 PyObject
* str
= PyObject_Str(item
);
5266 arg6
->Add(Py2wxString(str
));
5273 arg7
= (long) SWIG_AsLong(obj6
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5277 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5278 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5281 PyErr_SetString(PyExc_TypeError
,"null reference");
5287 arg9
= wxString_in_helper(obj8
);
5288 if (arg9
== NULL
) SWIG_fail
;
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5294 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5296 wxPyEndAllowThreads(__tstate
);
5297 if (PyErr_Occurred()) SWIG_fail
;
5300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5303 if (temp6
) delete arg6
;
5312 if (temp6
) delete arg6
;
5322 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5323 PyObject
*resultobj
;
5324 wxListBox
*arg1
= (wxListBox
*) 0 ;
5325 wxString
*arg2
= 0 ;
5327 PyObject
*arg4
= (PyObject
*) NULL
;
5328 bool temp2
= False
;
5329 PyObject
* obj0
= 0 ;
5330 PyObject
* obj1
= 0 ;
5331 PyObject
* obj2
= 0 ;
5332 PyObject
* obj3
= 0 ;
5334 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5341 arg2
= wxString_in_helper(obj1
);
5342 if (arg2
== NULL
) SWIG_fail
;
5345 arg3
= (int) SWIG_AsInt(obj2
);
5346 if (PyErr_Occurred()) SWIG_fail
;
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5354 wxPyEndAllowThreads(__tstate
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5357 Py_INCREF(Py_None
); resultobj
= Py_None
;
5372 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
*resultobj
;
5374 wxListBox
*arg1
= (wxListBox
*) 0 ;
5375 wxArrayString
*arg2
= 0 ;
5377 bool temp2
= False
;
5378 PyObject
* obj0
= 0 ;
5379 PyObject
* obj1
= 0 ;
5380 PyObject
* obj2
= 0 ;
5382 (char *) "self",(char *) "items",(char *) "pos", NULL
5385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5389 if (! PySequence_Check(obj1
)) {
5390 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5393 arg2
= new wxArrayString
;
5395 int i
, len
=PySequence_Length(obj1
);
5396 for (i
=0; i
<len
; i
++) {
5397 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5399 PyObject
* str
= PyObject_Unicode(item
);
5401 PyObject
* str
= PyObject_Str(item
);
5403 arg2
->Add(Py2wxString(str
));
5408 arg3
= (int) SWIG_AsInt(obj2
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5412 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5417 Py_INCREF(Py_None
); resultobj
= Py_None
;
5419 if (temp2
) delete arg2
;
5424 if (temp2
) delete arg2
;
5430 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5431 PyObject
*resultobj
;
5432 wxListBox
*arg1
= (wxListBox
*) 0 ;
5433 wxArrayString
*arg2
= 0 ;
5434 bool temp2
= False
;
5435 PyObject
* obj0
= 0 ;
5436 PyObject
* obj1
= 0 ;
5438 (char *) "self",(char *) "items", NULL
5441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5445 if (! PySequence_Check(obj1
)) {
5446 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5449 arg2
= new wxArrayString
;
5451 int i
, len
=PySequence_Length(obj1
);
5452 for (i
=0; i
<len
; i
++) {
5453 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5455 PyObject
* str
= PyObject_Unicode(item
);
5457 PyObject
* str
= PyObject_Str(item
);
5459 arg2
->Add(Py2wxString(str
));
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 (arg1
)->Set((wxArrayString
const &)*arg2
);
5468 wxPyEndAllowThreads(__tstate
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5471 Py_INCREF(Py_None
); resultobj
= Py_None
;
5473 if (temp2
) delete arg2
;
5478 if (temp2
) delete arg2
;
5484 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5485 PyObject
*resultobj
;
5486 wxListBox
*arg1
= (wxListBox
*) 0 ;
5489 PyObject
* obj0
= 0 ;
5490 PyObject
* obj1
= 0 ;
5492 (char *) "self",(char *) "n", NULL
5495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5498 arg2
= (int) SWIG_AsInt(obj1
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5502 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5516 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
*resultobj
;
5518 wxListBox
*arg1
= (wxListBox
*) 0 ;
5520 bool arg3
= (bool) True
;
5521 PyObject
* obj0
= 0 ;
5522 PyObject
* obj1
= 0 ;
5523 PyObject
* obj2
= 0 ;
5525 (char *) "self",(char *) "n",(char *) "select", NULL
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5531 arg2
= (int) SWIG_AsInt(obj1
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5534 arg3
= (bool) SWIG_AsBool(obj2
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5539 (arg1
)->SetSelection(arg2
,arg3
);
5541 wxPyEndAllowThreads(__tstate
);
5542 if (PyErr_Occurred()) SWIG_fail
;
5544 Py_INCREF(Py_None
); resultobj
= Py_None
;
5551 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5552 PyObject
*resultobj
;
5553 wxListBox
*arg1
= (wxListBox
*) 0 ;
5555 PyObject
* obj0
= 0 ;
5556 PyObject
* obj1
= 0 ;
5558 (char *) "self",(char *) "n", NULL
5561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5564 arg2
= (int) SWIG_AsInt(obj1
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 (arg1
)->Select(arg2
);
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5573 Py_INCREF(Py_None
); resultobj
= Py_None
;
5580 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
;
5582 wxListBox
*arg1
= (wxListBox
*) 0 ;
5584 PyObject
* obj0
= 0 ;
5585 PyObject
* obj1
= 0 ;
5587 (char *) "self",(char *) "n", NULL
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5593 arg2
= (int) SWIG_AsInt(obj1
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 (arg1
)->Deselect(arg2
);
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5602 Py_INCREF(Py_None
); resultobj
= Py_None
;
5609 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
*resultobj
;
5611 wxListBox
*arg1
= (wxListBox
*) 0 ;
5612 int arg2
= (int) -1 ;
5613 PyObject
* obj0
= 0 ;
5614 PyObject
* obj1
= 0 ;
5616 (char *) "self",(char *) "itemToLeaveSelected", NULL
5619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5623 arg2
= (int) SWIG_AsInt(obj1
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 (arg1
)->DeselectAll(arg2
);
5630 wxPyEndAllowThreads(__tstate
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5633 Py_INCREF(Py_None
); resultobj
= Py_None
;
5640 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
*resultobj
;
5642 wxListBox
*arg1
= (wxListBox
*) 0 ;
5643 wxString
*arg2
= 0 ;
5644 bool arg3
= (bool) True
;
5646 bool temp2
= False
;
5647 PyObject
* obj0
= 0 ;
5648 PyObject
* obj1
= 0 ;
5649 PyObject
* obj2
= 0 ;
5651 (char *) "self",(char *) "s",(char *) "select", NULL
5654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5658 arg2
= wxString_in_helper(obj1
);
5659 if (arg2
== NULL
) SWIG_fail
;
5663 arg3
= (bool) SWIG_AsBool(obj2
);
5664 if (PyErr_Occurred()) SWIG_fail
;
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5670 wxPyEndAllowThreads(__tstate
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5690 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5691 PyObject
*resultobj
;
5692 wxListBox
*arg1
= (wxListBox
*) 0 ;
5694 PyObject
* obj0
= 0 ;
5696 (char *) "self", NULL
5699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5716 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5717 PyObject
*resultobj
;
5718 wxListBox
*arg1
= (wxListBox
*) 0 ;
5720 PyObject
* obj0
= 0 ;
5721 PyObject
* obj1
= 0 ;
5723 (char *) "self",(char *) "n", NULL
5726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5729 arg2
= (int) SWIG_AsInt(obj1
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 (arg1
)->SetFirstItem(arg2
);
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5738 Py_INCREF(Py_None
); resultobj
= Py_None
;
5745 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxListBox
*arg1
= (wxListBox
*) 0 ;
5748 wxString
*arg2
= 0 ;
5749 bool temp2
= False
;
5750 PyObject
* obj0
= 0 ;
5751 PyObject
* obj1
= 0 ;
5753 (char *) "self",(char *) "s", NULL
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5760 arg2
= wxString_in_helper(obj1
);
5761 if (arg2
== NULL
) SWIG_fail
;
5765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5766 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5768 wxPyEndAllowThreads(__tstate
);
5769 if (PyErr_Occurred()) SWIG_fail
;
5771 Py_INCREF(Py_None
); resultobj
= Py_None
;
5786 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5787 PyObject
*resultobj
;
5788 wxListBox
*arg1
= (wxListBox
*) 0 ;
5790 PyObject
* obj0
= 0 ;
5791 PyObject
* obj1
= 0 ;
5793 (char *) "self",(char *) "n", NULL
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5799 arg2
= (int) SWIG_AsInt(obj1
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 (arg1
)->EnsureVisible(arg2
);
5805 wxPyEndAllowThreads(__tstate
);
5806 if (PyErr_Occurred()) SWIG_fail
;
5808 Py_INCREF(Py_None
); resultobj
= Py_None
;
5815 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
*resultobj
;
5817 wxListBox
*arg1
= (wxListBox
*) 0 ;
5818 wxString
*arg2
= 0 ;
5819 bool temp2
= False
;
5820 PyObject
* obj0
= 0 ;
5821 PyObject
* obj1
= 0 ;
5823 (char *) "self",(char *) "s", NULL
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5830 arg2
= wxString_in_helper(obj1
);
5831 if (arg2
== NULL
) SWIG_fail
;
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5841 Py_INCREF(Py_None
); resultobj
= Py_None
;
5856 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5857 PyObject
*resultobj
;
5858 wxListBox
*arg1
= (wxListBox
*) 0 ;
5860 PyObject
* obj0
= 0 ;
5862 (char *) "self", NULL
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5870 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5872 wxPyEndAllowThreads(__tstate
);
5873 if (PyErr_Occurred()) SWIG_fail
;
5876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5884 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5885 PyObject
*resultobj
;
5886 wxListBox
*arg1
= (wxListBox
*) 0 ;
5888 wxColour
*arg3
= 0 ;
5890 PyObject
* obj0
= 0 ;
5891 PyObject
* obj1
= 0 ;
5892 PyObject
* obj2
= 0 ;
5894 (char *) "self",(char *) "item",(char *) "c", NULL
5897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5900 arg2
= (int) SWIG_AsInt(obj1
);
5901 if (PyErr_Occurred()) SWIG_fail
;
5904 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5908 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5913 Py_INCREF(Py_None
); resultobj
= Py_None
;
5920 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
*resultobj
;
5922 wxListBox
*arg1
= (wxListBox
*) 0 ;
5924 wxColour
*arg3
= 0 ;
5926 PyObject
* obj0
= 0 ;
5927 PyObject
* obj1
= 0 ;
5928 PyObject
* obj2
= 0 ;
5930 (char *) "self",(char *) "item",(char *) "c", NULL
5933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5936 arg2
= (int) SWIG_AsInt(obj1
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5940 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5949 Py_INCREF(Py_None
); resultobj
= Py_None
;
5956 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
*resultobj
;
5958 wxListBox
*arg1
= (wxListBox
*) 0 ;
5961 PyObject
* obj0
= 0 ;
5962 PyObject
* obj1
= 0 ;
5963 PyObject
* obj2
= 0 ;
5965 (char *) "self",(char *) "item",(char *) "f", NULL
5968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5971 arg2
= (int) SWIG_AsInt(obj1
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5973 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
5974 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5977 PyErr_SetString(PyExc_TypeError
,"null reference");
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5987 Py_INCREF(Py_None
); resultobj
= Py_None
;
5994 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
5996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5997 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5999 return Py_BuildValue((char *)"");
6001 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
*resultobj
;
6003 wxWindow
*arg1
= (wxWindow
*) 0 ;
6005 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6006 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6007 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6008 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6009 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6010 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6011 long arg6
= (long) 0 ;
6012 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6013 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6014 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6015 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6016 wxCheckListBox
*result
;
6019 bool temp5
= False
;
6020 bool temp8
= False
;
6021 PyObject
* obj0
= 0 ;
6022 PyObject
* obj1
= 0 ;
6023 PyObject
* obj2
= 0 ;
6024 PyObject
* obj3
= 0 ;
6025 PyObject
* obj4
= 0 ;
6026 PyObject
* obj5
= 0 ;
6027 PyObject
* obj6
= 0 ;
6028 PyObject
* obj7
= 0 ;
6030 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6036 arg2
= (int) SWIG_AsInt(obj1
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6041 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6047 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6052 if (! PySequence_Check(obj4
)) {
6053 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6056 arg5
= new wxArrayString
;
6058 int i
, len
=PySequence_Length(obj4
);
6059 for (i
=0; i
<len
; i
++) {
6060 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6062 PyObject
* str
= PyObject_Unicode(item
);
6064 PyObject
* str
= PyObject_Str(item
);
6066 arg5
->Add(Py2wxString(str
));
6073 arg6
= (long) SWIG_AsLong(obj5
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6077 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6078 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6081 PyErr_SetString(PyExc_TypeError
,"null reference");
6087 arg8
= wxString_in_helper(obj7
);
6088 if (arg8
== NULL
) SWIG_fail
;
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6094 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6101 if (temp5
) delete arg5
;
6110 if (temp5
) delete arg5
;
6120 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6121 PyObject
*resultobj
;
6122 wxCheckListBox
*result
;
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6130 result
= (wxCheckListBox
*)new wxCheckListBox();
6132 wxPyEndAllowThreads(__tstate
);
6133 if (PyErr_Occurred()) SWIG_fail
;
6135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6142 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
*resultobj
;
6144 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6145 wxWindow
*arg2
= (wxWindow
*) 0 ;
6147 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6148 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6149 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6150 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6151 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6152 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6153 long arg7
= (long) 0 ;
6154 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6155 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6156 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6157 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6161 bool temp6
= False
;
6162 bool temp9
= False
;
6163 PyObject
* obj0
= 0 ;
6164 PyObject
* obj1
= 0 ;
6165 PyObject
* obj2
= 0 ;
6166 PyObject
* obj3
= 0 ;
6167 PyObject
* obj4
= 0 ;
6168 PyObject
* obj5
= 0 ;
6169 PyObject
* obj6
= 0 ;
6170 PyObject
* obj7
= 0 ;
6171 PyObject
* obj8
= 0 ;
6173 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6181 arg3
= (int) SWIG_AsInt(obj2
);
6182 if (PyErr_Occurred()) SWIG_fail
;
6186 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6192 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6197 if (! PySequence_Check(obj5
)) {
6198 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6201 arg6
= new wxArrayString
;
6203 int i
, len
=PySequence_Length(obj5
);
6204 for (i
=0; i
<len
; i
++) {
6205 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6207 PyObject
* str
= PyObject_Unicode(item
);
6209 PyObject
* str
= PyObject_Str(item
);
6211 arg6
->Add(Py2wxString(str
));
6218 arg7
= (long) SWIG_AsLong(obj6
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6222 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6223 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6226 PyErr_SetString(PyExc_TypeError
,"null reference");
6232 arg9
= wxString_in_helper(obj8
);
6233 if (arg9
== NULL
) SWIG_fail
;
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6248 if (temp6
) delete arg6
;
6257 if (temp6
) delete arg6
;
6267 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
*resultobj
;
6269 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6272 PyObject
* obj0
= 0 ;
6273 PyObject
* obj1
= 0 ;
6275 (char *) "self",(char *) "index", NULL
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6281 arg2
= (int) SWIG_AsInt(obj1
);
6282 if (PyErr_Occurred()) SWIG_fail
;
6284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6285 result
= (bool)(arg1
)->IsChecked(arg2
);
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) SWIG_fail
;
6291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6299 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
*resultobj
;
6301 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6303 int arg3
= (int) True
;
6304 PyObject
* obj0
= 0 ;
6305 PyObject
* obj1
= 0 ;
6306 PyObject
* obj2
= 0 ;
6308 (char *) "self",(char *) "index",(char *) "check", NULL
6311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6314 arg2
= (int) SWIG_AsInt(obj1
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6317 arg3
= (int) SWIG_AsInt(obj2
);
6318 if (PyErr_Occurred()) SWIG_fail
;
6321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6322 (arg1
)->Check(arg2
,arg3
);
6324 wxPyEndAllowThreads(__tstate
);
6325 if (PyErr_Occurred()) SWIG_fail
;
6327 Py_INCREF(Py_None
); resultobj
= Py_None
;
6334 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6335 PyObject
*resultobj
;
6336 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6340 PyObject
* obj0
= 0 ;
6341 PyObject
* obj1
= 0 ;
6343 (char *) "self",(char *) "pt", NULL
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6351 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6355 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6360 resultobj
= SWIG_FromInt((int)result
);
6367 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
*resultobj
;
6369 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6373 PyObject
* obj0
= 0 ;
6374 PyObject
* obj1
= 0 ;
6375 PyObject
* obj2
= 0 ;
6377 (char *) "self",(char *) "x",(char *) "y", NULL
6380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6383 arg2
= (int) SWIG_AsInt(obj1
);
6384 if (PyErr_Occurred()) SWIG_fail
;
6385 arg3
= (int) SWIG_AsInt(obj2
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6391 wxPyEndAllowThreads(__tstate
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6394 resultobj
= SWIG_FromInt((int)result
);
6401 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
6403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6404 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6406 return Py_BuildValue((char *)"");
6408 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
6409 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6414 static PyObject
*_wrap_TextCtrlNameStr_get() {
6419 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6421 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6428 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*, PyObject
*args
) {
6429 PyObject
*resultobj
;
6432 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6435 result
= (wxTextAttr
*)new wxTextAttr();
6437 wxPyEndAllowThreads(__tstate
);
6438 if (PyErr_Occurred()) SWIG_fail
;
6440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6447 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*, PyObject
*args
) {
6448 PyObject
*resultobj
;
6449 wxColour
*arg1
= 0 ;
6450 wxColour
const &arg2_defvalue
= wxNullColour
;
6451 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6452 wxFont
const &arg3_defvalue
= wxNullFont
;
6453 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6454 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6458 PyObject
* obj0
= 0 ;
6459 PyObject
* obj1
= 0 ;
6460 PyObject
* obj2
= 0 ;
6461 PyObject
* obj3
= 0 ;
6463 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6466 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6471 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6475 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6476 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6479 PyErr_SetString(PyExc_TypeError
,"null reference");
6484 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6485 if (PyErr_Occurred()) SWIG_fail
;
6488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6489 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6491 wxPyEndAllowThreads(__tstate
);
6492 if (PyErr_Occurred()) SWIG_fail
;
6494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6501 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6506 argc
= PyObject_Length(args
);
6507 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6508 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6511 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6513 if ((argc
>= 1) && (argc
<= 4)) {
6516 _v
= wxColour_typecheck(argv
[0]);
6520 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6523 _v
= wxColour_typecheck(argv
[1]);
6527 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6531 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6540 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6542 _v
= SWIG_CheckInt(argv
[3]);
6544 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6551 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6556 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
*resultobj
;
6558 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6559 PyObject
* obj0
= 0 ;
6561 (char *) "self", NULL
6564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6574 Py_INCREF(Py_None
); resultobj
= Py_None
;
6581 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6582 PyObject
*resultobj
;
6583 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6584 PyObject
* obj0
= 0 ;
6586 (char *) "self", NULL
6589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6596 wxPyEndAllowThreads(__tstate
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6599 Py_INCREF(Py_None
); resultobj
= Py_None
;
6606 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
;
6608 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6609 wxColour
*arg2
= 0 ;
6611 PyObject
* obj0
= 0 ;
6612 PyObject
* obj1
= 0 ;
6614 (char *) "self",(char *) "colText", NULL
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6622 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6626 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6628 wxPyEndAllowThreads(__tstate
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6631 Py_INCREF(Py_None
); resultobj
= Py_None
;
6638 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
*resultobj
;
6640 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6641 wxColour
*arg2
= 0 ;
6643 PyObject
* obj0
= 0 ;
6644 PyObject
* obj1
= 0 ;
6646 (char *) "self",(char *) "colBack", NULL
6649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6654 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6660 wxPyEndAllowThreads(__tstate
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6663 Py_INCREF(Py_None
); resultobj
= Py_None
;
6670 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6671 PyObject
*resultobj
;
6672 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6674 long arg3
= (long) wxTEXT_ATTR_FONT
;
6675 PyObject
* obj0
= 0 ;
6676 PyObject
* obj1
= 0 ;
6677 PyObject
* obj2
= 0 ;
6679 (char *) "self",(char *) "font",(char *) "flags", NULL
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6686 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6689 PyErr_SetString(PyExc_TypeError
,"null reference");
6693 arg3
= (long) SWIG_AsLong(obj2
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6703 Py_INCREF(Py_None
); resultobj
= Py_None
;
6710 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
*resultobj
;
6712 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6714 PyObject
* obj0
= 0 ;
6715 PyObject
* obj1
= 0 ;
6717 (char *) "self",(char *) "alignment", NULL
6720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6723 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6727 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6729 wxPyEndAllowThreads(__tstate
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6732 Py_INCREF(Py_None
); resultobj
= Py_None
;
6739 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6740 PyObject
*resultobj
;
6741 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6742 wxArrayInt
*arg2
= 0 ;
6743 bool temp2
= False
;
6744 PyObject
* obj0
= 0 ;
6745 PyObject
* obj1
= 0 ;
6747 (char *) "self",(char *) "tabs", NULL
6750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6754 if (! PySequence_Check(obj1
)) {
6755 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6758 arg2
= new wxArrayInt
;
6760 int i
, len
=PySequence_Length(obj1
);
6761 for (i
=0; i
<len
; i
++) {
6762 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6763 PyObject
* number
= PyNumber_Int(item
);
6764 arg2
->Add(PyInt_AS_LONG(number
));
6770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6773 wxPyEndAllowThreads(__tstate
);
6774 if (PyErr_Occurred()) SWIG_fail
;
6776 Py_INCREF(Py_None
); resultobj
= Py_None
;
6778 if (temp2
) delete arg2
;
6783 if (temp2
) delete arg2
;
6789 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
*resultobj
;
6791 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6793 PyObject
* obj0
= 0 ;
6794 PyObject
* obj1
= 0 ;
6796 (char *) "self",(char *) "indent", NULL
6799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6802 arg2
= (int) SWIG_AsInt(obj1
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6806 (arg1
)->SetLeftIndent(arg2
);
6808 wxPyEndAllowThreads(__tstate
);
6809 if (PyErr_Occurred()) SWIG_fail
;
6811 Py_INCREF(Py_None
); resultobj
= Py_None
;
6818 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
*resultobj
;
6820 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6822 PyObject
* obj0
= 0 ;
6823 PyObject
* obj1
= 0 ;
6825 (char *) "self",(char *) "indent", NULL
6828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6831 arg2
= (int) SWIG_AsInt(obj1
);
6832 if (PyErr_Occurred()) SWIG_fail
;
6834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6835 (arg1
)->SetRightIndent(arg2
);
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6840 Py_INCREF(Py_None
); resultobj
= Py_None
;
6847 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
*resultobj
;
6849 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6851 PyObject
* obj0
= 0 ;
6852 PyObject
* obj1
= 0 ;
6854 (char *) "self",(char *) "flags", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6860 arg2
= (long) SWIG_AsLong(obj1
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 (arg1
)->SetFlags(arg2
);
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6869 Py_INCREF(Py_None
); resultobj
= Py_None
;
6876 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6877 PyObject
*resultobj
;
6878 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6880 PyObject
* obj0
= 0 ;
6882 (char *) "self", NULL
6885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6890 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6892 wxPyEndAllowThreads(__tstate
);
6893 if (PyErr_Occurred()) SWIG_fail
;
6896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6904 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6905 PyObject
*resultobj
;
6906 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6908 PyObject
* obj0
= 0 ;
6910 (char *) "self", NULL
6913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6918 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6920 wxPyEndAllowThreads(__tstate
);
6921 if (PyErr_Occurred()) SWIG_fail
;
6924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6932 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
*resultobj
;
6934 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6936 PyObject
* obj0
= 0 ;
6938 (char *) "self", NULL
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6946 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6948 wxPyEndAllowThreads(__tstate
);
6949 if (PyErr_Occurred()) SWIG_fail
;
6952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6960 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
*resultobj
;
6962 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6964 PyObject
* obj0
= 0 ;
6966 (char *) "self", NULL
6969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6974 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6976 wxPyEndAllowThreads(__tstate
);
6977 if (PyErr_Occurred()) SWIG_fail
;
6980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6988 static PyObject
*_wrap_TextAttr_HasTabs(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_HasTabs",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
)->HasTabs();
7004 wxPyEndAllowThreads(__tstate
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7016 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
;
7018 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7020 PyObject
* obj0
= 0 ;
7022 (char *) "self", NULL
7025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7044 static PyObject
*_wrap_TextAttr_HasRightIndent(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_HasRightIndent",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();
7058 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7072 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
*resultobj
;
7074 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7077 PyObject
* obj0
= 0 ;
7078 PyObject
* obj1
= 0 ;
7080 (char *) "self",(char *) "flag", NULL
7083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7086 arg2
= (long) SWIG_AsLong(obj1
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7104 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
;
7106 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7108 PyObject
* obj0
= 0 ;
7110 (char *) "self", NULL
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7119 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7120 result
= (wxColour
*) &_result_ref
;
7123 wxPyEndAllowThreads(__tstate
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7133 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
;
7135 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7137 PyObject
* obj0
= 0 ;
7139 (char *) "self", NULL
7142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7149 result
= (wxColour
*) &_result_ref
;
7152 wxPyEndAllowThreads(__tstate
);
7153 if (PyErr_Occurred()) SWIG_fail
;
7155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7162 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
*resultobj
;
7164 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7166 PyObject
* obj0
= 0 ;
7168 (char *) "self", NULL
7171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7178 result
= (wxFont
*) &_result_ref
;
7181 wxPyEndAllowThreads(__tstate
);
7182 if (PyErr_Occurred()) SWIG_fail
;
7185 wxFont
* resultptr
= new wxFont(*result
);
7186 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7194 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7195 PyObject
*resultobj
;
7196 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7198 PyObject
* obj0
= 0 ;
7200 (char *) "self", NULL
7203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7208 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7213 resultobj
= SWIG_FromInt((int)result
);
7220 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
*resultobj
;
7222 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7224 PyObject
* obj0
= 0 ;
7226 (char *) "self", NULL
7229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7235 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7236 result
= (wxArrayInt
*) &_result_ref
;
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7243 resultobj
= PyList_New(0);
7245 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7246 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7247 PyList_Append(resultobj
, val
);
7257 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
;
7259 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7261 PyObject
* obj0
= 0 ;
7263 (char *) "self", NULL
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7271 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7273 wxPyEndAllowThreads(__tstate
);
7274 if (PyErr_Occurred()) SWIG_fail
;
7276 resultobj
= SWIG_FromLong((long)result
);
7283 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
*resultobj
;
7285 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7287 PyObject
* obj0
= 0 ;
7289 (char *) "self", NULL
7292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7299 wxPyEndAllowThreads(__tstate
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7302 resultobj
= SWIG_FromLong((long)result
);
7309 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7310 PyObject
*resultobj
;
7311 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7313 PyObject
* obj0
= 0 ;
7315 (char *) "self", NULL
7318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7323 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7325 wxPyEndAllowThreads(__tstate
);
7326 if (PyErr_Occurred()) SWIG_fail
;
7328 resultobj
= SWIG_FromLong((long)result
);
7335 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7336 PyObject
*resultobj
;
7337 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7339 PyObject
* obj0
= 0 ;
7341 (char *) "self", NULL
7344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7351 wxPyEndAllowThreads(__tstate
);
7352 if (PyErr_Occurred()) SWIG_fail
;
7355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7363 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
*resultobj
;
7365 wxTextAttr
*arg1
= 0 ;
7366 wxTextAttr
*arg2
= 0 ;
7367 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7369 PyObject
* obj0
= 0 ;
7370 PyObject
* obj1
= 0 ;
7371 PyObject
* obj2
= 0 ;
7373 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7378 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7381 PyErr_SetString(PyExc_TypeError
,"null reference");
7384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7385 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7388 PyErr_SetString(PyExc_TypeError
,"null reference");
7391 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7395 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7397 wxPyEndAllowThreads(__tstate
);
7398 if (PyErr_Occurred()) SWIG_fail
;
7401 wxTextAttr
* resultptr
;
7402 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7403 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7411 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
7413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7414 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7416 return Py_BuildValue((char *)"");
7418 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7419 PyObject
*resultobj
;
7420 wxWindow
*arg1
= (wxWindow
*) 0 ;
7422 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7423 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7424 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7425 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7426 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7427 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7428 long arg6
= (long) 0 ;
7429 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7430 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7431 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7432 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7434 bool temp3
= False
;
7437 bool temp8
= False
;
7438 PyObject
* obj0
= 0 ;
7439 PyObject
* obj1
= 0 ;
7440 PyObject
* obj2
= 0 ;
7441 PyObject
* obj3
= 0 ;
7442 PyObject
* obj4
= 0 ;
7443 PyObject
* obj5
= 0 ;
7444 PyObject
* obj6
= 0 ;
7445 PyObject
* obj7
= 0 ;
7447 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7453 arg2
= (int) SWIG_AsInt(obj1
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7457 arg3
= wxString_in_helper(obj2
);
7458 if (arg3
== NULL
) SWIG_fail
;
7465 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7471 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7475 arg6
= (long) SWIG_AsLong(obj5
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7479 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7480 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7483 PyErr_SetString(PyExc_TypeError
,"null reference");
7489 arg8
= wxString_in_helper(obj7
);
7490 if (arg8
== NULL
) SWIG_fail
;
7495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7496 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7498 wxPyEndAllowThreads(__tstate
);
7499 if (PyErr_Occurred()) SWIG_fail
;
7502 resultobj
= wxPyMake_wxObject(result
);
7526 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
*resultobj
;
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 result
= (wxTextCtrl
*)new wxTextCtrl();
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7542 resultobj
= wxPyMake_wxObject(result
);
7550 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7551 PyObject
*resultobj
;
7552 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7553 wxWindow
*arg2
= (wxWindow
*) 0 ;
7555 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7556 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7557 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7558 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7559 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7560 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7561 long arg7
= (long) 0 ;
7562 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7563 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7564 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7565 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7567 bool temp4
= False
;
7570 bool temp9
= False
;
7571 PyObject
* obj0
= 0 ;
7572 PyObject
* obj1
= 0 ;
7573 PyObject
* obj2
= 0 ;
7574 PyObject
* obj3
= 0 ;
7575 PyObject
* obj4
= 0 ;
7576 PyObject
* obj5
= 0 ;
7577 PyObject
* obj6
= 0 ;
7578 PyObject
* obj7
= 0 ;
7579 PyObject
* obj8
= 0 ;
7581 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7589 arg3
= (int) SWIG_AsInt(obj2
);
7590 if (PyErr_Occurred()) SWIG_fail
;
7593 arg4
= wxString_in_helper(obj3
);
7594 if (arg4
== NULL
) SWIG_fail
;
7601 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7607 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7611 arg7
= (long) SWIG_AsLong(obj6
);
7612 if (PyErr_Occurred()) SWIG_fail
;
7615 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
7616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7619 PyErr_SetString(PyExc_TypeError
,"null reference");
7625 arg9
= wxString_in_helper(obj8
);
7626 if (arg9
== NULL
) SWIG_fail
;
7631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7634 wxPyEndAllowThreads(__tstate
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7662 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7663 PyObject
*resultobj
;
7664 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7666 PyObject
* obj0
= 0 ;
7668 (char *) "self", NULL
7671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7676 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7678 wxPyEndAllowThreads(__tstate
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7683 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7685 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7694 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7695 PyObject
*resultobj
;
7696 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7697 wxString
*arg2
= 0 ;
7698 bool temp2
= False
;
7699 PyObject
* obj0
= 0 ;
7700 PyObject
* obj1
= 0 ;
7702 (char *) "self",(char *) "value", NULL
7705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7709 arg2
= wxString_in_helper(obj1
);
7710 if (arg2
== NULL
) SWIG_fail
;
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 (arg1
)->SetValue((wxString
const &)*arg2
);
7717 wxPyEndAllowThreads(__tstate
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7720 Py_INCREF(Py_None
); resultobj
= Py_None
;
7735 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7736 PyObject
*resultobj
;
7737 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7741 PyObject
* obj0
= 0 ;
7742 PyObject
* obj1
= 0 ;
7743 PyObject
* obj2
= 0 ;
7745 (char *) "self",(char *) "from",(char *) "to", NULL
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7751 arg2
= (long) SWIG_AsLong(obj1
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7753 arg3
= (long) SWIG_AsLong(obj2
);
7754 if (PyErr_Occurred()) SWIG_fail
;
7756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7757 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7759 wxPyEndAllowThreads(__tstate
);
7760 if (PyErr_Occurred()) SWIG_fail
;
7764 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7766 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7775 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7776 PyObject
*resultobj
;
7777 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7780 PyObject
* obj0
= 0 ;
7781 PyObject
* obj1
= 0 ;
7783 (char *) "self",(char *) "lineNo", NULL
7786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7789 arg2
= (long) SWIG_AsLong(obj1
);
7790 if (PyErr_Occurred()) SWIG_fail
;
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7795 wxPyEndAllowThreads(__tstate
);
7796 if (PyErr_Occurred()) SWIG_fail
;
7798 resultobj
= SWIG_FromInt((int)result
);
7805 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7806 PyObject
*resultobj
;
7807 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7810 PyObject
* obj0
= 0 ;
7811 PyObject
* obj1
= 0 ;
7813 (char *) "self",(char *) "lineNo", NULL
7816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7819 arg2
= (long) SWIG_AsLong(obj1
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7841 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
*resultobj
;
7843 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7845 PyObject
* obj0
= 0 ;
7847 (char *) "self", NULL
7850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7855 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7857 wxPyEndAllowThreads(__tstate
);
7858 if (PyErr_Occurred()) SWIG_fail
;
7860 resultobj
= SWIG_FromInt((int)result
);
7867 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7868 PyObject
*resultobj
;
7869 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7871 PyObject
* obj0
= 0 ;
7873 (char *) "self", NULL
7876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7883 wxPyEndAllowThreads(__tstate
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7895 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
;
7897 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7899 PyObject
* obj0
= 0 ;
7901 (char *) "self", NULL
7904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7909 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7911 wxPyEndAllowThreads(__tstate
);
7912 if (PyErr_Occurred()) SWIG_fail
;
7915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7923 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
*resultobj
;
7925 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7927 PyObject
* obj0
= 0 ;
7929 (char *) "self", NULL
7932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7951 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7952 PyObject
*resultobj
;
7953 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7955 PyObject
* obj0
= 0 ;
7957 (char *) "self", NULL
7960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7965 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7967 wxPyEndAllowThreads(__tstate
);
7968 if (PyErr_Occurred()) SWIG_fail
;
7971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7979 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7980 PyObject
*resultobj
;
7981 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7982 long *arg2
= (long *) 0 ;
7983 long *arg3
= (long *) 0 ;
7986 PyObject
* obj0
= 0 ;
7988 (char *) "self", NULL
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
7994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8003 Py_INCREF(Py_None
); resultobj
= Py_None
;
8005 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8006 resultobj
= t_output_helper(resultobj
,o
);
8009 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8010 resultobj
= t_output_helper(resultobj
,o
);
8018 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8019 PyObject
*resultobj
;
8020 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8022 PyObject
* obj0
= 0 ;
8024 (char *) "self", NULL
8027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8032 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8034 wxPyEndAllowThreads(__tstate
);
8035 if (PyErr_Occurred()) SWIG_fail
;
8039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8050 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8051 PyObject
*resultobj
;
8052 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8053 PyObject
* obj0
= 0 ;
8055 (char *) "self", NULL
8058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8065 wxPyEndAllowThreads(__tstate
);
8066 if (PyErr_Occurred()) SWIG_fail
;
8068 Py_INCREF(Py_None
); resultobj
= Py_None
;
8075 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8076 PyObject
*resultobj
;
8077 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8080 wxString
*arg4
= 0 ;
8081 bool temp4
= False
;
8082 PyObject
* obj0
= 0 ;
8083 PyObject
* obj1
= 0 ;
8084 PyObject
* obj2
= 0 ;
8085 PyObject
* obj3
= 0 ;
8087 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8093 arg2
= (long) SWIG_AsLong(obj1
);
8094 if (PyErr_Occurred()) SWIG_fail
;
8095 arg3
= (long) SWIG_AsLong(obj2
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 arg4
= wxString_in_helper(obj3
);
8099 if (arg4
== NULL
) SWIG_fail
;
8103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8104 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8106 wxPyEndAllowThreads(__tstate
);
8107 if (PyErr_Occurred()) SWIG_fail
;
8109 Py_INCREF(Py_None
); resultobj
= Py_None
;
8124 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8125 PyObject
*resultobj
;
8126 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8129 PyObject
* obj0
= 0 ;
8130 PyObject
* obj1
= 0 ;
8131 PyObject
* obj2
= 0 ;
8133 (char *) "self",(char *) "from",(char *) "to", NULL
8136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8139 arg2
= (long) SWIG_AsLong(obj1
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8141 arg3
= (long) SWIG_AsLong(obj2
);
8142 if (PyErr_Occurred()) SWIG_fail
;
8144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8145 (arg1
)->Remove(arg2
,arg3
);
8147 wxPyEndAllowThreads(__tstate
);
8148 if (PyErr_Occurred()) SWIG_fail
;
8150 Py_INCREF(Py_None
); resultobj
= Py_None
;
8157 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8158 PyObject
*resultobj
;
8159 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8160 wxString
*arg2
= 0 ;
8162 bool temp2
= False
;
8163 PyObject
* obj0
= 0 ;
8164 PyObject
* obj1
= 0 ;
8166 (char *) "self",(char *) "file", NULL
8169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8173 arg2
= wxString_in_helper(obj1
);
8174 if (arg2
== NULL
) SWIG_fail
;
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8181 wxPyEndAllowThreads(__tstate
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8201 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8202 PyObject
*resultobj
;
8203 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8204 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8205 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8207 bool temp2
= False
;
8208 PyObject
* obj0
= 0 ;
8209 PyObject
* obj1
= 0 ;
8211 (char *) "self",(char *) "file", NULL
8214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8219 arg2
= wxString_in_helper(obj1
);
8220 if (arg2
== NULL
) SWIG_fail
;
8225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8226 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8228 wxPyEndAllowThreads(__tstate
);
8229 if (PyErr_Occurred()) SWIG_fail
;
8232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8248 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
*resultobj
;
8250 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8251 PyObject
* obj0
= 0 ;
8253 (char *) "self", NULL
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8261 (arg1
)->MarkDirty();
8263 wxPyEndAllowThreads(__tstate
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8266 Py_INCREF(Py_None
); resultobj
= Py_None
;
8273 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
*resultobj
;
8275 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8276 PyObject
* obj0
= 0 ;
8278 (char *) "self", NULL
8281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8286 (arg1
)->DiscardEdits();
8288 wxPyEndAllowThreads(__tstate
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8291 Py_INCREF(Py_None
); resultobj
= Py_None
;
8298 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8299 PyObject
*resultobj
;
8300 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8301 unsigned long arg2
;
8302 PyObject
* obj0
= 0 ;
8303 PyObject
* obj1
= 0 ;
8305 (char *) "self",(char *) "len", NULL
8308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8311 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8312 if (PyErr_Occurred()) SWIG_fail
;
8314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 (arg1
)->SetMaxLength(arg2
);
8317 wxPyEndAllowThreads(__tstate
);
8318 if (PyErr_Occurred()) SWIG_fail
;
8320 Py_INCREF(Py_None
); resultobj
= Py_None
;
8327 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8328 PyObject
*resultobj
;
8329 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8330 wxString
*arg2
= 0 ;
8331 bool temp2
= False
;
8332 PyObject
* obj0
= 0 ;
8333 PyObject
* obj1
= 0 ;
8335 (char *) "self",(char *) "text", NULL
8338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8342 arg2
= wxString_in_helper(obj1
);
8343 if (arg2
== NULL
) SWIG_fail
;
8347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8348 (arg1
)->WriteText((wxString
const &)*arg2
);
8350 wxPyEndAllowThreads(__tstate
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8353 Py_INCREF(Py_None
); resultobj
= Py_None
;
8368 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8369 PyObject
*resultobj
;
8370 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8371 wxString
*arg2
= 0 ;
8372 bool temp2
= False
;
8373 PyObject
* obj0
= 0 ;
8374 PyObject
* obj1
= 0 ;
8376 (char *) "self",(char *) "text", NULL
8379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8383 arg2
= wxString_in_helper(obj1
);
8384 if (arg2
== NULL
) SWIG_fail
;
8388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8389 (arg1
)->AppendText((wxString
const &)*arg2
);
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8394 Py_INCREF(Py_None
); resultobj
= Py_None
;
8409 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8410 PyObject
*resultobj
;
8411 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8412 wxKeyEvent
*arg2
= 0 ;
8414 PyObject
* obj0
= 0 ;
8415 PyObject
* obj1
= 0 ;
8417 (char *) "self",(char *) "event", NULL
8420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8423 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8424 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8427 PyErr_SetString(PyExc_TypeError
,"null reference");
8431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8432 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8434 wxPyEndAllowThreads(__tstate
);
8435 if (PyErr_Occurred()) SWIG_fail
;
8438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8446 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8447 PyObject
*resultobj
;
8448 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8451 wxTextAttr
*arg4
= 0 ;
8453 PyObject
* obj0
= 0 ;
8454 PyObject
* obj1
= 0 ;
8455 PyObject
* obj2
= 0 ;
8456 PyObject
* obj3
= 0 ;
8458 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8464 arg2
= (long) SWIG_AsLong(obj1
);
8465 if (PyErr_Occurred()) SWIG_fail
;
8466 arg3
= (long) SWIG_AsLong(obj2
);
8467 if (PyErr_Occurred()) SWIG_fail
;
8468 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8469 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8472 PyErr_SetString(PyExc_TypeError
,"null reference");
8476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8477 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8479 wxPyEndAllowThreads(__tstate
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8491 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
*resultobj
;
8493 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8495 wxTextAttr
*arg3
= 0 ;
8497 PyObject
* obj0
= 0 ;
8498 PyObject
* obj1
= 0 ;
8499 PyObject
* obj2
= 0 ;
8501 (char *) "self",(char *) "position",(char *) "style", NULL
8504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8507 arg2
= (long) SWIG_AsLong(obj1
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8509 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8510 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8513 PyErr_SetString(PyExc_TypeError
,"null reference");
8517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8518 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8520 wxPyEndAllowThreads(__tstate
);
8521 if (PyErr_Occurred()) SWIG_fail
;
8524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8532 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8533 PyObject
*resultobj
;
8534 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8535 wxTextAttr
*arg2
= 0 ;
8537 PyObject
* obj0
= 0 ;
8538 PyObject
* obj1
= 0 ;
8540 (char *) "self",(char *) "style", NULL
8543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8547 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8550 PyErr_SetString(PyExc_TypeError
,"null reference");
8554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8555 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8569 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8570 PyObject
*resultobj
;
8571 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8573 PyObject
* obj0
= 0 ;
8575 (char *) "self", NULL
8578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8584 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8585 result
= (wxTextAttr
*) &_result_ref
;
8588 wxPyEndAllowThreads(__tstate
);
8589 if (PyErr_Occurred()) SWIG_fail
;
8591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
8598 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8599 PyObject
*resultobj
;
8600 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8604 PyObject
* obj0
= 0 ;
8605 PyObject
* obj1
= 0 ;
8606 PyObject
* obj2
= 0 ;
8608 (char *) "self",(char *) "x",(char *) "y", NULL
8611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8614 arg2
= (long) SWIG_AsLong(obj1
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8616 arg3
= (long) SWIG_AsLong(obj2
);
8617 if (PyErr_Occurred()) SWIG_fail
;
8619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8625 resultobj
= SWIG_FromLong((long)result
);
8632 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8633 PyObject
*resultobj
;
8634 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8636 long *arg3
= (long *) 0 ;
8637 long *arg4
= (long *) 0 ;
8640 PyObject
* obj0
= 0 ;
8641 PyObject
* obj1
= 0 ;
8643 (char *) "self",(char *) "pos", NULL
8648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8651 arg2
= (long) SWIG_AsLong(obj1
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8655 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8657 wxPyEndAllowThreads(__tstate
);
8658 if (PyErr_Occurred()) SWIG_fail
;
8660 Py_INCREF(Py_None
); resultobj
= Py_None
;
8662 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8663 resultobj
= t_output_helper(resultobj
,o
);
8666 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8667 resultobj
= t_output_helper(resultobj
,o
);
8675 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8676 PyObject
*resultobj
;
8677 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8679 PyObject
* obj0
= 0 ;
8680 PyObject
* obj1
= 0 ;
8682 (char *) "self",(char *) "pos", NULL
8685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8688 arg2
= (long) SWIG_AsLong(obj1
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8692 (arg1
)->ShowPosition(arg2
);
8694 wxPyEndAllowThreads(__tstate
);
8695 if (PyErr_Occurred()) SWIG_fail
;
8697 Py_INCREF(Py_None
); resultobj
= Py_None
;
8704 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8705 PyObject
*resultobj
;
8706 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8708 long *arg3
= (long *) 0 ;
8709 long *arg4
= (long *) 0 ;
8714 PyObject
* obj0
= 0 ;
8715 PyObject
* obj1
= 0 ;
8717 (char *) "self",(char *) "pt", NULL
8722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8727 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8736 resultobj
= SWIG_FromInt((int)result
);
8738 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8739 resultobj
= t_output_helper(resultobj
,o
);
8742 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8743 resultobj
= t_output_helper(resultobj
,o
);
8751 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
*resultobj
;
8753 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8754 PyObject
* obj0
= 0 ;
8756 (char *) "self", NULL
8759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 wxPyEndAllowThreads(__tstate
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8769 Py_INCREF(Py_None
); resultobj
= Py_None
;
8776 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8777 PyObject
*resultobj
;
8778 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8779 PyObject
* obj0
= 0 ;
8781 (char *) "self", NULL
8784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8791 wxPyEndAllowThreads(__tstate
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8794 Py_INCREF(Py_None
); resultobj
= Py_None
;
8801 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8802 PyObject
*resultobj
;
8803 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8804 PyObject
* obj0
= 0 ;
8806 (char *) "self", NULL
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 wxPyEndAllowThreads(__tstate
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8819 Py_INCREF(Py_None
); resultobj
= Py_None
;
8826 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8827 PyObject
*resultobj
;
8828 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8830 PyObject
* obj0
= 0 ;
8832 (char *) "self", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8840 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8854 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8855 PyObject
*resultobj
;
8856 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8858 PyObject
* obj0
= 0 ;
8860 (char *) "self", NULL
8863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8882 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8883 PyObject
*resultobj
;
8884 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8886 PyObject
* obj0
= 0 ;
8888 (char *) "self", NULL
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8896 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8910 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8911 PyObject
*resultobj
;
8912 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8913 PyObject
* obj0
= 0 ;
8915 (char *) "self", NULL
8918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8925 wxPyEndAllowThreads(__tstate
);
8926 if (PyErr_Occurred()) SWIG_fail
;
8928 Py_INCREF(Py_None
); resultobj
= Py_None
;
8935 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8936 PyObject
*resultobj
;
8937 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8938 PyObject
* obj0
= 0 ;
8940 (char *) "self", NULL
8943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8950 wxPyEndAllowThreads(__tstate
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8953 Py_INCREF(Py_None
); resultobj
= Py_None
;
8960 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8961 PyObject
*resultobj
;
8962 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8964 PyObject
* obj0
= 0 ;
8966 (char *) "self", NULL
8969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
8970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8974 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
8976 wxPyEndAllowThreads(__tstate
);
8977 if (PyErr_Occurred()) SWIG_fail
;
8980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8988 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8989 PyObject
*resultobj
;
8990 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8992 PyObject
* obj0
= 0 ;
8994 (char *) "self", NULL
8997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
8998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9002 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9004 wxPyEndAllowThreads(__tstate
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9016 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9017 PyObject
*resultobj
;
9018 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9020 PyObject
* obj0
= 0 ;
9021 PyObject
* obj1
= 0 ;
9023 (char *) "self",(char *) "pos", NULL
9026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9029 arg2
= (long) SWIG_AsLong(obj1
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9033 (arg1
)->SetInsertionPoint(arg2
);
9035 wxPyEndAllowThreads(__tstate
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9038 Py_INCREF(Py_None
); resultobj
= Py_None
;
9045 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9047 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9048 PyObject
* obj0
= 0 ;
9050 (char *) "self", NULL
9053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9058 (arg1
)->SetInsertionPointEnd();
9060 wxPyEndAllowThreads(__tstate
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9063 Py_INCREF(Py_None
); resultobj
= Py_None
;
9070 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
*resultobj
;
9072 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9074 PyObject
* obj0
= 0 ;
9076 (char *) "self", NULL
9079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9089 resultobj
= SWIG_FromLong((long)result
);
9096 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
;
9098 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9100 PyObject
* obj0
= 0 ;
9102 (char *) "self", NULL
9105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9110 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9112 wxPyEndAllowThreads(__tstate
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9115 resultobj
= SWIG_FromLong((long)result
);
9122 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9123 PyObject
*resultobj
;
9124 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9127 PyObject
* obj0
= 0 ;
9128 PyObject
* obj1
= 0 ;
9129 PyObject
* obj2
= 0 ;
9131 (char *) "self",(char *) "from",(char *) "to", NULL
9134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9137 arg2
= (long) SWIG_AsLong(obj1
);
9138 if (PyErr_Occurred()) SWIG_fail
;
9139 arg3
= (long) SWIG_AsLong(obj2
);
9140 if (PyErr_Occurred()) SWIG_fail
;
9142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9143 (arg1
)->SetSelection(arg2
,arg3
);
9145 wxPyEndAllowThreads(__tstate
);
9146 if (PyErr_Occurred()) SWIG_fail
;
9148 Py_INCREF(Py_None
); resultobj
= Py_None
;
9155 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9156 PyObject
*resultobj
;
9157 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9158 PyObject
* obj0
= 0 ;
9160 (char *) "self", NULL
9163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9168 (arg1
)->SelectAll();
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9173 Py_INCREF(Py_None
); resultobj
= Py_None
;
9180 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9181 PyObject
*resultobj
;
9182 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9184 PyObject
* obj0
= 0 ;
9185 PyObject
* obj1
= 0 ;
9187 (char *) "self",(char *) "editable", NULL
9190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9193 arg2
= (bool) SWIG_AsBool(obj1
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 (arg1
)->SetEditable(arg2
);
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9202 Py_INCREF(Py_None
); resultobj
= Py_None
;
9209 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
;
9211 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9212 wxString
*arg2
= 0 ;
9213 bool temp2
= False
;
9214 PyObject
* obj0
= 0 ;
9215 PyObject
* obj1
= 0 ;
9217 (char *) "self",(char *) "text", NULL
9220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9224 arg2
= wxString_in_helper(obj1
);
9225 if (arg2
== NULL
) SWIG_fail
;
9229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9230 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9232 wxPyEndAllowThreads(__tstate
);
9233 if (PyErr_Occurred()) SWIG_fail
;
9235 Py_INCREF(Py_None
); resultobj
= Py_None
;
9250 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9251 PyObject
*resultobj
;
9252 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9256 PyObject
* obj0
= 0 ;
9257 PyObject
* obj1
= 0 ;
9258 PyObject
* obj2
= 0 ;
9260 (char *) "self",(char *) "from",(char *) "to", NULL
9263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9266 arg2
= (long) SWIG_AsLong(obj1
);
9267 if (PyErr_Occurred()) SWIG_fail
;
9268 arg3
= (long) SWIG_AsLong(obj2
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9279 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9281 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9290 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9293 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9295 return Py_BuildValue((char *)"");
9297 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
*resultobj
;
9300 wxMouseEvent
*arg2
= 0 ;
9303 wxTextUrlEvent
*result
;
9304 PyObject
* obj0
= 0 ;
9305 PyObject
* obj1
= 0 ;
9306 PyObject
* obj2
= 0 ;
9307 PyObject
* obj3
= 0 ;
9309 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9313 arg1
= (int) SWIG_AsInt(obj0
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9316 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9319 PyErr_SetString(PyExc_TypeError
,"null reference");
9322 arg3
= (long) SWIG_AsLong(obj2
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9324 arg4
= (long) SWIG_AsLong(obj3
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9330 wxPyEndAllowThreads(__tstate
);
9331 if (PyErr_Occurred()) SWIG_fail
;
9333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9340 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9341 PyObject
*resultobj
;
9342 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9343 wxMouseEvent
*result
;
9344 PyObject
* obj0
= 0 ;
9346 (char *) "self", NULL
9349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9355 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9356 result
= (wxMouseEvent
*) &_result_ref
;
9359 wxPyEndAllowThreads(__tstate
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9369 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
*resultobj
;
9371 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9373 PyObject
* obj0
= 0 ;
9375 (char *) "self", NULL
9378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9383 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9385 wxPyEndAllowThreads(__tstate
);
9386 if (PyErr_Occurred()) SWIG_fail
;
9388 resultobj
= SWIG_FromLong((long)result
);
9395 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9396 PyObject
*resultobj
;
9397 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9399 PyObject
* obj0
= 0 ;
9401 (char *) "self", NULL
9404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9409 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9414 resultobj
= SWIG_FromLong((long)result
);
9421 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
9423 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9424 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9426 return Py_BuildValue((char *)"");
9428 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
9429 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9434 static PyObject
*_wrap_ScrollBarNameStr_get() {
9439 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9441 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9448 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9449 PyObject
*resultobj
;
9450 wxWindow
*arg1
= (wxWindow
*) 0 ;
9451 int arg2
= (int) -1 ;
9452 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9453 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9454 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9455 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9456 long arg5
= (long) wxSB_HORIZONTAL
;
9457 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9458 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9459 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9460 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9461 wxScrollBar
*result
;
9464 bool temp7
= False
;
9465 PyObject
* obj0
= 0 ;
9466 PyObject
* obj1
= 0 ;
9467 PyObject
* obj2
= 0 ;
9468 PyObject
* obj3
= 0 ;
9469 PyObject
* obj4
= 0 ;
9470 PyObject
* obj5
= 0 ;
9471 PyObject
* obj6
= 0 ;
9473 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9480 arg2
= (int) SWIG_AsInt(obj1
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9486 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9492 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9496 arg5
= (long) SWIG_AsLong(obj4
);
9497 if (PyErr_Occurred()) SWIG_fail
;
9500 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
9501 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9504 PyErr_SetString(PyExc_TypeError
,"null reference");
9510 arg7
= wxString_in_helper(obj6
);
9511 if (arg7
== NULL
) SWIG_fail
;
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9537 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9538 PyObject
*resultobj
;
9539 wxScrollBar
*result
;
9544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 result
= (wxScrollBar
*)new wxScrollBar();
9549 wxPyEndAllowThreads(__tstate
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9559 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9560 PyObject
*resultobj
;
9561 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9562 wxWindow
*arg2
= (wxWindow
*) 0 ;
9563 int arg3
= (int) -1 ;
9564 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9565 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9566 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9567 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9568 long arg6
= (long) wxSB_HORIZONTAL
;
9569 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9570 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9571 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9572 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9576 bool temp8
= False
;
9577 PyObject
* obj0
= 0 ;
9578 PyObject
* obj1
= 0 ;
9579 PyObject
* obj2
= 0 ;
9580 PyObject
* obj3
= 0 ;
9581 PyObject
* obj4
= 0 ;
9582 PyObject
* obj5
= 0 ;
9583 PyObject
* obj6
= 0 ;
9584 PyObject
* obj7
= 0 ;
9586 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9595 arg3
= (int) SWIG_AsInt(obj2
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9601 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9607 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9611 arg6
= (long) SWIG_AsLong(obj5
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9615 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
9616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9619 PyErr_SetString(PyExc_TypeError
,"null reference");
9625 arg8
= wxString_in_helper(obj7
);
9626 if (arg8
== NULL
) SWIG_fail
;
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9654 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9655 PyObject
*resultobj
;
9656 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9658 PyObject
* obj0
= 0 ;
9660 (char *) "self", NULL
9663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9673 resultobj
= SWIG_FromInt((int)result
);
9680 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9681 PyObject
*resultobj
;
9682 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9684 PyObject
* obj0
= 0 ;
9686 (char *) "self", NULL
9689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9696 wxPyEndAllowThreads(__tstate
);
9697 if (PyErr_Occurred()) SWIG_fail
;
9699 resultobj
= SWIG_FromInt((int)result
);
9706 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
*resultobj
;
9708 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9710 PyObject
* obj0
= 0 ;
9712 (char *) "self", NULL
9715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9720 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9722 wxPyEndAllowThreads(__tstate
);
9723 if (PyErr_Occurred()) SWIG_fail
;
9725 resultobj
= SWIG_FromInt((int)result
);
9732 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
*resultobj
;
9734 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9736 PyObject
* obj0
= 0 ;
9738 (char *) "self", NULL
9741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9746 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9751 resultobj
= SWIG_FromInt((int)result
);
9758 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9759 PyObject
*resultobj
;
9760 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9762 PyObject
* obj0
= 0 ;
9764 (char *) "self", NULL
9767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9772 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9774 wxPyEndAllowThreads(__tstate
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9786 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9787 PyObject
*resultobj
;
9788 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9790 PyObject
* obj0
= 0 ;
9791 PyObject
* obj1
= 0 ;
9793 (char *) "self",(char *) "viewStart", NULL
9796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9799 arg2
= (int) SWIG_AsInt(obj1
);
9800 if (PyErr_Occurred()) SWIG_fail
;
9802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9803 (arg1
)->SetThumbPosition(arg2
);
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9808 Py_INCREF(Py_None
); resultobj
= Py_None
;
9815 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
;
9817 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9822 bool arg6
= (bool) True
;
9823 PyObject
* obj0
= 0 ;
9824 PyObject
* obj1
= 0 ;
9825 PyObject
* obj2
= 0 ;
9826 PyObject
* obj3
= 0 ;
9827 PyObject
* obj4
= 0 ;
9828 PyObject
* obj5
= 0 ;
9830 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9836 arg2
= (int) SWIG_AsInt(obj1
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9838 arg3
= (int) SWIG_AsInt(obj2
);
9839 if (PyErr_Occurred()) SWIG_fail
;
9840 arg4
= (int) SWIG_AsInt(obj3
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9842 arg5
= (int) SWIG_AsInt(obj4
);
9843 if (PyErr_Occurred()) SWIG_fail
;
9845 arg6
= (bool) SWIG_AsBool(obj5
);
9846 if (PyErr_Occurred()) SWIG_fail
;
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9855 Py_INCREF(Py_None
); resultobj
= Py_None
;
9862 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
9864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9865 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9867 return Py_BuildValue((char *)"");
9869 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
9870 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9875 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9880 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9882 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9889 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
9890 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9895 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9900 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9902 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9909 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9910 PyObject
*resultobj
;
9911 wxWindow
*arg1
= (wxWindow
*) 0 ;
9912 int arg2
= (int) -1 ;
9913 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9914 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9915 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9916 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9917 long arg5
= (long) wxSP_HORIZONTAL
;
9918 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9919 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9920 wxSpinButton
*result
;
9923 bool temp6
= False
;
9924 PyObject
* obj0
= 0 ;
9925 PyObject
* obj1
= 0 ;
9926 PyObject
* obj2
= 0 ;
9927 PyObject
* obj3
= 0 ;
9928 PyObject
* obj4
= 0 ;
9929 PyObject
* obj5
= 0 ;
9931 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9938 arg2
= (int) SWIG_AsInt(obj1
);
9939 if (PyErr_Occurred()) SWIG_fail
;
9944 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9950 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9954 arg5
= (long) SWIG_AsLong(obj4
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9959 arg6
= wxString_in_helper(obj5
);
9960 if (arg6
== NULL
) SWIG_fail
;
9965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9966 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9968 wxPyEndAllowThreads(__tstate
);
9969 if (PyErr_Occurred()) SWIG_fail
;
9971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
9986 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9987 PyObject
*resultobj
;
9988 wxSpinButton
*result
;
9993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
9995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9996 result
= (wxSpinButton
*)new wxSpinButton();
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10008 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10009 PyObject
*resultobj
;
10010 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10011 wxWindow
*arg2
= (wxWindow
*) 0 ;
10012 int arg3
= (int) -1 ;
10013 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10014 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10015 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10016 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10017 long arg6
= (long) wxSP_HORIZONTAL
;
10018 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10019 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10023 bool temp7
= False
;
10024 PyObject
* obj0
= 0 ;
10025 PyObject
* obj1
= 0 ;
10026 PyObject
* obj2
= 0 ;
10027 PyObject
* obj3
= 0 ;
10028 PyObject
* obj4
= 0 ;
10029 PyObject
* obj5
= 0 ;
10030 PyObject
* obj6
= 0 ;
10031 char *kwnames
[] = {
10032 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10038 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10041 arg3
= (int) SWIG_AsInt(obj2
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10047 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10053 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10057 arg6
= (long) SWIG_AsLong(obj5
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10062 arg7
= wxString_in_helper(obj6
);
10063 if (arg7
== NULL
) SWIG_fail
;
10068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10069 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10071 wxPyEndAllowThreads(__tstate
);
10072 if (PyErr_Occurred()) SWIG_fail
;
10075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10091 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10092 PyObject
*resultobj
;
10093 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10095 PyObject
* obj0
= 0 ;
10096 char *kwnames
[] = {
10097 (char *) "self", NULL
10100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10110 resultobj
= SWIG_FromInt((int)result
);
10117 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10118 PyObject
*resultobj
;
10119 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10121 PyObject
* obj0
= 0 ;
10122 char *kwnames
[] = {
10123 (char *) "self", NULL
10126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10131 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10136 resultobj
= SWIG_FromInt((int)result
);
10143 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10144 PyObject
*resultobj
;
10145 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10147 PyObject
* obj0
= 0 ;
10148 char *kwnames
[] = {
10149 (char *) "self", NULL
10152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10162 resultobj
= SWIG_FromInt((int)result
);
10169 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10170 PyObject
*resultobj
;
10171 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10173 PyObject
* obj0
= 0 ;
10174 PyObject
* obj1
= 0 ;
10175 char *kwnames
[] = {
10176 (char *) "self",(char *) "val", NULL
10179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10182 arg2
= (int) SWIG_AsInt(obj1
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10186 (arg1
)->SetValue(arg2
);
10188 wxPyEndAllowThreads(__tstate
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10191 Py_INCREF(Py_None
); resultobj
= Py_None
;
10198 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10199 PyObject
*resultobj
;
10200 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10202 PyObject
* obj0
= 0 ;
10203 PyObject
* obj1
= 0 ;
10204 char *kwnames
[] = {
10205 (char *) "self",(char *) "minVal", NULL
10208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10211 arg2
= (int) SWIG_AsInt(obj1
);
10212 if (PyErr_Occurred()) SWIG_fail
;
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 (arg1
)->SetMin(arg2
);
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10220 Py_INCREF(Py_None
); resultobj
= Py_None
;
10227 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10228 PyObject
*resultobj
;
10229 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10231 PyObject
* obj0
= 0 ;
10232 PyObject
* obj1
= 0 ;
10233 char *kwnames
[] = {
10234 (char *) "self",(char *) "maxVal", NULL
10237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10240 arg2
= (int) SWIG_AsInt(obj1
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 (arg1
)->SetMax(arg2
);
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 Py_INCREF(Py_None
); resultobj
= Py_None
;
10256 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10257 PyObject
*resultobj
;
10258 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10261 PyObject
* obj0
= 0 ;
10262 PyObject
* obj1
= 0 ;
10263 PyObject
* obj2
= 0 ;
10264 char *kwnames
[] = {
10265 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10271 arg2
= (int) SWIG_AsInt(obj1
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10273 arg3
= (int) SWIG_AsInt(obj2
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 (arg1
)->SetRange(arg2
,arg3
);
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) SWIG_fail
;
10282 Py_INCREF(Py_None
); resultobj
= Py_None
;
10289 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10290 PyObject
*resultobj
;
10291 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10293 PyObject
* obj0
= 0 ;
10294 char *kwnames
[] = {
10295 (char *) "self", NULL
10298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10303 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10305 wxPyEndAllowThreads(__tstate
);
10306 if (PyErr_Occurred()) SWIG_fail
;
10309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10317 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
10319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10320 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10322 return Py_BuildValue((char *)"");
10324 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10325 PyObject
*resultobj
;
10326 wxWindow
*arg1
= (wxWindow
*) 0 ;
10327 int arg2
= (int) -1 ;
10328 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10329 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10330 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10331 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10332 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10333 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10334 long arg6
= (long) wxSP_ARROW_KEYS
;
10335 int arg7
= (int) 0 ;
10336 int arg8
= (int) 100 ;
10337 int arg9
= (int) 0 ;
10338 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10339 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10340 wxSpinCtrl
*result
;
10341 bool temp3
= False
;
10344 bool temp10
= False
;
10345 PyObject
* obj0
= 0 ;
10346 PyObject
* obj1
= 0 ;
10347 PyObject
* obj2
= 0 ;
10348 PyObject
* obj3
= 0 ;
10349 PyObject
* obj4
= 0 ;
10350 PyObject
* obj5
= 0 ;
10351 PyObject
* obj6
= 0 ;
10352 PyObject
* obj7
= 0 ;
10353 PyObject
* obj8
= 0 ;
10354 PyObject
* obj9
= 0 ;
10355 char *kwnames
[] = {
10356 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10363 arg2
= (int) SWIG_AsInt(obj1
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10368 arg3
= wxString_in_helper(obj2
);
10369 if (arg3
== NULL
) SWIG_fail
;
10376 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10382 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10386 arg6
= (long) SWIG_AsLong(obj5
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10390 arg7
= (int) SWIG_AsInt(obj6
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10394 arg8
= (int) SWIG_AsInt(obj7
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10398 arg9
= (int) SWIG_AsInt(obj8
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10403 arg10
= wxString_in_helper(obj9
);
10404 if (arg10
== NULL
) SWIG_fail
;
10409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10438 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10439 PyObject
*resultobj
;
10440 wxSpinCtrl
*result
;
10441 char *kwnames
[] = {
10445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10448 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10450 wxPyEndAllowThreads(__tstate
);
10451 if (PyErr_Occurred()) SWIG_fail
;
10453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10460 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10461 PyObject
*resultobj
;
10462 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10463 wxWindow
*arg2
= (wxWindow
*) 0 ;
10464 int arg3
= (int) -1 ;
10465 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10466 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10467 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10468 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10469 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10470 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10471 long arg7
= (long) wxSP_ARROW_KEYS
;
10472 int arg8
= (int) 0 ;
10473 int arg9
= (int) 100 ;
10474 int arg10
= (int) 0 ;
10475 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10476 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10478 bool temp4
= False
;
10481 bool temp11
= False
;
10482 PyObject
* obj0
= 0 ;
10483 PyObject
* obj1
= 0 ;
10484 PyObject
* obj2
= 0 ;
10485 PyObject
* obj3
= 0 ;
10486 PyObject
* obj4
= 0 ;
10487 PyObject
* obj5
= 0 ;
10488 PyObject
* obj6
= 0 ;
10489 PyObject
* obj7
= 0 ;
10490 PyObject
* obj8
= 0 ;
10491 PyObject
* obj9
= 0 ;
10492 PyObject
* obj10
= 0 ;
10493 char *kwnames
[] = {
10494 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10503 arg3
= (int) SWIG_AsInt(obj2
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10508 arg4
= wxString_in_helper(obj3
);
10509 if (arg4
== NULL
) SWIG_fail
;
10516 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10522 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10526 arg7
= (long) SWIG_AsLong(obj6
);
10527 if (PyErr_Occurred()) SWIG_fail
;
10530 arg8
= (int) SWIG_AsInt(obj7
);
10531 if (PyErr_Occurred()) SWIG_fail
;
10534 arg9
= (int) SWIG_AsInt(obj8
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10538 arg10
= (int) SWIG_AsInt(obj9
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10543 arg11
= wxString_in_helper(obj10
);
10544 if (arg11
== NULL
) SWIG_fail
;
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10580 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10581 PyObject
*resultobj
;
10582 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10584 PyObject
* obj0
= 0 ;
10585 char *kwnames
[] = {
10586 (char *) "self", NULL
10589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10594 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10599 resultobj
= SWIG_FromInt((int)result
);
10606 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
;
10608 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10610 PyObject
* obj0
= 0 ;
10611 PyObject
* obj1
= 0 ;
10612 char *kwnames
[] = {
10613 (char *) "self",(char *) "value", NULL
10616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10619 arg2
= (int) SWIG_AsInt(obj1
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 (arg1
)->SetValue(arg2
);
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10628 Py_INCREF(Py_None
); resultobj
= Py_None
;
10635 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10636 PyObject
*resultobj
;
10637 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10638 wxString
*arg2
= 0 ;
10639 bool temp2
= False
;
10640 PyObject
* obj0
= 0 ;
10641 PyObject
* obj1
= 0 ;
10642 char *kwnames
[] = {
10643 (char *) "self",(char *) "text", NULL
10646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10650 arg2
= wxString_in_helper(obj1
);
10651 if (arg2
== NULL
) SWIG_fail
;
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 (arg1
)->SetValue((wxString
const &)*arg2
);
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10661 Py_INCREF(Py_None
); resultobj
= Py_None
;
10676 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10677 PyObject
*resultobj
;
10678 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10681 PyObject
* obj0
= 0 ;
10682 PyObject
* obj1
= 0 ;
10683 PyObject
* obj2
= 0 ;
10684 char *kwnames
[] = {
10685 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10691 arg2
= (int) SWIG_AsInt(obj1
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10693 arg3
= (int) SWIG_AsInt(obj2
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 (arg1
)->SetRange(arg2
,arg3
);
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10702 Py_INCREF(Py_None
); resultobj
= Py_None
;
10709 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10710 PyObject
*resultobj
;
10711 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10713 PyObject
* obj0
= 0 ;
10714 char *kwnames
[] = {
10715 (char *) "self", NULL
10718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10725 wxPyEndAllowThreads(__tstate
);
10726 if (PyErr_Occurred()) SWIG_fail
;
10728 resultobj
= SWIG_FromInt((int)result
);
10735 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
*resultobj
;
10737 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10739 PyObject
* obj0
= 0 ;
10740 char *kwnames
[] = {
10741 (char *) "self", NULL
10744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10754 resultobj
= SWIG_FromInt((int)result
);
10761 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10762 PyObject
*resultobj
;
10763 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10766 PyObject
* obj0
= 0 ;
10767 PyObject
* obj1
= 0 ;
10768 PyObject
* obj2
= 0 ;
10769 char *kwnames
[] = {
10770 (char *) "self",(char *) "from",(char *) "to", NULL
10773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10776 arg2
= (long) SWIG_AsLong(obj1
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10778 arg3
= (long) SWIG_AsLong(obj2
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10782 (arg1
)->SetSelection(arg2
,arg3
);
10784 wxPyEndAllowThreads(__tstate
);
10785 if (PyErr_Occurred()) SWIG_fail
;
10787 Py_INCREF(Py_None
); resultobj
= Py_None
;
10794 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
10796 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10797 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10799 return Py_BuildValue((char *)"");
10801 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
*resultobj
;
10803 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10804 int arg2
= (int) 0 ;
10805 wxSpinEvent
*result
;
10806 PyObject
* obj0
= 0 ;
10807 PyObject
* obj1
= 0 ;
10808 char *kwnames
[] = {
10809 (char *) "commandType",(char *) "winid", NULL
10812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10814 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10818 arg2
= (int) SWIG_AsInt(obj1
);
10819 if (PyErr_Occurred()) SWIG_fail
;
10822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10823 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
10835 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
*resultobj
;
10837 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10839 PyObject
* obj0
= 0 ;
10840 char *kwnames
[] = {
10841 (char *) "self", NULL
10844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10849 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10851 wxPyEndAllowThreads(__tstate
);
10852 if (PyErr_Occurred()) SWIG_fail
;
10854 resultobj
= SWIG_FromInt((int)result
);
10861 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
*resultobj
;
10863 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10865 PyObject
* obj0
= 0 ;
10866 PyObject
* obj1
= 0 ;
10867 char *kwnames
[] = {
10868 (char *) "self",(char *) "pos", NULL
10871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10874 arg2
= (int) SWIG_AsInt(obj1
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10878 (arg1
)->SetPosition(arg2
);
10880 wxPyEndAllowThreads(__tstate
);
10881 if (PyErr_Occurred()) SWIG_fail
;
10883 Py_INCREF(Py_None
); resultobj
= Py_None
;
10890 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
10892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10893 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10895 return Py_BuildValue((char *)"");
10897 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
10898 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10903 static PyObject
*_wrap_RadioBoxNameStr_get() {
10908 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10910 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10917 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
10918 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10923 static PyObject
*_wrap_RadioButtonNameStr_get() {
10928 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10930 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10937 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10938 PyObject
*resultobj
;
10939 wxWindow
*arg1
= (wxWindow
*) 0 ;
10941 wxString
*arg3
= 0 ;
10942 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10943 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10944 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10945 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10946 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10947 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10948 int arg7
= (int) 0 ;
10949 long arg8
= (long) wxRA_HORIZONTAL
;
10950 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10951 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10952 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
10953 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10954 wxRadioBox
*result
;
10955 bool temp3
= False
;
10958 bool temp6
= False
;
10959 bool temp10
= False
;
10960 PyObject
* obj0
= 0 ;
10961 PyObject
* obj1
= 0 ;
10962 PyObject
* obj2
= 0 ;
10963 PyObject
* obj3
= 0 ;
10964 PyObject
* obj4
= 0 ;
10965 PyObject
* obj5
= 0 ;
10966 PyObject
* obj6
= 0 ;
10967 PyObject
* obj7
= 0 ;
10968 PyObject
* obj8
= 0 ;
10969 PyObject
* obj9
= 0 ;
10970 char *kwnames
[] = {
10971 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10977 arg2
= (int) SWIG_AsInt(obj1
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10980 arg3
= wxString_in_helper(obj2
);
10981 if (arg3
== NULL
) SWIG_fail
;
10987 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10993 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10998 if (! PySequence_Check(obj5
)) {
10999 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11002 arg6
= new wxArrayString
;
11004 int i
, len
=PySequence_Length(obj5
);
11005 for (i
=0; i
<len
; i
++) {
11006 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11008 PyObject
* str
= PyObject_Unicode(item
);
11010 PyObject
* str
= PyObject_Str(item
);
11012 arg6
->Add(Py2wxString(str
));
11019 arg7
= (int) SWIG_AsInt(obj6
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11023 arg8
= (long) SWIG_AsLong(obj7
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11027 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11028 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11030 if (arg9
== NULL
) {
11031 PyErr_SetString(PyExc_TypeError
,"null reference");
11037 arg10
= wxString_in_helper(obj9
);
11038 if (arg10
== NULL
) SWIG_fail
;
11043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11044 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
);
11046 wxPyEndAllowThreads(__tstate
);
11047 if (PyErr_Occurred()) SWIG_fail
;
11049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11055 if (temp6
) delete arg6
;
11068 if (temp6
) delete arg6
;
11078 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11079 PyObject
*resultobj
;
11080 wxRadioBox
*result
;
11081 char *kwnames
[] = {
11085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11088 result
= (wxRadioBox
*)new wxRadioBox();
11090 wxPyEndAllowThreads(__tstate
);
11091 if (PyErr_Occurred()) SWIG_fail
;
11093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11100 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11101 PyObject
*resultobj
;
11102 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11103 wxWindow
*arg2
= (wxWindow
*) 0 ;
11105 wxString
*arg4
= 0 ;
11106 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11107 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11108 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11109 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11110 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11111 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11112 int arg8
= (int) 0 ;
11113 long arg9
= (long) wxRA_HORIZONTAL
;
11114 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11115 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11116 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11117 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11119 bool temp4
= False
;
11122 bool temp7
= False
;
11123 bool temp11
= False
;
11124 PyObject
* obj0
= 0 ;
11125 PyObject
* obj1
= 0 ;
11126 PyObject
* obj2
= 0 ;
11127 PyObject
* obj3
= 0 ;
11128 PyObject
* obj4
= 0 ;
11129 PyObject
* obj5
= 0 ;
11130 PyObject
* obj6
= 0 ;
11131 PyObject
* obj7
= 0 ;
11132 PyObject
* obj8
= 0 ;
11133 PyObject
* obj9
= 0 ;
11134 PyObject
* obj10
= 0 ;
11135 char *kwnames
[] = {
11136 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11144 arg3
= (int) SWIG_AsInt(obj2
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11147 arg4
= wxString_in_helper(obj3
);
11148 if (arg4
== NULL
) SWIG_fail
;
11154 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11160 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11165 if (! PySequence_Check(obj6
)) {
11166 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11169 arg7
= new wxArrayString
;
11171 int i
, len
=PySequence_Length(obj6
);
11172 for (i
=0; i
<len
; i
++) {
11173 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11175 PyObject
* str
= PyObject_Unicode(item
);
11177 PyObject
* str
= PyObject_Str(item
);
11179 arg7
->Add(Py2wxString(str
));
11186 arg8
= (int) SWIG_AsInt(obj7
);
11187 if (PyErr_Occurred()) SWIG_fail
;
11190 arg9
= (long) SWIG_AsLong(obj8
);
11191 if (PyErr_Occurred()) SWIG_fail
;
11194 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11195 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11197 if (arg10
== NULL
) {
11198 PyErr_SetString(PyExc_TypeError
,"null reference");
11204 arg11
= wxString_in_helper(obj10
);
11205 if (arg11
== NULL
) SWIG_fail
;
11210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11211 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
);
11213 wxPyEndAllowThreads(__tstate
);
11214 if (PyErr_Occurred()) SWIG_fail
;
11217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11224 if (temp7
) delete arg7
;
11237 if (temp7
) delete arg7
;
11247 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11248 PyObject
*resultobj
;
11249 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11251 PyObject
* obj0
= 0 ;
11252 PyObject
* obj1
= 0 ;
11253 char *kwnames
[] = {
11254 (char *) "self",(char *) "n", NULL
11257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11260 arg2
= (int) SWIG_AsInt(obj1
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11264 (arg1
)->SetSelection(arg2
);
11266 wxPyEndAllowThreads(__tstate
);
11267 if (PyErr_Occurred()) SWIG_fail
;
11269 Py_INCREF(Py_None
); resultobj
= Py_None
;
11276 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11277 PyObject
*resultobj
;
11278 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11280 PyObject
* obj0
= 0 ;
11281 char *kwnames
[] = {
11282 (char *) "self", NULL
11285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11290 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11292 wxPyEndAllowThreads(__tstate
);
11293 if (PyErr_Occurred()) SWIG_fail
;
11295 resultobj
= SWIG_FromInt((int)result
);
11302 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11303 PyObject
*resultobj
;
11304 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11306 PyObject
* obj0
= 0 ;
11307 char *kwnames
[] = {
11308 (char *) "self", NULL
11311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11323 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11325 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11334 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
;
11336 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11337 wxString
*arg2
= 0 ;
11339 bool temp2
= False
;
11340 PyObject
* obj0
= 0 ;
11341 PyObject
* obj1
= 0 ;
11342 char *kwnames
[] = {
11343 (char *) "self",(char *) "s", NULL
11346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11350 arg2
= wxString_in_helper(obj1
);
11351 if (arg2
== NULL
) SWIG_fail
;
11355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11356 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11358 wxPyEndAllowThreads(__tstate
);
11359 if (PyErr_Occurred()) SWIG_fail
;
11362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11378 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11379 PyObject
*resultobj
;
11380 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11382 PyObject
* obj0
= 0 ;
11383 char *kwnames
[] = {
11384 (char *) "self", NULL
11387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11397 resultobj
= SWIG_FromInt((int)result
);
11404 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11405 PyObject
*resultobj
;
11406 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11407 wxString
*arg2
= 0 ;
11409 bool temp2
= False
;
11410 PyObject
* obj0
= 0 ;
11411 PyObject
* obj1
= 0 ;
11412 char *kwnames
[] = {
11413 (char *) "self",(char *) "s", NULL
11416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11420 arg2
= wxString_in_helper(obj1
);
11421 if (arg2
== NULL
) SWIG_fail
;
11425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11426 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11428 wxPyEndAllowThreads(__tstate
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11431 resultobj
= SWIG_FromInt((int)result
);
11446 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11447 PyObject
*resultobj
;
11448 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11451 PyObject
* obj0
= 0 ;
11452 PyObject
* obj1
= 0 ;
11453 char *kwnames
[] = {
11454 (char *) "self",(char *) "n", NULL
11457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11460 arg2
= (int) SWIG_AsInt(obj1
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11464 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11466 wxPyEndAllowThreads(__tstate
);
11467 if (PyErr_Occurred()) SWIG_fail
;
11471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11482 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11483 PyObject
*resultobj
;
11484 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11486 wxString
*arg3
= 0 ;
11487 bool temp3
= False
;
11488 PyObject
* obj0
= 0 ;
11489 PyObject
* obj1
= 0 ;
11490 PyObject
* obj2
= 0 ;
11491 char *kwnames
[] = {
11492 (char *) "self",(char *) "n",(char *) "label", NULL
11495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11498 arg2
= (int) SWIG_AsInt(obj1
);
11499 if (PyErr_Occurred()) SWIG_fail
;
11501 arg3
= wxString_in_helper(obj2
);
11502 if (arg3
== NULL
) SWIG_fail
;
11506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11507 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11509 wxPyEndAllowThreads(__tstate
);
11510 if (PyErr_Occurred()) SWIG_fail
;
11512 Py_INCREF(Py_None
); resultobj
= Py_None
;
11527 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11528 PyObject
*resultobj
;
11529 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11531 bool arg3
= (bool) True
;
11532 PyObject
* obj0
= 0 ;
11533 PyObject
* obj1
= 0 ;
11534 PyObject
* obj2
= 0 ;
11535 char *kwnames
[] = {
11536 (char *) "self",(char *) "n",(char *) "enable", NULL
11539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11542 arg2
= (int) SWIG_AsInt(obj1
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11545 arg3
= (bool) SWIG_AsBool(obj2
);
11546 if (PyErr_Occurred()) SWIG_fail
;
11549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11550 (arg1
)->Enable(arg2
,arg3
);
11552 wxPyEndAllowThreads(__tstate
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11555 Py_INCREF(Py_None
); resultobj
= Py_None
;
11562 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11563 PyObject
*resultobj
;
11564 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11566 bool arg3
= (bool) True
;
11567 PyObject
* obj0
= 0 ;
11568 PyObject
* obj1
= 0 ;
11569 PyObject
* obj2
= 0 ;
11570 char *kwnames
[] = {
11571 (char *) "self",(char *) "n",(char *) "show", NULL
11574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11577 arg2
= (int) SWIG_AsInt(obj1
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11580 arg3
= (bool) SWIG_AsBool(obj2
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11585 (arg1
)->Show(arg2
,arg3
);
11587 wxPyEndAllowThreads(__tstate
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11590 Py_INCREF(Py_None
); resultobj
= Py_None
;
11597 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
;
11599 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11601 PyObject
* obj0
= 0 ;
11602 char *kwnames
[] = {
11603 (char *) "self", NULL
11606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
11613 wxPyEndAllowThreads(__tstate
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11616 resultobj
= SWIG_FromInt((int)result
);
11623 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11624 PyObject
*resultobj
;
11625 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11627 PyObject
* obj0
= 0 ;
11628 char *kwnames
[] = {
11629 (char *) "self", NULL
11632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11637 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
11639 wxPyEndAllowThreads(__tstate
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11642 resultobj
= SWIG_FromInt((int)result
);
11649 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11650 PyObject
*resultobj
;
11651 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11656 PyObject
* obj0
= 0 ;
11657 PyObject
* obj1
= 0 ;
11658 PyObject
* obj2
= 0 ;
11659 PyObject
* obj3
= 0 ;
11660 char *kwnames
[] = {
11661 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11667 arg2
= (int) SWIG_AsInt(obj1
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11669 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11671 arg4
= (long) SWIG_AsLong(obj3
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
11677 wxPyEndAllowThreads(__tstate
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11680 resultobj
= SWIG_FromInt((int)result
);
11687 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
11689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11690 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11692 return Py_BuildValue((char *)"");
11694 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11695 PyObject
*resultobj
;
11696 wxWindow
*arg1
= (wxWindow
*) 0 ;
11698 wxString
*arg3
= 0 ;
11699 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11700 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11701 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11702 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11703 long arg6
= (long) 0 ;
11704 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11705 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11706 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11707 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11708 wxRadioButton
*result
;
11709 bool temp3
= False
;
11712 bool temp8
= False
;
11713 PyObject
* obj0
= 0 ;
11714 PyObject
* obj1
= 0 ;
11715 PyObject
* obj2
= 0 ;
11716 PyObject
* obj3
= 0 ;
11717 PyObject
* obj4
= 0 ;
11718 PyObject
* obj5
= 0 ;
11719 PyObject
* obj6
= 0 ;
11720 PyObject
* obj7
= 0 ;
11721 char *kwnames
[] = {
11722 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11728 arg2
= (int) SWIG_AsInt(obj1
);
11729 if (PyErr_Occurred()) SWIG_fail
;
11731 arg3
= wxString_in_helper(obj2
);
11732 if (arg3
== NULL
) SWIG_fail
;
11738 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11744 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11748 arg6
= (long) SWIG_AsLong(obj5
);
11749 if (PyErr_Occurred()) SWIG_fail
;
11752 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
11753 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11755 if (arg7
== NULL
) {
11756 PyErr_SetString(PyExc_TypeError
,"null reference");
11762 arg8
= wxString_in_helper(obj7
);
11763 if (arg8
== NULL
) SWIG_fail
;
11768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11769 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11771 wxPyEndAllowThreads(__tstate
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11797 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11798 PyObject
*resultobj
;
11799 wxRadioButton
*result
;
11800 char *kwnames
[] = {
11804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11807 result
= (wxRadioButton
*)new wxRadioButton();
11809 wxPyEndAllowThreads(__tstate
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11819 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11820 PyObject
*resultobj
;
11821 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11822 wxWindow
*arg2
= (wxWindow
*) 0 ;
11824 wxString
*arg4
= 0 ;
11825 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11826 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11827 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11828 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11829 long arg7
= (long) 0 ;
11830 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11831 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11832 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11833 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11835 bool temp4
= False
;
11838 bool temp9
= False
;
11839 PyObject
* obj0
= 0 ;
11840 PyObject
* obj1
= 0 ;
11841 PyObject
* obj2
= 0 ;
11842 PyObject
* obj3
= 0 ;
11843 PyObject
* obj4
= 0 ;
11844 PyObject
* obj5
= 0 ;
11845 PyObject
* obj6
= 0 ;
11846 PyObject
* obj7
= 0 ;
11847 PyObject
* obj8
= 0 ;
11848 char *kwnames
[] = {
11849 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11857 arg3
= (int) SWIG_AsInt(obj2
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11860 arg4
= wxString_in_helper(obj3
);
11861 if (arg4
== NULL
) SWIG_fail
;
11867 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11873 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11877 arg7
= (long) SWIG_AsLong(obj6
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11881 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
11882 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11884 if (arg8
== NULL
) {
11885 PyErr_SetString(PyExc_TypeError
,"null reference");
11891 arg9
= wxString_in_helper(obj8
);
11892 if (arg9
== NULL
) SWIG_fail
;
11897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11898 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11900 wxPyEndAllowThreads(__tstate
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11928 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11929 PyObject
*resultobj
;
11930 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11932 PyObject
* obj0
= 0 ;
11933 char *kwnames
[] = {
11934 (char *) "self", NULL
11937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11942 result
= (bool)(arg1
)->GetValue();
11944 wxPyEndAllowThreads(__tstate
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11956 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11957 PyObject
*resultobj
;
11958 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11960 PyObject
* obj0
= 0 ;
11961 PyObject
* obj1
= 0 ;
11962 char *kwnames
[] = {
11963 (char *) "self",(char *) "value", NULL
11966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11969 arg2
= (bool) SWIG_AsBool(obj1
);
11970 if (PyErr_Occurred()) SWIG_fail
;
11972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11973 (arg1
)->SetValue(arg2
);
11975 wxPyEndAllowThreads(__tstate
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11978 Py_INCREF(Py_None
); resultobj
= Py_None
;
11985 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
11987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11988 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
11990 return Py_BuildValue((char *)"");
11992 static int _wrap_SliderNameStr_set(PyObject
*) {
11993 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
11998 static PyObject
*_wrap_SliderNameStr_get() {
12003 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12005 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12012 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12013 PyObject
*resultobj
;
12014 wxWindow
*arg1
= (wxWindow
*) 0 ;
12019 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12020 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12021 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12022 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12023 long arg8
= (long) wxSL_HORIZONTAL
;
12024 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12025 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12026 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12027 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12031 bool temp10
= False
;
12032 PyObject
* obj0
= 0 ;
12033 PyObject
* obj1
= 0 ;
12034 PyObject
* obj2
= 0 ;
12035 PyObject
* obj3
= 0 ;
12036 PyObject
* obj4
= 0 ;
12037 PyObject
* obj5
= 0 ;
12038 PyObject
* obj6
= 0 ;
12039 PyObject
* obj7
= 0 ;
12040 PyObject
* obj8
= 0 ;
12041 PyObject
* obj9
= 0 ;
12042 char *kwnames
[] = {
12043 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12049 arg2
= (int) SWIG_AsInt(obj1
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12051 arg3
= (int) SWIG_AsInt(obj2
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12053 arg4
= (int) SWIG_AsInt(obj3
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12055 arg5
= (int) SWIG_AsInt(obj4
);
12056 if (PyErr_Occurred()) SWIG_fail
;
12060 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12066 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12070 arg8
= (long) SWIG_AsLong(obj7
);
12071 if (PyErr_Occurred()) SWIG_fail
;
12074 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12075 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12077 if (arg9
== NULL
) {
12078 PyErr_SetString(PyExc_TypeError
,"null reference");
12084 arg10
= wxString_in_helper(obj9
);
12085 if (arg10
== NULL
) SWIG_fail
;
12090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12091 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12093 wxPyEndAllowThreads(__tstate
);
12094 if (PyErr_Occurred()) SWIG_fail
;
12096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12111 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12112 PyObject
*resultobj
;
12114 char *kwnames
[] = {
12118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 result
= (wxSlider
*)new wxSlider();
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12133 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
;
12135 wxSlider
*arg1
= (wxSlider
*) 0 ;
12136 wxWindow
*arg2
= (wxWindow
*) 0 ;
12141 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12142 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12143 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12144 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12145 long arg9
= (long) wxSL_HORIZONTAL
;
12146 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12147 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12148 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12149 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12153 bool temp11
= False
;
12154 PyObject
* obj0
= 0 ;
12155 PyObject
* obj1
= 0 ;
12156 PyObject
* obj2
= 0 ;
12157 PyObject
* obj3
= 0 ;
12158 PyObject
* obj4
= 0 ;
12159 PyObject
* obj5
= 0 ;
12160 PyObject
* obj6
= 0 ;
12161 PyObject
* obj7
= 0 ;
12162 PyObject
* obj8
= 0 ;
12163 PyObject
* obj9
= 0 ;
12164 PyObject
* obj10
= 0 ;
12165 char *kwnames
[] = {
12166 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12174 arg3
= (int) SWIG_AsInt(obj2
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12176 arg4
= (int) SWIG_AsInt(obj3
);
12177 if (PyErr_Occurred()) SWIG_fail
;
12178 arg5
= (int) SWIG_AsInt(obj4
);
12179 if (PyErr_Occurred()) SWIG_fail
;
12180 arg6
= (int) SWIG_AsInt(obj5
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12185 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12191 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12195 arg9
= (long) SWIG_AsLong(obj8
);
12196 if (PyErr_Occurred()) SWIG_fail
;
12199 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12200 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12202 if (arg10
== NULL
) {
12203 PyErr_SetString(PyExc_TypeError
,"null reference");
12209 arg11
= wxString_in_helper(obj10
);
12210 if (arg11
== NULL
) SWIG_fail
;
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12238 static PyObject
*_wrap_Slider_GetValue(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_GetValue",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
)->GetValue();
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12257 resultobj
= SWIG_FromInt((int)result
);
12264 static PyObject
*_wrap_Slider_SetValue(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 *) "value", NULL
12274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",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
)->SetValue(arg2
);
12283 wxPyEndAllowThreads(__tstate
);
12284 if (PyErr_Occurred()) SWIG_fail
;
12286 Py_INCREF(Py_None
); resultobj
= Py_None
;
12293 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12294 PyObject
*resultobj
;
12295 wxSlider
*arg1
= (wxSlider
*) 0 ;
12298 PyObject
* obj0
= 0 ;
12299 PyObject
* obj1
= 0 ;
12300 PyObject
* obj2
= 0 ;
12301 char *kwnames
[] = {
12302 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12308 arg2
= (int) SWIG_AsInt(obj1
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12310 arg3
= (int) SWIG_AsInt(obj2
);
12311 if (PyErr_Occurred()) SWIG_fail
;
12313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 (arg1
)->SetRange(arg2
,arg3
);
12316 wxPyEndAllowThreads(__tstate
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12319 Py_INCREF(Py_None
); resultobj
= Py_None
;
12326 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12327 PyObject
*resultobj
;
12328 wxSlider
*arg1
= (wxSlider
*) 0 ;
12330 PyObject
* obj0
= 0 ;
12331 char *kwnames
[] = {
12332 (char *) "self", NULL
12335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12340 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12342 wxPyEndAllowThreads(__tstate
);
12343 if (PyErr_Occurred()) SWIG_fail
;
12345 resultobj
= SWIG_FromInt((int)result
);
12352 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12353 PyObject
*resultobj
;
12354 wxSlider
*arg1
= (wxSlider
*) 0 ;
12356 PyObject
* obj0
= 0 ;
12357 char *kwnames
[] = {
12358 (char *) "self", NULL
12361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 resultobj
= SWIG_FromInt((int)result
);
12378 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12379 PyObject
*resultobj
;
12380 wxSlider
*arg1
= (wxSlider
*) 0 ;
12382 PyObject
* obj0
= 0 ;
12383 PyObject
* obj1
= 0 ;
12384 char *kwnames
[] = {
12385 (char *) "self",(char *) "minValue", NULL
12388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12391 arg2
= (int) SWIG_AsInt(obj1
);
12392 if (PyErr_Occurred()) SWIG_fail
;
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 (arg1
)->SetMin(arg2
);
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 Py_INCREF(Py_None
); resultobj
= Py_None
;
12407 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
;
12409 wxSlider
*arg1
= (wxSlider
*) 0 ;
12411 PyObject
* obj0
= 0 ;
12412 PyObject
* obj1
= 0 ;
12413 char *kwnames
[] = {
12414 (char *) "self",(char *) "maxValue", NULL
12417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12420 arg2
= (int) SWIG_AsInt(obj1
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 (arg1
)->SetMax(arg2
);
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12429 Py_INCREF(Py_None
); resultobj
= Py_None
;
12436 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12437 PyObject
*resultobj
;
12438 wxSlider
*arg1
= (wxSlider
*) 0 ;
12440 PyObject
* obj0
= 0 ;
12441 PyObject
* obj1
= 0 ;
12442 char *kwnames
[] = {
12443 (char *) "self",(char *) "lineSize", NULL
12446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12449 arg2
= (int) SWIG_AsInt(obj1
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12453 (arg1
)->SetLineSize(arg2
);
12455 wxPyEndAllowThreads(__tstate
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12458 Py_INCREF(Py_None
); resultobj
= Py_None
;
12465 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12466 PyObject
*resultobj
;
12467 wxSlider
*arg1
= (wxSlider
*) 0 ;
12469 PyObject
* obj0
= 0 ;
12470 PyObject
* obj1
= 0 ;
12471 char *kwnames
[] = {
12472 (char *) "self",(char *) "pageSize", NULL
12475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12478 arg2
= (int) SWIG_AsInt(obj1
);
12479 if (PyErr_Occurred()) SWIG_fail
;
12481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12482 (arg1
)->SetPageSize(arg2
);
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12487 Py_INCREF(Py_None
); resultobj
= Py_None
;
12494 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12495 PyObject
*resultobj
;
12496 wxSlider
*arg1
= (wxSlider
*) 0 ;
12498 PyObject
* obj0
= 0 ;
12499 char *kwnames
[] = {
12500 (char *) "self", NULL
12503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12508 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12510 wxPyEndAllowThreads(__tstate
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12513 resultobj
= SWIG_FromInt((int)result
);
12520 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12521 PyObject
*resultobj
;
12522 wxSlider
*arg1
= (wxSlider
*) 0 ;
12524 PyObject
* obj0
= 0 ;
12525 char *kwnames
[] = {
12526 (char *) "self", NULL
12529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12534 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12536 wxPyEndAllowThreads(__tstate
);
12537 if (PyErr_Occurred()) SWIG_fail
;
12539 resultobj
= SWIG_FromInt((int)result
);
12546 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12547 PyObject
*resultobj
;
12548 wxSlider
*arg1
= (wxSlider
*) 0 ;
12550 PyObject
* obj0
= 0 ;
12551 PyObject
* obj1
= 0 ;
12552 char *kwnames
[] = {
12553 (char *) "self",(char *) "lenPixels", NULL
12556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12559 arg2
= (int) SWIG_AsInt(obj1
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12563 (arg1
)->SetThumbLength(arg2
);
12565 wxPyEndAllowThreads(__tstate
);
12566 if (PyErr_Occurred()) SWIG_fail
;
12568 Py_INCREF(Py_None
); resultobj
= Py_None
;
12575 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12576 PyObject
*resultobj
;
12577 wxSlider
*arg1
= (wxSlider
*) 0 ;
12579 PyObject
* obj0
= 0 ;
12580 char *kwnames
[] = {
12581 (char *) "self", NULL
12584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12589 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12591 wxPyEndAllowThreads(__tstate
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12594 resultobj
= SWIG_FromInt((int)result
);
12601 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12602 PyObject
*resultobj
;
12603 wxSlider
*arg1
= (wxSlider
*) 0 ;
12605 int arg3
= (int) 1 ;
12606 PyObject
* obj0
= 0 ;
12607 PyObject
* obj1
= 0 ;
12608 PyObject
* obj2
= 0 ;
12609 char *kwnames
[] = {
12610 (char *) "self",(char *) "n",(char *) "pos", NULL
12613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12616 arg2
= (int) SWIG_AsInt(obj1
);
12617 if (PyErr_Occurred()) SWIG_fail
;
12619 arg3
= (int) SWIG_AsInt(obj2
);
12620 if (PyErr_Occurred()) SWIG_fail
;
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 (arg1
)->SetTickFreq(arg2
,arg3
);
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12629 Py_INCREF(Py_None
); resultobj
= Py_None
;
12636 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
;
12638 wxSlider
*arg1
= (wxSlider
*) 0 ;
12640 PyObject
* obj0
= 0 ;
12641 char *kwnames
[] = {
12642 (char *) "self", NULL
12645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12650 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12652 wxPyEndAllowThreads(__tstate
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12655 resultobj
= SWIG_FromInt((int)result
);
12662 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12663 PyObject
*resultobj
;
12664 wxSlider
*arg1
= (wxSlider
*) 0 ;
12665 PyObject
* obj0
= 0 ;
12666 char *kwnames
[] = {
12667 (char *) "self", NULL
12670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12675 (arg1
)->ClearTicks();
12677 wxPyEndAllowThreads(__tstate
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12680 Py_INCREF(Py_None
); resultobj
= Py_None
;
12687 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12688 PyObject
*resultobj
;
12689 wxSlider
*arg1
= (wxSlider
*) 0 ;
12691 PyObject
* obj0
= 0 ;
12692 PyObject
* obj1
= 0 ;
12693 char *kwnames
[] = {
12694 (char *) "self",(char *) "tickPos", NULL
12697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12700 arg2
= (int) SWIG_AsInt(obj1
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12704 (arg1
)->SetTick(arg2
);
12706 wxPyEndAllowThreads(__tstate
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12709 Py_INCREF(Py_None
); resultobj
= Py_None
;
12716 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12717 PyObject
*resultobj
;
12718 wxSlider
*arg1
= (wxSlider
*) 0 ;
12719 PyObject
* obj0
= 0 ;
12720 char *kwnames
[] = {
12721 (char *) "self", NULL
12724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 (arg1
)->ClearSel();
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12734 Py_INCREF(Py_None
); resultobj
= Py_None
;
12741 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12742 PyObject
*resultobj
;
12743 wxSlider
*arg1
= (wxSlider
*) 0 ;
12745 PyObject
* obj0
= 0 ;
12746 char *kwnames
[] = {
12747 (char *) "self", NULL
12750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12755 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12757 wxPyEndAllowThreads(__tstate
);
12758 if (PyErr_Occurred()) SWIG_fail
;
12760 resultobj
= SWIG_FromInt((int)result
);
12767 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12768 PyObject
*resultobj
;
12769 wxSlider
*arg1
= (wxSlider
*) 0 ;
12771 PyObject
* obj0
= 0 ;
12772 char *kwnames
[] = {
12773 (char *) "self", NULL
12776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12781 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12783 wxPyEndAllowThreads(__tstate
);
12784 if (PyErr_Occurred()) SWIG_fail
;
12786 resultobj
= SWIG_FromInt((int)result
);
12793 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12794 PyObject
*resultobj
;
12795 wxSlider
*arg1
= (wxSlider
*) 0 ;
12798 PyObject
* obj0
= 0 ;
12799 PyObject
* obj1
= 0 ;
12800 PyObject
* obj2
= 0 ;
12801 char *kwnames
[] = {
12802 (char *) "self",(char *) "min",(char *) "max", NULL
12805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12808 arg2
= (int) SWIG_AsInt(obj1
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12810 arg3
= (int) SWIG_AsInt(obj2
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12814 (arg1
)->SetSelection(arg2
,arg3
);
12816 wxPyEndAllowThreads(__tstate
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12819 Py_INCREF(Py_None
); resultobj
= Py_None
;
12826 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
12828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12829 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12831 return Py_BuildValue((char *)"");
12833 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
12834 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12839 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12844 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12846 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12853 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12854 PyObject
*resultobj
;
12855 wxWindow
*arg1
= (wxWindow
*) 0 ;
12857 wxString
*arg3
= 0 ;
12858 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12859 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12860 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12861 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12862 long arg6
= (long) 0 ;
12863 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12864 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12865 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12866 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12867 wxToggleButton
*result
;
12868 bool temp3
= False
;
12871 bool temp8
= False
;
12872 PyObject
* obj0
= 0 ;
12873 PyObject
* obj1
= 0 ;
12874 PyObject
* obj2
= 0 ;
12875 PyObject
* obj3
= 0 ;
12876 PyObject
* obj4
= 0 ;
12877 PyObject
* obj5
= 0 ;
12878 PyObject
* obj6
= 0 ;
12879 PyObject
* obj7
= 0 ;
12880 char *kwnames
[] = {
12881 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12887 arg2
= (int) SWIG_AsInt(obj1
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12890 arg3
= wxString_in_helper(obj2
);
12891 if (arg3
== NULL
) SWIG_fail
;
12897 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12903 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12907 arg6
= (long) SWIG_AsLong(obj5
);
12908 if (PyErr_Occurred()) SWIG_fail
;
12911 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12912 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12914 if (arg7
== NULL
) {
12915 PyErr_SetString(PyExc_TypeError
,"null reference");
12921 arg8
= wxString_in_helper(obj7
);
12922 if (arg8
== NULL
) SWIG_fail
;
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12928 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12930 wxPyEndAllowThreads(__tstate
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
12956 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12957 PyObject
*resultobj
;
12958 wxToggleButton
*result
;
12959 char *kwnames
[] = {
12963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
12965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12966 result
= (wxToggleButton
*)new wxToggleButton();
12968 wxPyEndAllowThreads(__tstate
);
12969 if (PyErr_Occurred()) SWIG_fail
;
12971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
12978 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
12980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12981 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
12983 return Py_BuildValue((char *)"");
12985 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
12986 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
12991 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
12996 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
12998 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13005 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13006 PyObject
*resultobj
;
13007 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13009 PyObject
* obj0
= 0 ;
13010 char *kwnames
[] = {
13011 (char *) "self", NULL
13014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13019 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13021 wxPyEndAllowThreads(__tstate
);
13022 if (PyErr_Occurred()) SWIG_fail
;
13024 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
13031 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13032 PyObject
*resultobj
;
13033 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13036 PyObject
* obj0
= 0 ;
13037 PyObject
* obj1
= 0 ;
13038 char *kwnames
[] = {
13039 (char *) "self",(char *) "n", NULL
13042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13045 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13046 if (PyErr_Occurred()) SWIG_fail
;
13048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13049 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13051 wxPyEndAllowThreads(__tstate
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13055 resultobj
= wxPyMake_wxObject(result
);
13063 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13064 PyObject
*resultobj
;
13065 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13067 PyObject
* obj0
= 0 ;
13068 char *kwnames
[] = {
13069 (char *) "self", NULL
13072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13077 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13079 wxPyEndAllowThreads(__tstate
);
13080 if (PyErr_Occurred()) SWIG_fail
;
13082 resultobj
= SWIG_FromInt((int)result
);
13089 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13090 PyObject
*resultobj
;
13091 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13093 wxString
*arg3
= 0 ;
13095 bool temp3
= False
;
13096 PyObject
* obj0
= 0 ;
13097 PyObject
* obj1
= 0 ;
13098 PyObject
* obj2
= 0 ;
13099 char *kwnames
[] = {
13100 (char *) "self",(char *) "n",(char *) "strText", NULL
13103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13106 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13107 if (PyErr_Occurred()) SWIG_fail
;
13109 arg3
= wxString_in_helper(obj2
);
13110 if (arg3
== NULL
) SWIG_fail
;
13114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13115 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13117 wxPyEndAllowThreads(__tstate
);
13118 if (PyErr_Occurred()) SWIG_fail
;
13121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13137 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13138 PyObject
*resultobj
;
13139 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13142 PyObject
* obj0
= 0 ;
13143 PyObject
* obj1
= 0 ;
13144 char *kwnames
[] = {
13145 (char *) "self",(char *) "n", NULL
13148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13151 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13162 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13164 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13173 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13174 PyObject
*resultobj
;
13175 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13176 wxImageList
*arg2
= (wxImageList
*) 0 ;
13177 PyObject
* obj0
= 0 ;
13178 PyObject
* obj1
= 0 ;
13179 char *kwnames
[] = {
13180 (char *) "self",(char *) "imageList", NULL
13183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13190 (arg1
)->SetImageList(arg2
);
13192 wxPyEndAllowThreads(__tstate
);
13193 if (PyErr_Occurred()) SWIG_fail
;
13195 Py_INCREF(Py_None
); resultobj
= Py_None
;
13202 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13203 PyObject
*resultobj
;
13204 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13205 wxImageList
*arg2
= (wxImageList
*) 0 ;
13206 PyObject
* obj0
= 0 ;
13207 PyObject
* obj1
= 0 ;
13208 char *kwnames
[] = {
13209 (char *) "self",(char *) "imageList", NULL
13212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13216 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13219 (arg1
)->AssignImageList(arg2
);
13221 wxPyEndAllowThreads(__tstate
);
13222 if (PyErr_Occurred()) SWIG_fail
;
13224 Py_INCREF(Py_None
); resultobj
= Py_None
;
13231 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13232 PyObject
*resultobj
;
13233 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13234 wxImageList
*result
;
13235 PyObject
* obj0
= 0 ;
13236 char *kwnames
[] = {
13237 (char *) "self", NULL
13240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13245 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13247 wxPyEndAllowThreads(__tstate
);
13248 if (PyErr_Occurred()) SWIG_fail
;
13251 resultobj
= wxPyMake_wxObject(result
);
13259 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13260 PyObject
*resultobj
;
13261 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13264 PyObject
* obj0
= 0 ;
13265 PyObject
* obj1
= 0 ;
13266 char *kwnames
[] = {
13267 (char *) "self",(char *) "n", NULL
13270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13273 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13277 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13282 resultobj
= SWIG_FromInt((int)result
);
13289 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13290 PyObject
*resultobj
;
13291 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13295 PyObject
* obj0
= 0 ;
13296 PyObject
* obj1
= 0 ;
13297 PyObject
* obj2
= 0 ;
13298 char *kwnames
[] = {
13299 (char *) "self",(char *) "n",(char *) "imageId", NULL
13302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13305 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13306 if (PyErr_Occurred()) SWIG_fail
;
13307 arg3
= (int) SWIG_AsInt(obj2
);
13308 if (PyErr_Occurred()) SWIG_fail
;
13310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13311 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13313 wxPyEndAllowThreads(__tstate
);
13314 if (PyErr_Occurred()) SWIG_fail
;
13317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13325 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13326 PyObject
*resultobj
;
13327 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13330 PyObject
* obj0
= 0 ;
13331 PyObject
* obj1
= 0 ;
13332 char *kwnames
[] = {
13333 (char *) "self",(char *) "size", NULL
13336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13341 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13345 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13347 wxPyEndAllowThreads(__tstate
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13350 Py_INCREF(Py_None
); resultobj
= Py_None
;
13357 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13358 PyObject
*resultobj
;
13359 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13363 PyObject
* obj0
= 0 ;
13364 PyObject
* obj1
= 0 ;
13365 char *kwnames
[] = {
13366 (char *) "self",(char *) "sizePage", NULL
13369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13374 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13384 wxSize
* resultptr
;
13385 resultptr
= new wxSize((wxSize
&) result
);
13386 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13394 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13395 PyObject
*resultobj
;
13396 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13399 PyObject
* obj0
= 0 ;
13400 PyObject
* obj1
= 0 ;
13401 char *kwnames
[] = {
13402 (char *) "self",(char *) "n", NULL
13405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13408 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 result
= (bool)(arg1
)->DeletePage(arg2
);
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13426 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13427 PyObject
*resultobj
;
13428 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13431 PyObject
* obj0
= 0 ;
13432 PyObject
* obj1
= 0 ;
13433 char *kwnames
[] = {
13434 (char *) "self",(char *) "n", NULL
13437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13440 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13444 result
= (bool)(arg1
)->RemovePage(arg2
);
13446 wxPyEndAllowThreads(__tstate
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13458 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13459 PyObject
*resultobj
;
13460 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13462 PyObject
* obj0
= 0 ;
13463 char *kwnames
[] = {
13464 (char *) "self", NULL
13467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13472 result
= (bool)(arg1
)->DeleteAllPages();
13474 wxPyEndAllowThreads(__tstate
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13486 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13487 PyObject
*resultobj
;
13488 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13489 wxWindow
*arg2
= (wxWindow
*) 0 ;
13490 wxString
*arg3
= 0 ;
13491 bool arg4
= (bool) False
;
13492 int arg5
= (int) -1 ;
13494 bool temp3
= False
;
13495 PyObject
* obj0
= 0 ;
13496 PyObject
* obj1
= 0 ;
13497 PyObject
* obj2
= 0 ;
13498 PyObject
* obj3
= 0 ;
13499 PyObject
* obj4
= 0 ;
13500 char *kwnames
[] = {
13501 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13510 arg3
= wxString_in_helper(obj2
);
13511 if (arg3
== NULL
) SWIG_fail
;
13515 arg4
= (bool) SWIG_AsBool(obj3
);
13516 if (PyErr_Occurred()) SWIG_fail
;
13519 arg5
= (int) SWIG_AsInt(obj4
);
13520 if (PyErr_Occurred()) SWIG_fail
;
13523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13524 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13526 wxPyEndAllowThreads(__tstate
);
13527 if (PyErr_Occurred()) SWIG_fail
;
13530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13546 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13547 PyObject
*resultobj
;
13548 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13550 wxWindow
*arg3
= (wxWindow
*) 0 ;
13551 wxString
*arg4
= 0 ;
13552 bool arg5
= (bool) False
;
13553 int arg6
= (int) -1 ;
13555 bool temp4
= False
;
13556 PyObject
* obj0
= 0 ;
13557 PyObject
* obj1
= 0 ;
13558 PyObject
* obj2
= 0 ;
13559 PyObject
* obj3
= 0 ;
13560 PyObject
* obj4
= 0 ;
13561 PyObject
* obj5
= 0 ;
13562 char *kwnames
[] = {
13563 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13569 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13570 if (PyErr_Occurred()) SWIG_fail
;
13571 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
13572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13574 arg4
= wxString_in_helper(obj3
);
13575 if (arg4
== NULL
) SWIG_fail
;
13579 arg5
= (bool) SWIG_AsBool(obj4
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13583 arg6
= (int) SWIG_AsInt(obj5
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13588 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13590 wxPyEndAllowThreads(__tstate
);
13591 if (PyErr_Occurred()) SWIG_fail
;
13594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13610 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13611 PyObject
*resultobj
;
13612 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13615 PyObject
* obj0
= 0 ;
13616 PyObject
* obj1
= 0 ;
13617 char *kwnames
[] = {
13618 (char *) "self",(char *) "n", NULL
13621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13624 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13628 result
= (int)(arg1
)->SetSelection(arg2
);
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13633 resultobj
= SWIG_FromInt((int)result
);
13640 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13641 PyObject
*resultobj
;
13642 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13643 bool arg2
= (bool) True
;
13644 PyObject
* obj0
= 0 ;
13645 PyObject
* obj1
= 0 ;
13646 char *kwnames
[] = {
13647 (char *) "self",(char *) "forward", NULL
13650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13654 arg2
= (bool) SWIG_AsBool(obj1
);
13655 if (PyErr_Occurred()) SWIG_fail
;
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 (arg1
)->AdvanceSelection(arg2
);
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13664 Py_INCREF(Py_None
); resultobj
= Py_None
;
13671 static PyObject
* BookCtrl_swigregister(PyObject
*, PyObject
*args
) {
13673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13674 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13676 return Py_BuildValue((char *)"");
13678 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13679 PyObject
*resultobj
;
13680 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13681 int arg2
= (int) 0 ;
13682 int arg3
= (int) -1 ;
13683 int arg4
= (int) -1 ;
13684 wxBookCtrlEvent
*result
;
13685 PyObject
* obj0
= 0 ;
13686 PyObject
* obj1
= 0 ;
13687 PyObject
* obj2
= 0 ;
13688 PyObject
* obj3
= 0 ;
13689 char *kwnames
[] = {
13690 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13695 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13696 if (PyErr_Occurred()) SWIG_fail
;
13699 arg2
= (int) SWIG_AsInt(obj1
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13703 arg3
= (int) SWIG_AsInt(obj2
);
13704 if (PyErr_Occurred()) SWIG_fail
;
13707 arg4
= (int) SWIG_AsInt(obj3
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13712 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13714 wxPyEndAllowThreads(__tstate
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
13724 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13725 PyObject
*resultobj
;
13726 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13728 PyObject
* obj0
= 0 ;
13729 char *kwnames
[] = {
13730 (char *) "self", NULL
13733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13738 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13740 wxPyEndAllowThreads(__tstate
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13743 resultobj
= SWIG_FromInt((int)result
);
13750 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13751 PyObject
*resultobj
;
13752 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13754 PyObject
* obj0
= 0 ;
13755 PyObject
* obj1
= 0 ;
13756 char *kwnames
[] = {
13757 (char *) "self",(char *) "nSel", NULL
13760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13763 arg2
= (int) SWIG_AsInt(obj1
);
13764 if (PyErr_Occurred()) SWIG_fail
;
13766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13767 (arg1
)->SetSelection(arg2
);
13769 wxPyEndAllowThreads(__tstate
);
13770 if (PyErr_Occurred()) SWIG_fail
;
13772 Py_INCREF(Py_None
); resultobj
= Py_None
;
13779 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13780 PyObject
*resultobj
;
13781 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13783 PyObject
* obj0
= 0 ;
13784 char *kwnames
[] = {
13785 (char *) "self", NULL
13788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
13789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13793 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
13795 wxPyEndAllowThreads(__tstate
);
13796 if (PyErr_Occurred()) SWIG_fail
;
13798 resultobj
= SWIG_FromInt((int)result
);
13805 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13806 PyObject
*resultobj
;
13807 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13809 PyObject
* obj0
= 0 ;
13810 PyObject
* obj1
= 0 ;
13811 char *kwnames
[] = {
13812 (char *) "self",(char *) "nOldSel", NULL
13815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13818 arg2
= (int) SWIG_AsInt(obj1
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13822 (arg1
)->SetOldSelection(arg2
);
13824 wxPyEndAllowThreads(__tstate
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13827 Py_INCREF(Py_None
); resultobj
= Py_None
;
13834 static PyObject
* BookCtrlEvent_swigregister(PyObject
*, PyObject
*args
) {
13836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13837 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
13839 return Py_BuildValue((char *)"");
13841 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13842 PyObject
*resultobj
;
13843 wxWindow
*arg1
= (wxWindow
*) 0 ;
13844 int arg2
= (int) -1 ;
13845 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13846 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13847 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13848 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13849 long arg5
= (long) 0 ;
13850 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
13851 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13852 wxNotebook
*result
;
13855 bool temp6
= False
;
13856 PyObject
* obj0
= 0 ;
13857 PyObject
* obj1
= 0 ;
13858 PyObject
* obj2
= 0 ;
13859 PyObject
* obj3
= 0 ;
13860 PyObject
* obj4
= 0 ;
13861 PyObject
* obj5
= 0 ;
13862 char *kwnames
[] = {
13863 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13870 arg2
= (int) SWIG_AsInt(obj1
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13876 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13882 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13886 arg5
= (long) SWIG_AsLong(obj4
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13891 arg6
= wxString_in_helper(obj5
);
13892 if (arg6
== NULL
) SWIG_fail
;
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13904 resultobj
= wxPyMake_wxObject(result
);
13920 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13921 PyObject
*resultobj
;
13922 wxNotebook
*result
;
13923 char *kwnames
[] = {
13927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
13929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13930 result
= (wxNotebook
*)new wxNotebook();
13932 wxPyEndAllowThreads(__tstate
);
13933 if (PyErr_Occurred()) SWIG_fail
;
13936 resultobj
= wxPyMake_wxObject(result
);
13944 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13945 PyObject
*resultobj
;
13946 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13947 wxWindow
*arg2
= (wxWindow
*) 0 ;
13949 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13950 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13951 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13952 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13953 long arg6
= (long) 0 ;
13954 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
13955 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13959 bool temp7
= False
;
13960 PyObject
* obj0
= 0 ;
13961 PyObject
* obj1
= 0 ;
13962 PyObject
* obj2
= 0 ;
13963 PyObject
* obj3
= 0 ;
13964 PyObject
* obj4
= 0 ;
13965 PyObject
* obj5
= 0 ;
13966 PyObject
* obj6
= 0 ;
13967 char *kwnames
[] = {
13968 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
13973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13974 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13976 arg3
= (int) SWIG_AsInt(obj2
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13981 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13987 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13991 arg6
= (long) SWIG_AsLong(obj5
);
13992 if (PyErr_Occurred()) SWIG_fail
;
13996 arg7
= wxString_in_helper(obj6
);
13997 if (arg7
== NULL
) SWIG_fail
;
14002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14003 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14005 wxPyEndAllowThreads(__tstate
);
14006 if (PyErr_Occurred()) SWIG_fail
;
14009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14025 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14026 PyObject
*resultobj
;
14027 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14029 PyObject
* obj0
= 0 ;
14030 char *kwnames
[] = {
14031 (char *) "self", NULL
14034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14039 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14041 wxPyEndAllowThreads(__tstate
);
14042 if (PyErr_Occurred()) SWIG_fail
;
14044 resultobj
= SWIG_FromInt((int)result
);
14051 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14052 PyObject
*resultobj
;
14053 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14056 PyObject
* obj0
= 0 ;
14057 PyObject
* obj1
= 0 ;
14058 char *kwnames
[] = {
14059 (char *) "self",(char *) "padding", NULL
14062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14067 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14071 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14073 wxPyEndAllowThreads(__tstate
);
14074 if (PyErr_Occurred()) SWIG_fail
;
14076 Py_INCREF(Py_None
); resultobj
= Py_None
;
14083 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14084 PyObject
*resultobj
;
14085 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14088 PyObject
* obj0
= 0 ;
14089 PyObject
* obj1
= 0 ;
14090 char *kwnames
[] = {
14091 (char *) "self",(char *) "sz", NULL
14094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14099 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14103 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14105 wxPyEndAllowThreads(__tstate
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14108 Py_INCREF(Py_None
); resultobj
= Py_None
;
14115 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14116 PyObject
*resultobj
;
14117 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14118 wxPoint
*arg2
= 0 ;
14119 long *arg3
= (long *) 0 ;
14123 PyObject
* obj0
= 0 ;
14124 PyObject
* obj1
= 0 ;
14125 char *kwnames
[] = {
14126 (char *) "self",(char *) "pt", NULL
14130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14135 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14139 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14141 wxPyEndAllowThreads(__tstate
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14144 resultobj
= SWIG_FromInt((int)result
);
14146 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14147 resultobj
= t_output_helper(resultobj
,o
);
14155 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14156 PyObject
*resultobj
;
14157 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14161 PyObject
* obj0
= 0 ;
14162 PyObject
* obj1
= 0 ;
14163 char *kwnames
[] = {
14164 (char *) "self",(char *) "sizePage", NULL
14167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14172 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14176 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14178 wxPyEndAllowThreads(__tstate
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14182 wxSize
* resultptr
;
14183 resultptr
= new wxSize((wxSize
&) result
);
14184 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14192 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
14194 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14195 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14197 return Py_BuildValue((char *)"");
14199 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14200 PyObject
*resultobj
;
14201 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14202 int arg2
= (int) 0 ;
14203 int arg3
= (int) -1 ;
14204 int arg4
= (int) -1 ;
14205 wxNotebookEvent
*result
;
14206 PyObject
* obj0
= 0 ;
14207 PyObject
* obj1
= 0 ;
14208 PyObject
* obj2
= 0 ;
14209 PyObject
* obj3
= 0 ;
14210 char *kwnames
[] = {
14211 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14216 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14217 if (PyErr_Occurred()) SWIG_fail
;
14220 arg2
= (int) SWIG_AsInt(obj1
);
14221 if (PyErr_Occurred()) SWIG_fail
;
14224 arg3
= (int) SWIG_AsInt(obj2
);
14225 if (PyErr_Occurred()) SWIG_fail
;
14228 arg4
= (int) SWIG_AsInt(obj3
);
14229 if (PyErr_Occurred()) SWIG_fail
;
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14235 wxPyEndAllowThreads(__tstate
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
14245 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
14247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14248 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14250 return Py_BuildValue((char *)"");
14252 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14253 PyObject
*resultobj
;
14254 wxWindow
*arg1
= (wxWindow
*) 0 ;
14255 int arg2
= (int) -1 ;
14256 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14257 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14258 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14259 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14260 long arg5
= (long) 0 ;
14261 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14262 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14263 wxListbook
*result
;
14266 bool temp6
= False
;
14267 PyObject
* obj0
= 0 ;
14268 PyObject
* obj1
= 0 ;
14269 PyObject
* obj2
= 0 ;
14270 PyObject
* obj3
= 0 ;
14271 PyObject
* obj4
= 0 ;
14272 PyObject
* obj5
= 0 ;
14273 char *kwnames
[] = {
14274 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14281 arg2
= (int) SWIG_AsInt(obj1
);
14282 if (PyErr_Occurred()) SWIG_fail
;
14287 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14293 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14297 arg5
= (long) SWIG_AsLong(obj4
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14302 arg6
= wxString_in_helper(obj5
);
14303 if (arg6
== NULL
) SWIG_fail
;
14308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14309 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14311 wxPyEndAllowThreads(__tstate
);
14312 if (PyErr_Occurred()) SWIG_fail
;
14314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14329 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14330 PyObject
*resultobj
;
14331 wxListbook
*result
;
14332 char *kwnames
[] = {
14336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 result
= (wxListbook
*)new wxListbook();
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14351 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14352 PyObject
*resultobj
;
14353 wxListbook
*arg1
= (wxListbook
*) 0 ;
14354 wxWindow
*arg2
= (wxWindow
*) 0 ;
14356 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14357 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14358 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14359 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14360 long arg6
= (long) 0 ;
14361 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14362 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14366 bool temp7
= False
;
14367 PyObject
* obj0
= 0 ;
14368 PyObject
* obj1
= 0 ;
14369 PyObject
* obj2
= 0 ;
14370 PyObject
* obj3
= 0 ;
14371 PyObject
* obj4
= 0 ;
14372 PyObject
* obj5
= 0 ;
14373 PyObject
* obj6
= 0 ;
14374 char *kwnames
[] = {
14375 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14381 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14383 arg3
= (int) SWIG_AsInt(obj2
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14388 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14394 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14398 arg6
= (long) SWIG_AsLong(obj5
);
14399 if (PyErr_Occurred()) SWIG_fail
;
14403 arg7
= wxString_in_helper(obj6
);
14404 if (arg7
== NULL
) SWIG_fail
;
14409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14410 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14412 wxPyEndAllowThreads(__tstate
);
14413 if (PyErr_Occurred()) SWIG_fail
;
14416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14432 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
;
14434 wxListbook
*arg1
= (wxListbook
*) 0 ;
14436 PyObject
* obj0
= 0 ;
14437 char *kwnames
[] = {
14438 (char *) "self", NULL
14441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14448 wxPyEndAllowThreads(__tstate
);
14449 if (PyErr_Occurred()) SWIG_fail
;
14452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14460 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
14462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14463 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14465 return Py_BuildValue((char *)"");
14467 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14468 PyObject
*resultobj
;
14469 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14470 int arg2
= (int) 0 ;
14471 int arg3
= (int) -1 ;
14472 int arg4
= (int) -1 ;
14473 wxListbookEvent
*result
;
14474 PyObject
* obj0
= 0 ;
14475 PyObject
* obj1
= 0 ;
14476 PyObject
* obj2
= 0 ;
14477 PyObject
* obj3
= 0 ;
14478 char *kwnames
[] = {
14479 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14484 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14485 if (PyErr_Occurred()) SWIG_fail
;
14488 arg2
= (int) SWIG_AsInt(obj1
);
14489 if (PyErr_Occurred()) SWIG_fail
;
14492 arg3
= (int) SWIG_AsInt(obj2
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14496 arg4
= (int) SWIG_AsInt(obj3
);
14497 if (PyErr_Occurred()) SWIG_fail
;
14500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14501 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14503 wxPyEndAllowThreads(__tstate
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
14513 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
14515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14516 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14518 return Py_BuildValue((char *)"");
14520 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14521 PyObject
*resultobj
;
14522 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14523 wxBookCtrlSizer
*result
;
14524 PyObject
* obj0
= 0 ;
14525 char *kwnames
[] = {
14526 (char *) "nb", NULL
14529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
14546 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
;
14548 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14549 PyObject
* obj0
= 0 ;
14550 char *kwnames
[] = {
14551 (char *) "self", NULL
14554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14559 (arg1
)->RecalcSizes();
14561 wxPyEndAllowThreads(__tstate
);
14562 if (PyErr_Occurred()) SWIG_fail
;
14564 Py_INCREF(Py_None
); resultobj
= Py_None
;
14571 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14572 PyObject
*resultobj
;
14573 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14575 PyObject
* obj0
= 0 ;
14576 char *kwnames
[] = {
14577 (char *) "self", NULL
14580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14585 result
= (arg1
)->CalcMin();
14587 wxPyEndAllowThreads(__tstate
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14591 wxSize
* resultptr
;
14592 resultptr
= new wxSize((wxSize
&) result
);
14593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14601 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14602 PyObject
*resultobj
;
14603 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14604 wxBookCtrl
*result
;
14605 PyObject
* obj0
= 0 ;
14606 char *kwnames
[] = {
14607 (char *) "self", NULL
14610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14615 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14617 wxPyEndAllowThreads(__tstate
);
14618 if (PyErr_Occurred()) SWIG_fail
;
14620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
14627 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
14629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14630 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14632 return Py_BuildValue((char *)"");
14634 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14635 PyObject
*resultobj
;
14636 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14637 wxNotebookSizer
*result
;
14638 PyObject
* obj0
= 0 ;
14639 char *kwnames
[] = {
14640 (char *) "nb", NULL
14643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14648 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14650 wxPyEndAllowThreads(__tstate
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
14660 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14661 PyObject
*resultobj
;
14662 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14663 PyObject
* obj0
= 0 ;
14664 char *kwnames
[] = {
14665 (char *) "self", NULL
14668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14673 (arg1
)->RecalcSizes();
14675 wxPyEndAllowThreads(__tstate
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14678 Py_INCREF(Py_None
); resultobj
= Py_None
;
14685 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14686 PyObject
*resultobj
;
14687 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14689 PyObject
* obj0
= 0 ;
14690 char *kwnames
[] = {
14691 (char *) "self", NULL
14694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14699 result
= (arg1
)->CalcMin();
14701 wxPyEndAllowThreads(__tstate
);
14702 if (PyErr_Occurred()) SWIG_fail
;
14705 wxSize
* resultptr
;
14706 resultptr
= new wxSize((wxSize
&) result
);
14707 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14715 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14716 PyObject
*resultobj
;
14717 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14718 wxNotebook
*result
;
14719 PyObject
* obj0
= 0 ;
14720 char *kwnames
[] = {
14721 (char *) "self", NULL
14724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14729 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14731 wxPyEndAllowThreads(__tstate
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14735 resultobj
= wxPyMake_wxObject(result
);
14743 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
14745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14746 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14748 return Py_BuildValue((char *)"");
14750 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
;
14752 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14754 PyObject
* obj0
= 0 ;
14755 char *kwnames
[] = {
14756 (char *) "self", NULL
14759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14764 result
= (int)(arg1
)->GetId();
14766 wxPyEndAllowThreads(__tstate
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14769 resultobj
= SWIG_FromInt((int)result
);
14776 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14777 PyObject
*resultobj
;
14778 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14780 PyObject
* obj0
= 0 ;
14781 char *kwnames
[] = {
14782 (char *) "self", NULL
14785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
14786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14790 result
= (wxControl
*)(arg1
)->GetControl();
14792 wxPyEndAllowThreads(__tstate
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14796 resultobj
= wxPyMake_wxObject(result
);
14804 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14805 PyObject
*resultobj
;
14806 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14807 wxToolBarBase
*result
;
14808 PyObject
* obj0
= 0 ;
14809 char *kwnames
[] = {
14810 (char *) "self", NULL
14813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
14814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14818 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
14820 wxPyEndAllowThreads(__tstate
);
14821 if (PyErr_Occurred()) SWIG_fail
;
14824 resultobj
= wxPyMake_wxObject(result
);
14832 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14833 PyObject
*resultobj
;
14834 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14836 PyObject
* obj0
= 0 ;
14837 char *kwnames
[] = {
14838 (char *) "self", NULL
14841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
14842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14846 result
= (int)(arg1
)->IsButton();
14848 wxPyEndAllowThreads(__tstate
);
14849 if (PyErr_Occurred()) SWIG_fail
;
14851 resultobj
= SWIG_FromInt((int)result
);
14858 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14859 PyObject
*resultobj
;
14860 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14862 PyObject
* obj0
= 0 ;
14863 char *kwnames
[] = {
14864 (char *) "self", NULL
14867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
14868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 result
= (int)(arg1
)->IsControl();
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14877 resultobj
= SWIG_FromInt((int)result
);
14884 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
;
14886 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14888 PyObject
* obj0
= 0 ;
14889 char *kwnames
[] = {
14890 (char *) "self", NULL
14893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
14894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14898 result
= (int)(arg1
)->IsSeparator();
14900 wxPyEndAllowThreads(__tstate
);
14901 if (PyErr_Occurred()) SWIG_fail
;
14903 resultobj
= SWIG_FromInt((int)result
);
14910 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14911 PyObject
*resultobj
;
14912 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14914 PyObject
* obj0
= 0 ;
14915 char *kwnames
[] = {
14916 (char *) "self", NULL
14919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
14920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14924 result
= (int)(arg1
)->GetStyle();
14926 wxPyEndAllowThreads(__tstate
);
14927 if (PyErr_Occurred()) SWIG_fail
;
14929 resultobj
= SWIG_FromInt((int)result
);
14936 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14937 PyObject
*resultobj
;
14938 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14940 PyObject
* obj0
= 0 ;
14941 char *kwnames
[] = {
14942 (char *) "self", NULL
14945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
14946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 result
= (int)(arg1
)->GetKind();
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14955 resultobj
= SWIG_FromInt((int)result
);
14962 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14963 PyObject
*resultobj
;
14964 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14966 PyObject
* obj0
= 0 ;
14967 char *kwnames
[] = {
14968 (char *) "self", NULL
14971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
14972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 result
= (bool)(arg1
)->IsEnabled();
14978 wxPyEndAllowThreads(__tstate
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14990 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14991 PyObject
*resultobj
;
14992 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14994 PyObject
* obj0
= 0 ;
14995 char *kwnames
[] = {
14996 (char *) "self", NULL
14999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15004 result
= (bool)(arg1
)->IsToggled();
15006 wxPyEndAllowThreads(__tstate
);
15007 if (PyErr_Occurred()) SWIG_fail
;
15010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15018 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15019 PyObject
*resultobj
;
15020 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15022 PyObject
* obj0
= 0 ;
15023 char *kwnames
[] = {
15024 (char *) "self", NULL
15027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15032 result
= (bool)(arg1
)->CanBeToggled();
15034 wxPyEndAllowThreads(__tstate
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15046 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15047 PyObject
*resultobj
;
15048 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15050 PyObject
* obj0
= 0 ;
15051 char *kwnames
[] = {
15052 (char *) "self", NULL
15055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15061 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15062 result
= (wxBitmap
*) &_result_ref
;
15065 wxPyEndAllowThreads(__tstate
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15069 wxBitmap
* resultptr
= new wxBitmap(*result
);
15070 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15078 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15079 PyObject
*resultobj
;
15080 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15082 PyObject
* obj0
= 0 ;
15083 char *kwnames
[] = {
15084 (char *) "self", NULL
15087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15093 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15094 result
= (wxBitmap
*) &_result_ref
;
15097 wxPyEndAllowThreads(__tstate
);
15098 if (PyErr_Occurred()) SWIG_fail
;
15101 wxBitmap
* resultptr
= new wxBitmap(*result
);
15102 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15110 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15111 PyObject
*resultobj
;
15112 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15114 PyObject
* obj0
= 0 ;
15115 char *kwnames
[] = {
15116 (char *) "self", NULL
15119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15124 result
= (arg1
)->GetBitmap();
15126 wxPyEndAllowThreads(__tstate
);
15127 if (PyErr_Occurred()) SWIG_fail
;
15130 wxBitmap
* resultptr
;
15131 resultptr
= new wxBitmap((wxBitmap
&) result
);
15132 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15140 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15141 PyObject
*resultobj
;
15142 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15144 PyObject
* obj0
= 0 ;
15145 char *kwnames
[] = {
15146 (char *) "self", NULL
15149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15154 result
= (arg1
)->GetLabel();
15156 wxPyEndAllowThreads(__tstate
);
15157 if (PyErr_Occurred()) SWIG_fail
;
15161 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15163 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15172 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15173 PyObject
*resultobj
;
15174 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15176 PyObject
* obj0
= 0 ;
15177 char *kwnames
[] = {
15178 (char *) "self", NULL
15181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15186 result
= (arg1
)->GetShortHelp();
15188 wxPyEndAllowThreads(__tstate
);
15189 if (PyErr_Occurred()) SWIG_fail
;
15193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15204 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15205 PyObject
*resultobj
;
15206 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15208 PyObject
* obj0
= 0 ;
15209 char *kwnames
[] = {
15210 (char *) "self", NULL
15213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15218 result
= (arg1
)->GetLongHelp();
15220 wxPyEndAllowThreads(__tstate
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15225 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15227 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15236 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
;
15238 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15241 PyObject
* obj0
= 0 ;
15242 PyObject
* obj1
= 0 ;
15243 char *kwnames
[] = {
15244 (char *) "self",(char *) "enable", NULL
15247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15250 arg2
= (bool) SWIG_AsBool(obj1
);
15251 if (PyErr_Occurred()) SWIG_fail
;
15253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15254 result
= (bool)(arg1
)->Enable(arg2
);
15256 wxPyEndAllowThreads(__tstate
);
15257 if (PyErr_Occurred()) SWIG_fail
;
15260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15268 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15269 PyObject
*resultobj
;
15270 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15271 PyObject
* obj0
= 0 ;
15272 char *kwnames
[] = {
15273 (char *) "self", NULL
15276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15283 wxPyEndAllowThreads(__tstate
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15286 Py_INCREF(Py_None
); resultobj
= Py_None
;
15293 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15294 PyObject
*resultobj
;
15295 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15298 PyObject
* obj0
= 0 ;
15299 PyObject
* obj1
= 0 ;
15300 char *kwnames
[] = {
15301 (char *) "self",(char *) "toggle", NULL
15304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15307 arg2
= (bool) SWIG_AsBool(obj1
);
15308 if (PyErr_Occurred()) SWIG_fail
;
15310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15311 result
= (bool)(arg1
)->SetToggle(arg2
);
15313 wxPyEndAllowThreads(__tstate
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15325 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15326 PyObject
*resultobj
;
15327 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15328 wxString
*arg2
= 0 ;
15330 bool temp2
= False
;
15331 PyObject
* obj0
= 0 ;
15332 PyObject
* obj1
= 0 ;
15333 char *kwnames
[] = {
15334 (char *) "self",(char *) "help", NULL
15337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15341 arg2
= wxString_in_helper(obj1
);
15342 if (arg2
== NULL
) SWIG_fail
;
15346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15347 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15349 wxPyEndAllowThreads(__tstate
);
15350 if (PyErr_Occurred()) SWIG_fail
;
15353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15369 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15370 PyObject
*resultobj
;
15371 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15372 wxString
*arg2
= 0 ;
15374 bool temp2
= False
;
15375 PyObject
* obj0
= 0 ;
15376 PyObject
* obj1
= 0 ;
15377 char *kwnames
[] = {
15378 (char *) "self",(char *) "help", NULL
15381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15385 arg2
= wxString_in_helper(obj1
);
15386 if (arg2
== NULL
) SWIG_fail
;
15390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15391 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15393 wxPyEndAllowThreads(__tstate
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15413 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15414 PyObject
*resultobj
;
15415 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15416 wxBitmap
*arg2
= 0 ;
15417 PyObject
* obj0
= 0 ;
15418 PyObject
* obj1
= 0 ;
15419 char *kwnames
[] = {
15420 (char *) "self",(char *) "bmp", NULL
15423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15427 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15429 if (arg2
== NULL
) {
15430 PyErr_SetString(PyExc_TypeError
,"null reference");
15434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15435 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15437 wxPyEndAllowThreads(__tstate
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15440 Py_INCREF(Py_None
); resultobj
= Py_None
;
15447 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15448 PyObject
*resultobj
;
15449 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15450 wxBitmap
*arg2
= 0 ;
15451 PyObject
* obj0
= 0 ;
15452 PyObject
* obj1
= 0 ;
15453 char *kwnames
[] = {
15454 (char *) "self",(char *) "bmp", NULL
15457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15461 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15463 if (arg2
== NULL
) {
15464 PyErr_SetString(PyExc_TypeError
,"null reference");
15468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15469 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15471 wxPyEndAllowThreads(__tstate
);
15472 if (PyErr_Occurred()) SWIG_fail
;
15474 Py_INCREF(Py_None
); resultobj
= Py_None
;
15481 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15482 PyObject
*resultobj
;
15483 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15484 wxString
*arg2
= 0 ;
15485 bool temp2
= False
;
15486 PyObject
* obj0
= 0 ;
15487 PyObject
* obj1
= 0 ;
15488 char *kwnames
[] = {
15489 (char *) "self",(char *) "label", NULL
15492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15496 arg2
= wxString_in_helper(obj1
);
15497 if (arg2
== NULL
) SWIG_fail
;
15501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15502 (arg1
)->SetLabel((wxString
const &)*arg2
);
15504 wxPyEndAllowThreads(__tstate
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15507 Py_INCREF(Py_None
); resultobj
= Py_None
;
15522 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
;
15524 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15525 PyObject
* obj0
= 0 ;
15526 char *kwnames
[] = {
15527 (char *) "self", NULL
15530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15537 wxPyEndAllowThreads(__tstate
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15540 Py_INCREF(Py_None
); resultobj
= Py_None
;
15547 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15548 PyObject
*resultobj
;
15549 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15550 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15551 PyObject
* obj0
= 0 ;
15552 PyObject
* obj1
= 0 ;
15553 char *kwnames
[] = {
15554 (char *) "self",(char *) "tbar", NULL
15557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
15561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15564 (arg1
)->Attach(arg2
);
15566 wxPyEndAllowThreads(__tstate
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15569 Py_INCREF(Py_None
); resultobj
= Py_None
;
15576 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15577 PyObject
*resultobj
;
15578 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15580 PyObject
* obj0
= 0 ;
15581 char *kwnames
[] = {
15582 (char *) "self", NULL
15585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15590 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15595 resultobj
= result
;
15602 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15603 PyObject
*resultobj
;
15604 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15605 PyObject
*arg2
= (PyObject
*) 0 ;
15606 PyObject
* obj0
= 0 ;
15607 PyObject
* obj1
= 0 ;
15608 char *kwnames
[] = {
15609 (char *) "self",(char *) "clientData", NULL
15612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15618 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15620 wxPyEndAllowThreads(__tstate
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15623 Py_INCREF(Py_None
); resultobj
= Py_None
;
15630 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
15632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15633 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15635 return Py_BuildValue((char *)"");
15637 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15638 PyObject
*resultobj
;
15639 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15641 wxString
*arg3
= 0 ;
15642 wxBitmap
*arg4
= 0 ;
15643 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15644 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15645 int arg6
= (int) wxITEM_NORMAL
;
15646 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15647 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15648 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15649 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15650 PyObject
*arg9
= (PyObject
*) NULL
;
15651 wxToolBarToolBase
*result
;
15652 bool temp3
= False
;
15653 bool temp7
= False
;
15654 bool temp8
= False
;
15655 PyObject
* obj0
= 0 ;
15656 PyObject
* obj1
= 0 ;
15657 PyObject
* obj2
= 0 ;
15658 PyObject
* obj3
= 0 ;
15659 PyObject
* obj4
= 0 ;
15660 PyObject
* obj5
= 0 ;
15661 PyObject
* obj6
= 0 ;
15662 PyObject
* obj7
= 0 ;
15663 PyObject
* obj8
= 0 ;
15664 char *kwnames
[] = {
15665 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15671 arg2
= (int) SWIG_AsInt(obj1
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15674 arg3
= wxString_in_helper(obj2
);
15675 if (arg3
== NULL
) SWIG_fail
;
15678 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
15679 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15681 if (arg4
== NULL
) {
15682 PyErr_SetString(PyExc_TypeError
,"null reference");
15686 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15687 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15689 if (arg5
== NULL
) {
15690 PyErr_SetString(PyExc_TypeError
,"null reference");
15695 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
15696 if (PyErr_Occurred()) SWIG_fail
;
15700 arg7
= wxString_in_helper(obj6
);
15701 if (arg7
== NULL
) SWIG_fail
;
15707 arg8
= wxString_in_helper(obj7
);
15708 if (arg8
== NULL
) SWIG_fail
;
15716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15717 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15719 wxPyEndAllowThreads(__tstate
);
15720 if (PyErr_Occurred()) SWIG_fail
;
15723 resultobj
= wxPyMake_wxObject(result
);
15755 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15756 PyObject
*resultobj
;
15757 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15760 wxString
*arg4
= 0 ;
15761 wxBitmap
*arg5
= 0 ;
15762 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
15763 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
15764 int arg7
= (int) wxITEM_NORMAL
;
15765 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15766 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15767 wxString
const &arg9_defvalue
= wxPyEmptyString
;
15768 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15769 PyObject
*arg10
= (PyObject
*) NULL
;
15770 wxToolBarToolBase
*result
;
15771 bool temp4
= False
;
15772 bool temp8
= False
;
15773 bool temp9
= False
;
15774 PyObject
* obj0
= 0 ;
15775 PyObject
* obj1
= 0 ;
15776 PyObject
* obj2
= 0 ;
15777 PyObject
* obj3
= 0 ;
15778 PyObject
* obj4
= 0 ;
15779 PyObject
* obj5
= 0 ;
15780 PyObject
* obj6
= 0 ;
15781 PyObject
* obj7
= 0 ;
15782 PyObject
* obj8
= 0 ;
15783 PyObject
* obj9
= 0 ;
15784 char *kwnames
[] = {
15785 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15791 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15793 arg3
= (int) SWIG_AsInt(obj2
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15796 arg4
= wxString_in_helper(obj3
);
15797 if (arg4
== NULL
) SWIG_fail
;
15800 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15801 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15803 if (arg5
== NULL
) {
15804 PyErr_SetString(PyExc_TypeError
,"null reference");
15808 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
15809 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15811 if (arg6
== NULL
) {
15812 PyErr_SetString(PyExc_TypeError
,"null reference");
15817 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
15818 if (PyErr_Occurred()) SWIG_fail
;
15822 arg8
= wxString_in_helper(obj7
);
15823 if (arg8
== NULL
) SWIG_fail
;
15829 arg9
= wxString_in_helper(obj8
);
15830 if (arg9
== NULL
) SWIG_fail
;
15838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15839 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
);
15841 wxPyEndAllowThreads(__tstate
);
15842 if (PyErr_Occurred()) SWIG_fail
;
15845 resultobj
= wxPyMake_wxObject(result
);
15877 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15878 PyObject
*resultobj
;
15879 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15880 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
15881 wxToolBarToolBase
*result
;
15882 PyObject
* obj0
= 0 ;
15883 PyObject
* obj1
= 0 ;
15884 char *kwnames
[] = {
15885 (char *) "self",(char *) "tool", NULL
15888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
15889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
15892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15895 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
15897 wxPyEndAllowThreads(__tstate
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15901 resultobj
= wxPyMake_wxObject(result
);
15909 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15910 PyObject
*resultobj
;
15911 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15913 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
15914 wxToolBarToolBase
*result
;
15915 PyObject
* obj0
= 0 ;
15916 PyObject
* obj1
= 0 ;
15917 PyObject
* obj2
= 0 ;
15918 char *kwnames
[] = {
15919 (char *) "self",(char *) "pos",(char *) "tool", NULL
15922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15925 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15927 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
15928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15931 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
15933 wxPyEndAllowThreads(__tstate
);
15934 if (PyErr_Occurred()) SWIG_fail
;
15937 resultobj
= wxPyMake_wxObject(result
);
15945 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
;
15947 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15948 wxControl
*arg2
= (wxControl
*) 0 ;
15949 wxToolBarToolBase
*result
;
15950 PyObject
* obj0
= 0 ;
15951 PyObject
* obj1
= 0 ;
15952 char *kwnames
[] = {
15953 (char *) "self",(char *) "control", NULL
15956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
15960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15963 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
15965 wxPyEndAllowThreads(__tstate
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15969 resultobj
= wxPyMake_wxObject(result
);
15977 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15978 PyObject
*resultobj
;
15979 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15981 wxControl
*arg3
= (wxControl
*) 0 ;
15982 wxToolBarToolBase
*result
;
15983 PyObject
* obj0
= 0 ;
15984 PyObject
* obj1
= 0 ;
15985 PyObject
* obj2
= 0 ;
15986 char *kwnames
[] = {
15987 (char *) "self",(char *) "pos",(char *) "control", NULL
15990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15993 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15995 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
15996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15999 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16001 wxPyEndAllowThreads(__tstate
);
16002 if (PyErr_Occurred()) SWIG_fail
;
16005 resultobj
= wxPyMake_wxObject(result
);
16013 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16014 PyObject
*resultobj
;
16015 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16018 PyObject
* obj0
= 0 ;
16019 PyObject
* obj1
= 0 ;
16020 char *kwnames
[] = {
16021 (char *) "self",(char *) "id", NULL
16024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16027 arg2
= (int) SWIG_AsInt(obj1
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16031 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16033 wxPyEndAllowThreads(__tstate
);
16034 if (PyErr_Occurred()) SWIG_fail
;
16037 resultobj
= wxPyMake_wxObject(result
);
16045 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16046 PyObject
*resultobj
;
16047 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16048 wxToolBarToolBase
*result
;
16049 PyObject
* obj0
= 0 ;
16050 char *kwnames
[] = {
16051 (char *) "self", NULL
16054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16059 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16061 wxPyEndAllowThreads(__tstate
);
16062 if (PyErr_Occurred()) SWIG_fail
;
16065 resultobj
= wxPyMake_wxObject(result
);
16073 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16074 PyObject
*resultobj
;
16075 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16077 wxToolBarToolBase
*result
;
16078 PyObject
* obj0
= 0 ;
16079 PyObject
* obj1
= 0 ;
16080 char *kwnames
[] = {
16081 (char *) "self",(char *) "pos", NULL
16084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16087 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16088 if (PyErr_Occurred()) SWIG_fail
;
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16097 resultobj
= wxPyMake_wxObject(result
);
16105 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16106 PyObject
*resultobj
;
16107 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16109 wxToolBarToolBase
*result
;
16110 PyObject
* obj0
= 0 ;
16111 PyObject
* obj1
= 0 ;
16112 char *kwnames
[] = {
16113 (char *) "self",(char *) "id", NULL
16116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16119 arg2
= (int) SWIG_AsInt(obj1
);
16120 if (PyErr_Occurred()) SWIG_fail
;
16122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16123 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16125 wxPyEndAllowThreads(__tstate
);
16126 if (PyErr_Occurred()) SWIG_fail
;
16129 resultobj
= wxPyMake_wxObject(result
);
16137 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16138 PyObject
*resultobj
;
16139 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16142 PyObject
* obj0
= 0 ;
16143 PyObject
* obj1
= 0 ;
16144 char *kwnames
[] = {
16145 (char *) "self",(char *) "pos", NULL
16148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16151 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16152 if (PyErr_Occurred()) SWIG_fail
;
16154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16155 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16157 wxPyEndAllowThreads(__tstate
);
16158 if (PyErr_Occurred()) SWIG_fail
;
16161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16169 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16170 PyObject
*resultobj
;
16171 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16174 PyObject
* obj0
= 0 ;
16175 PyObject
* obj1
= 0 ;
16176 char *kwnames
[] = {
16177 (char *) "self",(char *) "id", NULL
16180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16183 arg2
= (int) SWIG_AsInt(obj1
);
16184 if (PyErr_Occurred()) SWIG_fail
;
16186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16187 result
= (bool)(arg1
)->DeleteTool(arg2
);
16189 wxPyEndAllowThreads(__tstate
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16201 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16202 PyObject
*resultobj
;
16203 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16204 PyObject
* obj0
= 0 ;
16205 char *kwnames
[] = {
16206 (char *) "self", NULL
16209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16214 (arg1
)->ClearTools();
16216 wxPyEndAllowThreads(__tstate
);
16217 if (PyErr_Occurred()) SWIG_fail
;
16219 Py_INCREF(Py_None
); resultobj
= Py_None
;
16226 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16227 PyObject
*resultobj
;
16228 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16230 PyObject
* obj0
= 0 ;
16231 char *kwnames
[] = {
16232 (char *) "self", NULL
16235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16240 result
= (bool)(arg1
)->Realize();
16242 wxPyEndAllowThreads(__tstate
);
16243 if (PyErr_Occurred()) SWIG_fail
;
16246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16254 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16255 PyObject
*resultobj
;
16256 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16259 PyObject
* obj0
= 0 ;
16260 PyObject
* obj1
= 0 ;
16261 PyObject
* obj2
= 0 ;
16262 char *kwnames
[] = {
16263 (char *) "self",(char *) "id",(char *) "enable", NULL
16266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16269 arg2
= (int) SWIG_AsInt(obj1
);
16270 if (PyErr_Occurred()) SWIG_fail
;
16271 arg3
= (bool) SWIG_AsBool(obj2
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16275 (arg1
)->EnableTool(arg2
,arg3
);
16277 wxPyEndAllowThreads(__tstate
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16280 Py_INCREF(Py_None
); resultobj
= Py_None
;
16287 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16288 PyObject
*resultobj
;
16289 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16292 PyObject
* obj0
= 0 ;
16293 PyObject
* obj1
= 0 ;
16294 PyObject
* obj2
= 0 ;
16295 char *kwnames
[] = {
16296 (char *) "self",(char *) "id",(char *) "toggle", NULL
16299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16302 arg2
= (int) SWIG_AsInt(obj1
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16304 arg3
= (bool) SWIG_AsBool(obj2
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16308 (arg1
)->ToggleTool(arg2
,arg3
);
16310 wxPyEndAllowThreads(__tstate
);
16311 if (PyErr_Occurred()) SWIG_fail
;
16313 Py_INCREF(Py_None
); resultobj
= Py_None
;
16320 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16321 PyObject
*resultobj
;
16322 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16325 PyObject
* obj0
= 0 ;
16326 PyObject
* obj1
= 0 ;
16327 PyObject
* obj2
= 0 ;
16328 char *kwnames
[] = {
16329 (char *) "self",(char *) "id",(char *) "toggle", NULL
16332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16335 arg2
= (int) SWIG_AsInt(obj1
);
16336 if (PyErr_Occurred()) SWIG_fail
;
16337 arg3
= (bool) SWIG_AsBool(obj2
);
16338 if (PyErr_Occurred()) SWIG_fail
;
16340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16341 (arg1
)->SetToggle(arg2
,arg3
);
16343 wxPyEndAllowThreads(__tstate
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16346 Py_INCREF(Py_None
); resultobj
= Py_None
;
16353 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16354 PyObject
*resultobj
;
16355 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16358 PyObject
* obj0
= 0 ;
16359 PyObject
* obj1
= 0 ;
16360 char *kwnames
[] = {
16361 (char *) "self",(char *) "id", NULL
16364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16367 arg2
= (int) SWIG_AsInt(obj1
);
16368 if (PyErr_Occurred()) SWIG_fail
;
16370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16371 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16373 wxPyEndAllowThreads(__tstate
);
16374 if (PyErr_Occurred()) SWIG_fail
;
16376 resultobj
= result
;
16383 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16384 PyObject
*resultobj
;
16385 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16387 PyObject
*arg3
= (PyObject
*) 0 ;
16388 PyObject
* obj0
= 0 ;
16389 PyObject
* obj1
= 0 ;
16390 PyObject
* obj2
= 0 ;
16391 char *kwnames
[] = {
16392 (char *) "self",(char *) "id",(char *) "clientData", NULL
16395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16398 arg2
= (int) SWIG_AsInt(obj1
);
16399 if (PyErr_Occurred()) SWIG_fail
;
16402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16403 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16405 wxPyEndAllowThreads(__tstate
);
16406 if (PyErr_Occurred()) SWIG_fail
;
16408 Py_INCREF(Py_None
); resultobj
= Py_None
;
16415 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16416 PyObject
*resultobj
;
16417 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16420 PyObject
* obj0
= 0 ;
16421 PyObject
* obj1
= 0 ;
16422 char *kwnames
[] = {
16423 (char *) "self",(char *) "id", NULL
16426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16429 arg2
= (int) SWIG_AsInt(obj1
);
16430 if (PyErr_Occurred()) SWIG_fail
;
16432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16433 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16435 wxPyEndAllowThreads(__tstate
);
16436 if (PyErr_Occurred()) SWIG_fail
;
16438 resultobj
= SWIG_FromInt((int)result
);
16445 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16446 PyObject
*resultobj
;
16447 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16450 PyObject
* obj0
= 0 ;
16451 PyObject
* obj1
= 0 ;
16452 char *kwnames
[] = {
16453 (char *) "self",(char *) "id", NULL
16456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16459 arg2
= (int) SWIG_AsInt(obj1
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16463 result
= (bool)(arg1
)->GetToolState(arg2
);
16465 wxPyEndAllowThreads(__tstate
);
16466 if (PyErr_Occurred()) SWIG_fail
;
16469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16477 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16478 PyObject
*resultobj
;
16479 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16482 PyObject
* obj0
= 0 ;
16483 PyObject
* obj1
= 0 ;
16484 char *kwnames
[] = {
16485 (char *) "self",(char *) "id", NULL
16488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16491 arg2
= (int) SWIG_AsInt(obj1
);
16492 if (PyErr_Occurred()) SWIG_fail
;
16494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16495 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16497 wxPyEndAllowThreads(__tstate
);
16498 if (PyErr_Occurred()) SWIG_fail
;
16501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16509 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16510 PyObject
*resultobj
;
16511 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16513 wxString
*arg3
= 0 ;
16514 bool temp3
= False
;
16515 PyObject
* obj0
= 0 ;
16516 PyObject
* obj1
= 0 ;
16517 PyObject
* obj2
= 0 ;
16518 char *kwnames
[] = {
16519 (char *) "self",(char *) "id",(char *) "helpString", NULL
16522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16525 arg2
= (int) SWIG_AsInt(obj1
);
16526 if (PyErr_Occurred()) SWIG_fail
;
16528 arg3
= wxString_in_helper(obj2
);
16529 if (arg3
== NULL
) SWIG_fail
;
16533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16534 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16536 wxPyEndAllowThreads(__tstate
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16539 Py_INCREF(Py_None
); resultobj
= Py_None
;
16554 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16555 PyObject
*resultobj
;
16556 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16559 PyObject
* obj0
= 0 ;
16560 PyObject
* obj1
= 0 ;
16561 char *kwnames
[] = {
16562 (char *) "self",(char *) "id", NULL
16565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16568 arg2
= (int) SWIG_AsInt(obj1
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16572 result
= (arg1
)->GetToolShortHelp(arg2
);
16574 wxPyEndAllowThreads(__tstate
);
16575 if (PyErr_Occurred()) SWIG_fail
;
16579 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16581 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16590 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16591 PyObject
*resultobj
;
16592 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16594 wxString
*arg3
= 0 ;
16595 bool temp3
= False
;
16596 PyObject
* obj0
= 0 ;
16597 PyObject
* obj1
= 0 ;
16598 PyObject
* obj2
= 0 ;
16599 char *kwnames
[] = {
16600 (char *) "self",(char *) "id",(char *) "helpString", NULL
16603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16606 arg2
= (int) SWIG_AsInt(obj1
);
16607 if (PyErr_Occurred()) SWIG_fail
;
16609 arg3
= wxString_in_helper(obj2
);
16610 if (arg3
== NULL
) SWIG_fail
;
16614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16615 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16617 wxPyEndAllowThreads(__tstate
);
16618 if (PyErr_Occurred()) SWIG_fail
;
16620 Py_INCREF(Py_None
); resultobj
= Py_None
;
16635 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16636 PyObject
*resultobj
;
16637 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16640 PyObject
* obj0
= 0 ;
16641 PyObject
* obj1
= 0 ;
16642 char *kwnames
[] = {
16643 (char *) "self",(char *) "id", NULL
16646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16649 arg2
= (int) SWIG_AsInt(obj1
);
16650 if (PyErr_Occurred()) SWIG_fail
;
16652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16653 result
= (arg1
)->GetToolLongHelp(arg2
);
16655 wxPyEndAllowThreads(__tstate
);
16656 if (PyErr_Occurred()) SWIG_fail
;
16660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16671 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16672 PyObject
*resultobj
;
16673 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16676 PyObject
* obj0
= 0 ;
16677 PyObject
* obj1
= 0 ;
16678 PyObject
* obj2
= 0 ;
16679 char *kwnames
[] = {
16680 (char *) "self",(char *) "x",(char *) "y", NULL
16683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16686 arg2
= (int) SWIG_AsInt(obj1
);
16687 if (PyErr_Occurred()) SWIG_fail
;
16688 arg3
= (int) SWIG_AsInt(obj2
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16692 (arg1
)->SetMargins(arg2
,arg3
);
16694 wxPyEndAllowThreads(__tstate
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16697 Py_INCREF(Py_None
); resultobj
= Py_None
;
16704 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16705 PyObject
*resultobj
;
16706 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16709 PyObject
* obj0
= 0 ;
16710 PyObject
* obj1
= 0 ;
16711 char *kwnames
[] = {
16712 (char *) "self",(char *) "size", NULL
16715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16720 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16724 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16726 wxPyEndAllowThreads(__tstate
);
16727 if (PyErr_Occurred()) SWIG_fail
;
16729 Py_INCREF(Py_None
); resultobj
= Py_None
;
16736 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16737 PyObject
*resultobj
;
16738 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16740 PyObject
* obj0
= 0 ;
16741 PyObject
* obj1
= 0 ;
16742 char *kwnames
[] = {
16743 (char *) "self",(char *) "packing", NULL
16746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16749 arg2
= (int) SWIG_AsInt(obj1
);
16750 if (PyErr_Occurred()) SWIG_fail
;
16752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16753 (arg1
)->SetToolPacking(arg2
);
16755 wxPyEndAllowThreads(__tstate
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16758 Py_INCREF(Py_None
); resultobj
= Py_None
;
16765 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16766 PyObject
*resultobj
;
16767 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16769 PyObject
* obj0
= 0 ;
16770 PyObject
* obj1
= 0 ;
16771 char *kwnames
[] = {
16772 (char *) "self",(char *) "separation", NULL
16775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
16776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16778 arg2
= (int) SWIG_AsInt(obj1
);
16779 if (PyErr_Occurred()) SWIG_fail
;
16781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16782 (arg1
)->SetToolSeparation(arg2
);
16784 wxPyEndAllowThreads(__tstate
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16787 Py_INCREF(Py_None
); resultobj
= Py_None
;
16794 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16795 PyObject
*resultobj
;
16796 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16798 PyObject
* obj0
= 0 ;
16799 char *kwnames
[] = {
16800 (char *) "self", NULL
16803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
16804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 result
= (arg1
)->GetToolMargins();
16810 wxPyEndAllowThreads(__tstate
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16814 wxSize
* resultptr
;
16815 resultptr
= new wxSize((wxSize
&) result
);
16816 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16824 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16825 PyObject
*resultobj
;
16826 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16828 PyObject
* obj0
= 0 ;
16829 char *kwnames
[] = {
16830 (char *) "self", NULL
16833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
16834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16838 result
= (arg1
)->GetMargins();
16840 wxPyEndAllowThreads(__tstate
);
16841 if (PyErr_Occurred()) SWIG_fail
;
16844 wxSize
* resultptr
;
16845 resultptr
= new wxSize((wxSize
&) result
);
16846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16854 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16855 PyObject
*resultobj
;
16856 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16858 PyObject
* obj0
= 0 ;
16859 char *kwnames
[] = {
16860 (char *) "self", NULL
16863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
16864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16868 result
= (int)(arg1
)->GetToolPacking();
16870 wxPyEndAllowThreads(__tstate
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16873 resultobj
= SWIG_FromInt((int)result
);
16880 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16881 PyObject
*resultobj
;
16882 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16884 PyObject
* obj0
= 0 ;
16885 char *kwnames
[] = {
16886 (char *) "self", NULL
16889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
16890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16894 result
= (int)(arg1
)->GetToolSeparation();
16896 wxPyEndAllowThreads(__tstate
);
16897 if (PyErr_Occurred()) SWIG_fail
;
16899 resultobj
= SWIG_FromInt((int)result
);
16906 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16907 PyObject
*resultobj
;
16908 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16910 PyObject
* obj0
= 0 ;
16911 PyObject
* obj1
= 0 ;
16912 char *kwnames
[] = {
16913 (char *) "self",(char *) "nRows", NULL
16916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
16917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16919 arg2
= (int) SWIG_AsInt(obj1
);
16920 if (PyErr_Occurred()) SWIG_fail
;
16922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16923 (arg1
)->SetRows(arg2
);
16925 wxPyEndAllowThreads(__tstate
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16928 Py_INCREF(Py_None
); resultobj
= Py_None
;
16935 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16936 PyObject
*resultobj
;
16937 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16940 PyObject
* obj0
= 0 ;
16941 PyObject
* obj1
= 0 ;
16942 PyObject
* obj2
= 0 ;
16943 char *kwnames
[] = {
16944 (char *) "self",(char *) "rows",(char *) "cols", NULL
16947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16950 arg2
= (int) SWIG_AsInt(obj1
);
16951 if (PyErr_Occurred()) SWIG_fail
;
16952 arg3
= (int) SWIG_AsInt(obj2
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16961 Py_INCREF(Py_None
); resultobj
= Py_None
;
16968 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16969 PyObject
*resultobj
;
16970 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16972 PyObject
* obj0
= 0 ;
16973 char *kwnames
[] = {
16974 (char *) "self", NULL
16977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
16978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16982 result
= (int)(arg1
)->GetMaxRows();
16984 wxPyEndAllowThreads(__tstate
);
16985 if (PyErr_Occurred()) SWIG_fail
;
16987 resultobj
= SWIG_FromInt((int)result
);
16994 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16995 PyObject
*resultobj
;
16996 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16998 PyObject
* obj0
= 0 ;
16999 char *kwnames
[] = {
17000 (char *) "self", NULL
17003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17008 result
= (int)(arg1
)->GetMaxCols();
17010 wxPyEndAllowThreads(__tstate
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17013 resultobj
= SWIG_FromInt((int)result
);
17020 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17021 PyObject
*resultobj
;
17022 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17025 PyObject
* obj0
= 0 ;
17026 PyObject
* obj1
= 0 ;
17027 char *kwnames
[] = {
17028 (char *) "self",(char *) "size", NULL
17031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17036 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17040 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17042 wxPyEndAllowThreads(__tstate
);
17043 if (PyErr_Occurred()) SWIG_fail
;
17045 Py_INCREF(Py_None
); resultobj
= Py_None
;
17052 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17053 PyObject
*resultobj
;
17054 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17056 PyObject
* obj0
= 0 ;
17057 char *kwnames
[] = {
17058 (char *) "self", NULL
17061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17066 result
= (arg1
)->GetToolBitmapSize();
17068 wxPyEndAllowThreads(__tstate
);
17069 if (PyErr_Occurred()) SWIG_fail
;
17072 wxSize
* resultptr
;
17073 resultptr
= new wxSize((wxSize
&) result
);
17074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17082 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17083 PyObject
*resultobj
;
17084 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17086 PyObject
* obj0
= 0 ;
17087 char *kwnames
[] = {
17088 (char *) "self", NULL
17091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17096 result
= (arg1
)->GetToolSize();
17098 wxPyEndAllowThreads(__tstate
);
17099 if (PyErr_Occurred()) SWIG_fail
;
17102 wxSize
* resultptr
;
17103 resultptr
= new wxSize((wxSize
&) result
);
17104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17112 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17113 PyObject
*resultobj
;
17114 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17117 wxToolBarToolBase
*result
;
17118 PyObject
* obj0
= 0 ;
17119 PyObject
* obj1
= 0 ;
17120 PyObject
* obj2
= 0 ;
17121 char *kwnames
[] = {
17122 (char *) "self",(char *) "x",(char *) "y", NULL
17125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17128 arg2
= (int) SWIG_AsInt(obj1
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17130 arg3
= (int) SWIG_AsInt(obj2
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17134 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17136 wxPyEndAllowThreads(__tstate
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17140 resultobj
= wxPyMake_wxObject(result
);
17148 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17149 PyObject
*resultobj
;
17150 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17152 wxToolBarToolBase
*result
;
17153 PyObject
* obj0
= 0 ;
17154 PyObject
* obj1
= 0 ;
17155 char *kwnames
[] = {
17156 (char *) "self",(char *) "toolid", NULL
17159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17162 arg2
= (int) SWIG_AsInt(obj1
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17166 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17168 wxPyEndAllowThreads(__tstate
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17172 resultobj
= wxPyMake_wxObject(result
);
17180 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17181 PyObject
*resultobj
;
17182 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17184 PyObject
* obj0
= 0 ;
17185 char *kwnames
[] = {
17186 (char *) "self", NULL
17189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17194 result
= (bool)(arg1
)->IsVertical();
17196 wxPyEndAllowThreads(__tstate
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17208 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
17210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17211 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17213 return Py_BuildValue((char *)"");
17215 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17216 PyObject
*resultobj
;
17217 wxWindow
*arg1
= (wxWindow
*) 0 ;
17219 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17220 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17221 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17222 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17223 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17224 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17225 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17229 bool temp6
= False
;
17230 PyObject
* obj0
= 0 ;
17231 PyObject
* obj1
= 0 ;
17232 PyObject
* obj2
= 0 ;
17233 PyObject
* obj3
= 0 ;
17234 PyObject
* obj4
= 0 ;
17235 PyObject
* obj5
= 0 ;
17236 char *kwnames
[] = {
17237 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17243 arg2
= (int) SWIG_AsInt(obj1
);
17244 if (PyErr_Occurred()) SWIG_fail
;
17248 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17254 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17258 arg5
= (long) SWIG_AsLong(obj4
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17263 arg6
= wxString_in_helper(obj5
);
17264 if (arg6
== NULL
) SWIG_fail
;
17269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17270 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17272 wxPyEndAllowThreads(__tstate
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17276 resultobj
= wxPyMake_wxObject(result
);
17292 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17293 PyObject
*resultobj
;
17295 char *kwnames
[] = {
17299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17302 result
= (wxToolBar
*)new wxToolBar();
17304 wxPyEndAllowThreads(__tstate
);
17305 if (PyErr_Occurred()) SWIG_fail
;
17308 resultobj
= wxPyMake_wxObject(result
);
17316 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17317 PyObject
*resultobj
;
17318 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17319 wxWindow
*arg2
= (wxWindow
*) 0 ;
17321 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17322 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17323 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17324 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17325 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17326 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17327 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17331 bool temp7
= False
;
17332 PyObject
* obj0
= 0 ;
17333 PyObject
* obj1
= 0 ;
17334 PyObject
* obj2
= 0 ;
17335 PyObject
* obj3
= 0 ;
17336 PyObject
* obj4
= 0 ;
17337 PyObject
* obj5
= 0 ;
17338 PyObject
* obj6
= 0 ;
17339 char *kwnames
[] = {
17340 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17348 arg3
= (int) SWIG_AsInt(obj2
);
17349 if (PyErr_Occurred()) SWIG_fail
;
17353 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17359 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17363 arg6
= (long) SWIG_AsLong(obj5
);
17364 if (PyErr_Occurred()) SWIG_fail
;
17368 arg7
= wxString_in_helper(obj6
);
17369 if (arg7
== NULL
) SWIG_fail
;
17374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17375 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17377 wxPyEndAllowThreads(__tstate
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17397 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17398 PyObject
*resultobj
;
17399 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17402 wxToolBarToolBase
*result
;
17403 PyObject
* obj0
= 0 ;
17404 PyObject
* obj1
= 0 ;
17405 PyObject
* obj2
= 0 ;
17406 char *kwnames
[] = {
17407 (char *) "self",(char *) "x",(char *) "y", NULL
17410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17413 arg2
= (int) SWIG_AsInt(obj1
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17415 arg3
= (int) SWIG_AsInt(obj2
);
17416 if (PyErr_Occurred()) SWIG_fail
;
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17421 wxPyEndAllowThreads(__tstate
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17425 resultobj
= wxPyMake_wxObject(result
);
17433 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
17435 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17436 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17438 return Py_BuildValue((char *)"");
17440 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
17441 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17446 static PyObject
*_wrap_ListCtrlNameStr_get() {
17451 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17453 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17460 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17461 PyObject
*resultobj
;
17462 wxColour
const &arg1_defvalue
= wxNullColour
;
17463 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17464 wxColour
const &arg2_defvalue
= wxNullColour
;
17465 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17466 wxFont
const &arg3_defvalue
= wxNullFont
;
17467 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17468 wxListItemAttr
*result
;
17471 PyObject
* obj0
= 0 ;
17472 PyObject
* obj1
= 0 ;
17473 PyObject
* obj2
= 0 ;
17474 char *kwnames
[] = {
17475 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17482 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17488 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17492 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
17493 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17495 if (arg3
== NULL
) {
17496 PyErr_SetString(PyExc_TypeError
,"null reference");
17501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17502 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17504 wxPyEndAllowThreads(__tstate
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
17514 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17515 PyObject
*resultobj
;
17516 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17517 wxColour
*arg2
= 0 ;
17519 PyObject
* obj0
= 0 ;
17520 PyObject
* obj1
= 0 ;
17521 char *kwnames
[] = {
17522 (char *) "self",(char *) "colText", NULL
17525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17530 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17534 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17536 wxPyEndAllowThreads(__tstate
);
17537 if (PyErr_Occurred()) SWIG_fail
;
17539 Py_INCREF(Py_None
); resultobj
= Py_None
;
17546 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17547 PyObject
*resultobj
;
17548 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17549 wxColour
*arg2
= 0 ;
17551 PyObject
* obj0
= 0 ;
17552 PyObject
* obj1
= 0 ;
17553 char *kwnames
[] = {
17554 (char *) "self",(char *) "colBack", NULL
17557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17562 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17566 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17568 wxPyEndAllowThreads(__tstate
);
17569 if (PyErr_Occurred()) SWIG_fail
;
17571 Py_INCREF(Py_None
); resultobj
= Py_None
;
17578 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17579 PyObject
*resultobj
;
17580 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17582 PyObject
* obj0
= 0 ;
17583 PyObject
* obj1
= 0 ;
17584 char *kwnames
[] = {
17585 (char *) "self",(char *) "font", NULL
17588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17591 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17592 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17594 if (arg2
== NULL
) {
17595 PyErr_SetString(PyExc_TypeError
,"null reference");
17599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17600 (arg1
)->SetFont((wxFont
const &)*arg2
);
17602 wxPyEndAllowThreads(__tstate
);
17603 if (PyErr_Occurred()) SWIG_fail
;
17605 Py_INCREF(Py_None
); resultobj
= Py_None
;
17612 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17613 PyObject
*resultobj
;
17614 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17616 PyObject
* obj0
= 0 ;
17617 char *kwnames
[] = {
17618 (char *) "self", NULL
17621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17626 result
= (bool)(arg1
)->HasTextColour();
17628 wxPyEndAllowThreads(__tstate
);
17629 if (PyErr_Occurred()) SWIG_fail
;
17632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17640 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17641 PyObject
*resultobj
;
17642 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17644 PyObject
* obj0
= 0 ;
17645 char *kwnames
[] = {
17646 (char *) "self", NULL
17649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17654 result
= (bool)(arg1
)->HasBackgroundColour();
17656 wxPyEndAllowThreads(__tstate
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17668 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
;
17670 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17672 PyObject
* obj0
= 0 ;
17673 char *kwnames
[] = {
17674 (char *) "self", NULL
17677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17682 result
= (bool)(arg1
)->HasFont();
17684 wxPyEndAllowThreads(__tstate
);
17685 if (PyErr_Occurred()) SWIG_fail
;
17688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17696 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17697 PyObject
*resultobj
;
17698 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17700 PyObject
* obj0
= 0 ;
17701 char *kwnames
[] = {
17702 (char *) "self", NULL
17705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17710 result
= (arg1
)->GetTextColour();
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17716 wxColour
* resultptr
;
17717 resultptr
= new wxColour((wxColour
&) result
);
17718 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17726 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17727 PyObject
*resultobj
;
17728 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17730 PyObject
* obj0
= 0 ;
17731 char *kwnames
[] = {
17732 (char *) "self", NULL
17735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17740 result
= (arg1
)->GetBackgroundColour();
17742 wxPyEndAllowThreads(__tstate
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17746 wxColour
* resultptr
;
17747 resultptr
= new wxColour((wxColour
&) result
);
17748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17756 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17757 PyObject
*resultobj
;
17758 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17760 PyObject
* obj0
= 0 ;
17761 char *kwnames
[] = {
17762 (char *) "self", NULL
17765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
17766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17770 result
= (arg1
)->GetFont();
17772 wxPyEndAllowThreads(__tstate
);
17773 if (PyErr_Occurred()) SWIG_fail
;
17776 wxFont
* resultptr
;
17777 resultptr
= new wxFont((wxFont
&) result
);
17778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
17786 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17787 PyObject
*resultobj
;
17788 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17789 PyObject
* obj0
= 0 ;
17790 char *kwnames
[] = {
17791 (char *) "self", NULL
17794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
17795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17799 wxListItemAttr_Destroy(arg1
);
17801 wxPyEndAllowThreads(__tstate
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17804 Py_INCREF(Py_None
); resultobj
= Py_None
;
17811 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
17813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17814 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
17816 return Py_BuildValue((char *)"");
17818 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
;
17820 wxListItem
*result
;
17821 char *kwnames
[] = {
17825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
17827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17828 result
= (wxListItem
*)new wxListItem();
17830 wxPyEndAllowThreads(__tstate
);
17831 if (PyErr_Occurred()) SWIG_fail
;
17834 resultobj
= wxPyMake_wxObject(result
);
17842 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17843 PyObject
*resultobj
;
17844 wxListItem
*arg1
= (wxListItem
*) 0 ;
17845 PyObject
* obj0
= 0 ;
17846 char *kwnames
[] = {
17847 (char *) "self", NULL
17850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
17851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 wxPyEndAllowThreads(__tstate
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17860 Py_INCREF(Py_None
); resultobj
= Py_None
;
17867 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17868 PyObject
*resultobj
;
17869 wxListItem
*arg1
= (wxListItem
*) 0 ;
17870 PyObject
* obj0
= 0 ;
17871 char *kwnames
[] = {
17872 (char *) "self", NULL
17875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
17876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17882 wxPyEndAllowThreads(__tstate
);
17883 if (PyErr_Occurred()) SWIG_fail
;
17885 Py_INCREF(Py_None
); resultobj
= Py_None
;
17892 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17893 PyObject
*resultobj
;
17894 wxListItem
*arg1
= (wxListItem
*) 0 ;
17895 PyObject
* obj0
= 0 ;
17896 char *kwnames
[] = {
17897 (char *) "self", NULL
17900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
17901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17905 (arg1
)->ClearAttributes();
17907 wxPyEndAllowThreads(__tstate
);
17908 if (PyErr_Occurred()) SWIG_fail
;
17910 Py_INCREF(Py_None
); resultobj
= Py_None
;
17917 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17918 PyObject
*resultobj
;
17919 wxListItem
*arg1
= (wxListItem
*) 0 ;
17921 PyObject
* obj0
= 0 ;
17922 PyObject
* obj1
= 0 ;
17923 char *kwnames
[] = {
17924 (char *) "self",(char *) "mask", NULL
17927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17930 arg2
= (long) SWIG_AsLong(obj1
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17934 (arg1
)->SetMask(arg2
);
17936 wxPyEndAllowThreads(__tstate
);
17937 if (PyErr_Occurred()) SWIG_fail
;
17939 Py_INCREF(Py_None
); resultobj
= Py_None
;
17946 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17947 PyObject
*resultobj
;
17948 wxListItem
*arg1
= (wxListItem
*) 0 ;
17950 PyObject
* obj0
= 0 ;
17951 PyObject
* obj1
= 0 ;
17952 char *kwnames
[] = {
17953 (char *) "self",(char *) "id", NULL
17956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
17957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17959 arg2
= (long) SWIG_AsLong(obj1
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17963 (arg1
)->SetId(arg2
);
17965 wxPyEndAllowThreads(__tstate
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17968 Py_INCREF(Py_None
); resultobj
= Py_None
;
17975 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17976 PyObject
*resultobj
;
17977 wxListItem
*arg1
= (wxListItem
*) 0 ;
17979 PyObject
* obj0
= 0 ;
17980 PyObject
* obj1
= 0 ;
17981 char *kwnames
[] = {
17982 (char *) "self",(char *) "col", NULL
17985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
17986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17988 arg2
= (int) SWIG_AsInt(obj1
);
17989 if (PyErr_Occurred()) SWIG_fail
;
17991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17992 (arg1
)->SetColumn(arg2
);
17994 wxPyEndAllowThreads(__tstate
);
17995 if (PyErr_Occurred()) SWIG_fail
;
17997 Py_INCREF(Py_None
); resultobj
= Py_None
;
18004 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18005 PyObject
*resultobj
;
18006 wxListItem
*arg1
= (wxListItem
*) 0 ;
18008 PyObject
* obj0
= 0 ;
18009 PyObject
* obj1
= 0 ;
18010 char *kwnames
[] = {
18011 (char *) "self",(char *) "state", NULL
18014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18017 arg2
= (long) SWIG_AsLong(obj1
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 (arg1
)->SetState(arg2
);
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18026 Py_INCREF(Py_None
); resultobj
= Py_None
;
18033 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
;
18035 wxListItem
*arg1
= (wxListItem
*) 0 ;
18037 PyObject
* obj0
= 0 ;
18038 PyObject
* obj1
= 0 ;
18039 char *kwnames
[] = {
18040 (char *) "self",(char *) "stateMask", NULL
18043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18046 arg2
= (long) SWIG_AsLong(obj1
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18050 (arg1
)->SetStateMask(arg2
);
18052 wxPyEndAllowThreads(__tstate
);
18053 if (PyErr_Occurred()) SWIG_fail
;
18055 Py_INCREF(Py_None
); resultobj
= Py_None
;
18062 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18063 PyObject
*resultobj
;
18064 wxListItem
*arg1
= (wxListItem
*) 0 ;
18065 wxString
*arg2
= 0 ;
18066 bool temp2
= False
;
18067 PyObject
* obj0
= 0 ;
18068 PyObject
* obj1
= 0 ;
18069 char *kwnames
[] = {
18070 (char *) "self",(char *) "text", NULL
18073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18077 arg2
= wxString_in_helper(obj1
);
18078 if (arg2
== NULL
) SWIG_fail
;
18082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18083 (arg1
)->SetText((wxString
const &)*arg2
);
18085 wxPyEndAllowThreads(__tstate
);
18086 if (PyErr_Occurred()) SWIG_fail
;
18088 Py_INCREF(Py_None
); resultobj
= Py_None
;
18103 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18104 PyObject
*resultobj
;
18105 wxListItem
*arg1
= (wxListItem
*) 0 ;
18107 PyObject
* obj0
= 0 ;
18108 PyObject
* obj1
= 0 ;
18109 char *kwnames
[] = {
18110 (char *) "self",(char *) "image", NULL
18113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18116 arg2
= (int) SWIG_AsInt(obj1
);
18117 if (PyErr_Occurred()) SWIG_fail
;
18119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18120 (arg1
)->SetImage(arg2
);
18122 wxPyEndAllowThreads(__tstate
);
18123 if (PyErr_Occurred()) SWIG_fail
;
18125 Py_INCREF(Py_None
); resultobj
= Py_None
;
18132 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18133 PyObject
*resultobj
;
18134 wxListItem
*arg1
= (wxListItem
*) 0 ;
18136 PyObject
* obj0
= 0 ;
18137 PyObject
* obj1
= 0 ;
18138 char *kwnames
[] = {
18139 (char *) "self",(char *) "data", NULL
18142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18145 arg2
= (long) SWIG_AsLong(obj1
);
18146 if (PyErr_Occurred()) SWIG_fail
;
18148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18149 (arg1
)->SetData(arg2
);
18151 wxPyEndAllowThreads(__tstate
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18154 Py_INCREF(Py_None
); resultobj
= Py_None
;
18161 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18162 PyObject
*resultobj
;
18163 wxListItem
*arg1
= (wxListItem
*) 0 ;
18165 PyObject
* obj0
= 0 ;
18166 PyObject
* obj1
= 0 ;
18167 char *kwnames
[] = {
18168 (char *) "self",(char *) "width", NULL
18171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18174 arg2
= (int) SWIG_AsInt(obj1
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18178 (arg1
)->SetWidth(arg2
);
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18183 Py_INCREF(Py_None
); resultobj
= Py_None
;
18190 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18191 PyObject
*resultobj
;
18192 wxListItem
*arg1
= (wxListItem
*) 0 ;
18194 PyObject
* obj0
= 0 ;
18195 PyObject
* obj1
= 0 ;
18196 char *kwnames
[] = {
18197 (char *) "self",(char *) "align", NULL
18200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18203 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18207 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18209 wxPyEndAllowThreads(__tstate
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18212 Py_INCREF(Py_None
); resultobj
= Py_None
;
18219 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18220 PyObject
*resultobj
;
18221 wxListItem
*arg1
= (wxListItem
*) 0 ;
18222 wxColour
*arg2
= 0 ;
18224 PyObject
* obj0
= 0 ;
18225 PyObject
* obj1
= 0 ;
18226 char *kwnames
[] = {
18227 (char *) "self",(char *) "colText", NULL
18230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18235 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18239 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18241 wxPyEndAllowThreads(__tstate
);
18242 if (PyErr_Occurred()) SWIG_fail
;
18244 Py_INCREF(Py_None
); resultobj
= Py_None
;
18251 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18252 PyObject
*resultobj
;
18253 wxListItem
*arg1
= (wxListItem
*) 0 ;
18254 wxColour
*arg2
= 0 ;
18256 PyObject
* obj0
= 0 ;
18257 PyObject
* obj1
= 0 ;
18258 char *kwnames
[] = {
18259 (char *) "self",(char *) "colBack", NULL
18262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18267 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18271 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18273 wxPyEndAllowThreads(__tstate
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18276 Py_INCREF(Py_None
); resultobj
= Py_None
;
18283 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18284 PyObject
*resultobj
;
18285 wxListItem
*arg1
= (wxListItem
*) 0 ;
18287 PyObject
* obj0
= 0 ;
18288 PyObject
* obj1
= 0 ;
18289 char *kwnames
[] = {
18290 (char *) "self",(char *) "font", NULL
18293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18296 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18297 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18299 if (arg2
== NULL
) {
18300 PyErr_SetString(PyExc_TypeError
,"null reference");
18304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18305 (arg1
)->SetFont((wxFont
const &)*arg2
);
18307 wxPyEndAllowThreads(__tstate
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18310 Py_INCREF(Py_None
); resultobj
= Py_None
;
18317 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18318 PyObject
*resultobj
;
18319 wxListItem
*arg1
= (wxListItem
*) 0 ;
18321 PyObject
* obj0
= 0 ;
18322 char *kwnames
[] = {
18323 (char *) "self", NULL
18326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18331 result
= (long)(arg1
)->GetMask();
18333 wxPyEndAllowThreads(__tstate
);
18334 if (PyErr_Occurred()) SWIG_fail
;
18336 resultobj
= SWIG_FromLong((long)result
);
18343 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18344 PyObject
*resultobj
;
18345 wxListItem
*arg1
= (wxListItem
*) 0 ;
18347 PyObject
* obj0
= 0 ;
18348 char *kwnames
[] = {
18349 (char *) "self", NULL
18352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18357 result
= (long)(arg1
)->GetId();
18359 wxPyEndAllowThreads(__tstate
);
18360 if (PyErr_Occurred()) SWIG_fail
;
18362 resultobj
= SWIG_FromLong((long)result
);
18369 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18370 PyObject
*resultobj
;
18371 wxListItem
*arg1
= (wxListItem
*) 0 ;
18373 PyObject
* obj0
= 0 ;
18374 char *kwnames
[] = {
18375 (char *) "self", NULL
18378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 result
= (int)(arg1
)->GetColumn();
18385 wxPyEndAllowThreads(__tstate
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18388 resultobj
= SWIG_FromInt((int)result
);
18395 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
;
18397 wxListItem
*arg1
= (wxListItem
*) 0 ;
18399 PyObject
* obj0
= 0 ;
18400 char *kwnames
[] = {
18401 (char *) "self", NULL
18404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18409 result
= (long)(arg1
)->GetState();
18411 wxPyEndAllowThreads(__tstate
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18414 resultobj
= SWIG_FromLong((long)result
);
18421 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18422 PyObject
*resultobj
;
18423 wxListItem
*arg1
= (wxListItem
*) 0 ;
18425 PyObject
* obj0
= 0 ;
18426 char *kwnames
[] = {
18427 (char *) "self", NULL
18430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18436 wxString
const &_result_ref
= (arg1
)->GetText();
18437 result
= (wxString
*) &_result_ref
;
18440 wxPyEndAllowThreads(__tstate
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18445 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18447 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18456 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18457 PyObject
*resultobj
;
18458 wxListItem
*arg1
= (wxListItem
*) 0 ;
18460 PyObject
* obj0
= 0 ;
18461 char *kwnames
[] = {
18462 (char *) "self", NULL
18465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18470 result
= (int)(arg1
)->GetImage();
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18475 resultobj
= SWIG_FromInt((int)result
);
18482 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxListItem
*arg1
= (wxListItem
*) 0 ;
18486 PyObject
* obj0
= 0 ;
18487 char *kwnames
[] = {
18488 (char *) "self", NULL
18491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 result
= (long)(arg1
)->GetData();
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18501 resultobj
= SWIG_FromLong((long)result
);
18508 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18509 PyObject
*resultobj
;
18510 wxListItem
*arg1
= (wxListItem
*) 0 ;
18512 PyObject
* obj0
= 0 ;
18513 char *kwnames
[] = {
18514 (char *) "self", NULL
18517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18522 result
= (int)(arg1
)->GetWidth();
18524 wxPyEndAllowThreads(__tstate
);
18525 if (PyErr_Occurred()) SWIG_fail
;
18527 resultobj
= SWIG_FromInt((int)result
);
18534 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18535 PyObject
*resultobj
;
18536 wxListItem
*arg1
= (wxListItem
*) 0 ;
18538 PyObject
* obj0
= 0 ;
18539 char *kwnames
[] = {
18540 (char *) "self", NULL
18543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18548 result
= (int)(arg1
)->GetAlign();
18550 wxPyEndAllowThreads(__tstate
);
18551 if (PyErr_Occurred()) SWIG_fail
;
18553 resultobj
= SWIG_FromInt((int)result
);
18560 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18561 PyObject
*resultobj
;
18562 wxListItem
*arg1
= (wxListItem
*) 0 ;
18563 wxListItemAttr
*result
;
18564 PyObject
* obj0
= 0 ;
18565 char *kwnames
[] = {
18566 (char *) "self", NULL
18569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18574 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18576 wxPyEndAllowThreads(__tstate
);
18577 if (PyErr_Occurred()) SWIG_fail
;
18579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
18586 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18587 PyObject
*resultobj
;
18588 wxListItem
*arg1
= (wxListItem
*) 0 ;
18590 PyObject
* obj0
= 0 ;
18591 char *kwnames
[] = {
18592 (char *) "self", NULL
18595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18600 result
= (bool)(arg1
)->HasAttributes();
18602 wxPyEndAllowThreads(__tstate
);
18603 if (PyErr_Occurred()) SWIG_fail
;
18606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18614 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18615 PyObject
*resultobj
;
18616 wxListItem
*arg1
= (wxListItem
*) 0 ;
18618 PyObject
* obj0
= 0 ;
18619 char *kwnames
[] = {
18620 (char *) "self", NULL
18623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18628 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18630 wxPyEndAllowThreads(__tstate
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18634 wxColour
* resultptr
;
18635 resultptr
= new wxColour((wxColour
&) result
);
18636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18644 static PyObject
*_wrap_ListItem_GetBackgroundColour(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_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18658 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18660 wxPyEndAllowThreads(__tstate
);
18661 if (PyErr_Occurred()) SWIG_fail
;
18664 wxColour
* resultptr
;
18665 resultptr
= new wxColour((wxColour
&) result
);
18666 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18674 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
;
18676 wxListItem
*arg1
= (wxListItem
*) 0 ;
18678 PyObject
* obj0
= 0 ;
18679 char *kwnames
[] = {
18680 (char *) "self", NULL
18683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18688 result
= ((wxListItem
const *)arg1
)->GetFont();
18690 wxPyEndAllowThreads(__tstate
);
18691 if (PyErr_Occurred()) SWIG_fail
;
18694 wxFont
* resultptr
;
18695 resultptr
= new wxFont((wxFont
&) result
);
18696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18704 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18705 PyObject
*resultobj
;
18706 wxListItem
*arg1
= (wxListItem
*) 0 ;
18708 PyObject
* obj0
= 0 ;
18709 PyObject
* obj1
= 0 ;
18710 char *kwnames
[] = {
18711 (char *) "self",(char *) "m_mask", NULL
18714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18717 arg2
= (long) SWIG_AsLong(obj1
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18719 if (arg1
) (arg1
)->m_mask
= arg2
;
18721 Py_INCREF(Py_None
); resultobj
= Py_None
;
18728 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18729 PyObject
*resultobj
;
18730 wxListItem
*arg1
= (wxListItem
*) 0 ;
18732 PyObject
* obj0
= 0 ;
18733 char *kwnames
[] = {
18734 (char *) "self", NULL
18737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18740 result
= (long) ((arg1
)->m_mask
);
18742 resultobj
= SWIG_FromLong((long)result
);
18749 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18750 PyObject
*resultobj
;
18751 wxListItem
*arg1
= (wxListItem
*) 0 ;
18753 PyObject
* obj0
= 0 ;
18754 PyObject
* obj1
= 0 ;
18755 char *kwnames
[] = {
18756 (char *) "self",(char *) "m_itemId", NULL
18759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18762 arg2
= (long) SWIG_AsLong(obj1
);
18763 if (PyErr_Occurred()) SWIG_fail
;
18764 if (arg1
) (arg1
)->m_itemId
= arg2
;
18766 Py_INCREF(Py_None
); resultobj
= Py_None
;
18773 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18774 PyObject
*resultobj
;
18775 wxListItem
*arg1
= (wxListItem
*) 0 ;
18777 PyObject
* obj0
= 0 ;
18778 char *kwnames
[] = {
18779 (char *) "self", NULL
18782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
18783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18785 result
= (long) ((arg1
)->m_itemId
);
18787 resultobj
= SWIG_FromLong((long)result
);
18794 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18795 PyObject
*resultobj
;
18796 wxListItem
*arg1
= (wxListItem
*) 0 ;
18798 PyObject
* obj0
= 0 ;
18799 PyObject
* obj1
= 0 ;
18800 char *kwnames
[] = {
18801 (char *) "self",(char *) "m_col", NULL
18804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18807 arg2
= (int) SWIG_AsInt(obj1
);
18808 if (PyErr_Occurred()) SWIG_fail
;
18809 if (arg1
) (arg1
)->m_col
= arg2
;
18811 Py_INCREF(Py_None
); resultobj
= Py_None
;
18818 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18819 PyObject
*resultobj
;
18820 wxListItem
*arg1
= (wxListItem
*) 0 ;
18822 PyObject
* obj0
= 0 ;
18823 char *kwnames
[] = {
18824 (char *) "self", NULL
18827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
18828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18830 result
= (int) ((arg1
)->m_col
);
18832 resultobj
= SWIG_FromInt((int)result
);
18839 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18840 PyObject
*resultobj
;
18841 wxListItem
*arg1
= (wxListItem
*) 0 ;
18843 PyObject
* obj0
= 0 ;
18844 PyObject
* obj1
= 0 ;
18845 char *kwnames
[] = {
18846 (char *) "self",(char *) "m_state", NULL
18849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18852 arg2
= (long) SWIG_AsLong(obj1
);
18853 if (PyErr_Occurred()) SWIG_fail
;
18854 if (arg1
) (arg1
)->m_state
= arg2
;
18856 Py_INCREF(Py_None
); resultobj
= Py_None
;
18863 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18864 PyObject
*resultobj
;
18865 wxListItem
*arg1
= (wxListItem
*) 0 ;
18867 PyObject
* obj0
= 0 ;
18868 char *kwnames
[] = {
18869 (char *) "self", NULL
18872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
18873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18875 result
= (long) ((arg1
)->m_state
);
18877 resultobj
= SWIG_FromLong((long)result
);
18884 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18885 PyObject
*resultobj
;
18886 wxListItem
*arg1
= (wxListItem
*) 0 ;
18888 PyObject
* obj0
= 0 ;
18889 PyObject
* obj1
= 0 ;
18890 char *kwnames
[] = {
18891 (char *) "self",(char *) "m_stateMask", NULL
18894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18897 arg2
= (long) SWIG_AsLong(obj1
);
18898 if (PyErr_Occurred()) SWIG_fail
;
18899 if (arg1
) (arg1
)->m_stateMask
= arg2
;
18901 Py_INCREF(Py_None
); resultobj
= Py_None
;
18908 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18909 PyObject
*resultobj
;
18910 wxListItem
*arg1
= (wxListItem
*) 0 ;
18912 PyObject
* obj0
= 0 ;
18913 char *kwnames
[] = {
18914 (char *) "self", NULL
18917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
18918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18920 result
= (long) ((arg1
)->m_stateMask
);
18922 resultobj
= SWIG_FromLong((long)result
);
18929 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18930 PyObject
*resultobj
;
18931 wxListItem
*arg1
= (wxListItem
*) 0 ;
18932 wxString
*arg2
= (wxString
*) 0 ;
18933 bool temp2
= False
;
18934 PyObject
* obj0
= 0 ;
18935 PyObject
* obj1
= 0 ;
18936 char *kwnames
[] = {
18937 (char *) "self",(char *) "m_text", NULL
18940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18944 arg2
= wxString_in_helper(obj1
);
18945 if (arg2
== NULL
) SWIG_fail
;
18948 if (arg1
) (arg1
)->m_text
= *arg2
;
18950 Py_INCREF(Py_None
); resultobj
= Py_None
;
18965 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18966 PyObject
*resultobj
;
18967 wxListItem
*arg1
= (wxListItem
*) 0 ;
18969 PyObject
* obj0
= 0 ;
18970 char *kwnames
[] = {
18971 (char *) "self", NULL
18974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
18975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18977 result
= (wxString
*)& ((arg1
)->m_text
);
18981 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18983 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18992 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18993 PyObject
*resultobj
;
18994 wxListItem
*arg1
= (wxListItem
*) 0 ;
18996 PyObject
* obj0
= 0 ;
18997 PyObject
* obj1
= 0 ;
18998 char *kwnames
[] = {
18999 (char *) "self",(char *) "m_image", NULL
19002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19005 arg2
= (int) SWIG_AsInt(obj1
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19007 if (arg1
) (arg1
)->m_image
= arg2
;
19009 Py_INCREF(Py_None
); resultobj
= Py_None
;
19016 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19017 PyObject
*resultobj
;
19018 wxListItem
*arg1
= (wxListItem
*) 0 ;
19020 PyObject
* obj0
= 0 ;
19021 char *kwnames
[] = {
19022 (char *) "self", NULL
19025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19028 result
= (int) ((arg1
)->m_image
);
19030 resultobj
= SWIG_FromInt((int)result
);
19037 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19038 PyObject
*resultobj
;
19039 wxListItem
*arg1
= (wxListItem
*) 0 ;
19041 PyObject
* obj0
= 0 ;
19042 PyObject
* obj1
= 0 ;
19043 char *kwnames
[] = {
19044 (char *) "self",(char *) "m_data", NULL
19047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19050 arg2
= (long) SWIG_AsLong(obj1
);
19051 if (PyErr_Occurred()) SWIG_fail
;
19052 if (arg1
) (arg1
)->m_data
= arg2
;
19054 Py_INCREF(Py_None
); resultobj
= Py_None
;
19061 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19062 PyObject
*resultobj
;
19063 wxListItem
*arg1
= (wxListItem
*) 0 ;
19065 PyObject
* obj0
= 0 ;
19066 char *kwnames
[] = {
19067 (char *) "self", NULL
19070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
19071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19073 result
= (long) ((arg1
)->m_data
);
19075 resultobj
= SWIG_FromLong((long)result
);
19082 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19083 PyObject
*resultobj
;
19084 wxListItem
*arg1
= (wxListItem
*) 0 ;
19086 PyObject
* obj0
= 0 ;
19087 PyObject
* obj1
= 0 ;
19088 char *kwnames
[] = {
19089 (char *) "self",(char *) "m_format", NULL
19092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19095 arg2
= (int) SWIG_AsInt(obj1
);
19096 if (PyErr_Occurred()) SWIG_fail
;
19097 if (arg1
) (arg1
)->m_format
= arg2
;
19099 Py_INCREF(Py_None
); resultobj
= Py_None
;
19106 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
;
19108 wxListItem
*arg1
= (wxListItem
*) 0 ;
19110 PyObject
* obj0
= 0 ;
19111 char *kwnames
[] = {
19112 (char *) "self", NULL
19115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19118 result
= (int) ((arg1
)->m_format
);
19120 resultobj
= SWIG_FromInt((int)result
);
19127 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19128 PyObject
*resultobj
;
19129 wxListItem
*arg1
= (wxListItem
*) 0 ;
19131 PyObject
* obj0
= 0 ;
19132 PyObject
* obj1
= 0 ;
19133 char *kwnames
[] = {
19134 (char *) "self",(char *) "m_width", NULL
19137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19140 arg2
= (int) SWIG_AsInt(obj1
);
19141 if (PyErr_Occurred()) SWIG_fail
;
19142 if (arg1
) (arg1
)->m_width
= arg2
;
19144 Py_INCREF(Py_None
); resultobj
= Py_None
;
19151 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19152 PyObject
*resultobj
;
19153 wxListItem
*arg1
= (wxListItem
*) 0 ;
19155 PyObject
* obj0
= 0 ;
19156 char *kwnames
[] = {
19157 (char *) "self", NULL
19160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19163 result
= (int) ((arg1
)->m_width
);
19165 resultobj
= SWIG_FromInt((int)result
);
19172 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
19174 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19175 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19177 return Py_BuildValue((char *)"");
19179 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19180 PyObject
*resultobj
;
19181 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19182 int arg2
= (int) 0 ;
19183 wxListEvent
*result
;
19184 PyObject
* obj0
= 0 ;
19185 PyObject
* obj1
= 0 ;
19186 char *kwnames
[] = {
19187 (char *) "commandType",(char *) "id", NULL
19190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19192 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19193 if (PyErr_Occurred()) SWIG_fail
;
19196 arg2
= (int) SWIG_AsInt(obj1
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19201 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19203 wxPyEndAllowThreads(__tstate
);
19204 if (PyErr_Occurred()) SWIG_fail
;
19206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
19213 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19214 PyObject
*resultobj
;
19215 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19217 PyObject
* obj0
= 0 ;
19218 PyObject
* obj1
= 0 ;
19219 char *kwnames
[] = {
19220 (char *) "self",(char *) "m_code", NULL
19223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19226 arg2
= (int) SWIG_AsInt(obj1
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19228 if (arg1
) (arg1
)->m_code
= arg2
;
19230 Py_INCREF(Py_None
); resultobj
= Py_None
;
19237 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19238 PyObject
*resultobj
;
19239 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19241 PyObject
* obj0
= 0 ;
19242 char *kwnames
[] = {
19243 (char *) "self", NULL
19246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19249 result
= (int) ((arg1
)->m_code
);
19251 resultobj
= SWIG_FromInt((int)result
);
19258 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19259 PyObject
*resultobj
;
19260 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19262 PyObject
* obj0
= 0 ;
19263 PyObject
* obj1
= 0 ;
19264 char *kwnames
[] = {
19265 (char *) "self",(char *) "m_oldItemIndex", NULL
19268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19271 arg2
= (long) SWIG_AsLong(obj1
);
19272 if (PyErr_Occurred()) SWIG_fail
;
19273 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19275 Py_INCREF(Py_None
); resultobj
= Py_None
;
19282 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19283 PyObject
*resultobj
;
19284 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19286 PyObject
* obj0
= 0 ;
19287 char *kwnames
[] = {
19288 (char *) "self", NULL
19291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19294 result
= (long) ((arg1
)->m_oldItemIndex
);
19296 resultobj
= SWIG_FromLong((long)result
);
19303 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19304 PyObject
*resultobj
;
19305 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19307 PyObject
* obj0
= 0 ;
19308 PyObject
* obj1
= 0 ;
19309 char *kwnames
[] = {
19310 (char *) "self",(char *) "m_itemIndex", NULL
19313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19316 arg2
= (long) SWIG_AsLong(obj1
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19318 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19320 Py_INCREF(Py_None
); resultobj
= Py_None
;
19327 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19328 PyObject
*resultobj
;
19329 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19331 PyObject
* obj0
= 0 ;
19332 char *kwnames
[] = {
19333 (char *) "self", NULL
19336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19339 result
= (long) ((arg1
)->m_itemIndex
);
19341 resultobj
= SWIG_FromLong((long)result
);
19348 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19349 PyObject
*resultobj
;
19350 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19352 PyObject
* obj0
= 0 ;
19353 PyObject
* obj1
= 0 ;
19354 char *kwnames
[] = {
19355 (char *) "self",(char *) "m_col", NULL
19358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19361 arg2
= (int) SWIG_AsInt(obj1
);
19362 if (PyErr_Occurred()) SWIG_fail
;
19363 if (arg1
) (arg1
)->m_col
= arg2
;
19365 Py_INCREF(Py_None
); resultobj
= Py_None
;
19372 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19373 PyObject
*resultobj
;
19374 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19376 PyObject
* obj0
= 0 ;
19377 char *kwnames
[] = {
19378 (char *) "self", NULL
19381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19384 result
= (int) ((arg1
)->m_col
);
19386 resultobj
= SWIG_FromInt((int)result
);
19393 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19394 PyObject
*resultobj
;
19395 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19396 wxPoint
*arg2
= (wxPoint
*) 0 ;
19397 PyObject
* obj0
= 0 ;
19398 PyObject
* obj1
= 0 ;
19399 char *kwnames
[] = {
19400 (char *) "self",(char *) "m_pointDrag", NULL
19403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19406 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
19407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19408 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19410 Py_INCREF(Py_None
); resultobj
= Py_None
;
19417 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19418 PyObject
*resultobj
;
19419 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19421 PyObject
* obj0
= 0 ;
19422 char *kwnames
[] = {
19423 (char *) "self", NULL
19426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19429 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19438 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19439 PyObject
*resultobj
;
19440 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19441 wxListItem
*result
;
19442 PyObject
* obj0
= 0 ;
19443 char *kwnames
[] = {
19444 (char *) "self", NULL
19447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19450 result
= (wxListItem
*)& ((arg1
)->m_item
);
19453 resultobj
= wxPyMake_wxObject(result
);
19461 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19462 PyObject
*resultobj
;
19463 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19465 PyObject
* obj0
= 0 ;
19466 char *kwnames
[] = {
19467 (char *) "self", NULL
19470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19475 result
= (int)(arg1
)->GetKeyCode();
19477 wxPyEndAllowThreads(__tstate
);
19478 if (PyErr_Occurred()) SWIG_fail
;
19480 resultobj
= SWIG_FromInt((int)result
);
19487 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19488 PyObject
*resultobj
;
19489 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19491 PyObject
* obj0
= 0 ;
19492 char *kwnames
[] = {
19493 (char *) "self", NULL
19496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19501 result
= (long)(arg1
)->GetIndex();
19503 wxPyEndAllowThreads(__tstate
);
19504 if (PyErr_Occurred()) SWIG_fail
;
19506 resultobj
= SWIG_FromLong((long)result
);
19513 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19514 PyObject
*resultobj
;
19515 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19517 PyObject
* obj0
= 0 ;
19518 char *kwnames
[] = {
19519 (char *) "self", NULL
19522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19527 result
= (int)(arg1
)->GetColumn();
19529 wxPyEndAllowThreads(__tstate
);
19530 if (PyErr_Occurred()) SWIG_fail
;
19532 resultobj
= SWIG_FromInt((int)result
);
19539 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19540 PyObject
*resultobj
;
19541 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19543 PyObject
* obj0
= 0 ;
19544 char *kwnames
[] = {
19545 (char *) "self", NULL
19548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19553 result
= (arg1
)->GetPoint();
19555 wxPyEndAllowThreads(__tstate
);
19556 if (PyErr_Occurred()) SWIG_fail
;
19559 wxPoint
* resultptr
;
19560 resultptr
= new wxPoint((wxPoint
&) result
);
19561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19569 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19570 PyObject
*resultobj
;
19571 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19573 PyObject
* obj0
= 0 ;
19574 char *kwnames
[] = {
19575 (char *) "self", NULL
19578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19584 wxString
const &_result_ref
= (arg1
)->GetLabel();
19585 result
= (wxString
*) &_result_ref
;
19588 wxPyEndAllowThreads(__tstate
);
19589 if (PyErr_Occurred()) SWIG_fail
;
19593 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19595 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19604 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19605 PyObject
*resultobj
;
19606 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19608 PyObject
* obj0
= 0 ;
19609 char *kwnames
[] = {
19610 (char *) "self", NULL
19613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19619 wxString
const &_result_ref
= (arg1
)->GetText();
19620 result
= (wxString
*) &_result_ref
;
19623 wxPyEndAllowThreads(__tstate
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19628 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19630 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19639 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19640 PyObject
*resultobj
;
19641 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19643 PyObject
* obj0
= 0 ;
19644 char *kwnames
[] = {
19645 (char *) "self", NULL
19648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19653 result
= (int)(arg1
)->GetImage();
19655 wxPyEndAllowThreads(__tstate
);
19656 if (PyErr_Occurred()) SWIG_fail
;
19658 resultobj
= SWIG_FromInt((int)result
);
19665 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19666 PyObject
*resultobj
;
19667 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19669 PyObject
* obj0
= 0 ;
19670 char *kwnames
[] = {
19671 (char *) "self", NULL
19674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19679 result
= (long)(arg1
)->GetData();
19681 wxPyEndAllowThreads(__tstate
);
19682 if (PyErr_Occurred()) SWIG_fail
;
19684 resultobj
= SWIG_FromLong((long)result
);
19691 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19692 PyObject
*resultobj
;
19693 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19695 PyObject
* obj0
= 0 ;
19696 char *kwnames
[] = {
19697 (char *) "self", NULL
19700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19705 result
= (long)(arg1
)->GetMask();
19707 wxPyEndAllowThreads(__tstate
);
19708 if (PyErr_Occurred()) SWIG_fail
;
19710 resultobj
= SWIG_FromLong((long)result
);
19717 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19718 PyObject
*resultobj
;
19719 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19720 wxListItem
*result
;
19721 PyObject
* obj0
= 0 ;
19722 char *kwnames
[] = {
19723 (char *) "self", NULL
19726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19732 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19733 result
= (wxListItem
*) &_result_ref
;
19736 wxPyEndAllowThreads(__tstate
);
19737 if (PyErr_Occurred()) SWIG_fail
;
19739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
19746 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19747 PyObject
*resultobj
;
19748 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19750 PyObject
* obj0
= 0 ;
19751 char *kwnames
[] = {
19752 (char *) "self", NULL
19755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19760 result
= (long)(arg1
)->GetCacheFrom();
19762 wxPyEndAllowThreads(__tstate
);
19763 if (PyErr_Occurred()) SWIG_fail
;
19765 resultobj
= SWIG_FromLong((long)result
);
19772 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19773 PyObject
*resultobj
;
19774 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19776 PyObject
* obj0
= 0 ;
19777 char *kwnames
[] = {
19778 (char *) "self", NULL
19781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
19782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19786 result
= (long)(arg1
)->GetCacheTo();
19788 wxPyEndAllowThreads(__tstate
);
19789 if (PyErr_Occurred()) SWIG_fail
;
19791 resultobj
= SWIG_FromLong((long)result
);
19798 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19799 PyObject
*resultobj
;
19800 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19802 PyObject
* obj0
= 0 ;
19803 char *kwnames
[] = {
19804 (char *) "self", NULL
19807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
19808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19812 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
19814 wxPyEndAllowThreads(__tstate
);
19815 if (PyErr_Occurred()) SWIG_fail
;
19818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19826 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19827 PyObject
*resultobj
;
19828 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19830 PyObject
* obj0
= 0 ;
19831 PyObject
* obj1
= 0 ;
19832 char *kwnames
[] = {
19833 (char *) "self",(char *) "editCancelled", NULL
19836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
19837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19839 arg2
= (bool) SWIG_AsBool(obj1
);
19840 if (PyErr_Occurred()) SWIG_fail
;
19842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19843 (arg1
)->SetEditCanceled(arg2
);
19845 wxPyEndAllowThreads(__tstate
);
19846 if (PyErr_Occurred()) SWIG_fail
;
19848 Py_INCREF(Py_None
); resultobj
= Py_None
;
19855 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
19857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19858 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
19860 return Py_BuildValue((char *)"");
19862 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19863 PyObject
*resultobj
;
19864 wxWindow
*arg1
= (wxWindow
*) 0 ;
19865 int arg2
= (int) -1 ;
19866 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19867 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19868 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19869 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19870 long arg5
= (long) wxLC_ICON
;
19871 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19872 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19873 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19874 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19875 wxPyListCtrl
*result
;
19878 bool temp7
= False
;
19879 PyObject
* obj0
= 0 ;
19880 PyObject
* obj1
= 0 ;
19881 PyObject
* obj2
= 0 ;
19882 PyObject
* obj3
= 0 ;
19883 PyObject
* obj4
= 0 ;
19884 PyObject
* obj5
= 0 ;
19885 PyObject
* obj6
= 0 ;
19886 char *kwnames
[] = {
19887 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19894 arg2
= (int) SWIG_AsInt(obj1
);
19895 if (PyErr_Occurred()) SWIG_fail
;
19900 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19906 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19910 arg5
= (long) SWIG_AsLong(obj4
);
19911 if (PyErr_Occurred()) SWIG_fail
;
19914 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
19915 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19917 if (arg6
== NULL
) {
19918 PyErr_SetString(PyExc_TypeError
,"null reference");
19924 arg7
= wxString_in_helper(obj6
);
19925 if (arg7
== NULL
) SWIG_fail
;
19930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19931 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19933 wxPyEndAllowThreads(__tstate
);
19934 if (PyErr_Occurred()) SWIG_fail
;
19936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
19951 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19952 PyObject
*resultobj
;
19953 wxPyListCtrl
*result
;
19954 char *kwnames
[] = {
19958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
19960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19961 result
= (wxPyListCtrl
*)new wxPyListCtrl();
19963 wxPyEndAllowThreads(__tstate
);
19964 if (PyErr_Occurred()) SWIG_fail
;
19966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
19973 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19974 PyObject
*resultobj
;
19975 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19976 wxWindow
*arg2
= (wxWindow
*) 0 ;
19977 int arg3
= (int) -1 ;
19978 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19979 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19980 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19981 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19982 long arg6
= (long) wxLC_ICON
;
19983 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19984 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19985 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19986 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19990 bool temp8
= False
;
19991 PyObject
* obj0
= 0 ;
19992 PyObject
* obj1
= 0 ;
19993 PyObject
* obj2
= 0 ;
19994 PyObject
* obj3
= 0 ;
19995 PyObject
* obj4
= 0 ;
19996 PyObject
* obj5
= 0 ;
19997 PyObject
* obj6
= 0 ;
19998 PyObject
* obj7
= 0 ;
19999 char *kwnames
[] = {
20000 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20009 arg3
= (int) SWIG_AsInt(obj2
);
20010 if (PyErr_Occurred()) SWIG_fail
;
20015 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20021 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20025 arg6
= (long) SWIG_AsLong(obj5
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20029 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
20030 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20032 if (arg7
== NULL
) {
20033 PyErr_SetString(PyExc_TypeError
,"null reference");
20039 arg8
= wxString_in_helper(obj7
);
20040 if (arg8
== NULL
) SWIG_fail
;
20045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20046 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20048 wxPyEndAllowThreads(__tstate
);
20049 if (PyErr_Occurred()) SWIG_fail
;
20052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20068 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20069 PyObject
*resultobj
;
20070 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20071 PyObject
*arg2
= (PyObject
*) 0 ;
20072 PyObject
*arg3
= (PyObject
*) 0 ;
20073 PyObject
* obj0
= 0 ;
20074 PyObject
* obj1
= 0 ;
20075 PyObject
* obj2
= 0 ;
20076 char *kwnames
[] = {
20077 (char *) "self",(char *) "self",(char *) "_class", NULL
20080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20087 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20089 wxPyEndAllowThreads(__tstate
);
20090 if (PyErr_Occurred()) SWIG_fail
;
20092 Py_INCREF(Py_None
); resultobj
= Py_None
;
20099 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20100 PyObject
*resultobj
;
20101 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20102 wxColour
*arg2
= 0 ;
20105 PyObject
* obj0
= 0 ;
20106 PyObject
* obj1
= 0 ;
20107 char *kwnames
[] = {
20108 (char *) "self",(char *) "col", NULL
20111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20116 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20120 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20122 wxPyEndAllowThreads(__tstate
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20134 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20135 PyObject
*resultobj
;
20136 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20137 wxColour
*arg2
= 0 ;
20140 PyObject
* obj0
= 0 ;
20141 PyObject
* obj1
= 0 ;
20142 char *kwnames
[] = {
20143 (char *) "self",(char *) "col", NULL
20146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20151 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20155 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20157 wxPyEndAllowThreads(__tstate
);
20158 if (PyErr_Occurred()) SWIG_fail
;
20161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20169 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20170 PyObject
*resultobj
;
20171 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20173 wxListItem
*result
;
20174 PyObject
* obj0
= 0 ;
20175 PyObject
* obj1
= 0 ;
20176 char *kwnames
[] = {
20177 (char *) "self",(char *) "col", NULL
20180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20183 arg2
= (int) SWIG_AsInt(obj1
);
20184 if (PyErr_Occurred()) SWIG_fail
;
20186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20187 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20189 wxPyEndAllowThreads(__tstate
);
20190 if (PyErr_Occurred()) SWIG_fail
;
20193 resultobj
= wxPyMake_wxObject(result
);
20201 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20202 PyObject
*resultobj
;
20203 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20205 wxListItem
*arg3
= 0 ;
20207 PyObject
* obj0
= 0 ;
20208 PyObject
* obj1
= 0 ;
20209 PyObject
* obj2
= 0 ;
20210 char *kwnames
[] = {
20211 (char *) "self",(char *) "col",(char *) "item", NULL
20214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20217 arg2
= (int) SWIG_AsInt(obj1
);
20218 if (PyErr_Occurred()) SWIG_fail
;
20219 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
20220 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20222 if (arg3
== NULL
) {
20223 PyErr_SetString(PyExc_TypeError
,"null reference");
20227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20228 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20230 wxPyEndAllowThreads(__tstate
);
20231 if (PyErr_Occurred()) SWIG_fail
;
20234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20242 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20243 PyObject
*resultobj
;
20244 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20247 PyObject
* obj0
= 0 ;
20248 PyObject
* obj1
= 0 ;
20249 char *kwnames
[] = {
20250 (char *) "self",(char *) "col", NULL
20253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20256 arg2
= (int) SWIG_AsInt(obj1
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20260 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20262 wxPyEndAllowThreads(__tstate
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20265 resultobj
= SWIG_FromInt((int)result
);
20272 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20273 PyObject
*resultobj
;
20274 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20278 PyObject
* obj0
= 0 ;
20279 PyObject
* obj1
= 0 ;
20280 PyObject
* obj2
= 0 ;
20281 char *kwnames
[] = {
20282 (char *) "self",(char *) "col",(char *) "width", NULL
20285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20288 arg2
= (int) SWIG_AsInt(obj1
);
20289 if (PyErr_Occurred()) SWIG_fail
;
20290 arg3
= (int) SWIG_AsInt(obj2
);
20291 if (PyErr_Occurred()) SWIG_fail
;
20293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20294 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20296 wxPyEndAllowThreads(__tstate
);
20297 if (PyErr_Occurred()) SWIG_fail
;
20300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20308 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20309 PyObject
*resultobj
;
20310 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20312 PyObject
* obj0
= 0 ;
20313 char *kwnames
[] = {
20314 (char *) "self", NULL
20317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20322 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20324 wxPyEndAllowThreads(__tstate
);
20325 if (PyErr_Occurred()) SWIG_fail
;
20327 resultobj
= SWIG_FromInt((int)result
);
20334 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20335 PyObject
*resultobj
;
20336 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20338 PyObject
* obj0
= 0 ;
20339 char *kwnames
[] = {
20340 (char *) "self", NULL
20343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20348 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20350 wxPyEndAllowThreads(__tstate
);
20351 if (PyErr_Occurred()) SWIG_fail
;
20354 wxRect
* resultptr
;
20355 resultptr
= new wxRect((wxRect
&) result
);
20356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20364 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20365 PyObject
*resultobj
;
20366 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20368 int arg3
= (int) 0 ;
20369 wxListItem
*result
;
20370 PyObject
* obj0
= 0 ;
20371 PyObject
* obj1
= 0 ;
20372 PyObject
* obj2
= 0 ;
20373 char *kwnames
[] = {
20374 (char *) "self",(char *) "itemId",(char *) "col", NULL
20377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20380 arg2
= (long) SWIG_AsLong(obj1
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20383 arg3
= (int) SWIG_AsInt(obj2
);
20384 if (PyErr_Occurred()) SWIG_fail
;
20387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20388 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20390 wxPyEndAllowThreads(__tstate
);
20391 if (PyErr_Occurred()) SWIG_fail
;
20394 resultobj
= wxPyMake_wxObject(result
);
20402 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20403 PyObject
*resultobj
;
20404 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20405 wxListItem
*arg2
= 0 ;
20407 PyObject
* obj0
= 0 ;
20408 PyObject
* obj1
= 0 ;
20409 char *kwnames
[] = {
20410 (char *) "self",(char *) "info", NULL
20413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
20417 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20419 if (arg2
== NULL
) {
20420 PyErr_SetString(PyExc_TypeError
,"null reference");
20424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20425 result
= (bool)(arg1
)->SetItem(*arg2
);
20427 wxPyEndAllowThreads(__tstate
);
20428 if (PyErr_Occurred()) SWIG_fail
;
20431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20439 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20440 PyObject
*resultobj
;
20441 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20444 wxString
*arg4
= 0 ;
20445 int arg5
= (int) -1 ;
20447 bool temp4
= False
;
20448 PyObject
* obj0
= 0 ;
20449 PyObject
* obj1
= 0 ;
20450 PyObject
* obj2
= 0 ;
20451 PyObject
* obj3
= 0 ;
20452 PyObject
* obj4
= 0 ;
20453 char *kwnames
[] = {
20454 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20460 arg2
= (long) SWIG_AsLong(obj1
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20462 arg3
= (int) SWIG_AsInt(obj2
);
20463 if (PyErr_Occurred()) SWIG_fail
;
20465 arg4
= wxString_in_helper(obj3
);
20466 if (arg4
== NULL
) SWIG_fail
;
20470 arg5
= (int) SWIG_AsInt(obj4
);
20471 if (PyErr_Occurred()) SWIG_fail
;
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20477 wxPyEndAllowThreads(__tstate
);
20478 if (PyErr_Occurred()) SWIG_fail
;
20480 resultobj
= SWIG_FromLong((long)result
);
20495 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20496 PyObject
*resultobj
;
20497 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20501 PyObject
* obj0
= 0 ;
20502 PyObject
* obj1
= 0 ;
20503 PyObject
* obj2
= 0 ;
20504 char *kwnames
[] = {
20505 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20511 arg2
= (long) SWIG_AsLong(obj1
);
20512 if (PyErr_Occurred()) SWIG_fail
;
20513 arg3
= (long) SWIG_AsLong(obj2
);
20514 if (PyErr_Occurred()) SWIG_fail
;
20516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20517 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20519 wxPyEndAllowThreads(__tstate
);
20520 if (PyErr_Occurred()) SWIG_fail
;
20522 resultobj
= SWIG_FromInt((int)result
);
20529 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20530 PyObject
*resultobj
;
20531 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20536 PyObject
* obj0
= 0 ;
20537 PyObject
* obj1
= 0 ;
20538 PyObject
* obj2
= 0 ;
20539 PyObject
* obj3
= 0 ;
20540 char *kwnames
[] = {
20541 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20547 arg2
= (long) SWIG_AsLong(obj1
);
20548 if (PyErr_Occurred()) SWIG_fail
;
20549 arg3
= (long) SWIG_AsLong(obj2
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20551 arg4
= (long) SWIG_AsLong(obj3
);
20552 if (PyErr_Occurred()) SWIG_fail
;
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20555 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20569 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20570 PyObject
*resultobj
;
20571 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20576 PyObject
* obj0
= 0 ;
20577 PyObject
* obj1
= 0 ;
20578 PyObject
* obj2
= 0 ;
20579 PyObject
* obj3
= 0 ;
20580 char *kwnames
[] = {
20581 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20587 arg2
= (long) SWIG_AsLong(obj1
);
20588 if (PyErr_Occurred()) SWIG_fail
;
20589 arg3
= (int) SWIG_AsInt(obj2
);
20590 if (PyErr_Occurred()) SWIG_fail
;
20591 arg4
= (int) SWIG_AsInt(obj3
);
20592 if (PyErr_Occurred()) SWIG_fail
;
20594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20595 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20597 wxPyEndAllowThreads(__tstate
);
20598 if (PyErr_Occurred()) SWIG_fail
;
20601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20609 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20610 PyObject
*resultobj
;
20611 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20614 PyObject
* obj0
= 0 ;
20615 PyObject
* obj1
= 0 ;
20616 char *kwnames
[] = {
20617 (char *) "self",(char *) "item", NULL
20620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20623 arg2
= (long) SWIG_AsLong(obj1
);
20624 if (PyErr_Occurred()) SWIG_fail
;
20626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20627 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20634 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20636 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20645 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20646 PyObject
*resultobj
;
20647 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20649 wxString
*arg3
= 0 ;
20650 bool temp3
= False
;
20651 PyObject
* obj0
= 0 ;
20652 PyObject
* obj1
= 0 ;
20653 PyObject
* obj2
= 0 ;
20654 char *kwnames
[] = {
20655 (char *) "self",(char *) "item",(char *) "str", NULL
20658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20661 arg2
= (long) SWIG_AsLong(obj1
);
20662 if (PyErr_Occurred()) SWIG_fail
;
20664 arg3
= wxString_in_helper(obj2
);
20665 if (arg3
== NULL
) SWIG_fail
;
20669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20670 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20672 wxPyEndAllowThreads(__tstate
);
20673 if (PyErr_Occurred()) SWIG_fail
;
20675 Py_INCREF(Py_None
); resultobj
= Py_None
;
20690 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20691 PyObject
*resultobj
;
20692 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20695 PyObject
* obj0
= 0 ;
20696 PyObject
* obj1
= 0 ;
20697 char *kwnames
[] = {
20698 (char *) "self",(char *) "item", NULL
20701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20704 arg2
= (long) SWIG_AsLong(obj1
);
20705 if (PyErr_Occurred()) SWIG_fail
;
20707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20708 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20710 wxPyEndAllowThreads(__tstate
);
20711 if (PyErr_Occurred()) SWIG_fail
;
20713 resultobj
= SWIG_FromLong((long)result
);
20720 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20721 PyObject
*resultobj
;
20722 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20726 PyObject
* obj0
= 0 ;
20727 PyObject
* obj1
= 0 ;
20728 PyObject
* obj2
= 0 ;
20729 char *kwnames
[] = {
20730 (char *) "self",(char *) "item",(char *) "data", NULL
20733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20736 arg2
= (long) SWIG_AsLong(obj1
);
20737 if (PyErr_Occurred()) SWIG_fail
;
20738 arg3
= (long) SWIG_AsLong(obj2
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20742 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20744 wxPyEndAllowThreads(__tstate
);
20745 if (PyErr_Occurred()) SWIG_fail
;
20748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20756 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20757 PyObject
*resultobj
;
20758 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20761 PyObject
* obj0
= 0 ;
20762 PyObject
* obj1
= 0 ;
20763 char *kwnames
[] = {
20764 (char *) "self",(char *) "item", NULL
20767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20770 arg2
= (long) SWIG_AsLong(obj1
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20774 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
20776 wxPyEndAllowThreads(__tstate
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20780 wxPoint
* resultptr
;
20781 resultptr
= new wxPoint((wxPoint
&) result
);
20782 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20790 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20791 PyObject
*resultobj
;
20792 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20794 int arg3
= (int) wxLIST_RECT_BOUNDS
;
20796 PyObject
* obj0
= 0 ;
20797 PyObject
* obj1
= 0 ;
20798 PyObject
* obj2
= 0 ;
20799 char *kwnames
[] = {
20800 (char *) "self",(char *) "item",(char *) "code", NULL
20803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20806 arg2
= (long) SWIG_AsLong(obj1
);
20807 if (PyErr_Occurred()) SWIG_fail
;
20809 arg3
= (int) SWIG_AsInt(obj2
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20814 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
20816 wxPyEndAllowThreads(__tstate
);
20817 if (PyErr_Occurred()) SWIG_fail
;
20820 wxRect
* resultptr
;
20821 resultptr
= new wxRect((wxRect
&) result
);
20822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20830 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20831 PyObject
*resultobj
;
20832 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20834 wxPoint
*arg3
= 0 ;
20837 PyObject
* obj0
= 0 ;
20838 PyObject
* obj1
= 0 ;
20839 PyObject
* obj2
= 0 ;
20840 char *kwnames
[] = {
20841 (char *) "self",(char *) "item",(char *) "pos", NULL
20844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20847 arg2
= (long) SWIG_AsLong(obj1
);
20848 if (PyErr_Occurred()) SWIG_fail
;
20851 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20855 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
20857 wxPyEndAllowThreads(__tstate
);
20858 if (PyErr_Occurred()) SWIG_fail
;
20861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20869 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20870 PyObject
*resultobj
;
20871 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20873 PyObject
* obj0
= 0 ;
20874 char *kwnames
[] = {
20875 (char *) "self", NULL
20878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
20879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20883 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
20885 wxPyEndAllowThreads(__tstate
);
20886 if (PyErr_Occurred()) SWIG_fail
;
20888 resultobj
= SWIG_FromInt((int)result
);
20895 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20896 PyObject
*resultobj
;
20897 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20899 PyObject
* obj0
= 0 ;
20900 char *kwnames
[] = {
20901 (char *) "self", NULL
20904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
20905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20909 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
20911 wxPyEndAllowThreads(__tstate
);
20912 if (PyErr_Occurred()) SWIG_fail
;
20914 resultobj
= SWIG_FromInt((int)result
);
20921 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20922 PyObject
*resultobj
;
20923 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20925 PyObject
* obj0
= 0 ;
20926 char *kwnames
[] = {
20927 (char *) "self", NULL
20930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
20931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20935 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
20937 wxPyEndAllowThreads(__tstate
);
20938 if (PyErr_Occurred()) SWIG_fail
;
20941 wxSize
* resultptr
;
20942 resultptr
= new wxSize((wxSize
&) result
);
20943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20951 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20952 PyObject
*resultobj
;
20953 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20955 bool arg3
= (bool) False
;
20956 PyObject
* obj0
= 0 ;
20957 PyObject
* obj1
= 0 ;
20958 PyObject
* obj2
= 0 ;
20959 char *kwnames
[] = {
20960 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
20963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20966 arg2
= (int) SWIG_AsInt(obj1
);
20967 if (PyErr_Occurred()) SWIG_fail
;
20969 arg3
= (bool) SWIG_AsBool(obj2
);
20970 if (PyErr_Occurred()) SWIG_fail
;
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 (arg1
)->SetItemSpacing(arg2
,arg3
);
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20979 Py_INCREF(Py_None
); resultobj
= Py_None
;
20986 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20987 PyObject
*resultobj
;
20988 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20990 PyObject
* obj0
= 0 ;
20991 char *kwnames
[] = {
20992 (char *) "self", NULL
20995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
20996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21000 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
21002 wxPyEndAllowThreads(__tstate
);
21003 if (PyErr_Occurred()) SWIG_fail
;
21005 resultobj
= SWIG_FromInt((int)result
);
21012 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21013 PyObject
*resultobj
;
21014 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21016 PyObject
* obj0
= 0 ;
21017 char *kwnames
[] = {
21018 (char *) "self", NULL
21021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
21022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21026 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
21028 wxPyEndAllowThreads(__tstate
);
21029 if (PyErr_Occurred()) SWIG_fail
;
21032 wxColour
* resultptr
;
21033 resultptr
= new wxColour((wxColour
&) result
);
21034 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21042 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21043 PyObject
*resultobj
;
21044 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21045 wxColour
*arg2
= 0 ;
21047 PyObject
* obj0
= 0 ;
21048 PyObject
* obj1
= 0 ;
21049 char *kwnames
[] = {
21050 (char *) "self",(char *) "col", NULL
21053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21058 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21062 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21064 wxPyEndAllowThreads(__tstate
);
21065 if (PyErr_Occurred()) SWIG_fail
;
21067 Py_INCREF(Py_None
); resultobj
= Py_None
;
21074 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21075 PyObject
*resultobj
;
21076 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21078 PyObject
* obj0
= 0 ;
21079 char *kwnames
[] = {
21080 (char *) "self", NULL
21083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21088 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21093 resultobj
= SWIG_FromLong((long)result
);
21100 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21101 PyObject
*resultobj
;
21102 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21104 bool arg3
= (bool) True
;
21105 PyObject
* obj0
= 0 ;
21106 PyObject
* obj1
= 0 ;
21107 PyObject
* obj2
= 0 ;
21108 char *kwnames
[] = {
21109 (char *) "self",(char *) "style",(char *) "add", NULL
21112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21115 arg2
= (long) SWIG_AsLong(obj1
);
21116 if (PyErr_Occurred()) SWIG_fail
;
21118 arg3
= (bool) SWIG_AsBool(obj2
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21123 (arg1
)->SetSingleStyle(arg2
,arg3
);
21125 wxPyEndAllowThreads(__tstate
);
21126 if (PyErr_Occurred()) SWIG_fail
;
21128 Py_INCREF(Py_None
); resultobj
= Py_None
;
21135 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21136 PyObject
*resultobj
;
21137 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21139 PyObject
* obj0
= 0 ;
21140 PyObject
* obj1
= 0 ;
21141 char *kwnames
[] = {
21142 (char *) "self",(char *) "style", NULL
21145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21148 arg2
= (long) SWIG_AsLong(obj1
);
21149 if (PyErr_Occurred()) SWIG_fail
;
21151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21152 (arg1
)->SetWindowStyleFlag(arg2
);
21154 wxPyEndAllowThreads(__tstate
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21157 Py_INCREF(Py_None
); resultobj
= Py_None
;
21164 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21165 PyObject
*resultobj
;
21166 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21168 int arg3
= (int) wxLIST_NEXT_ALL
;
21169 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21171 PyObject
* obj0
= 0 ;
21172 PyObject
* obj1
= 0 ;
21173 PyObject
* obj2
= 0 ;
21174 PyObject
* obj3
= 0 ;
21175 char *kwnames
[] = {
21176 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21182 arg2
= (long) SWIG_AsLong(obj1
);
21183 if (PyErr_Occurred()) SWIG_fail
;
21185 arg3
= (int) SWIG_AsInt(obj2
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21189 arg4
= (int) SWIG_AsInt(obj3
);
21190 if (PyErr_Occurred()) SWIG_fail
;
21193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21194 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21196 wxPyEndAllowThreads(__tstate
);
21197 if (PyErr_Occurred()) SWIG_fail
;
21199 resultobj
= SWIG_FromLong((long)result
);
21206 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21207 PyObject
*resultobj
;
21208 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21210 wxImageList
*result
;
21211 PyObject
* obj0
= 0 ;
21212 PyObject
* obj1
= 0 ;
21213 char *kwnames
[] = {
21214 (char *) "self",(char *) "which", NULL
21217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21220 arg2
= (int) SWIG_AsInt(obj1
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21224 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21226 wxPyEndAllowThreads(__tstate
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21230 resultobj
= wxPyMake_wxObject(result
);
21238 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21239 PyObject
*resultobj
;
21240 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21241 wxImageList
*arg2
= (wxImageList
*) 0 ;
21243 PyObject
* obj0
= 0 ;
21244 PyObject
* obj1
= 0 ;
21245 PyObject
* obj2
= 0 ;
21246 char *kwnames
[] = {
21247 (char *) "self",(char *) "imageList",(char *) "which", NULL
21250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21255 arg3
= (int) SWIG_AsInt(obj2
);
21256 if (PyErr_Occurred()) SWIG_fail
;
21258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21259 (arg1
)->SetImageList(arg2
,arg3
);
21261 wxPyEndAllowThreads(__tstate
);
21262 if (PyErr_Occurred()) SWIG_fail
;
21264 Py_INCREF(Py_None
); resultobj
= Py_None
;
21271 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21272 PyObject
*resultobj
;
21273 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21274 wxImageList
*arg2
= (wxImageList
*) 0 ;
21276 PyObject
* obj0
= 0 ;
21277 PyObject
* obj1
= 0 ;
21278 PyObject
* obj2
= 0 ;
21279 char *kwnames
[] = {
21280 (char *) "self",(char *) "imageList",(char *) "which", NULL
21283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21286 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21287 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21288 arg3
= (int) SWIG_AsInt(obj2
);
21289 if (PyErr_Occurred()) SWIG_fail
;
21291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21292 (arg1
)->AssignImageList(arg2
,arg3
);
21294 wxPyEndAllowThreads(__tstate
);
21295 if (PyErr_Occurred()) SWIG_fail
;
21297 Py_INCREF(Py_None
); resultobj
= Py_None
;
21304 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21305 PyObject
*resultobj
;
21306 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21308 PyObject
* obj0
= 0 ;
21309 char *kwnames
[] = {
21310 (char *) "self", NULL
21313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
21314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21318 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
21320 wxPyEndAllowThreads(__tstate
);
21321 if (PyErr_Occurred()) SWIG_fail
;
21324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21332 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21333 PyObject
*resultobj
;
21334 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21336 PyObject
* obj0
= 0 ;
21337 char *kwnames
[] = {
21338 (char *) "self", NULL
21341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21346 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21348 wxPyEndAllowThreads(__tstate
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21360 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21361 PyObject
*resultobj
;
21362 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21364 PyObject
* obj0
= 0 ;
21365 PyObject
* obj1
= 0 ;
21366 char *kwnames
[] = {
21367 (char *) "self",(char *) "item", NULL
21370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21373 arg2
= (long) SWIG_AsLong(obj1
);
21374 if (PyErr_Occurred()) SWIG_fail
;
21376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21377 (arg1
)->RefreshItem(arg2
);
21379 wxPyEndAllowThreads(__tstate
);
21380 if (PyErr_Occurred()) SWIG_fail
;
21382 Py_INCREF(Py_None
); resultobj
= Py_None
;
21389 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21390 PyObject
*resultobj
;
21391 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21394 PyObject
* obj0
= 0 ;
21395 PyObject
* obj1
= 0 ;
21396 PyObject
* obj2
= 0 ;
21397 char *kwnames
[] = {
21398 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
21406 arg3
= (long) SWIG_AsLong(obj2
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21410 (arg1
)->RefreshItems(arg2
,arg3
);
21412 wxPyEndAllowThreads(__tstate
);
21413 if (PyErr_Occurred()) SWIG_fail
;
21415 Py_INCREF(Py_None
); resultobj
= Py_None
;
21422 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21423 PyObject
*resultobj
;
21424 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21425 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21427 PyObject
* obj0
= 0 ;
21428 PyObject
* obj1
= 0 ;
21429 char *kwnames
[] = {
21430 (char *) "self",(char *) "flag", NULL
21433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21437 arg2
= (int) SWIG_AsInt(obj1
);
21438 if (PyErr_Occurred()) SWIG_fail
;
21441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21442 result
= (bool)(arg1
)->Arrange(arg2
);
21444 wxPyEndAllowThreads(__tstate
);
21445 if (PyErr_Occurred()) SWIG_fail
;
21448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21456 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21457 PyObject
*resultobj
;
21458 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21461 PyObject
* obj0
= 0 ;
21462 PyObject
* obj1
= 0 ;
21463 char *kwnames
[] = {
21464 (char *) "self",(char *) "item", NULL
21467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21470 arg2
= (long) SWIG_AsLong(obj1
);
21471 if (PyErr_Occurred()) SWIG_fail
;
21473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21474 result
= (bool)(arg1
)->DeleteItem(arg2
);
21476 wxPyEndAllowThreads(__tstate
);
21477 if (PyErr_Occurred()) SWIG_fail
;
21480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21488 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21489 PyObject
*resultobj
;
21490 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21492 PyObject
* obj0
= 0 ;
21493 char *kwnames
[] = {
21494 (char *) "self", NULL
21497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21502 result
= (bool)(arg1
)->DeleteAllItems();
21504 wxPyEndAllowThreads(__tstate
);
21505 if (PyErr_Occurred()) SWIG_fail
;
21508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21516 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21517 PyObject
*resultobj
;
21518 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21521 PyObject
* obj0
= 0 ;
21522 PyObject
* obj1
= 0 ;
21523 char *kwnames
[] = {
21524 (char *) "self",(char *) "col", NULL
21527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21530 arg2
= (int) SWIG_AsInt(obj1
);
21531 if (PyErr_Occurred()) SWIG_fail
;
21533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21534 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21536 wxPyEndAllowThreads(__tstate
);
21537 if (PyErr_Occurred()) SWIG_fail
;
21540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21548 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21549 PyObject
*resultobj
;
21550 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21552 PyObject
* obj0
= 0 ;
21553 char *kwnames
[] = {
21554 (char *) "self", NULL
21557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21562 result
= (bool)(arg1
)->DeleteAllColumns();
21564 wxPyEndAllowThreads(__tstate
);
21565 if (PyErr_Occurred()) SWIG_fail
;
21568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21576 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21577 PyObject
*resultobj
;
21578 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21579 PyObject
* obj0
= 0 ;
21580 char *kwnames
[] = {
21581 (char *) "self", NULL
21584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21589 (arg1
)->ClearAll();
21591 wxPyEndAllowThreads(__tstate
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21594 Py_INCREF(Py_None
); resultobj
= Py_None
;
21601 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21602 PyObject
*resultobj
;
21603 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21605 PyObject
* obj0
= 0 ;
21606 PyObject
* obj1
= 0 ;
21607 char *kwnames
[] = {
21608 (char *) "self",(char *) "item", NULL
21611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21614 arg2
= (long) SWIG_AsLong(obj1
);
21615 if (PyErr_Occurred()) SWIG_fail
;
21617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21618 (arg1
)->EditLabel(arg2
);
21620 wxPyEndAllowThreads(__tstate
);
21621 if (PyErr_Occurred()) SWIG_fail
;
21623 Py_INCREF(Py_None
); resultobj
= Py_None
;
21630 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21631 PyObject
*resultobj
;
21632 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21635 PyObject
* obj0
= 0 ;
21636 PyObject
* obj1
= 0 ;
21637 char *kwnames
[] = {
21638 (char *) "self",(char *) "item", NULL
21641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21644 arg2
= (long) SWIG_AsLong(obj1
);
21645 if (PyErr_Occurred()) SWIG_fail
;
21647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21648 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21650 wxPyEndAllowThreads(__tstate
);
21651 if (PyErr_Occurred()) SWIG_fail
;
21654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21662 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21663 PyObject
*resultobj
;
21664 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21666 wxString
*arg3
= 0 ;
21667 bool arg4
= (bool) False
;
21669 bool temp3
= False
;
21670 PyObject
* obj0
= 0 ;
21671 PyObject
* obj1
= 0 ;
21672 PyObject
* obj2
= 0 ;
21673 PyObject
* obj3
= 0 ;
21674 char *kwnames
[] = {
21675 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21681 arg2
= (long) SWIG_AsLong(obj1
);
21682 if (PyErr_Occurred()) SWIG_fail
;
21684 arg3
= wxString_in_helper(obj2
);
21685 if (arg3
== NULL
) SWIG_fail
;
21689 arg4
= (bool) SWIG_AsBool(obj3
);
21690 if (PyErr_Occurred()) SWIG_fail
;
21693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21694 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21699 resultobj
= SWIG_FromLong((long)result
);
21714 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21715 PyObject
*resultobj
;
21716 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21720 PyObject
* obj0
= 0 ;
21721 PyObject
* obj1
= 0 ;
21722 PyObject
* obj2
= 0 ;
21723 char *kwnames
[] = {
21724 (char *) "self",(char *) "start",(char *) "data", NULL
21727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21730 arg2
= (long) SWIG_AsLong(obj1
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21732 arg3
= (long) SWIG_AsLong(obj2
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21736 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21738 wxPyEndAllowThreads(__tstate
);
21739 if (PyErr_Occurred()) SWIG_fail
;
21741 resultobj
= SWIG_FromLong((long)result
);
21748 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21749 PyObject
*resultobj
;
21750 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21752 wxPoint
*arg3
= 0 ;
21756 PyObject
* obj0
= 0 ;
21757 PyObject
* obj1
= 0 ;
21758 PyObject
* obj2
= 0 ;
21759 PyObject
* obj3
= 0 ;
21760 char *kwnames
[] = {
21761 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21767 arg2
= (long) SWIG_AsLong(obj1
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21771 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21773 arg4
= (int) SWIG_AsInt(obj3
);
21774 if (PyErr_Occurred()) SWIG_fail
;
21776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21777 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
21779 wxPyEndAllowThreads(__tstate
);
21780 if (PyErr_Occurred()) SWIG_fail
;
21782 resultobj
= SWIG_FromLong((long)result
);
21789 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21790 PyObject
*resultobj
;
21791 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21792 wxPoint
*arg2
= 0 ;
21797 PyObject
* obj0
= 0 ;
21798 PyObject
* obj1
= 0 ;
21799 char *kwnames
[] = {
21800 (char *) "self",(char *) "point", NULL
21804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
21805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21809 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21813 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
21815 wxPyEndAllowThreads(__tstate
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21818 resultobj
= SWIG_FromLong((long)result
);
21820 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21821 resultobj
= t_output_helper(resultobj
,o
);
21829 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21830 PyObject
*resultobj
;
21831 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21832 wxListItem
*arg2
= 0 ;
21834 PyObject
* obj0
= 0 ;
21835 PyObject
* obj1
= 0 ;
21836 char *kwnames
[] = {
21837 (char *) "self",(char *) "info", NULL
21840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21846 if (arg2
== NULL
) {
21847 PyErr_SetString(PyExc_TypeError
,"null reference");
21851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 result
= (long)(arg1
)->InsertItem(*arg2
);
21854 wxPyEndAllowThreads(__tstate
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21857 resultobj
= SWIG_FromLong((long)result
);
21864 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21865 PyObject
*resultobj
;
21866 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21868 wxString
*arg3
= 0 ;
21870 bool temp3
= False
;
21871 PyObject
* obj0
= 0 ;
21872 PyObject
* obj1
= 0 ;
21873 PyObject
* obj2
= 0 ;
21874 char *kwnames
[] = {
21875 (char *) "self",(char *) "index",(char *) "label", NULL
21878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21881 arg2
= (long) SWIG_AsLong(obj1
);
21882 if (PyErr_Occurred()) SWIG_fail
;
21884 arg3
= wxString_in_helper(obj2
);
21885 if (arg3
== NULL
) SWIG_fail
;
21889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21890 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
21892 wxPyEndAllowThreads(__tstate
);
21893 if (PyErr_Occurred()) SWIG_fail
;
21895 resultobj
= SWIG_FromLong((long)result
);
21910 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
;
21912 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21916 PyObject
* obj0
= 0 ;
21917 PyObject
* obj1
= 0 ;
21918 PyObject
* obj2
= 0 ;
21919 char *kwnames
[] = {
21920 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21926 arg2
= (long) SWIG_AsLong(obj1
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21928 arg3
= (int) SWIG_AsInt(obj2
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21932 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
21934 wxPyEndAllowThreads(__tstate
);
21935 if (PyErr_Occurred()) SWIG_fail
;
21937 resultobj
= SWIG_FromLong((long)result
);
21944 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21945 PyObject
*resultobj
;
21946 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21948 wxString
*arg3
= 0 ;
21951 bool temp3
= False
;
21952 PyObject
* obj0
= 0 ;
21953 PyObject
* obj1
= 0 ;
21954 PyObject
* obj2
= 0 ;
21955 PyObject
* obj3
= 0 ;
21956 char *kwnames
[] = {
21957 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21963 arg2
= (long) SWIG_AsLong(obj1
);
21964 if (PyErr_Occurred()) SWIG_fail
;
21966 arg3
= wxString_in_helper(obj2
);
21967 if (arg3
== NULL
) SWIG_fail
;
21970 arg4
= (int) SWIG_AsInt(obj3
);
21971 if (PyErr_Occurred()) SWIG_fail
;
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
21976 wxPyEndAllowThreads(__tstate
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21979 resultobj
= SWIG_FromLong((long)result
);
21994 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21995 PyObject
*resultobj
;
21996 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21998 wxListItem
*arg3
= 0 ;
22000 PyObject
* obj0
= 0 ;
22001 PyObject
* obj1
= 0 ;
22002 PyObject
* obj2
= 0 ;
22003 char *kwnames
[] = {
22004 (char *) "self",(char *) "col",(char *) "info", NULL
22007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22010 arg2
= (long) SWIG_AsLong(obj1
);
22011 if (PyErr_Occurred()) SWIG_fail
;
22012 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
22013 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22015 if (arg3
== NULL
) {
22016 PyErr_SetString(PyExc_TypeError
,"null reference");
22020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22021 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
22023 wxPyEndAllowThreads(__tstate
);
22024 if (PyErr_Occurred()) SWIG_fail
;
22026 resultobj
= SWIG_FromLong((long)result
);
22033 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22034 PyObject
*resultobj
;
22035 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22037 wxString
*arg3
= 0 ;
22038 int arg4
= (int) wxLIST_FORMAT_LEFT
;
22039 int arg5
= (int) -1 ;
22041 bool temp3
= False
;
22042 PyObject
* obj0
= 0 ;
22043 PyObject
* obj1
= 0 ;
22044 PyObject
* obj2
= 0 ;
22045 PyObject
* obj3
= 0 ;
22046 PyObject
* obj4
= 0 ;
22047 char *kwnames
[] = {
22048 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22054 arg2
= (long) SWIG_AsLong(obj1
);
22055 if (PyErr_Occurred()) SWIG_fail
;
22057 arg3
= wxString_in_helper(obj2
);
22058 if (arg3
== NULL
) SWIG_fail
;
22062 arg4
= (int) SWIG_AsInt(obj3
);
22063 if (PyErr_Occurred()) SWIG_fail
;
22066 arg5
= (int) SWIG_AsInt(obj4
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22071 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22073 wxPyEndAllowThreads(__tstate
);
22074 if (PyErr_Occurred()) SWIG_fail
;
22076 resultobj
= SWIG_FromLong((long)result
);
22091 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22092 PyObject
*resultobj
;
22093 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22095 PyObject
* obj0
= 0 ;
22096 PyObject
* obj1
= 0 ;
22097 char *kwnames
[] = {
22098 (char *) "self",(char *) "count", NULL
22101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
22102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22104 arg2
= (long) SWIG_AsLong(obj1
);
22105 if (PyErr_Occurred()) SWIG_fail
;
22107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22108 (arg1
)->SetItemCount(arg2
);
22110 wxPyEndAllowThreads(__tstate
);
22111 if (PyErr_Occurred()) SWIG_fail
;
22113 Py_INCREF(Py_None
); resultobj
= Py_None
;
22120 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22121 PyObject
*resultobj
;
22122 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22126 PyObject
* obj0
= 0 ;
22127 PyObject
* obj1
= 0 ;
22128 PyObject
* obj2
= 0 ;
22129 char *kwnames
[] = {
22130 (char *) "self",(char *) "dx",(char *) "dy", NULL
22133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22136 arg2
= (int) SWIG_AsInt(obj1
);
22137 if (PyErr_Occurred()) SWIG_fail
;
22138 arg3
= (int) SWIG_AsInt(obj2
);
22139 if (PyErr_Occurred()) SWIG_fail
;
22141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22142 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22144 wxPyEndAllowThreads(__tstate
);
22145 if (PyErr_Occurred()) SWIG_fail
;
22148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22156 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22157 PyObject
*resultobj
;
22158 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22160 wxColour
*arg3
= 0 ;
22162 PyObject
* obj0
= 0 ;
22163 PyObject
* obj1
= 0 ;
22164 PyObject
* obj2
= 0 ;
22165 char *kwnames
[] = {
22166 (char *) "self",(char *) "item",(char *) "col", NULL
22169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22172 arg2
= (long) SWIG_AsLong(obj1
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22176 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22180 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22182 wxPyEndAllowThreads(__tstate
);
22183 if (PyErr_Occurred()) SWIG_fail
;
22185 Py_INCREF(Py_None
); resultobj
= Py_None
;
22192 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22193 PyObject
*resultobj
;
22194 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22197 PyObject
* obj0
= 0 ;
22198 PyObject
* obj1
= 0 ;
22199 char *kwnames
[] = {
22200 (char *) "self",(char *) "item", NULL
22203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22206 arg2
= (long) SWIG_AsLong(obj1
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22210 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22212 wxPyEndAllowThreads(__tstate
);
22213 if (PyErr_Occurred()) SWIG_fail
;
22216 wxColour
* resultptr
;
22217 resultptr
= new wxColour((wxColour
&) result
);
22218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22226 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22227 PyObject
*resultobj
;
22228 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22230 wxColour
*arg3
= 0 ;
22232 PyObject
* obj0
= 0 ;
22233 PyObject
* obj1
= 0 ;
22234 PyObject
* obj2
= 0 ;
22235 char *kwnames
[] = {
22236 (char *) "self",(char *) "item",(char *) "col", NULL
22239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22242 arg2
= (long) SWIG_AsLong(obj1
);
22243 if (PyErr_Occurred()) SWIG_fail
;
22246 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22250 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22252 wxPyEndAllowThreads(__tstate
);
22253 if (PyErr_Occurred()) SWIG_fail
;
22255 Py_INCREF(Py_None
); resultobj
= Py_None
;
22262 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22263 PyObject
*resultobj
;
22264 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22267 PyObject
* obj0
= 0 ;
22268 PyObject
* obj1
= 0 ;
22269 char *kwnames
[] = {
22270 (char *) "self",(char *) "item", NULL
22273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22276 arg2
= (long) SWIG_AsLong(obj1
);
22277 if (PyErr_Occurred()) SWIG_fail
;
22279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22280 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22282 wxPyEndAllowThreads(__tstate
);
22283 if (PyErr_Occurred()) SWIG_fail
;
22286 wxColour
* resultptr
;
22287 resultptr
= new wxColour((wxColour
&) result
);
22288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22296 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22297 PyObject
*resultobj
;
22298 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22299 PyObject
*arg2
= (PyObject
*) 0 ;
22301 PyObject
* obj0
= 0 ;
22302 PyObject
* obj1
= 0 ;
22303 char *kwnames
[] = {
22304 (char *) "self",(char *) "func", NULL
22307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22313 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22315 wxPyEndAllowThreads(__tstate
);
22316 if (PyErr_Occurred()) SWIG_fail
;
22319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22327 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22328 PyObject
*resultobj
;
22329 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22331 PyObject
* obj0
= 0 ;
22332 char *kwnames
[] = {
22333 (char *) "self", NULL
22336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22341 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22343 wxPyEndAllowThreads(__tstate
);
22344 if (PyErr_Occurred()) SWIG_fail
;
22347 resultobj
= wxPyMake_wxObject(result
);
22355 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
22357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22358 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22360 return Py_BuildValue((char *)"");
22362 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22363 PyObject
*resultobj
;
22364 wxWindow
*arg1
= (wxWindow
*) 0 ;
22365 int arg2
= (int) -1 ;
22366 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22367 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22368 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22369 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22370 long arg5
= (long) wxLC_REPORT
;
22371 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22372 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22373 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22374 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22375 wxListView
*result
;
22378 bool temp7
= False
;
22379 PyObject
* obj0
= 0 ;
22380 PyObject
* obj1
= 0 ;
22381 PyObject
* obj2
= 0 ;
22382 PyObject
* obj3
= 0 ;
22383 PyObject
* obj4
= 0 ;
22384 PyObject
* obj5
= 0 ;
22385 PyObject
* obj6
= 0 ;
22386 char *kwnames
[] = {
22387 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22394 arg2
= (int) SWIG_AsInt(obj1
);
22395 if (PyErr_Occurred()) SWIG_fail
;
22400 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22406 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22410 arg5
= (long) SWIG_AsLong(obj4
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22414 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
22415 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22417 if (arg6
== NULL
) {
22418 PyErr_SetString(PyExc_TypeError
,"null reference");
22424 arg7
= wxString_in_helper(obj6
);
22425 if (arg7
== NULL
) SWIG_fail
;
22430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22431 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22433 wxPyEndAllowThreads(__tstate
);
22434 if (PyErr_Occurred()) SWIG_fail
;
22436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22451 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22452 PyObject
*resultobj
;
22453 wxListView
*result
;
22454 char *kwnames
[] = {
22458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22461 result
= (wxListView
*)new wxListView();
22463 wxPyEndAllowThreads(__tstate
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22473 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22474 PyObject
*resultobj
;
22475 wxListView
*arg1
= (wxListView
*) 0 ;
22476 wxWindow
*arg2
= (wxWindow
*) 0 ;
22477 int arg3
= (int) -1 ;
22478 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22479 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22480 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22481 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22482 long arg6
= (long) wxLC_REPORT
;
22483 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22484 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22485 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22486 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22490 bool temp8
= False
;
22491 PyObject
* obj0
= 0 ;
22492 PyObject
* obj1
= 0 ;
22493 PyObject
* obj2
= 0 ;
22494 PyObject
* obj3
= 0 ;
22495 PyObject
* obj4
= 0 ;
22496 PyObject
* obj5
= 0 ;
22497 PyObject
* obj6
= 0 ;
22498 PyObject
* obj7
= 0 ;
22499 char *kwnames
[] = {
22500 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22509 arg3
= (int) SWIG_AsInt(obj2
);
22510 if (PyErr_Occurred()) SWIG_fail
;
22515 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22521 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22525 arg6
= (long) SWIG_AsLong(obj5
);
22526 if (PyErr_Occurred()) SWIG_fail
;
22529 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
22530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22532 if (arg7
== NULL
) {
22533 PyErr_SetString(PyExc_TypeError
,"null reference");
22539 arg8
= wxString_in_helper(obj7
);
22540 if (arg8
== NULL
) SWIG_fail
;
22545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22546 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22548 wxPyEndAllowThreads(__tstate
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22568 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22569 PyObject
*resultobj
;
22570 wxListView
*arg1
= (wxListView
*) 0 ;
22572 bool arg3
= (bool) True
;
22573 PyObject
* obj0
= 0 ;
22574 PyObject
* obj1
= 0 ;
22575 PyObject
* obj2
= 0 ;
22576 char *kwnames
[] = {
22577 (char *) "self",(char *) "n",(char *) "on", NULL
22580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22583 arg2
= (long) SWIG_AsLong(obj1
);
22584 if (PyErr_Occurred()) SWIG_fail
;
22586 arg3
= (bool) SWIG_AsBool(obj2
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22591 (arg1
)->Select(arg2
,arg3
);
22593 wxPyEndAllowThreads(__tstate
);
22594 if (PyErr_Occurred()) SWIG_fail
;
22596 Py_INCREF(Py_None
); resultobj
= Py_None
;
22603 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22604 PyObject
*resultobj
;
22605 wxListView
*arg1
= (wxListView
*) 0 ;
22607 PyObject
* obj0
= 0 ;
22608 PyObject
* obj1
= 0 ;
22609 char *kwnames
[] = {
22610 (char *) "self",(char *) "index", NULL
22613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22616 arg2
= (long) SWIG_AsLong(obj1
);
22617 if (PyErr_Occurred()) SWIG_fail
;
22619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22620 (arg1
)->Focus(arg2
);
22622 wxPyEndAllowThreads(__tstate
);
22623 if (PyErr_Occurred()) SWIG_fail
;
22625 Py_INCREF(Py_None
); resultobj
= Py_None
;
22632 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22633 PyObject
*resultobj
;
22634 wxListView
*arg1
= (wxListView
*) 0 ;
22636 PyObject
* obj0
= 0 ;
22637 char *kwnames
[] = {
22638 (char *) "self", NULL
22641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22646 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22648 wxPyEndAllowThreads(__tstate
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22651 resultobj
= SWIG_FromLong((long)result
);
22658 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22659 PyObject
*resultobj
;
22660 wxListView
*arg1
= (wxListView
*) 0 ;
22663 PyObject
* obj0
= 0 ;
22664 PyObject
* obj1
= 0 ;
22665 char *kwnames
[] = {
22666 (char *) "self",(char *) "item", NULL
22669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22672 arg2
= (long) SWIG_AsLong(obj1
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22676 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22678 wxPyEndAllowThreads(__tstate
);
22679 if (PyErr_Occurred()) SWIG_fail
;
22681 resultobj
= SWIG_FromLong((long)result
);
22688 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22689 PyObject
*resultobj
;
22690 wxListView
*arg1
= (wxListView
*) 0 ;
22692 PyObject
* obj0
= 0 ;
22693 char *kwnames
[] = {
22694 (char *) "self", NULL
22697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22702 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22704 wxPyEndAllowThreads(__tstate
);
22705 if (PyErr_Occurred()) SWIG_fail
;
22707 resultobj
= SWIG_FromLong((long)result
);
22714 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22715 PyObject
*resultobj
;
22716 wxListView
*arg1
= (wxListView
*) 0 ;
22719 PyObject
* obj0
= 0 ;
22720 PyObject
* obj1
= 0 ;
22721 char *kwnames
[] = {
22722 (char *) "self",(char *) "index", NULL
22725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22728 arg2
= (long) SWIG_AsLong(obj1
);
22729 if (PyErr_Occurred()) SWIG_fail
;
22731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22732 result
= (bool)(arg1
)->IsSelected(arg2
);
22734 wxPyEndAllowThreads(__tstate
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22746 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22747 PyObject
*resultobj
;
22748 wxListView
*arg1
= (wxListView
*) 0 ;
22751 PyObject
* obj0
= 0 ;
22752 PyObject
* obj1
= 0 ;
22753 PyObject
* obj2
= 0 ;
22754 char *kwnames
[] = {
22755 (char *) "self",(char *) "col",(char *) "image", NULL
22758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22761 arg2
= (int) SWIG_AsInt(obj1
);
22762 if (PyErr_Occurred()) SWIG_fail
;
22763 arg3
= (int) SWIG_AsInt(obj2
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22767 (arg1
)->SetColumnImage(arg2
,arg3
);
22769 wxPyEndAllowThreads(__tstate
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22772 Py_INCREF(Py_None
); resultobj
= Py_None
;
22779 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22780 PyObject
*resultobj
;
22781 wxListView
*arg1
= (wxListView
*) 0 ;
22783 PyObject
* obj0
= 0 ;
22784 PyObject
* obj1
= 0 ;
22785 char *kwnames
[] = {
22786 (char *) "self",(char *) "col", NULL
22789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22792 arg2
= (int) SWIG_AsInt(obj1
);
22793 if (PyErr_Occurred()) SWIG_fail
;
22795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22796 (arg1
)->ClearColumnImage(arg2
);
22798 wxPyEndAllowThreads(__tstate
);
22799 if (PyErr_Occurred()) SWIG_fail
;
22801 Py_INCREF(Py_None
); resultobj
= Py_None
;
22808 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
22810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22811 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
22813 return Py_BuildValue((char *)"");
22815 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
22816 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
22821 static PyObject
*_wrap_TreeCtrlNameStr_get() {
22826 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22828 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22835 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22836 PyObject
*resultobj
;
22837 wxTreeItemId
*result
;
22838 char *kwnames
[] = {
22842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
22844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22845 result
= (wxTreeItemId
*)new wxTreeItemId();
22847 wxPyEndAllowThreads(__tstate
);
22848 if (PyErr_Occurred()) SWIG_fail
;
22850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
22857 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22858 PyObject
*resultobj
;
22859 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22860 PyObject
* obj0
= 0 ;
22861 char *kwnames
[] = {
22862 (char *) "self", NULL
22865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
22866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22875 Py_INCREF(Py_None
); resultobj
= Py_None
;
22882 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22883 PyObject
*resultobj
;
22884 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22886 PyObject
* obj0
= 0 ;
22887 char *kwnames
[] = {
22888 (char *) "self", NULL
22891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
22892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22896 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
22898 wxPyEndAllowThreads(__tstate
);
22899 if (PyErr_Occurred()) SWIG_fail
;
22902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22910 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22911 PyObject
*resultobj
;
22912 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22913 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22915 PyObject
* obj0
= 0 ;
22916 PyObject
* obj1
= 0 ;
22917 char *kwnames
[] = {
22918 (char *) "self",(char *) "other", NULL
22921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
22925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22928 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
22930 wxPyEndAllowThreads(__tstate
);
22931 if (PyErr_Occurred()) SWIG_fail
;
22934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22942 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22943 PyObject
*resultobj
;
22944 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22945 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22947 PyObject
* obj0
= 0 ;
22948 PyObject
* obj1
= 0 ;
22949 char *kwnames
[] = {
22950 (char *) "self",(char *) "other", NULL
22953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
22957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22960 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
22962 wxPyEndAllowThreads(__tstate
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22974 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22975 PyObject
*resultobj
;
22976 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22977 void *arg2
= (void *) 0 ;
22978 PyObject
* obj0
= 0 ;
22979 PyObject
* obj1
= 0 ;
22980 char *kwnames
[] = {
22981 (char *) "self",(char *) "m_pItem", NULL
22984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22987 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22988 if (arg1
) (arg1
)->m_pItem
= arg2
;
22990 Py_INCREF(Py_None
); resultobj
= Py_None
;
22997 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22998 PyObject
*resultobj
;
22999 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23001 PyObject
* obj0
= 0 ;
23002 char *kwnames
[] = {
23003 (char *) "self", NULL
23006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
23007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23009 result
= (void *) ((arg1
)->m_pItem
);
23011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
23018 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
23020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23021 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
23023 return Py_BuildValue((char *)"");
23025 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23026 PyObject
*resultobj
;
23027 PyObject
*arg1
= (PyObject
*) NULL
;
23028 wxPyTreeItemData
*result
;
23029 PyObject
* obj0
= 0 ;
23030 char *kwnames
[] = {
23031 (char *) "obj", NULL
23034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
23039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23040 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
23042 wxPyEndAllowThreads(__tstate
);
23043 if (PyErr_Occurred()) SWIG_fail
;
23045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
23052 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23053 PyObject
*resultobj
;
23054 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23056 PyObject
* obj0
= 0 ;
23057 char *kwnames
[] = {
23058 (char *) "self", NULL
23061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23066 result
= (PyObject
*)(arg1
)->GetData();
23068 wxPyEndAllowThreads(__tstate
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23071 resultobj
= result
;
23078 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23079 PyObject
*resultobj
;
23080 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23081 PyObject
*arg2
= (PyObject
*) 0 ;
23082 PyObject
* obj0
= 0 ;
23083 PyObject
* obj1
= 0 ;
23084 char *kwnames
[] = {
23085 (char *) "self",(char *) "obj", NULL
23088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23094 (arg1
)->SetData(arg2
);
23096 wxPyEndAllowThreads(__tstate
);
23097 if (PyErr_Occurred()) SWIG_fail
;
23099 Py_INCREF(Py_None
); resultobj
= Py_None
;
23106 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23107 PyObject
*resultobj
;
23108 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23109 wxTreeItemId
*result
;
23110 PyObject
* obj0
= 0 ;
23111 char *kwnames
[] = {
23112 (char *) "self", NULL
23115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23121 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23122 result
= (wxTreeItemId
*) &_result_ref
;
23125 wxPyEndAllowThreads(__tstate
);
23126 if (PyErr_Occurred()) SWIG_fail
;
23128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
23135 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23136 PyObject
*resultobj
;
23137 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23138 wxTreeItemId
*arg2
= 0 ;
23139 PyObject
* obj0
= 0 ;
23140 PyObject
* obj1
= 0 ;
23141 char *kwnames
[] = {
23142 (char *) "self",(char *) "id", NULL
23145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23148 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23149 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23151 if (arg2
== NULL
) {
23152 PyErr_SetString(PyExc_TypeError
,"null reference");
23156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23157 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23159 wxPyEndAllowThreads(__tstate
);
23160 if (PyErr_Occurred()) SWIG_fail
;
23162 Py_INCREF(Py_None
); resultobj
= Py_None
;
23169 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23170 PyObject
*resultobj
;
23171 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23172 PyObject
* obj0
= 0 ;
23173 char *kwnames
[] = {
23174 (char *) "self", NULL
23177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23182 wxPyTreeItemData_Destroy(arg1
);
23184 wxPyEndAllowThreads(__tstate
);
23185 if (PyErr_Occurred()) SWIG_fail
;
23187 Py_INCREF(Py_None
); resultobj
= Py_None
;
23194 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
23196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23197 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23199 return Py_BuildValue((char *)"");
23201 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23202 PyObject
*resultobj
;
23203 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23204 int arg2
= (int) 0 ;
23205 wxTreeEvent
*result
;
23206 PyObject
* obj0
= 0 ;
23207 PyObject
* obj1
= 0 ;
23208 char *kwnames
[] = {
23209 (char *) "commandType",(char *) "id", NULL
23212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23214 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
23215 if (PyErr_Occurred()) SWIG_fail
;
23218 arg2
= (int) SWIG_AsInt(obj1
);
23219 if (PyErr_Occurred()) SWIG_fail
;
23222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23223 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23225 wxPyEndAllowThreads(__tstate
);
23226 if (PyErr_Occurred()) SWIG_fail
;
23228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
23235 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23236 PyObject
*resultobj
;
23237 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23238 wxTreeItemId result
;
23239 PyObject
* obj0
= 0 ;
23240 char *kwnames
[] = {
23241 (char *) "self", NULL
23244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23249 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23251 wxPyEndAllowThreads(__tstate
);
23252 if (PyErr_Occurred()) SWIG_fail
;
23255 wxTreeItemId
* resultptr
;
23256 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23257 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23265 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23266 PyObject
*resultobj
;
23267 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23268 wxTreeItemId
*arg2
= 0 ;
23269 PyObject
* obj0
= 0 ;
23270 PyObject
* obj1
= 0 ;
23271 char *kwnames
[] = {
23272 (char *) "self",(char *) "item", NULL
23275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23279 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23281 if (arg2
== NULL
) {
23282 PyErr_SetString(PyExc_TypeError
,"null reference");
23286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23287 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23289 wxPyEndAllowThreads(__tstate
);
23290 if (PyErr_Occurred()) SWIG_fail
;
23292 Py_INCREF(Py_None
); resultobj
= Py_None
;
23299 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23300 PyObject
*resultobj
;
23301 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23302 wxTreeItemId result
;
23303 PyObject
* obj0
= 0 ;
23304 char *kwnames
[] = {
23305 (char *) "self", NULL
23308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23313 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23315 wxPyEndAllowThreads(__tstate
);
23316 if (PyErr_Occurred()) SWIG_fail
;
23319 wxTreeItemId
* resultptr
;
23320 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23321 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23329 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23330 PyObject
*resultobj
;
23331 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23332 wxTreeItemId
*arg2
= 0 ;
23333 PyObject
* obj0
= 0 ;
23334 PyObject
* obj1
= 0 ;
23335 char *kwnames
[] = {
23336 (char *) "self",(char *) "item", NULL
23339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23343 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23345 if (arg2
== NULL
) {
23346 PyErr_SetString(PyExc_TypeError
,"null reference");
23350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23351 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23353 wxPyEndAllowThreads(__tstate
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23356 Py_INCREF(Py_None
); resultobj
= Py_None
;
23363 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23364 PyObject
*resultobj
;
23365 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23367 PyObject
* obj0
= 0 ;
23368 char *kwnames
[] = {
23369 (char *) "self", NULL
23372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23377 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23379 wxPyEndAllowThreads(__tstate
);
23380 if (PyErr_Occurred()) SWIG_fail
;
23383 wxPoint
* resultptr
;
23384 resultptr
= new wxPoint((wxPoint
&) result
);
23385 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23393 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23394 PyObject
*resultobj
;
23395 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23396 wxPoint
*arg2
= 0 ;
23398 PyObject
* obj0
= 0 ;
23399 PyObject
* obj1
= 0 ;
23400 char *kwnames
[] = {
23401 (char *) "self",(char *) "pt", NULL
23404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23409 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23413 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23415 wxPyEndAllowThreads(__tstate
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23418 Py_INCREF(Py_None
); resultobj
= Py_None
;
23425 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23426 PyObject
*resultobj
;
23427 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23428 wxKeyEvent
*result
;
23429 PyObject
* obj0
= 0 ;
23430 char *kwnames
[] = {
23431 (char *) "self", NULL
23434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23440 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23441 result
= (wxKeyEvent
*) &_result_ref
;
23444 wxPyEndAllowThreads(__tstate
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
23454 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23455 PyObject
*resultobj
;
23456 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23458 PyObject
* obj0
= 0 ;
23459 char *kwnames
[] = {
23460 (char *) "self", NULL
23463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23468 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23473 resultobj
= SWIG_FromInt((int)result
);
23480 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23481 PyObject
*resultobj
;
23482 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23483 wxKeyEvent
*arg2
= 0 ;
23484 PyObject
* obj0
= 0 ;
23485 PyObject
* obj1
= 0 ;
23486 char *kwnames
[] = {
23487 (char *) "self",(char *) "evt", NULL
23490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
23494 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23496 if (arg2
== NULL
) {
23497 PyErr_SetString(PyExc_TypeError
,"null reference");
23501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23502 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23504 wxPyEndAllowThreads(__tstate
);
23505 if (PyErr_Occurred()) SWIG_fail
;
23507 Py_INCREF(Py_None
); resultobj
= Py_None
;
23514 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23515 PyObject
*resultobj
;
23516 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23518 PyObject
* obj0
= 0 ;
23519 char *kwnames
[] = {
23520 (char *) "self", NULL
23523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23529 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23530 result
= (wxString
*) &_result_ref
;
23533 wxPyEndAllowThreads(__tstate
);
23534 if (PyErr_Occurred()) SWIG_fail
;
23538 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23540 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23549 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23550 PyObject
*resultobj
;
23551 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23552 wxString
*arg2
= 0 ;
23553 bool temp2
= False
;
23554 PyObject
* obj0
= 0 ;
23555 PyObject
* obj1
= 0 ;
23556 char *kwnames
[] = {
23557 (char *) "self",(char *) "label", NULL
23560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23564 arg2
= wxString_in_helper(obj1
);
23565 if (arg2
== NULL
) SWIG_fail
;
23569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23570 (arg1
)->SetLabel((wxString
const &)*arg2
);
23572 wxPyEndAllowThreads(__tstate
);
23573 if (PyErr_Occurred()) SWIG_fail
;
23575 Py_INCREF(Py_None
); resultobj
= Py_None
;
23590 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23591 PyObject
*resultobj
;
23592 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23594 PyObject
* obj0
= 0 ;
23595 char *kwnames
[] = {
23596 (char *) "self", NULL
23599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23604 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23618 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23619 PyObject
*resultobj
;
23620 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23622 PyObject
* obj0
= 0 ;
23623 PyObject
* obj1
= 0 ;
23624 char *kwnames
[] = {
23625 (char *) "self",(char *) "editCancelled", NULL
23628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23631 arg2
= (bool) SWIG_AsBool(obj1
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 (arg1
)->SetEditCanceled(arg2
);
23637 wxPyEndAllowThreads(__tstate
);
23638 if (PyErr_Occurred()) SWIG_fail
;
23640 Py_INCREF(Py_None
); resultobj
= Py_None
;
23647 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23648 PyObject
*resultobj
;
23649 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23650 wxString
*arg2
= 0 ;
23651 bool temp2
= False
;
23652 PyObject
* obj0
= 0 ;
23653 PyObject
* obj1
= 0 ;
23654 char *kwnames
[] = {
23655 (char *) "self",(char *) "toolTip", NULL
23658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23662 arg2
= wxString_in_helper(obj1
);
23663 if (arg2
== NULL
) SWIG_fail
;
23667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23668 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23670 wxPyEndAllowThreads(__tstate
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23673 Py_INCREF(Py_None
); resultobj
= Py_None
;
23688 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
23690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23691 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23693 return Py_BuildValue((char *)"");
23695 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23696 PyObject
*resultobj
;
23697 wxWindow
*arg1
= (wxWindow
*) 0 ;
23698 int arg2
= (int) -1 ;
23699 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23700 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23701 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23702 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23703 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23704 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23705 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23706 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23707 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23708 wxPyTreeCtrl
*result
;
23711 bool temp7
= False
;
23712 PyObject
* obj0
= 0 ;
23713 PyObject
* obj1
= 0 ;
23714 PyObject
* obj2
= 0 ;
23715 PyObject
* obj3
= 0 ;
23716 PyObject
* obj4
= 0 ;
23717 PyObject
* obj5
= 0 ;
23718 PyObject
* obj6
= 0 ;
23719 char *kwnames
[] = {
23720 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23727 arg2
= (int) SWIG_AsInt(obj1
);
23728 if (PyErr_Occurred()) SWIG_fail
;
23733 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23739 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23743 arg5
= (long) SWIG_AsLong(obj4
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23747 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23748 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23750 if (arg6
== NULL
) {
23751 PyErr_SetString(PyExc_TypeError
,"null reference");
23757 arg7
= wxString_in_helper(obj6
);
23758 if (arg7
== NULL
) SWIG_fail
;
23763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23764 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23766 wxPyEndAllowThreads(__tstate
);
23767 if (PyErr_Occurred()) SWIG_fail
;
23770 resultobj
= wxPyMake_wxObject(result
);
23786 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23787 PyObject
*resultobj
;
23788 wxPyTreeCtrl
*result
;
23789 char *kwnames
[] = {
23793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
23795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23796 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
23798 wxPyEndAllowThreads(__tstate
);
23799 if (PyErr_Occurred()) SWIG_fail
;
23802 resultobj
= wxPyMake_wxObject(result
);
23810 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23811 PyObject
*resultobj
;
23812 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23813 wxWindow
*arg2
= (wxWindow
*) 0 ;
23814 int arg3
= (int) -1 ;
23815 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23816 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23817 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23818 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23819 long arg6
= (long) wxTR_DEFAULT_STYLE
;
23820 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23821 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23822 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
23823 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23827 bool temp8
= False
;
23828 PyObject
* obj0
= 0 ;
23829 PyObject
* obj1
= 0 ;
23830 PyObject
* obj2
= 0 ;
23831 PyObject
* obj3
= 0 ;
23832 PyObject
* obj4
= 0 ;
23833 PyObject
* obj5
= 0 ;
23834 PyObject
* obj6
= 0 ;
23835 PyObject
* obj7
= 0 ;
23836 char *kwnames
[] = {
23837 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23846 arg3
= (int) SWIG_AsInt(obj2
);
23847 if (PyErr_Occurred()) SWIG_fail
;
23852 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23858 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23862 arg6
= (long) SWIG_AsLong(obj5
);
23863 if (PyErr_Occurred()) SWIG_fail
;
23866 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23867 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23869 if (arg7
== NULL
) {
23870 PyErr_SetString(PyExc_TypeError
,"null reference");
23876 arg8
= wxString_in_helper(obj7
);
23877 if (arg8
== NULL
) SWIG_fail
;
23882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23883 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23885 wxPyEndAllowThreads(__tstate
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23905 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23906 PyObject
*resultobj
;
23907 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23908 PyObject
*arg2
= (PyObject
*) 0 ;
23909 PyObject
*arg3
= (PyObject
*) 0 ;
23910 PyObject
* obj0
= 0 ;
23911 PyObject
* obj1
= 0 ;
23912 PyObject
* obj2
= 0 ;
23913 char *kwnames
[] = {
23914 (char *) "self",(char *) "self",(char *) "_class", NULL
23917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23924 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23926 wxPyEndAllowThreads(__tstate
);
23927 if (PyErr_Occurred()) SWIG_fail
;
23929 Py_INCREF(Py_None
); resultobj
= Py_None
;
23936 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23937 PyObject
*resultobj
;
23938 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23940 PyObject
* obj0
= 0 ;
23941 char *kwnames
[] = {
23942 (char *) "self", NULL
23945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
23946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23950 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
23952 wxPyEndAllowThreads(__tstate
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23955 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
23962 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23963 PyObject
*resultobj
;
23964 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23965 unsigned int result
;
23966 PyObject
* obj0
= 0 ;
23967 char *kwnames
[] = {
23968 (char *) "self", NULL
23971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
23972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23976 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
23978 wxPyEndAllowThreads(__tstate
);
23979 if (PyErr_Occurred()) SWIG_fail
;
23981 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
23988 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23989 PyObject
*resultobj
;
23990 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23991 unsigned int arg2
;
23992 PyObject
* obj0
= 0 ;
23993 PyObject
* obj1
= 0 ;
23994 char *kwnames
[] = {
23995 (char *) "self",(char *) "indent", NULL
23998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
23999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24001 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24002 if (PyErr_Occurred()) SWIG_fail
;
24004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24005 (arg1
)->SetIndent(arg2
);
24007 wxPyEndAllowThreads(__tstate
);
24008 if (PyErr_Occurred()) SWIG_fail
;
24010 Py_INCREF(Py_None
); resultobj
= Py_None
;
24017 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24018 PyObject
*resultobj
;
24019 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24020 unsigned int result
;
24021 PyObject
* obj0
= 0 ;
24022 char *kwnames
[] = {
24023 (char *) "self", NULL
24026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
24027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24031 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
24033 wxPyEndAllowThreads(__tstate
);
24034 if (PyErr_Occurred()) SWIG_fail
;
24036 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24043 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24044 PyObject
*resultobj
;
24045 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24046 unsigned int arg2
;
24047 PyObject
* obj0
= 0 ;
24048 PyObject
* obj1
= 0 ;
24049 char *kwnames
[] = {
24050 (char *) "self",(char *) "spacing", NULL
24053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
24054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24056 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24057 if (PyErr_Occurred()) SWIG_fail
;
24059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24060 (arg1
)->SetSpacing(arg2
);
24062 wxPyEndAllowThreads(__tstate
);
24063 if (PyErr_Occurred()) SWIG_fail
;
24065 Py_INCREF(Py_None
); resultobj
= Py_None
;
24072 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24073 PyObject
*resultobj
;
24074 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24075 wxImageList
*result
;
24076 PyObject
* obj0
= 0 ;
24077 char *kwnames
[] = {
24078 (char *) "self", NULL
24081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
24082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24086 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24088 wxPyEndAllowThreads(__tstate
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24092 resultobj
= wxPyMake_wxObject(result
);
24100 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24101 PyObject
*resultobj
;
24102 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24103 wxImageList
*result
;
24104 PyObject
* obj0
= 0 ;
24105 char *kwnames
[] = {
24106 (char *) "self", NULL
24109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24114 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24116 wxPyEndAllowThreads(__tstate
);
24117 if (PyErr_Occurred()) SWIG_fail
;
24120 resultobj
= wxPyMake_wxObject(result
);
24128 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24129 PyObject
*resultobj
;
24130 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24131 wxImageList
*arg2
= (wxImageList
*) 0 ;
24132 PyObject
* obj0
= 0 ;
24133 PyObject
* obj1
= 0 ;
24134 char *kwnames
[] = {
24135 (char *) "self",(char *) "imageList", NULL
24138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24141 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24145 (arg1
)->SetImageList(arg2
);
24147 wxPyEndAllowThreads(__tstate
);
24148 if (PyErr_Occurred()) SWIG_fail
;
24150 Py_INCREF(Py_None
); resultobj
= Py_None
;
24157 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24158 PyObject
*resultobj
;
24159 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24160 wxImageList
*arg2
= (wxImageList
*) 0 ;
24161 PyObject
* obj0
= 0 ;
24162 PyObject
* obj1
= 0 ;
24163 char *kwnames
[] = {
24164 (char *) "self",(char *) "imageList", NULL
24167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24170 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24174 (arg1
)->SetStateImageList(arg2
);
24176 wxPyEndAllowThreads(__tstate
);
24177 if (PyErr_Occurred()) SWIG_fail
;
24179 Py_INCREF(Py_None
); resultobj
= Py_None
;
24186 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24187 PyObject
*resultobj
;
24188 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24189 wxImageList
*arg2
= (wxImageList
*) 0 ;
24190 PyObject
* obj0
= 0 ;
24191 PyObject
* obj1
= 0 ;
24192 char *kwnames
[] = {
24193 (char *) "self",(char *) "imageList", NULL
24196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24200 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24203 (arg1
)->AssignImageList(arg2
);
24205 wxPyEndAllowThreads(__tstate
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24208 Py_INCREF(Py_None
); resultobj
= Py_None
;
24215 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
;
24217 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24218 wxImageList
*arg2
= (wxImageList
*) 0 ;
24219 PyObject
* obj0
= 0 ;
24220 PyObject
* obj1
= 0 ;
24221 char *kwnames
[] = {
24222 (char *) "self",(char *) "imageList", NULL
24225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24228 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24229 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24232 (arg1
)->AssignStateImageList(arg2
);
24234 wxPyEndAllowThreads(__tstate
);
24235 if (PyErr_Occurred()) SWIG_fail
;
24237 Py_INCREF(Py_None
); resultobj
= Py_None
;
24244 static PyObject
*_wrap_TreeCtrl_GetItemText(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_GetItemText",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
)->GetItemText((wxTreeItemId
const &)*arg2
);
24269 wxPyEndAllowThreads(__tstate
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24285 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24286 PyObject
*resultobj
;
24287 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24288 wxTreeItemId
*arg2
= 0 ;
24289 int arg3
= (int) wxTreeItemIcon_Normal
;
24291 PyObject
* obj0
= 0 ;
24292 PyObject
* obj1
= 0 ;
24293 PyObject
* obj2
= 0 ;
24294 char *kwnames
[] = {
24295 (char *) "self",(char *) "item",(char *) "which", NULL
24298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24301 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24302 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24304 if (arg2
== NULL
) {
24305 PyErr_SetString(PyExc_TypeError
,"null reference");
24309 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
24310 if (PyErr_Occurred()) SWIG_fail
;
24313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24314 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24316 wxPyEndAllowThreads(__tstate
);
24317 if (PyErr_Occurred()) SWIG_fail
;
24319 resultobj
= SWIG_FromInt((int)result
);
24326 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24327 PyObject
*resultobj
;
24328 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24329 wxTreeItemId
*arg2
= 0 ;
24330 wxPyTreeItemData
*result
;
24331 PyObject
* obj0
= 0 ;
24332 PyObject
* obj1
= 0 ;
24333 char *kwnames
[] = {
24334 (char *) "self",(char *) "item", NULL
24337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24341 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24343 if (arg2
== NULL
) {
24344 PyErr_SetString(PyExc_TypeError
,"null reference");
24348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24349 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24351 wxPyEndAllowThreads(__tstate
);
24352 if (PyErr_Occurred()) SWIG_fail
;
24354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
24361 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24362 PyObject
*resultobj
;
24363 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24364 wxTreeItemId
*arg2
= 0 ;
24366 PyObject
* obj0
= 0 ;
24367 PyObject
* obj1
= 0 ;
24368 char *kwnames
[] = {
24369 (char *) "self",(char *) "item", NULL
24372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24375 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24376 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24378 if (arg2
== NULL
) {
24379 PyErr_SetString(PyExc_TypeError
,"null reference");
24383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24384 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24386 wxPyEndAllowThreads(__tstate
);
24387 if (PyErr_Occurred()) SWIG_fail
;
24389 resultobj
= result
;
24396 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24397 PyObject
*resultobj
;
24398 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24399 wxTreeItemId
*arg2
= 0 ;
24401 PyObject
* obj0
= 0 ;
24402 PyObject
* obj1
= 0 ;
24403 char *kwnames
[] = {
24404 (char *) "self",(char *) "item", NULL
24407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24411 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24413 if (arg2
== NULL
) {
24414 PyErr_SetString(PyExc_TypeError
,"null reference");
24418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24419 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24421 wxPyEndAllowThreads(__tstate
);
24422 if (PyErr_Occurred()) SWIG_fail
;
24425 wxColour
* resultptr
;
24426 resultptr
= new wxColour((wxColour
&) result
);
24427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24435 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24436 PyObject
*resultobj
;
24437 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24438 wxTreeItemId
*arg2
= 0 ;
24440 PyObject
* obj0
= 0 ;
24441 PyObject
* obj1
= 0 ;
24442 char *kwnames
[] = {
24443 (char *) "self",(char *) "item", NULL
24446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24449 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24450 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24452 if (arg2
== NULL
) {
24453 PyErr_SetString(PyExc_TypeError
,"null reference");
24457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24458 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24460 wxPyEndAllowThreads(__tstate
);
24461 if (PyErr_Occurred()) SWIG_fail
;
24464 wxColour
* resultptr
;
24465 resultptr
= new wxColour((wxColour
&) result
);
24466 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24474 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24475 PyObject
*resultobj
;
24476 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24477 wxTreeItemId
*arg2
= 0 ;
24479 PyObject
* obj0
= 0 ;
24480 PyObject
* obj1
= 0 ;
24481 char *kwnames
[] = {
24482 (char *) "self",(char *) "item", NULL
24485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24489 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24491 if (arg2
== NULL
) {
24492 PyErr_SetString(PyExc_TypeError
,"null reference");
24496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24497 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24499 wxPyEndAllowThreads(__tstate
);
24500 if (PyErr_Occurred()) SWIG_fail
;
24503 wxFont
* resultptr
;
24504 resultptr
= new wxFont((wxFont
&) result
);
24505 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
24513 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24514 PyObject
*resultobj
;
24515 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24516 wxTreeItemId
*arg2
= 0 ;
24517 wxString
*arg3
= 0 ;
24518 bool temp3
= False
;
24519 PyObject
* obj0
= 0 ;
24520 PyObject
* obj1
= 0 ;
24521 PyObject
* obj2
= 0 ;
24522 char *kwnames
[] = {
24523 (char *) "self",(char *) "item",(char *) "text", NULL
24526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24532 if (arg2
== NULL
) {
24533 PyErr_SetString(PyExc_TypeError
,"null reference");
24537 arg3
= wxString_in_helper(obj2
);
24538 if (arg3
== NULL
) SWIG_fail
;
24542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24543 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24545 wxPyEndAllowThreads(__tstate
);
24546 if (PyErr_Occurred()) SWIG_fail
;
24548 Py_INCREF(Py_None
); resultobj
= Py_None
;
24563 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24564 PyObject
*resultobj
;
24565 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24566 wxTreeItemId
*arg2
= 0 ;
24568 int arg4
= (int) wxTreeItemIcon_Normal
;
24569 PyObject
* obj0
= 0 ;
24570 PyObject
* obj1
= 0 ;
24571 PyObject
* obj2
= 0 ;
24572 PyObject
* obj3
= 0 ;
24573 char *kwnames
[] = {
24574 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24581 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24583 if (arg2
== NULL
) {
24584 PyErr_SetString(PyExc_TypeError
,"null reference");
24587 arg3
= (int) SWIG_AsInt(obj2
);
24588 if (PyErr_Occurred()) SWIG_fail
;
24590 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
24591 if (PyErr_Occurred()) SWIG_fail
;
24594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24597 wxPyEndAllowThreads(__tstate
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24600 Py_INCREF(Py_None
); resultobj
= Py_None
;
24607 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24608 PyObject
*resultobj
;
24609 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24610 wxTreeItemId
*arg2
= 0 ;
24611 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24612 PyObject
* obj0
= 0 ;
24613 PyObject
* obj1
= 0 ;
24614 PyObject
* obj2
= 0 ;
24615 char *kwnames
[] = {
24616 (char *) "self",(char *) "item",(char *) "data", NULL
24619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24623 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24625 if (arg2
== NULL
) {
24626 PyErr_SetString(PyExc_TypeError
,"null reference");
24629 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
24630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24633 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24635 wxPyEndAllowThreads(__tstate
);
24636 if (PyErr_Occurred()) SWIG_fail
;
24638 Py_INCREF(Py_None
); resultobj
= Py_None
;
24645 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24646 PyObject
*resultobj
;
24647 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24648 wxTreeItemId
*arg2
= 0 ;
24649 PyObject
*arg3
= (PyObject
*) 0 ;
24650 PyObject
* obj0
= 0 ;
24651 PyObject
* obj1
= 0 ;
24652 PyObject
* obj2
= 0 ;
24653 char *kwnames
[] = {
24654 (char *) "self",(char *) "item",(char *) "obj", NULL
24657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24661 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24663 if (arg2
== NULL
) {
24664 PyErr_SetString(PyExc_TypeError
,"null reference");
24669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24670 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24672 wxPyEndAllowThreads(__tstate
);
24673 if (PyErr_Occurred()) SWIG_fail
;
24675 Py_INCREF(Py_None
); resultobj
= Py_None
;
24682 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24683 PyObject
*resultobj
;
24684 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24685 wxTreeItemId
*arg2
= 0 ;
24686 bool arg3
= (bool) True
;
24687 PyObject
* obj0
= 0 ;
24688 PyObject
* obj1
= 0 ;
24689 PyObject
* obj2
= 0 ;
24690 char *kwnames
[] = {
24691 (char *) "self",(char *) "item",(char *) "has", NULL
24694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24698 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24700 if (arg2
== NULL
) {
24701 PyErr_SetString(PyExc_TypeError
,"null reference");
24705 arg3
= (bool) SWIG_AsBool(obj2
);
24706 if (PyErr_Occurred()) SWIG_fail
;
24709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24710 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24712 wxPyEndAllowThreads(__tstate
);
24713 if (PyErr_Occurred()) SWIG_fail
;
24715 Py_INCREF(Py_None
); resultobj
= Py_None
;
24722 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24723 PyObject
*resultobj
;
24724 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24725 wxTreeItemId
*arg2
= 0 ;
24726 bool arg3
= (bool) True
;
24727 PyObject
* obj0
= 0 ;
24728 PyObject
* obj1
= 0 ;
24729 PyObject
* obj2
= 0 ;
24730 char *kwnames
[] = {
24731 (char *) "self",(char *) "item",(char *) "bold", NULL
24734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24738 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24740 if (arg2
== NULL
) {
24741 PyErr_SetString(PyExc_TypeError
,"null reference");
24745 arg3
= (bool) SWIG_AsBool(obj2
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24750 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24752 wxPyEndAllowThreads(__tstate
);
24753 if (PyErr_Occurred()) SWIG_fail
;
24755 Py_INCREF(Py_None
); resultobj
= Py_None
;
24762 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24763 PyObject
*resultobj
;
24764 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24765 wxTreeItemId
*arg2
= 0 ;
24766 wxColour
*arg3
= 0 ;
24768 PyObject
* obj0
= 0 ;
24769 PyObject
* obj1
= 0 ;
24770 PyObject
* obj2
= 0 ;
24771 char *kwnames
[] = {
24772 (char *) "self",(char *) "item",(char *) "col", NULL
24775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24779 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24781 if (arg2
== NULL
) {
24782 PyErr_SetString(PyExc_TypeError
,"null reference");
24787 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24791 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24793 wxPyEndAllowThreads(__tstate
);
24794 if (PyErr_Occurred()) SWIG_fail
;
24796 Py_INCREF(Py_None
); resultobj
= Py_None
;
24803 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24804 PyObject
*resultobj
;
24805 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24806 wxTreeItemId
*arg2
= 0 ;
24807 wxColour
*arg3
= 0 ;
24809 PyObject
* obj0
= 0 ;
24810 PyObject
* obj1
= 0 ;
24811 PyObject
* obj2
= 0 ;
24812 char *kwnames
[] = {
24813 (char *) "self",(char *) "item",(char *) "col", NULL
24816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24819 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24820 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24822 if (arg2
== NULL
) {
24823 PyErr_SetString(PyExc_TypeError
,"null reference");
24828 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24832 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24834 wxPyEndAllowThreads(__tstate
);
24835 if (PyErr_Occurred()) SWIG_fail
;
24837 Py_INCREF(Py_None
); resultobj
= Py_None
;
24844 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24845 PyObject
*resultobj
;
24846 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24847 wxTreeItemId
*arg2
= 0 ;
24849 PyObject
* obj0
= 0 ;
24850 PyObject
* obj1
= 0 ;
24851 PyObject
* obj2
= 0 ;
24852 char *kwnames
[] = {
24853 (char *) "self",(char *) "item",(char *) "font", NULL
24856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24860 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24862 if (arg2
== NULL
) {
24863 PyErr_SetString(PyExc_TypeError
,"null reference");
24866 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
24867 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24869 if (arg3
== NULL
) {
24870 PyErr_SetString(PyExc_TypeError
,"null reference");
24874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24875 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
24877 wxPyEndAllowThreads(__tstate
);
24878 if (PyErr_Occurred()) SWIG_fail
;
24880 Py_INCREF(Py_None
); resultobj
= Py_None
;
24887 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24888 PyObject
*resultobj
;
24889 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24890 wxTreeItemId
*arg2
= 0 ;
24892 PyObject
* obj0
= 0 ;
24893 PyObject
* obj1
= 0 ;
24894 char *kwnames
[] = {
24895 (char *) "self",(char *) "item", NULL
24898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24901 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24902 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24904 if (arg2
== NULL
) {
24905 PyErr_SetString(PyExc_TypeError
,"null reference");
24909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24910 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
24912 wxPyEndAllowThreads(__tstate
);
24913 if (PyErr_Occurred()) SWIG_fail
;
24916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24924 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24925 PyObject
*resultobj
;
24926 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24927 wxTreeItemId
*arg2
= 0 ;
24929 PyObject
* obj0
= 0 ;
24930 PyObject
* obj1
= 0 ;
24931 char *kwnames
[] = {
24932 (char *) "self",(char *) "item", NULL
24935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
24936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24939 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24941 if (arg2
== NULL
) {
24942 PyErr_SetString(PyExc_TypeError
,"null reference");
24946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24947 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
24949 wxPyEndAllowThreads(__tstate
);
24950 if (PyErr_Occurred()) SWIG_fail
;
24953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24961 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24962 PyObject
*resultobj
;
24963 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24964 wxTreeItemId
*arg2
= 0 ;
24966 PyObject
* obj0
= 0 ;
24967 PyObject
* obj1
= 0 ;
24968 char *kwnames
[] = {
24969 (char *) "self",(char *) "item", NULL
24972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
24973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24976 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24978 if (arg2
== NULL
) {
24979 PyErr_SetString(PyExc_TypeError
,"null reference");
24983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24984 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
24986 wxPyEndAllowThreads(__tstate
);
24987 if (PyErr_Occurred()) SWIG_fail
;
24990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24998 static PyObject
*_wrap_TreeCtrl_IsSelected(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_IsSelected",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
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
25023 wxPyEndAllowThreads(__tstate
);
25024 if (PyErr_Occurred()) SWIG_fail
;
25027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25035 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25036 PyObject
*resultobj
;
25037 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25038 wxTreeItemId
*arg2
= 0 ;
25040 PyObject
* obj0
= 0 ;
25041 PyObject
* obj1
= 0 ;
25042 char *kwnames
[] = {
25043 (char *) "self",(char *) "item", NULL
25046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) 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");
25057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25058 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
25060 wxPyEndAllowThreads(__tstate
);
25061 if (PyErr_Occurred()) SWIG_fail
;
25064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25072 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25073 PyObject
*resultobj
;
25074 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25075 wxTreeItemId
*arg2
= 0 ;
25076 bool arg3
= (bool) True
;
25078 PyObject
* obj0
= 0 ;
25079 PyObject
* obj1
= 0 ;
25080 PyObject
* obj2
= 0 ;
25081 char *kwnames
[] = {
25082 (char *) "self",(char *) "item",(char *) "recursively", NULL
25085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25089 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25091 if (arg2
== NULL
) {
25092 PyErr_SetString(PyExc_TypeError
,"null reference");
25096 arg3
= (bool) SWIG_AsBool(obj2
);
25097 if (PyErr_Occurred()) SWIG_fail
;
25100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25101 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
25103 wxPyEndAllowThreads(__tstate
);
25104 if (PyErr_Occurred()) SWIG_fail
;
25106 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25113 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25114 PyObject
*resultobj
;
25115 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25116 wxTreeItemId result
;
25117 PyObject
* obj0
= 0 ;
25118 char *kwnames
[] = {
25119 (char *) "self", NULL
25122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
25123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25127 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
25129 wxPyEndAllowThreads(__tstate
);
25130 if (PyErr_Occurred()) SWIG_fail
;
25133 wxTreeItemId
* resultptr
;
25134 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25135 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25143 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25144 PyObject
*resultobj
;
25145 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25146 wxTreeItemId result
;
25147 PyObject
* obj0
= 0 ;
25148 char *kwnames
[] = {
25149 (char *) "self", NULL
25152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
25153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25157 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
25159 wxPyEndAllowThreads(__tstate
);
25160 if (PyErr_Occurred()) SWIG_fail
;
25163 wxTreeItemId
* resultptr
;
25164 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25165 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25173 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25174 PyObject
*resultobj
;
25175 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25177 PyObject
* obj0
= 0 ;
25178 char *kwnames
[] = {
25179 (char *) "self", NULL
25182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
25183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25187 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25189 wxPyEndAllowThreads(__tstate
);
25190 if (PyErr_Occurred()) SWIG_fail
;
25192 resultobj
= result
;
25199 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25200 PyObject
*resultobj
;
25201 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25202 wxTreeItemId
*arg2
= 0 ;
25203 wxTreeItemId result
;
25204 PyObject
* obj0
= 0 ;
25205 PyObject
* obj1
= 0 ;
25206 char *kwnames
[] = {
25207 (char *) "self",(char *) "item", NULL
25210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25214 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25216 if (arg2
== NULL
) {
25217 PyErr_SetString(PyExc_TypeError
,"null reference");
25221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25222 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25224 wxPyEndAllowThreads(__tstate
);
25225 if (PyErr_Occurred()) SWIG_fail
;
25228 wxTreeItemId
* resultptr
;
25229 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25238 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25239 PyObject
*resultobj
;
25240 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25241 wxTreeItemId
*arg2
= 0 ;
25243 PyObject
* obj0
= 0 ;
25244 PyObject
* obj1
= 0 ;
25245 char *kwnames
[] = {
25246 (char *) "self",(char *) "item", NULL
25249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25253 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25255 if (arg2
== NULL
) {
25256 PyErr_SetString(PyExc_TypeError
,"null reference");
25260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25261 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25263 wxPyEndAllowThreads(__tstate
);
25264 if (PyErr_Occurred()) SWIG_fail
;
25266 resultobj
= result
;
25273 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25274 PyObject
*resultobj
;
25275 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25276 wxTreeItemId
*arg2
= 0 ;
25277 void *arg3
= (void *) 0 ;
25279 PyObject
* obj0
= 0 ;
25280 PyObject
* obj1
= 0 ;
25281 PyObject
* obj2
= 0 ;
25282 char *kwnames
[] = {
25283 (char *) "self",(char *) "item",(char *) "cookie", NULL
25286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25290 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25292 if (arg2
== NULL
) {
25293 PyErr_SetString(PyExc_TypeError
,"null reference");
25296 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25299 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25301 wxPyEndAllowThreads(__tstate
);
25302 if (PyErr_Occurred()) SWIG_fail
;
25304 resultobj
= result
;
25311 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25312 PyObject
*resultobj
;
25313 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25314 wxTreeItemId
*arg2
= 0 ;
25315 wxTreeItemId result
;
25316 PyObject
* obj0
= 0 ;
25317 PyObject
* obj1
= 0 ;
25318 char *kwnames
[] = {
25319 (char *) "self",(char *) "item", NULL
25322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25325 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25326 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25328 if (arg2
== NULL
) {
25329 PyErr_SetString(PyExc_TypeError
,"null reference");
25333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25334 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25336 wxPyEndAllowThreads(__tstate
);
25337 if (PyErr_Occurred()) SWIG_fail
;
25340 wxTreeItemId
* resultptr
;
25341 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25342 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25350 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25351 PyObject
*resultobj
;
25352 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25353 wxTreeItemId
*arg2
= 0 ;
25354 wxTreeItemId result
;
25355 PyObject
* obj0
= 0 ;
25356 PyObject
* obj1
= 0 ;
25357 char *kwnames
[] = {
25358 (char *) "self",(char *) "item", NULL
25361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25365 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25367 if (arg2
== NULL
) {
25368 PyErr_SetString(PyExc_TypeError
,"null reference");
25372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25373 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25375 wxPyEndAllowThreads(__tstate
);
25376 if (PyErr_Occurred()) SWIG_fail
;
25379 wxTreeItemId
* resultptr
;
25380 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25389 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25390 PyObject
*resultobj
;
25391 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25392 wxTreeItemId
*arg2
= 0 ;
25393 wxTreeItemId result
;
25394 PyObject
* obj0
= 0 ;
25395 PyObject
* obj1
= 0 ;
25396 char *kwnames
[] = {
25397 (char *) "self",(char *) "item", NULL
25400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25403 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25404 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25406 if (arg2
== NULL
) {
25407 PyErr_SetString(PyExc_TypeError
,"null reference");
25411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25412 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25414 wxPyEndAllowThreads(__tstate
);
25415 if (PyErr_Occurred()) SWIG_fail
;
25418 wxTreeItemId
* resultptr
;
25419 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25420 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25428 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25429 PyObject
*resultobj
;
25430 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25431 wxTreeItemId result
;
25432 PyObject
* obj0
= 0 ;
25433 char *kwnames
[] = {
25434 (char *) "self", NULL
25437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25442 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25444 wxPyEndAllowThreads(__tstate
);
25445 if (PyErr_Occurred()) SWIG_fail
;
25448 wxTreeItemId
* resultptr
;
25449 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25450 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25458 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25459 PyObject
*resultobj
;
25460 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25461 wxTreeItemId
*arg2
= 0 ;
25462 wxTreeItemId result
;
25463 PyObject
* obj0
= 0 ;
25464 PyObject
* obj1
= 0 ;
25465 char *kwnames
[] = {
25466 (char *) "self",(char *) "item", NULL
25469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25475 if (arg2
== NULL
) {
25476 PyErr_SetString(PyExc_TypeError
,"null reference");
25480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25481 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25483 wxPyEndAllowThreads(__tstate
);
25484 if (PyErr_Occurred()) SWIG_fail
;
25487 wxTreeItemId
* resultptr
;
25488 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25489 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25497 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25498 PyObject
*resultobj
;
25499 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25500 wxTreeItemId
*arg2
= 0 ;
25501 wxTreeItemId result
;
25502 PyObject
* obj0
= 0 ;
25503 PyObject
* obj1
= 0 ;
25504 char *kwnames
[] = {
25505 (char *) "self",(char *) "item", NULL
25508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25511 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25512 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25514 if (arg2
== NULL
) {
25515 PyErr_SetString(PyExc_TypeError
,"null reference");
25519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25520 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25522 wxPyEndAllowThreads(__tstate
);
25523 if (PyErr_Occurred()) SWIG_fail
;
25526 wxTreeItemId
* resultptr
;
25527 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25528 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25536 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25537 PyObject
*resultobj
;
25538 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25539 wxString
*arg2
= 0 ;
25540 int arg3
= (int) -1 ;
25541 int arg4
= (int) -1 ;
25542 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25543 wxTreeItemId result
;
25544 bool temp2
= False
;
25545 PyObject
* obj0
= 0 ;
25546 PyObject
* obj1
= 0 ;
25547 PyObject
* obj2
= 0 ;
25548 PyObject
* obj3
= 0 ;
25549 PyObject
* obj4
= 0 ;
25550 char *kwnames
[] = {
25551 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25558 arg2
= wxString_in_helper(obj1
);
25559 if (arg2
== NULL
) SWIG_fail
;
25563 arg3
= (int) SWIG_AsInt(obj2
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25567 arg4
= (int) SWIG_AsInt(obj3
);
25568 if (PyErr_Occurred()) SWIG_fail
;
25571 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
25572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25578 wxPyEndAllowThreads(__tstate
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25582 wxTreeItemId
* resultptr
;
25583 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25600 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25601 PyObject
*resultobj
;
25602 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25603 wxTreeItemId
*arg2
= 0 ;
25604 wxString
*arg3
= 0 ;
25605 int arg4
= (int) -1 ;
25606 int arg5
= (int) -1 ;
25607 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25608 wxTreeItemId result
;
25609 bool temp3
= False
;
25610 PyObject
* obj0
= 0 ;
25611 PyObject
* obj1
= 0 ;
25612 PyObject
* obj2
= 0 ;
25613 PyObject
* obj3
= 0 ;
25614 PyObject
* obj4
= 0 ;
25615 PyObject
* obj5
= 0 ;
25616 char *kwnames
[] = {
25617 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25623 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25624 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25626 if (arg2
== NULL
) {
25627 PyErr_SetString(PyExc_TypeError
,"null reference");
25631 arg3
= wxString_in_helper(obj2
);
25632 if (arg3
== NULL
) SWIG_fail
;
25636 arg4
= (int) SWIG_AsInt(obj3
);
25637 if (PyErr_Occurred()) SWIG_fail
;
25640 arg5
= (int) SWIG_AsInt(obj4
);
25641 if (PyErr_Occurred()) SWIG_fail
;
25644 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
25645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25649 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25651 wxPyEndAllowThreads(__tstate
);
25652 if (PyErr_Occurred()) SWIG_fail
;
25655 wxTreeItemId
* resultptr
;
25656 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25657 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25673 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25674 PyObject
*resultobj
;
25675 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25676 wxTreeItemId
*arg2
= 0 ;
25677 wxTreeItemId
*arg3
= 0 ;
25678 wxString
*arg4
= 0 ;
25679 int arg5
= (int) -1 ;
25680 int arg6
= (int) -1 ;
25681 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25682 wxTreeItemId result
;
25683 bool temp4
= False
;
25684 PyObject
* obj0
= 0 ;
25685 PyObject
* obj1
= 0 ;
25686 PyObject
* obj2
= 0 ;
25687 PyObject
* obj3
= 0 ;
25688 PyObject
* obj4
= 0 ;
25689 PyObject
* obj5
= 0 ;
25690 PyObject
* obj6
= 0 ;
25691 char *kwnames
[] = {
25692 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25699 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25701 if (arg2
== NULL
) {
25702 PyErr_SetString(PyExc_TypeError
,"null reference");
25705 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
25706 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25708 if (arg3
== NULL
) {
25709 PyErr_SetString(PyExc_TypeError
,"null reference");
25713 arg4
= wxString_in_helper(obj3
);
25714 if (arg4
== NULL
) SWIG_fail
;
25718 arg5
= (int) SWIG_AsInt(obj4
);
25719 if (PyErr_Occurred()) SWIG_fail
;
25722 arg6
= (int) SWIG_AsInt(obj5
);
25723 if (PyErr_Occurred()) SWIG_fail
;
25726 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
25727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25731 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25733 wxPyEndAllowThreads(__tstate
);
25734 if (PyErr_Occurred()) SWIG_fail
;
25737 wxTreeItemId
* resultptr
;
25738 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25739 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25755 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25756 PyObject
*resultobj
;
25757 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25758 wxTreeItemId
*arg2
= 0 ;
25760 wxString
*arg4
= 0 ;
25761 int arg5
= (int) -1 ;
25762 int arg6
= (int) -1 ;
25763 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25764 wxTreeItemId result
;
25765 bool temp4
= False
;
25766 PyObject
* obj0
= 0 ;
25767 PyObject
* obj1
= 0 ;
25768 PyObject
* obj2
= 0 ;
25769 PyObject
* obj3
= 0 ;
25770 PyObject
* obj4
= 0 ;
25771 PyObject
* obj5
= 0 ;
25772 PyObject
* obj6
= 0 ;
25773 char *kwnames
[] = {
25774 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25780 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25783 if (arg2
== NULL
) {
25784 PyErr_SetString(PyExc_TypeError
,"null reference");
25787 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
25788 if (PyErr_Occurred()) SWIG_fail
;
25790 arg4
= wxString_in_helper(obj3
);
25791 if (arg4
== NULL
) SWIG_fail
;
25795 arg5
= (int) SWIG_AsInt(obj4
);
25796 if (PyErr_Occurred()) SWIG_fail
;
25799 arg6
= (int) SWIG_AsInt(obj5
);
25800 if (PyErr_Occurred()) SWIG_fail
;
25803 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
25804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25808 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25810 wxPyEndAllowThreads(__tstate
);
25811 if (PyErr_Occurred()) SWIG_fail
;
25814 wxTreeItemId
* resultptr
;
25815 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25816 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25832 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25833 PyObject
*resultobj
;
25834 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25835 wxTreeItemId
*arg2
= 0 ;
25836 wxString
*arg3
= 0 ;
25837 int arg4
= (int) -1 ;
25838 int arg5
= (int) -1 ;
25839 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25840 wxTreeItemId result
;
25841 bool temp3
= False
;
25842 PyObject
* obj0
= 0 ;
25843 PyObject
* obj1
= 0 ;
25844 PyObject
* obj2
= 0 ;
25845 PyObject
* obj3
= 0 ;
25846 PyObject
* obj4
= 0 ;
25847 PyObject
* obj5
= 0 ;
25848 char *kwnames
[] = {
25849 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25856 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25858 if (arg2
== NULL
) {
25859 PyErr_SetString(PyExc_TypeError
,"null reference");
25863 arg3
= wxString_in_helper(obj2
);
25864 if (arg3
== NULL
) SWIG_fail
;
25868 arg4
= (int) SWIG_AsInt(obj3
);
25869 if (PyErr_Occurred()) SWIG_fail
;
25872 arg5
= (int) SWIG_AsInt(obj4
);
25873 if (PyErr_Occurred()) SWIG_fail
;
25876 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
25877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25881 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25883 wxPyEndAllowThreads(__tstate
);
25884 if (PyErr_Occurred()) SWIG_fail
;
25887 wxTreeItemId
* resultptr
;
25888 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25905 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25906 PyObject
*resultobj
;
25907 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25908 wxTreeItemId
*arg2
= 0 ;
25909 PyObject
* obj0
= 0 ;
25910 PyObject
* obj1
= 0 ;
25911 char *kwnames
[] = {
25912 (char *) "self",(char *) "item", NULL
25915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
25916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25918 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25919 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25921 if (arg2
== NULL
) {
25922 PyErr_SetString(PyExc_TypeError
,"null reference");
25926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25927 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
25929 wxPyEndAllowThreads(__tstate
);
25930 if (PyErr_Occurred()) SWIG_fail
;
25932 Py_INCREF(Py_None
); resultobj
= Py_None
;
25939 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25940 PyObject
*resultobj
;
25941 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25942 wxTreeItemId
*arg2
= 0 ;
25943 PyObject
* obj0
= 0 ;
25944 PyObject
* obj1
= 0 ;
25945 char *kwnames
[] = {
25946 (char *) "self",(char *) "item", NULL
25949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25952 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25953 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25955 if (arg2
== NULL
) {
25956 PyErr_SetString(PyExc_TypeError
,"null reference");
25960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25961 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
25963 wxPyEndAllowThreads(__tstate
);
25964 if (PyErr_Occurred()) SWIG_fail
;
25966 Py_INCREF(Py_None
); resultobj
= Py_None
;
25973 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25974 PyObject
*resultobj
;
25975 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25976 PyObject
* obj0
= 0 ;
25977 char *kwnames
[] = {
25978 (char *) "self", NULL
25981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25986 (arg1
)->DeleteAllItems();
25988 wxPyEndAllowThreads(__tstate
);
25989 if (PyErr_Occurred()) SWIG_fail
;
25991 Py_INCREF(Py_None
); resultobj
= Py_None
;
25998 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25999 PyObject
*resultobj
;
26000 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26001 wxTreeItemId
*arg2
= 0 ;
26002 PyObject
* obj0
= 0 ;
26003 PyObject
* obj1
= 0 ;
26004 char *kwnames
[] = {
26005 (char *) "self",(char *) "item", NULL
26008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
26009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26012 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26014 if (arg2
== NULL
) {
26015 PyErr_SetString(PyExc_TypeError
,"null reference");
26019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26020 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
26022 wxPyEndAllowThreads(__tstate
);
26023 if (PyErr_Occurred()) SWIG_fail
;
26025 Py_INCREF(Py_None
); resultobj
= Py_None
;
26032 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26033 PyObject
*resultobj
;
26034 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26035 wxTreeItemId
*arg2
= 0 ;
26036 PyObject
* obj0
= 0 ;
26037 PyObject
* obj1
= 0 ;
26038 char *kwnames
[] = {
26039 (char *) "self",(char *) "item", NULL
26042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
26043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26046 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26048 if (arg2
== NULL
) {
26049 PyErr_SetString(PyExc_TypeError
,"null reference");
26053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26054 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
26056 wxPyEndAllowThreads(__tstate
);
26057 if (PyErr_Occurred()) SWIG_fail
;
26059 Py_INCREF(Py_None
); resultobj
= Py_None
;
26066 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26067 PyObject
*resultobj
;
26068 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26069 wxTreeItemId
*arg2
= 0 ;
26070 PyObject
* obj0
= 0 ;
26071 PyObject
* obj1
= 0 ;
26072 char *kwnames
[] = {
26073 (char *) "self",(char *) "item", NULL
26076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
26077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26080 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26082 if (arg2
== NULL
) {
26083 PyErr_SetString(PyExc_TypeError
,"null reference");
26087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26088 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
26090 wxPyEndAllowThreads(__tstate
);
26091 if (PyErr_Occurred()) SWIG_fail
;
26093 Py_INCREF(Py_None
); resultobj
= Py_None
;
26100 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26101 PyObject
*resultobj
;
26102 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26103 wxTreeItemId
*arg2
= 0 ;
26104 PyObject
* obj0
= 0 ;
26105 PyObject
* obj1
= 0 ;
26106 char *kwnames
[] = {
26107 (char *) "self",(char *) "item", NULL
26110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
26111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26114 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26116 if (arg2
== NULL
) {
26117 PyErr_SetString(PyExc_TypeError
,"null reference");
26121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26122 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
26124 wxPyEndAllowThreads(__tstate
);
26125 if (PyErr_Occurred()) SWIG_fail
;
26127 Py_INCREF(Py_None
); resultobj
= Py_None
;
26134 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26135 PyObject
*resultobj
;
26136 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26137 PyObject
* obj0
= 0 ;
26138 char *kwnames
[] = {
26139 (char *) "self", NULL
26142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
26143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26147 (arg1
)->Unselect();
26149 wxPyEndAllowThreads(__tstate
);
26150 if (PyErr_Occurred()) SWIG_fail
;
26152 Py_INCREF(Py_None
); resultobj
= Py_None
;
26159 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26160 PyObject
*resultobj
;
26161 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26162 wxTreeItemId
*arg2
= 0 ;
26163 PyObject
* obj0
= 0 ;
26164 PyObject
* obj1
= 0 ;
26165 char *kwnames
[] = {
26166 (char *) "self",(char *) "item", NULL
26169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26173 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26175 if (arg2
== NULL
) {
26176 PyErr_SetString(PyExc_TypeError
,"null reference");
26180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26181 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
26183 wxPyEndAllowThreads(__tstate
);
26184 if (PyErr_Occurred()) SWIG_fail
;
26186 Py_INCREF(Py_None
); resultobj
= Py_None
;
26193 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26194 PyObject
*resultobj
;
26195 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26196 PyObject
* obj0
= 0 ;
26197 char *kwnames
[] = {
26198 (char *) "self", NULL
26201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
26202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26206 (arg1
)->UnselectAll();
26208 wxPyEndAllowThreads(__tstate
);
26209 if (PyErr_Occurred()) SWIG_fail
;
26211 Py_INCREF(Py_None
); resultobj
= Py_None
;
26218 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26219 PyObject
*resultobj
;
26220 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26221 wxTreeItemId
*arg2
= 0 ;
26222 bool arg3
= (bool) True
;
26223 PyObject
* obj0
= 0 ;
26224 PyObject
* obj1
= 0 ;
26225 PyObject
* obj2
= 0 ;
26226 char *kwnames
[] = {
26227 (char *) "self",(char *) "item",(char *) "select", NULL
26230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26234 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26236 if (arg2
== NULL
) {
26237 PyErr_SetString(PyExc_TypeError
,"null reference");
26241 arg3
= (bool) SWIG_AsBool(obj2
);
26242 if (PyErr_Occurred()) SWIG_fail
;
26245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26246 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
26248 wxPyEndAllowThreads(__tstate
);
26249 if (PyErr_Occurred()) SWIG_fail
;
26251 Py_INCREF(Py_None
); resultobj
= Py_None
;
26258 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26259 PyObject
*resultobj
;
26260 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26261 wxTreeItemId
*arg2
= 0 ;
26262 PyObject
* obj0
= 0 ;
26263 PyObject
* obj1
= 0 ;
26264 char *kwnames
[] = {
26265 (char *) "self",(char *) "item", NULL
26268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26271 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26272 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26274 if (arg2
== NULL
) {
26275 PyErr_SetString(PyExc_TypeError
,"null reference");
26279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26280 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26282 wxPyEndAllowThreads(__tstate
);
26283 if (PyErr_Occurred()) SWIG_fail
;
26285 Py_INCREF(Py_None
); resultobj
= Py_None
;
26292 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26293 PyObject
*resultobj
;
26294 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26295 wxTreeItemId
*arg2
= 0 ;
26296 PyObject
* obj0
= 0 ;
26297 PyObject
* obj1
= 0 ;
26298 char *kwnames
[] = {
26299 (char *) "self",(char *) "item", NULL
26302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26306 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26308 if (arg2
== NULL
) {
26309 PyErr_SetString(PyExc_TypeError
,"null reference");
26313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26314 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26316 wxPyEndAllowThreads(__tstate
);
26317 if (PyErr_Occurred()) SWIG_fail
;
26319 Py_INCREF(Py_None
); resultobj
= Py_None
;
26326 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26327 PyObject
*resultobj
;
26328 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26329 wxTreeItemId
*arg2
= 0 ;
26330 PyObject
* obj0
= 0 ;
26331 PyObject
* obj1
= 0 ;
26332 char *kwnames
[] = {
26333 (char *) "self",(char *) "item", NULL
26336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26340 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26342 if (arg2
== NULL
) {
26343 PyErr_SetString(PyExc_TypeError
,"null reference");
26347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26348 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26350 wxPyEndAllowThreads(__tstate
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26353 Py_INCREF(Py_None
); resultobj
= Py_None
;
26360 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26361 PyObject
*resultobj
;
26362 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26363 wxTreeItemId
*arg2
= 0 ;
26364 PyObject
* obj0
= 0 ;
26365 PyObject
* obj1
= 0 ;
26366 char *kwnames
[] = {
26367 (char *) "self",(char *) "item", NULL
26370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26373 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26374 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26376 if (arg2
== NULL
) {
26377 PyErr_SetString(PyExc_TypeError
,"null reference");
26381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26382 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26384 wxPyEndAllowThreads(__tstate
);
26385 if (PyErr_Occurred()) SWIG_fail
;
26387 Py_INCREF(Py_None
); resultobj
= Py_None
;
26394 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26395 PyObject
*resultobj
;
26396 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26397 wxTextCtrl
*result
;
26398 PyObject
* obj0
= 0 ;
26399 char *kwnames
[] = {
26400 (char *) "self", NULL
26403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26408 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26410 wxPyEndAllowThreads(__tstate
);
26411 if (PyErr_Occurred()) SWIG_fail
;
26414 resultobj
= wxPyMake_wxObject(result
);
26422 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26423 PyObject
*resultobj
;
26424 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26425 wxTreeItemId
*arg2
= 0 ;
26426 PyObject
* obj0
= 0 ;
26427 PyObject
* obj1
= 0 ;
26428 char *kwnames
[] = {
26429 (char *) "self",(char *) "item", NULL
26432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26435 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26436 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26438 if (arg2
== NULL
) {
26439 PyErr_SetString(PyExc_TypeError
,"null reference");
26443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26444 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26446 wxPyEndAllowThreads(__tstate
);
26447 if (PyErr_Occurred()) SWIG_fail
;
26449 Py_INCREF(Py_None
); resultobj
= Py_None
;
26456 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26457 PyObject
*resultobj
;
26458 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26459 wxPoint
*arg2
= 0 ;
26461 wxTreeItemId result
;
26464 PyObject
* obj0
= 0 ;
26465 PyObject
* obj1
= 0 ;
26466 char *kwnames
[] = {
26467 (char *) "self",(char *) "point", NULL
26471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26476 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26480 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26482 wxPyEndAllowThreads(__tstate
);
26483 if (PyErr_Occurred()) SWIG_fail
;
26486 wxTreeItemId
* resultptr
;
26487 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26491 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26492 resultobj
= t_output_helper(resultobj
,o
);
26500 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26501 PyObject
*resultobj
;
26502 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26503 wxTreeItemId
*arg2
= 0 ;
26504 bool arg3
= (bool) False
;
26506 PyObject
* obj0
= 0 ;
26507 PyObject
* obj1
= 0 ;
26508 PyObject
* obj2
= 0 ;
26509 char *kwnames
[] = {
26510 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26517 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26519 if (arg2
== NULL
) {
26520 PyErr_SetString(PyExc_TypeError
,"null reference");
26524 arg3
= (bool) SWIG_AsBool(obj2
);
26525 if (PyErr_Occurred()) SWIG_fail
;
26528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26529 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26531 wxPyEndAllowThreads(__tstate
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26534 resultobj
= result
;
26541 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
26543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26544 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26546 return Py_BuildValue((char *)"");
26548 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
26549 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26554 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
26559 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26561 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26568 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26569 PyObject
*resultobj
;
26570 wxWindow
*arg1
= (wxWindow
*) 0 ;
26571 int arg2
= (int) (int)-1 ;
26572 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
26573 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26574 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26575 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26576 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26577 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26578 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26579 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26580 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26581 int arg8
= (int) 0 ;
26582 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26583 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26584 wxGenericDirCtrl
*result
;
26585 bool temp3
= False
;
26588 bool temp7
= False
;
26589 bool temp9
= False
;
26590 PyObject
* obj0
= 0 ;
26591 PyObject
* obj1
= 0 ;
26592 PyObject
* obj2
= 0 ;
26593 PyObject
* obj3
= 0 ;
26594 PyObject
* obj4
= 0 ;
26595 PyObject
* obj5
= 0 ;
26596 PyObject
* obj6
= 0 ;
26597 PyObject
* obj7
= 0 ;
26598 PyObject
* obj8
= 0 ;
26599 char *kwnames
[] = {
26600 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26607 arg2
= (int const) SWIG_AsInt(obj1
);
26608 if (PyErr_Occurred()) SWIG_fail
;
26612 arg3
= wxString_in_helper(obj2
);
26613 if (arg3
== NULL
) SWIG_fail
;
26620 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26626 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26630 arg6
= (long) SWIG_AsLong(obj5
);
26631 if (PyErr_Occurred()) SWIG_fail
;
26635 arg7
= wxString_in_helper(obj6
);
26636 if (arg7
== NULL
) SWIG_fail
;
26641 arg8
= (int) SWIG_AsInt(obj7
);
26642 if (PyErr_Occurred()) SWIG_fail
;
26646 arg9
= wxString_in_helper(obj8
);
26647 if (arg9
== NULL
) SWIG_fail
;
26652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26653 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
26655 wxPyEndAllowThreads(__tstate
);
26656 if (PyErr_Occurred()) SWIG_fail
;
26658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26689 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26690 PyObject
*resultobj
;
26691 wxGenericDirCtrl
*result
;
26692 char *kwnames
[] = {
26696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
26698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26699 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
26701 wxPyEndAllowThreads(__tstate
);
26702 if (PyErr_Occurred()) SWIG_fail
;
26704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26711 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26712 PyObject
*resultobj
;
26713 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26714 wxWindow
*arg2
= (wxWindow
*) 0 ;
26715 int arg3
= (int) (int)-1 ;
26716 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
26717 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26718 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
26719 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
26720 wxSize
const &arg6_defvalue
= wxDefaultSize
;
26721 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
26722 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26723 wxString
const &arg8_defvalue
= wxPyEmptyString
;
26724 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26725 int arg9
= (int) 0 ;
26726 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
26727 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26729 bool temp4
= False
;
26732 bool temp8
= False
;
26733 bool temp10
= False
;
26734 PyObject
* obj0
= 0 ;
26735 PyObject
* obj1
= 0 ;
26736 PyObject
* obj2
= 0 ;
26737 PyObject
* obj3
= 0 ;
26738 PyObject
* obj4
= 0 ;
26739 PyObject
* obj5
= 0 ;
26740 PyObject
* obj6
= 0 ;
26741 PyObject
* obj7
= 0 ;
26742 PyObject
* obj8
= 0 ;
26743 PyObject
* obj9
= 0 ;
26744 char *kwnames
[] = {
26745 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26751 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26754 arg3
= (int const) SWIG_AsInt(obj2
);
26755 if (PyErr_Occurred()) SWIG_fail
;
26759 arg4
= wxString_in_helper(obj3
);
26760 if (arg4
== NULL
) SWIG_fail
;
26767 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
26773 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
26777 arg7
= (long) SWIG_AsLong(obj6
);
26778 if (PyErr_Occurred()) SWIG_fail
;
26782 arg8
= wxString_in_helper(obj7
);
26783 if (arg8
== NULL
) SWIG_fail
;
26788 arg9
= (int) SWIG_AsInt(obj8
);
26789 if (PyErr_Occurred()) SWIG_fail
;
26793 arg10
= wxString_in_helper(obj9
);
26794 if (arg10
== NULL
) SWIG_fail
;
26799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26800 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
26802 wxPyEndAllowThreads(__tstate
);
26803 if (PyErr_Occurred()) SWIG_fail
;
26806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26838 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26839 PyObject
*resultobj
;
26840 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26841 wxString
*arg2
= 0 ;
26843 bool temp2
= False
;
26844 PyObject
* obj0
= 0 ;
26845 PyObject
* obj1
= 0 ;
26846 char *kwnames
[] = {
26847 (char *) "self",(char *) "path", NULL
26850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26854 arg2
= wxString_in_helper(obj1
);
26855 if (arg2
== NULL
) SWIG_fail
;
26859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26860 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
26862 wxPyEndAllowThreads(__tstate
);
26863 if (PyErr_Occurred()) SWIG_fail
;
26866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26882 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26883 PyObject
*resultobj
;
26884 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26886 PyObject
* obj0
= 0 ;
26887 char *kwnames
[] = {
26888 (char *) "self", NULL
26891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
26892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26896 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
26898 wxPyEndAllowThreads(__tstate
);
26899 if (PyErr_Occurred()) SWIG_fail
;
26903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26914 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26915 PyObject
*resultobj
;
26916 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26917 wxString
*arg2
= 0 ;
26918 bool temp2
= False
;
26919 PyObject
* obj0
= 0 ;
26920 PyObject
* obj1
= 0 ;
26921 char *kwnames
[] = {
26922 (char *) "self",(char *) "path", NULL
26925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26929 arg2
= wxString_in_helper(obj1
);
26930 if (arg2
== NULL
) SWIG_fail
;
26934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26935 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
26937 wxPyEndAllowThreads(__tstate
);
26938 if (PyErr_Occurred()) SWIG_fail
;
26940 Py_INCREF(Py_None
); resultobj
= Py_None
;
26955 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26956 PyObject
*resultobj
;
26957 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26959 PyObject
* obj0
= 0 ;
26960 char *kwnames
[] = {
26961 (char *) "self", NULL
26964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
26965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26969 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
26971 wxPyEndAllowThreads(__tstate
);
26972 if (PyErr_Occurred()) SWIG_fail
;
26976 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26978 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26987 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26988 PyObject
*resultobj
;
26989 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26991 PyObject
* obj0
= 0 ;
26992 char *kwnames
[] = {
26993 (char *) "self", NULL
26996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
26997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27001 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
27003 wxPyEndAllowThreads(__tstate
);
27004 if (PyErr_Occurred()) SWIG_fail
;
27008 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27010 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27019 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27020 PyObject
*resultobj
;
27021 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27022 wxString
*arg2
= 0 ;
27023 bool temp2
= False
;
27024 PyObject
* obj0
= 0 ;
27025 PyObject
* obj1
= 0 ;
27026 char *kwnames
[] = {
27027 (char *) "self",(char *) "path", NULL
27030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27034 arg2
= wxString_in_helper(obj1
);
27035 if (arg2
== NULL
) SWIG_fail
;
27039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27040 (arg1
)->SetPath((wxString
const &)*arg2
);
27042 wxPyEndAllowThreads(__tstate
);
27043 if (PyErr_Occurred()) SWIG_fail
;
27045 Py_INCREF(Py_None
); resultobj
= Py_None
;
27060 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27061 PyObject
*resultobj
;
27062 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27064 PyObject
* obj0
= 0 ;
27065 PyObject
* obj1
= 0 ;
27066 char *kwnames
[] = {
27067 (char *) "self",(char *) "show", NULL
27070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
27071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27073 arg2
= (bool) SWIG_AsBool(obj1
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27077 (arg1
)->ShowHidden(arg2
);
27079 wxPyEndAllowThreads(__tstate
);
27080 if (PyErr_Occurred()) SWIG_fail
;
27082 Py_INCREF(Py_None
); resultobj
= Py_None
;
27089 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27090 PyObject
*resultobj
;
27091 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27093 PyObject
* obj0
= 0 ;
27094 char *kwnames
[] = {
27095 (char *) "self", NULL
27098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
27099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27103 result
= (bool)(arg1
)->GetShowHidden();
27105 wxPyEndAllowThreads(__tstate
);
27106 if (PyErr_Occurred()) SWIG_fail
;
27109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27117 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27118 PyObject
*resultobj
;
27119 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27121 PyObject
* obj0
= 0 ;
27122 char *kwnames
[] = {
27123 (char *) "self", NULL
27126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
27127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27131 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
27133 wxPyEndAllowThreads(__tstate
);
27134 if (PyErr_Occurred()) SWIG_fail
;
27138 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27140 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27149 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27150 PyObject
*resultobj
;
27151 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27152 wxString
*arg2
= 0 ;
27153 bool temp2
= False
;
27154 PyObject
* obj0
= 0 ;
27155 PyObject
* obj1
= 0 ;
27156 char *kwnames
[] = {
27157 (char *) "self",(char *) "filter", NULL
27160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
27161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27164 arg2
= wxString_in_helper(obj1
);
27165 if (arg2
== NULL
) SWIG_fail
;
27169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27170 (arg1
)->SetFilter((wxString
const &)*arg2
);
27172 wxPyEndAllowThreads(__tstate
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27175 Py_INCREF(Py_None
); resultobj
= Py_None
;
27190 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27191 PyObject
*resultobj
;
27192 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27194 PyObject
* obj0
= 0 ;
27195 char *kwnames
[] = {
27196 (char *) "self", NULL
27199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
27200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27204 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
27206 wxPyEndAllowThreads(__tstate
);
27207 if (PyErr_Occurred()) SWIG_fail
;
27209 resultobj
= SWIG_FromInt((int)result
);
27216 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27217 PyObject
*resultobj
;
27218 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27220 PyObject
* obj0
= 0 ;
27221 PyObject
* obj1
= 0 ;
27222 char *kwnames
[] = {
27223 (char *) "self",(char *) "n", NULL
27226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
27227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27229 arg2
= (int) SWIG_AsInt(obj1
);
27230 if (PyErr_Occurred()) SWIG_fail
;
27232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27233 (arg1
)->SetFilterIndex(arg2
);
27235 wxPyEndAllowThreads(__tstate
);
27236 if (PyErr_Occurred()) SWIG_fail
;
27238 Py_INCREF(Py_None
); resultobj
= Py_None
;
27245 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27246 PyObject
*resultobj
;
27247 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27248 wxTreeItemId result
;
27249 PyObject
* obj0
= 0 ;
27250 char *kwnames
[] = {
27251 (char *) "self", NULL
27254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27259 result
= (arg1
)->GetRootId();
27261 wxPyEndAllowThreads(__tstate
);
27262 if (PyErr_Occurred()) SWIG_fail
;
27265 wxTreeItemId
* resultptr
;
27266 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27267 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27275 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27276 PyObject
*resultobj
;
27277 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27278 wxPyTreeCtrl
*result
;
27279 PyObject
* obj0
= 0 ;
27280 char *kwnames
[] = {
27281 (char *) "self", NULL
27284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
27285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27289 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27291 wxPyEndAllowThreads(__tstate
);
27292 if (PyErr_Occurred()) SWIG_fail
;
27295 resultobj
= wxPyMake_wxObject(result
);
27303 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27304 PyObject
*resultobj
;
27305 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27306 wxDirFilterListCtrl
*result
;
27307 PyObject
* obj0
= 0 ;
27308 char *kwnames
[] = {
27309 (char *) "self", NULL
27312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27317 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27319 wxPyEndAllowThreads(__tstate
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27329 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27330 PyObject
*resultobj
;
27331 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27332 wxTreeItemId arg2
;
27333 wxString
*arg3
= 0 ;
27335 wxTreeItemId result
;
27336 wxTreeItemId
*argp2
;
27337 bool temp3
= False
;
27339 PyObject
* obj0
= 0 ;
27340 PyObject
* obj1
= 0 ;
27341 PyObject
* obj2
= 0 ;
27342 char *kwnames
[] = {
27343 (char *) "self",(char *) "parentId",(char *) "path", NULL
27347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27350 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
27351 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27354 arg3
= wxString_in_helper(obj2
);
27355 if (arg3
== NULL
) SWIG_fail
;
27359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27360 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27362 wxPyEndAllowThreads(__tstate
);
27363 if (PyErr_Occurred()) SWIG_fail
;
27366 wxTreeItemId
* resultptr
;
27367 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27368 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27371 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27372 resultobj
= t_output_helper(resultobj
,o
);
27388 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27389 PyObject
*resultobj
;
27390 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27391 PyObject
* obj0
= 0 ;
27392 char *kwnames
[] = {
27393 (char *) "self", NULL
27396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27401 (arg1
)->DoResize();
27403 wxPyEndAllowThreads(__tstate
);
27404 if (PyErr_Occurred()) SWIG_fail
;
27406 Py_INCREF(Py_None
); resultobj
= Py_None
;
27413 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27414 PyObject
*resultobj
;
27415 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27416 PyObject
* obj0
= 0 ;
27417 char *kwnames
[] = {
27418 (char *) "self", NULL
27421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27426 (arg1
)->ReCreateTree();
27428 wxPyEndAllowThreads(__tstate
);
27429 if (PyErr_Occurred()) SWIG_fail
;
27431 Py_INCREF(Py_None
); resultobj
= Py_None
;
27438 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
27440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27441 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27443 return Py_BuildValue((char *)"");
27445 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27446 PyObject
*resultobj
;
27447 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27448 int arg2
= (int) (int)-1 ;
27449 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27450 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27451 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27452 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27453 long arg5
= (long) 0 ;
27454 wxDirFilterListCtrl
*result
;
27457 PyObject
* obj0
= 0 ;
27458 PyObject
* obj1
= 0 ;
27459 PyObject
* obj2
= 0 ;
27460 PyObject
* obj3
= 0 ;
27461 PyObject
* obj4
= 0 ;
27462 char *kwnames
[] = {
27463 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27470 arg2
= (int const) SWIG_AsInt(obj1
);
27471 if (PyErr_Occurred()) SWIG_fail
;
27476 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27482 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27486 arg5
= (long) SWIG_AsLong(obj4
);
27487 if (PyErr_Occurred()) SWIG_fail
;
27490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27491 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27493 wxPyEndAllowThreads(__tstate
);
27494 if (PyErr_Occurred()) SWIG_fail
;
27496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27503 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27504 PyObject
*resultobj
;
27505 wxDirFilterListCtrl
*result
;
27506 char *kwnames
[] = {
27510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27513 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27515 wxPyEndAllowThreads(__tstate
);
27516 if (PyErr_Occurred()) SWIG_fail
;
27518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27525 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27526 PyObject
*resultobj
;
27527 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27528 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27529 int arg3
= (int) (int)-1 ;
27530 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27531 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27532 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27533 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27534 long arg6
= (long) 0 ;
27538 PyObject
* obj0
= 0 ;
27539 PyObject
* obj1
= 0 ;
27540 PyObject
* obj2
= 0 ;
27541 PyObject
* obj3
= 0 ;
27542 PyObject
* obj4
= 0 ;
27543 PyObject
* obj5
= 0 ;
27544 char *kwnames
[] = {
27545 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
27552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27554 arg3
= (int const) SWIG_AsInt(obj2
);
27555 if (PyErr_Occurred()) SWIG_fail
;
27560 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27566 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27570 arg6
= (long) SWIG_AsLong(obj5
);
27571 if (PyErr_Occurred()) SWIG_fail
;
27574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27575 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
27577 wxPyEndAllowThreads(__tstate
);
27578 if (PyErr_Occurred()) SWIG_fail
;
27581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27589 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27590 PyObject
*resultobj
;
27591 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27592 wxString
*arg2
= 0 ;
27594 bool temp2
= False
;
27595 PyObject
* obj0
= 0 ;
27596 PyObject
* obj1
= 0 ;
27597 PyObject
* obj2
= 0 ;
27598 char *kwnames
[] = {
27599 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27606 arg2
= wxString_in_helper(obj1
);
27607 if (arg2
== NULL
) SWIG_fail
;
27610 arg3
= (int) SWIG_AsInt(obj2
);
27611 if (PyErr_Occurred()) SWIG_fail
;
27613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27614 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27616 wxPyEndAllowThreads(__tstate
);
27617 if (PyErr_Occurred()) SWIG_fail
;
27619 Py_INCREF(Py_None
); resultobj
= Py_None
;
27634 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
27636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27637 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
27639 return Py_BuildValue((char *)"");
27641 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27642 PyObject
*resultobj
;
27643 wxWindow
*arg1
= (wxWindow
*) 0 ;
27645 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27646 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27647 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27648 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27649 long arg5
= (long) 0 ;
27650 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27651 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27652 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
27653 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27654 wxPyControl
*result
;
27657 bool temp7
= False
;
27658 PyObject
* obj0
= 0 ;
27659 PyObject
* obj1
= 0 ;
27660 PyObject
* obj2
= 0 ;
27661 PyObject
* obj3
= 0 ;
27662 PyObject
* obj4
= 0 ;
27663 PyObject
* obj5
= 0 ;
27664 PyObject
* obj6
= 0 ;
27665 char *kwnames
[] = {
27666 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27672 arg2
= (int const) SWIG_AsInt(obj1
);
27673 if (PyErr_Occurred()) SWIG_fail
;
27677 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27683 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27687 arg5
= (long) SWIG_AsLong(obj4
);
27688 if (PyErr_Occurred()) SWIG_fail
;
27691 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
27692 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27694 if (arg6
== NULL
) {
27695 PyErr_SetString(PyExc_TypeError
,"null reference");
27701 arg7
= wxString_in_helper(obj6
);
27702 if (arg7
== NULL
) SWIG_fail
;
27707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27708 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27710 wxPyEndAllowThreads(__tstate
);
27711 if (PyErr_Occurred()) SWIG_fail
;
27713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
27728 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27729 PyObject
*resultobj
;
27730 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27731 PyObject
*arg2
= (PyObject
*) 0 ;
27732 PyObject
*arg3
= (PyObject
*) 0 ;
27733 PyObject
* obj0
= 0 ;
27734 PyObject
* obj1
= 0 ;
27735 PyObject
* obj2
= 0 ;
27736 char *kwnames
[] = {
27737 (char *) "self",(char *) "self",(char *) "_class", NULL
27740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27747 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27749 wxPyEndAllowThreads(__tstate
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27752 Py_INCREF(Py_None
); resultobj
= Py_None
;
27759 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27760 PyObject
*resultobj
;
27761 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27766 PyObject
* obj0
= 0 ;
27767 PyObject
* obj1
= 0 ;
27768 PyObject
* obj2
= 0 ;
27769 PyObject
* obj3
= 0 ;
27770 PyObject
* obj4
= 0 ;
27771 char *kwnames
[] = {
27772 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27778 arg2
= (int) SWIG_AsInt(obj1
);
27779 if (PyErr_Occurred()) SWIG_fail
;
27780 arg3
= (int) SWIG_AsInt(obj2
);
27781 if (PyErr_Occurred()) SWIG_fail
;
27782 arg4
= (int) SWIG_AsInt(obj3
);
27783 if (PyErr_Occurred()) SWIG_fail
;
27784 arg5
= (int) SWIG_AsInt(obj4
);
27785 if (PyErr_Occurred()) SWIG_fail
;
27787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27788 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
27790 wxPyEndAllowThreads(__tstate
);
27791 if (PyErr_Occurred()) SWIG_fail
;
27793 Py_INCREF(Py_None
); resultobj
= Py_None
;
27800 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27801 PyObject
*resultobj
;
27802 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27807 int arg6
= (int) wxSIZE_AUTO
;
27808 PyObject
* obj0
= 0 ;
27809 PyObject
* obj1
= 0 ;
27810 PyObject
* obj2
= 0 ;
27811 PyObject
* obj3
= 0 ;
27812 PyObject
* obj4
= 0 ;
27813 PyObject
* obj5
= 0 ;
27814 char *kwnames
[] = {
27815 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27821 arg2
= (int) SWIG_AsInt(obj1
);
27822 if (PyErr_Occurred()) SWIG_fail
;
27823 arg3
= (int) SWIG_AsInt(obj2
);
27824 if (PyErr_Occurred()) SWIG_fail
;
27825 arg4
= (int) SWIG_AsInt(obj3
);
27826 if (PyErr_Occurred()) SWIG_fail
;
27827 arg5
= (int) SWIG_AsInt(obj4
);
27828 if (PyErr_Occurred()) SWIG_fail
;
27830 arg6
= (int) SWIG_AsInt(obj5
);
27831 if (PyErr_Occurred()) SWIG_fail
;
27834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27835 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
27837 wxPyEndAllowThreads(__tstate
);
27838 if (PyErr_Occurred()) SWIG_fail
;
27840 Py_INCREF(Py_None
); resultobj
= Py_None
;
27847 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27848 PyObject
*resultobj
;
27849 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27852 PyObject
* obj0
= 0 ;
27853 PyObject
* obj1
= 0 ;
27854 PyObject
* obj2
= 0 ;
27855 char *kwnames
[] = {
27856 (char *) "self",(char *) "width",(char *) "height", NULL
27859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27862 arg2
= (int) SWIG_AsInt(obj1
);
27863 if (PyErr_Occurred()) SWIG_fail
;
27864 arg3
= (int) SWIG_AsInt(obj2
);
27865 if (PyErr_Occurred()) SWIG_fail
;
27867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27868 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
27870 wxPyEndAllowThreads(__tstate
);
27871 if (PyErr_Occurred()) SWIG_fail
;
27873 Py_INCREF(Py_None
); resultobj
= Py_None
;
27880 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27881 PyObject
*resultobj
;
27882 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27885 PyObject
* obj0
= 0 ;
27886 PyObject
* obj1
= 0 ;
27887 PyObject
* obj2
= 0 ;
27888 char *kwnames
[] = {
27889 (char *) "self",(char *) "x",(char *) "y", NULL
27892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27895 arg2
= (int) SWIG_AsInt(obj1
);
27896 if (PyErr_Occurred()) SWIG_fail
;
27897 arg3
= (int) SWIG_AsInt(obj2
);
27898 if (PyErr_Occurred()) SWIG_fail
;
27900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27901 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
27903 wxPyEndAllowThreads(__tstate
);
27904 if (PyErr_Occurred()) SWIG_fail
;
27906 Py_INCREF(Py_None
); resultobj
= Py_None
;
27913 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27914 PyObject
*resultobj
;
27915 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27916 int *arg2
= (int *) 0 ;
27917 int *arg3
= (int *) 0 ;
27920 PyObject
* obj0
= 0 ;
27921 char *kwnames
[] = {
27922 (char *) "self", NULL
27927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
27928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27932 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
27934 wxPyEndAllowThreads(__tstate
);
27935 if (PyErr_Occurred()) SWIG_fail
;
27937 Py_INCREF(Py_None
); resultobj
= Py_None
;
27939 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27940 resultobj
= t_output_helper(resultobj
,o
);
27943 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27944 resultobj
= t_output_helper(resultobj
,o
);
27952 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27953 PyObject
*resultobj
;
27954 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27955 int *arg2
= (int *) 0 ;
27956 int *arg3
= (int *) 0 ;
27959 PyObject
* obj0
= 0 ;
27960 char *kwnames
[] = {
27961 (char *) "self", NULL
27966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
27967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27971 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
27973 wxPyEndAllowThreads(__tstate
);
27974 if (PyErr_Occurred()) SWIG_fail
;
27976 Py_INCREF(Py_None
); resultobj
= Py_None
;
27978 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27979 resultobj
= t_output_helper(resultobj
,o
);
27982 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27983 resultobj
= t_output_helper(resultobj
,o
);
27991 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27992 PyObject
*resultobj
;
27993 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27994 int *arg2
= (int *) 0 ;
27995 int *arg3
= (int *) 0 ;
27998 PyObject
* obj0
= 0 ;
27999 char *kwnames
[] = {
28000 (char *) "self", NULL
28005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
28006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28010 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
28012 wxPyEndAllowThreads(__tstate
);
28013 if (PyErr_Occurred()) SWIG_fail
;
28015 Py_INCREF(Py_None
); resultobj
= Py_None
;
28017 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28018 resultobj
= t_output_helper(resultobj
,o
);
28021 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28022 resultobj
= t_output_helper(resultobj
,o
);
28030 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28031 PyObject
*resultobj
;
28032 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28034 PyObject
* obj0
= 0 ;
28035 char *kwnames
[] = {
28036 (char *) "self", NULL
28039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
28040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28044 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
28046 wxPyEndAllowThreads(__tstate
);
28047 if (PyErr_Occurred()) SWIG_fail
;
28050 wxSize
* resultptr
;
28051 resultptr
= new wxSize((wxSize
&) result
);
28052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28060 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28061 PyObject
*resultobj
;
28062 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28064 PyObject
* obj0
= 0 ;
28065 char *kwnames
[] = {
28066 (char *) "self", NULL
28069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
28070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28074 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
28076 wxPyEndAllowThreads(__tstate
);
28077 if (PyErr_Occurred()) SWIG_fail
;
28080 wxSize
* resultptr
;
28081 resultptr
= new wxSize((wxSize
&) result
);
28082 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28090 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28091 PyObject
*resultobj
;
28092 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28093 PyObject
* obj0
= 0 ;
28094 char *kwnames
[] = {
28095 (char *) "self", NULL
28098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
28099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28103 (arg1
)->base_InitDialog();
28105 wxPyEndAllowThreads(__tstate
);
28106 if (PyErr_Occurred()) SWIG_fail
;
28108 Py_INCREF(Py_None
); resultobj
= Py_None
;
28115 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28116 PyObject
*resultobj
;
28117 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28119 PyObject
* obj0
= 0 ;
28120 char *kwnames
[] = {
28121 (char *) "self", NULL
28124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28129 result
= (bool)(arg1
)->base_TransferDataToWindow();
28131 wxPyEndAllowThreads(__tstate
);
28132 if (PyErr_Occurred()) SWIG_fail
;
28135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28143 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28144 PyObject
*resultobj
;
28145 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28147 PyObject
* obj0
= 0 ;
28148 char *kwnames
[] = {
28149 (char *) "self", NULL
28152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28157 result
= (bool)(arg1
)->base_TransferDataFromWindow();
28159 wxPyEndAllowThreads(__tstate
);
28160 if (PyErr_Occurred()) SWIG_fail
;
28163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28171 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28172 PyObject
*resultobj
;
28173 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28175 PyObject
* obj0
= 0 ;
28176 char *kwnames
[] = {
28177 (char *) "self", NULL
28180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
28181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28185 result
= (bool)(arg1
)->base_Validate();
28187 wxPyEndAllowThreads(__tstate
);
28188 if (PyErr_Occurred()) SWIG_fail
;
28191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28199 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28200 PyObject
*resultobj
;
28201 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28203 PyObject
* obj0
= 0 ;
28204 char *kwnames
[] = {
28205 (char *) "self", NULL
28208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28213 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
28215 wxPyEndAllowThreads(__tstate
);
28216 if (PyErr_Occurred()) SWIG_fail
;
28219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28227 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28228 PyObject
*resultobj
;
28229 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28231 PyObject
* obj0
= 0 ;
28232 char *kwnames
[] = {
28233 (char *) "self", NULL
28236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28241 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
28243 wxPyEndAllowThreads(__tstate
);
28244 if (PyErr_Occurred()) SWIG_fail
;
28247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28255 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28256 PyObject
*resultobj
;
28257 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28259 PyObject
* obj0
= 0 ;
28260 char *kwnames
[] = {
28261 (char *) "self", NULL
28264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28269 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28271 wxPyEndAllowThreads(__tstate
);
28272 if (PyErr_Occurred()) SWIG_fail
;
28275 wxSize
* resultptr
;
28276 resultptr
= new wxSize((wxSize
&) result
);
28277 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28285 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28286 PyObject
*resultobj
;
28287 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28288 wxWindow
*arg2
= (wxWindow
*) 0 ;
28289 PyObject
* obj0
= 0 ;
28290 PyObject
* obj1
= 0 ;
28291 char *kwnames
[] = {
28292 (char *) "self",(char *) "child", NULL
28295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28302 (arg1
)->base_AddChild(arg2
);
28304 wxPyEndAllowThreads(__tstate
);
28305 if (PyErr_Occurred()) SWIG_fail
;
28307 Py_INCREF(Py_None
); resultobj
= Py_None
;
28314 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28315 PyObject
*resultobj
;
28316 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28317 wxWindow
*arg2
= (wxWindow
*) 0 ;
28318 PyObject
* obj0
= 0 ;
28319 PyObject
* obj1
= 0 ;
28320 char *kwnames
[] = {
28321 (char *) "self",(char *) "child", NULL
28324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28327 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28331 (arg1
)->base_RemoveChild(arg2
);
28333 wxPyEndAllowThreads(__tstate
);
28334 if (PyErr_Occurred()) SWIG_fail
;
28336 Py_INCREF(Py_None
); resultobj
= Py_None
;
28343 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
28345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28346 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28348 return Py_BuildValue((char *)"");
28350 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28351 PyObject
*resultobj
;
28352 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28353 int arg2
= (int) 0 ;
28354 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28355 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28356 wxHelpEvent
*result
;
28358 PyObject
* obj0
= 0 ;
28359 PyObject
* obj1
= 0 ;
28360 PyObject
* obj2
= 0 ;
28361 char *kwnames
[] = {
28362 (char *) "type",(char *) "winid",(char *) "pt", NULL
28365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28367 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
28368 if (PyErr_Occurred()) SWIG_fail
;
28371 arg2
= (int) SWIG_AsInt(obj1
);
28372 if (PyErr_Occurred()) SWIG_fail
;
28377 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28382 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28384 wxPyEndAllowThreads(__tstate
);
28385 if (PyErr_Occurred()) SWIG_fail
;
28387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
28394 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28395 PyObject
*resultobj
;
28396 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28398 PyObject
* obj0
= 0 ;
28399 char *kwnames
[] = {
28400 (char *) "self", NULL
28403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28408 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28410 wxPyEndAllowThreads(__tstate
);
28411 if (PyErr_Occurred()) SWIG_fail
;
28414 wxPoint
* resultptr
;
28415 resultptr
= new wxPoint((wxPoint
&) result
);
28416 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28424 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28425 PyObject
*resultobj
;
28426 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28427 wxPoint
*arg2
= 0 ;
28429 PyObject
* obj0
= 0 ;
28430 PyObject
* obj1
= 0 ;
28431 char *kwnames
[] = {
28432 (char *) "self",(char *) "pos", NULL
28435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28440 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28444 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28446 wxPyEndAllowThreads(__tstate
);
28447 if (PyErr_Occurred()) SWIG_fail
;
28449 Py_INCREF(Py_None
); resultobj
= Py_None
;
28456 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28457 PyObject
*resultobj
;
28458 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28460 PyObject
* obj0
= 0 ;
28461 char *kwnames
[] = {
28462 (char *) "self", NULL
28465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28471 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
28472 result
= (wxString
*) &_result_ref
;
28475 wxPyEndAllowThreads(__tstate
);
28476 if (PyErr_Occurred()) SWIG_fail
;
28480 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28482 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28491 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28492 PyObject
*resultobj
;
28493 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28494 wxString
*arg2
= 0 ;
28495 bool temp2
= False
;
28496 PyObject
* obj0
= 0 ;
28497 PyObject
* obj1
= 0 ;
28498 char *kwnames
[] = {
28499 (char *) "self",(char *) "link", NULL
28502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
28503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28506 arg2
= wxString_in_helper(obj1
);
28507 if (arg2
== NULL
) SWIG_fail
;
28511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28512 (arg1
)->SetLink((wxString
const &)*arg2
);
28514 wxPyEndAllowThreads(__tstate
);
28515 if (PyErr_Occurred()) SWIG_fail
;
28517 Py_INCREF(Py_None
); resultobj
= Py_None
;
28532 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28533 PyObject
*resultobj
;
28534 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28536 PyObject
* obj0
= 0 ;
28537 char *kwnames
[] = {
28538 (char *) "self", NULL
28541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
28542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28547 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
28548 result
= (wxString
*) &_result_ref
;
28551 wxPyEndAllowThreads(__tstate
);
28552 if (PyErr_Occurred()) SWIG_fail
;
28556 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28558 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28567 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28568 PyObject
*resultobj
;
28569 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28570 wxString
*arg2
= 0 ;
28571 bool temp2
= False
;
28572 PyObject
* obj0
= 0 ;
28573 PyObject
* obj1
= 0 ;
28574 char *kwnames
[] = {
28575 (char *) "self",(char *) "target", NULL
28578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28582 arg2
= wxString_in_helper(obj1
);
28583 if (arg2
== NULL
) SWIG_fail
;
28587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28588 (arg1
)->SetTarget((wxString
const &)*arg2
);
28590 wxPyEndAllowThreads(__tstate
);
28591 if (PyErr_Occurred()) SWIG_fail
;
28593 Py_INCREF(Py_None
); resultobj
= Py_None
;
28608 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
28610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28611 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
28613 return Py_BuildValue((char *)"");
28615 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28616 PyObject
*resultobj
;
28617 wxWindow
*arg1
= (wxWindow
*) NULL
;
28618 bool arg2
= (bool) True
;
28619 wxContextHelp
*result
;
28620 PyObject
* obj0
= 0 ;
28621 PyObject
* obj1
= 0 ;
28622 char *kwnames
[] = {
28623 (char *) "window",(char *) "doNow", NULL
28626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28632 arg2
= (bool) SWIG_AsBool(obj1
);
28633 if (PyErr_Occurred()) SWIG_fail
;
28636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28637 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
28639 wxPyEndAllowThreads(__tstate
);
28640 if (PyErr_Occurred()) SWIG_fail
;
28642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
28649 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28650 PyObject
*resultobj
;
28651 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28652 PyObject
* obj0
= 0 ;
28653 char *kwnames
[] = {
28654 (char *) "self", NULL
28657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
28658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28664 wxPyEndAllowThreads(__tstate
);
28665 if (PyErr_Occurred()) SWIG_fail
;
28667 Py_INCREF(Py_None
); resultobj
= Py_None
;
28674 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28675 PyObject
*resultobj
;
28676 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28677 wxWindow
*arg2
= (wxWindow
*) NULL
;
28679 PyObject
* obj0
= 0 ;
28680 PyObject
* obj1
= 0 ;
28681 char *kwnames
[] = {
28682 (char *) "self",(char *) "window", NULL
28685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28689 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28694 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
28696 wxPyEndAllowThreads(__tstate
);
28697 if (PyErr_Occurred()) SWIG_fail
;
28700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28708 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28709 PyObject
*resultobj
;
28710 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28712 PyObject
* obj0
= 0 ;
28713 char *kwnames
[] = {
28714 (char *) "self", NULL
28717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
28718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28722 result
= (bool)(arg1
)->EndContextHelp();
28724 wxPyEndAllowThreads(__tstate
);
28725 if (PyErr_Occurred()) SWIG_fail
;
28728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28736 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
28738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28739 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
28741 return Py_BuildValue((char *)"");
28743 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28744 PyObject
*resultobj
;
28745 wxWindow
*arg1
= (wxWindow
*) 0 ;
28746 int arg2
= (int) wxID_CONTEXT_HELP
;
28747 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28748 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28749 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28750 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28751 long arg5
= (long) wxBU_AUTODRAW
;
28752 wxContextHelpButton
*result
;
28755 PyObject
* obj0
= 0 ;
28756 PyObject
* obj1
= 0 ;
28757 PyObject
* obj2
= 0 ;
28758 PyObject
* obj3
= 0 ;
28759 PyObject
* obj4
= 0 ;
28760 char *kwnames
[] = {
28761 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28768 arg2
= (int) SWIG_AsInt(obj1
);
28769 if (PyErr_Occurred()) SWIG_fail
;
28774 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28780 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28784 arg5
= (long) SWIG_AsLong(obj4
);
28785 if (PyErr_Occurred()) SWIG_fail
;
28788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28789 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28791 wxPyEndAllowThreads(__tstate
);
28792 if (PyErr_Occurred()) SWIG_fail
;
28794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
28801 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
28803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28804 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
28806 return Py_BuildValue((char *)"");
28808 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28809 PyObject
*resultobj
;
28810 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28811 wxHelpProvider
*result
;
28812 PyObject
* obj0
= 0 ;
28813 char *kwnames
[] = {
28814 (char *) "helpProvider", NULL
28817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
28818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28822 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
28824 wxPyEndAllowThreads(__tstate
);
28825 if (PyErr_Occurred()) SWIG_fail
;
28827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
28834 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28835 PyObject
*resultobj
;
28836 wxHelpProvider
*result
;
28837 char *kwnames
[] = {
28841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
28843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28844 result
= (wxHelpProvider
*)wxHelpProvider::Get();
28846 wxPyEndAllowThreads(__tstate
);
28847 if (PyErr_Occurred()) SWIG_fail
;
28849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
28856 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28857 PyObject
*resultobj
;
28858 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28859 wxWindow
*arg2
= (wxWindow
*) 0 ;
28861 PyObject
* obj0
= 0 ;
28862 PyObject
* obj1
= 0 ;
28863 char *kwnames
[] = {
28864 (char *) "self",(char *) "window", NULL
28867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28870 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28874 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
28876 wxPyEndAllowThreads(__tstate
);
28877 if (PyErr_Occurred()) SWIG_fail
;
28881 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28883 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28892 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28893 PyObject
*resultobj
;
28894 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28895 wxWindow
*arg2
= (wxWindow
*) 0 ;
28897 PyObject
* obj0
= 0 ;
28898 PyObject
* obj1
= 0 ;
28899 char *kwnames
[] = {
28900 (char *) "self",(char *) "window", NULL
28903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28906 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28910 result
= (bool)(arg1
)->ShowHelp(arg2
);
28912 wxPyEndAllowThreads(__tstate
);
28913 if (PyErr_Occurred()) SWIG_fail
;
28916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28924 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28925 PyObject
*resultobj
;
28926 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28927 wxWindow
*arg2
= (wxWindow
*) 0 ;
28928 wxString
*arg3
= 0 ;
28929 bool temp3
= False
;
28930 PyObject
* obj0
= 0 ;
28931 PyObject
* obj1
= 0 ;
28932 PyObject
* obj2
= 0 ;
28933 char *kwnames
[] = {
28934 (char *) "self",(char *) "window",(char *) "text", NULL
28937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28943 arg3
= wxString_in_helper(obj2
);
28944 if (arg3
== NULL
) SWIG_fail
;
28948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28949 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28951 wxPyEndAllowThreads(__tstate
);
28952 if (PyErr_Occurred()) SWIG_fail
;
28954 Py_INCREF(Py_None
); resultobj
= Py_None
;
28969 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28970 PyObject
*resultobj
;
28971 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28973 wxString
*arg3
= 0 ;
28974 bool temp3
= False
;
28975 PyObject
* obj0
= 0 ;
28976 PyObject
* obj1
= 0 ;
28977 PyObject
* obj2
= 0 ;
28978 char *kwnames
[] = {
28979 (char *) "self",(char *) "id",(char *) "text", NULL
28982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28985 arg2
= (int) SWIG_AsInt(obj1
);
28986 if (PyErr_Occurred()) SWIG_fail
;
28988 arg3
= wxString_in_helper(obj2
);
28989 if (arg3
== NULL
) SWIG_fail
;
28993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28994 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28996 wxPyEndAllowThreads(__tstate
);
28997 if (PyErr_Occurred()) SWIG_fail
;
28999 Py_INCREF(Py_None
); resultobj
= Py_None
;
29014 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29015 PyObject
*resultobj
;
29016 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29017 wxWindow
*arg2
= (wxWindow
*) 0 ;
29018 PyObject
* obj0
= 0 ;
29019 PyObject
* obj1
= 0 ;
29020 char *kwnames
[] = {
29021 (char *) "self",(char *) "window", NULL
29024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29031 (arg1
)->RemoveHelp(arg2
);
29033 wxPyEndAllowThreads(__tstate
);
29034 if (PyErr_Occurred()) SWIG_fail
;
29036 Py_INCREF(Py_None
); resultobj
= Py_None
;
29043 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29044 PyObject
*resultobj
;
29045 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29046 PyObject
* obj0
= 0 ;
29047 char *kwnames
[] = {
29048 (char *) "self", NULL
29051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
29052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29056 wxHelpProvider_Destroy(arg1
);
29058 wxPyEndAllowThreads(__tstate
);
29059 if (PyErr_Occurred()) SWIG_fail
;
29061 Py_INCREF(Py_None
); resultobj
= Py_None
;
29068 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
29070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29071 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
29073 return Py_BuildValue((char *)"");
29075 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29076 PyObject
*resultobj
;
29077 wxSimpleHelpProvider
*result
;
29078 char *kwnames
[] = {
29082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
29084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29085 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
29087 wxPyEndAllowThreads(__tstate
);
29088 if (PyErr_Occurred()) SWIG_fail
;
29090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
29097 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
29099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29100 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
29102 return Py_BuildValue((char *)"");
29104 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29105 PyObject
*resultobj
;
29106 wxBitmap
*arg1
= 0 ;
29107 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29108 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29109 wxGenericDragImage
*result
;
29110 PyObject
* obj0
= 0 ;
29111 PyObject
* obj1
= 0 ;
29112 char *kwnames
[] = {
29113 (char *) "image",(char *) "cursor", NULL
29116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
29117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
29118 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29120 if (arg1
== NULL
) {
29121 PyErr_SetString(PyExc_TypeError
,"null reference");
29125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29126 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29128 if (arg2
== NULL
) {
29129 PyErr_SetString(PyExc_TypeError
,"null reference");
29134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29135 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
29137 wxPyEndAllowThreads(__tstate
);
29138 if (PyErr_Occurred()) SWIG_fail
;
29140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29147 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29148 PyObject
*resultobj
;
29150 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29151 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29152 wxGenericDragImage
*result
;
29153 PyObject
* obj0
= 0 ;
29154 PyObject
* obj1
= 0 ;
29155 char *kwnames
[] = {
29156 (char *) "image",(char *) "cursor", NULL
29159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
29160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
29161 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29163 if (arg1
== NULL
) {
29164 PyErr_SetString(PyExc_TypeError
,"null reference");
29168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29169 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29171 if (arg2
== NULL
) {
29172 PyErr_SetString(PyExc_TypeError
,"null reference");
29177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29178 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
29180 wxPyEndAllowThreads(__tstate
);
29181 if (PyErr_Occurred()) SWIG_fail
;
29183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29190 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29191 PyObject
*resultobj
;
29192 wxString
*arg1
= 0 ;
29193 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29194 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29195 wxGenericDragImage
*result
;
29196 bool temp1
= False
;
29197 PyObject
* obj0
= 0 ;
29198 PyObject
* obj1
= 0 ;
29199 char *kwnames
[] = {
29200 (char *) "str",(char *) "cursor", NULL
29203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
29205 arg1
= wxString_in_helper(obj0
);
29206 if (arg1
== NULL
) SWIG_fail
;
29210 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29211 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29213 if (arg2
== NULL
) {
29214 PyErr_SetString(PyExc_TypeError
,"null reference");
29219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29220 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
29222 wxPyEndAllowThreads(__tstate
);
29223 if (PyErr_Occurred()) SWIG_fail
;
29225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29240 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29241 PyObject
*resultobj
;
29242 wxPyTreeCtrl
*arg1
= 0 ;
29243 wxTreeItemId
*arg2
= 0 ;
29244 wxGenericDragImage
*result
;
29245 PyObject
* obj0
= 0 ;
29246 PyObject
* obj1
= 0 ;
29247 char *kwnames
[] = {
29248 (char *) "treeCtrl",(char *) "id", NULL
29251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
29253 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29255 if (arg1
== NULL
) {
29256 PyErr_SetString(PyExc_TypeError
,"null reference");
29259 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
29260 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29262 if (arg2
== NULL
) {
29263 PyErr_SetString(PyExc_TypeError
,"null reference");
29267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29268 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
29270 wxPyEndAllowThreads(__tstate
);
29271 if (PyErr_Occurred()) SWIG_fail
;
29273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29280 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29281 PyObject
*resultobj
;
29282 wxPyListCtrl
*arg1
= 0 ;
29284 wxGenericDragImage
*result
;
29285 PyObject
* obj0
= 0 ;
29286 PyObject
* obj1
= 0 ;
29287 char *kwnames
[] = {
29288 (char *) "listCtrl",(char *) "id", NULL
29291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
29293 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29295 if (arg1
== NULL
) {
29296 PyErr_SetString(PyExc_TypeError
,"null reference");
29299 arg2
= (long) SWIG_AsLong(obj1
);
29300 if (PyErr_Occurred()) SWIG_fail
;
29302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29303 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
29305 wxPyEndAllowThreads(__tstate
);
29306 if (PyErr_Occurred()) SWIG_fail
;
29308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29315 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29316 PyObject
*resultobj
;
29317 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29318 PyObject
* obj0
= 0 ;
29319 char *kwnames
[] = {
29320 (char *) "self", NULL
29323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
29324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29330 wxPyEndAllowThreads(__tstate
);
29331 if (PyErr_Occurred()) SWIG_fail
;
29333 Py_INCREF(Py_None
); resultobj
= Py_None
;
29340 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29341 PyObject
*resultobj
;
29342 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29343 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29344 PyObject
* obj0
= 0 ;
29345 PyObject
* obj1
= 0 ;
29346 char *kwnames
[] = {
29347 (char *) "self",(char *) "bitmap", NULL
29350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
29354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29357 (arg1
)->SetBackingBitmap(arg2
);
29359 wxPyEndAllowThreads(__tstate
);
29360 if (PyErr_Occurred()) SWIG_fail
;
29362 Py_INCREF(Py_None
); resultobj
= Py_None
;
29369 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29370 PyObject
*resultobj
;
29371 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29372 wxPoint
*arg2
= 0 ;
29373 wxWindow
*arg3
= (wxWindow
*) 0 ;
29374 bool arg4
= (bool) False
;
29375 wxRect
*arg5
= (wxRect
*) NULL
;
29378 PyObject
* obj0
= 0 ;
29379 PyObject
* obj1
= 0 ;
29380 PyObject
* obj2
= 0 ;
29381 PyObject
* obj3
= 0 ;
29382 PyObject
* obj4
= 0 ;
29383 char *kwnames
[] = {
29384 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29392 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29394 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29397 arg4
= (bool) SWIG_AsBool(obj3
);
29398 if (PyErr_Occurred()) SWIG_fail
;
29401 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
29402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29406 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
29408 wxPyEndAllowThreads(__tstate
);
29409 if (PyErr_Occurred()) SWIG_fail
;
29412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29420 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29421 PyObject
*resultobj
;
29422 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29423 wxPoint
*arg2
= 0 ;
29424 wxWindow
*arg3
= (wxWindow
*) 0 ;
29425 wxWindow
*arg4
= (wxWindow
*) 0 ;
29428 PyObject
* obj0
= 0 ;
29429 PyObject
* obj1
= 0 ;
29430 PyObject
* obj2
= 0 ;
29431 PyObject
* obj3
= 0 ;
29432 char *kwnames
[] = {
29433 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29441 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29443 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29445 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
29446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29449 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29451 wxPyEndAllowThreads(__tstate
);
29452 if (PyErr_Occurred()) SWIG_fail
;
29455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29463 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29464 PyObject
*resultobj
;
29465 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29467 PyObject
* obj0
= 0 ;
29468 char *kwnames
[] = {
29469 (char *) "self", NULL
29472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
29473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29477 result
= (bool)(arg1
)->EndDrag();
29479 wxPyEndAllowThreads(__tstate
);
29480 if (PyErr_Occurred()) SWIG_fail
;
29483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29491 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29492 PyObject
*resultobj
;
29493 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29494 wxPoint
*arg2
= 0 ;
29497 PyObject
* obj0
= 0 ;
29498 PyObject
* obj1
= 0 ;
29499 char *kwnames
[] = {
29500 (char *) "self",(char *) "pt", NULL
29503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
29504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29508 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29512 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
29514 wxPyEndAllowThreads(__tstate
);
29515 if (PyErr_Occurred()) SWIG_fail
;
29518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29526 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29527 PyObject
*resultobj
;
29528 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29530 PyObject
* obj0
= 0 ;
29531 char *kwnames
[] = {
29532 (char *) "self", NULL
29535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
29536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29540 result
= (bool)(arg1
)->Show();
29542 wxPyEndAllowThreads(__tstate
);
29543 if (PyErr_Occurred()) SWIG_fail
;
29546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29554 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29555 PyObject
*resultobj
;
29556 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29558 PyObject
* obj0
= 0 ;
29559 char *kwnames
[] = {
29560 (char *) "self", NULL
29563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
29564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29568 result
= (bool)(arg1
)->Hide();
29570 wxPyEndAllowThreads(__tstate
);
29571 if (PyErr_Occurred()) SWIG_fail
;
29574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29582 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29583 PyObject
*resultobj
;
29584 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29585 wxPoint
*arg2
= 0 ;
29588 PyObject
* obj0
= 0 ;
29589 PyObject
* obj1
= 0 ;
29590 char *kwnames
[] = {
29591 (char *) "self",(char *) "pos", NULL
29594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29599 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29603 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
29605 wxPyEndAllowThreads(__tstate
);
29606 if (PyErr_Occurred()) SWIG_fail
;
29609 wxRect
* resultptr
;
29610 resultptr
= new wxRect((wxRect
&) result
);
29611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29619 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29620 PyObject
*resultobj
;
29621 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29623 wxPoint
*arg3
= 0 ;
29626 PyObject
* obj0
= 0 ;
29627 PyObject
* obj1
= 0 ;
29628 PyObject
* obj2
= 0 ;
29629 char *kwnames
[] = {
29630 (char *) "self",(char *) "dc",(char *) "pos", NULL
29633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29637 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29639 if (arg2
== NULL
) {
29640 PyErr_SetString(PyExc_TypeError
,"null reference");
29645 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29649 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
29651 wxPyEndAllowThreads(__tstate
);
29652 if (PyErr_Occurred()) SWIG_fail
;
29655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29663 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29664 PyObject
*resultobj
;
29665 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29667 wxMemoryDC
*arg3
= 0 ;
29673 PyObject
* obj0
= 0 ;
29674 PyObject
* obj1
= 0 ;
29675 PyObject
* obj2
= 0 ;
29676 PyObject
* obj3
= 0 ;
29677 PyObject
* obj4
= 0 ;
29678 char *kwnames
[] = {
29679 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29686 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29688 if (arg2
== NULL
) {
29689 PyErr_SetString(PyExc_TypeError
,"null reference");
29692 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
29693 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29695 if (arg3
== NULL
) {
29696 PyErr_SetString(PyExc_TypeError
,"null reference");
29701 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29705 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
29708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29709 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
29711 wxPyEndAllowThreads(__tstate
);
29712 if (PyErr_Occurred()) SWIG_fail
;
29715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29723 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29724 PyObject
*resultobj
;
29725 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29726 wxPoint
*arg2
= 0 ;
29727 wxPoint
*arg3
= 0 ;
29733 PyObject
* obj0
= 0 ;
29734 PyObject
* obj1
= 0 ;
29735 PyObject
* obj2
= 0 ;
29736 PyObject
* obj3
= 0 ;
29737 PyObject
* obj4
= 0 ;
29738 char *kwnames
[] = {
29739 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29747 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29751 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29753 arg4
= (bool) SWIG_AsBool(obj3
);
29754 if (PyErr_Occurred()) SWIG_fail
;
29755 arg5
= (bool) SWIG_AsBool(obj4
);
29756 if (PyErr_Occurred()) SWIG_fail
;
29758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29759 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
29761 wxPyEndAllowThreads(__tstate
);
29762 if (PyErr_Occurred()) SWIG_fail
;
29765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29773 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
29775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29776 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
29778 return Py_BuildValue((char *)"");
29780 static PyMethodDef SwigMethods
[] = {
29781 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29782 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29783 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29784 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29785 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29786 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
29787 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29788 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29789 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29790 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29791 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29792 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29793 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29794 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29795 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29796 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29797 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29798 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29799 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29800 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29801 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
29802 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29803 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29804 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29805 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29806 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29807 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29808 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29809 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29810 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29811 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29812 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
29813 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29814 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29815 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29816 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29817 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29818 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29819 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
29820 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29821 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29822 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29823 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29824 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29825 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29826 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29827 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29828 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29829 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29830 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29831 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29832 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29833 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29834 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29835 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29836 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29837 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
29838 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29839 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29840 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29841 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29842 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29843 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29844 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29845 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29846 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29847 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29848 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29849 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29850 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
29851 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29852 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29853 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29854 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
29855 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29856 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29857 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29858 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29859 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29860 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
29861 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29862 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29863 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29864 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
29865 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29866 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29867 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29868 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29869 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29870 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29871 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
29872 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29873 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29874 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29875 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29876 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29877 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29878 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29879 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29880 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29881 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29882 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29883 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29884 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29885 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29886 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29887 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29888 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29889 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29890 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29891 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29892 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29893 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
29894 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29895 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29896 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29897 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29898 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29899 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29900 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29901 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
29902 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
, NULL
},
29903 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29904 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29905 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29906 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29907 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29908 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29909 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29910 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29911 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29912 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29913 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29914 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29915 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29916 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29917 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29918 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29919 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29920 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29921 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29922 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29923 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29924 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29925 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29926 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29927 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29928 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29929 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29930 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29931 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
29932 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29933 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29934 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29935 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29936 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29937 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29938 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29939 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29940 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29941 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29942 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29943 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29944 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29945 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29946 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29947 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29948 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29949 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29950 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29951 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29952 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29953 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29954 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29955 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29956 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29957 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29958 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29959 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29960 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29961 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29962 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29963 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29964 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29965 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29966 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29967 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29968 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29969 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29970 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29971 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29972 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29973 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29974 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29975 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29976 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29977 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29978 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29979 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29980 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29981 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29982 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29983 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29984 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29985 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
29986 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29987 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29988 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29989 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29990 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
29991 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29992 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29993 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29994 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29995 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29996 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29997 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29998 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29999 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30000 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30001 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
30002 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30003 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30004 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30005 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30006 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30007 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30008 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30009 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30010 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30011 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30012 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30013 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
30014 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30015 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30016 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30017 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30018 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30019 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30020 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30021 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30022 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30023 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30024 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
30025 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30026 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30027 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30028 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
30029 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30030 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30031 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30032 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30033 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30034 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30035 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30036 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30037 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30038 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30039 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30040 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30041 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30042 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30043 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30044 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30045 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
30046 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30047 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30048 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30049 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30050 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30051 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
30052 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30053 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30054 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30055 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30056 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30057 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30058 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30059 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30060 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30061 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30062 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30063 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30064 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30065 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30066 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30067 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30068 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30069 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30070 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30071 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30072 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30073 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30074 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30075 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30076 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
30077 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30078 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30079 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
30080 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30081 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30082 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30083 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30084 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30085 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30086 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30087 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30088 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30089 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30090 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30091 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30092 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30093 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30094 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30095 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30096 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30097 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30098 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30099 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
, NULL
},
30100 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30101 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30102 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30103 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30104 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30105 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
, NULL
},
30106 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30107 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30108 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30109 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30110 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30111 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30112 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30113 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30114 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
30115 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30116 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
30117 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30118 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30119 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30120 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30121 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
30122 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30123 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
30124 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30125 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30126 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30127 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30128 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
30129 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30130 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30131 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30132 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30133 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
30134 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30135 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30136 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30137 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30138 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30139 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30140 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30141 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30142 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30143 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30144 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30145 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30146 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30147 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30148 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30149 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30150 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30151 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30152 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30153 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30154 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30155 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30156 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30157 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30158 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30159 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30160 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30161 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30162 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30163 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
30164 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30165 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30166 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30167 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30168 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30169 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30170 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30171 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30172 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30173 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30174 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30175 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30176 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30177 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30178 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30179 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30180 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30181 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30182 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30183 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30184 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30185 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30186 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30187 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30188 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30189 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30190 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30191 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30192 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30193 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30194 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30195 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30196 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30197 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30198 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30199 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30200 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30201 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30202 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30203 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30204 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30205 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30206 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30207 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30208 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
30209 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30210 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30211 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30212 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30213 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
30214 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30215 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30216 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30217 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30218 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30219 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30220 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30221 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30222 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30223 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30224 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30225 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
30226 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30227 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30228 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30229 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30230 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30231 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30232 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30233 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30234 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30235 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30236 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30237 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30238 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30239 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30240 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30241 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30242 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30243 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30244 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30245 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30246 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30247 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30248 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30249 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30250 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30251 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30252 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30253 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30254 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30255 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30256 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30257 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30258 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30259 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30260 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30261 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30262 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30263 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30264 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30265 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30266 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30267 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30268 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30269 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30270 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30271 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30272 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30273 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30274 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30275 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30276 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30277 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
30278 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30279 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30280 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30281 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30282 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30283 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30284 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30285 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30286 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30287 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30288 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30289 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30290 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30291 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30292 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30293 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30294 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30295 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30296 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30297 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30298 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30299 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30300 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30301 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30302 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30303 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30304 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
30305 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30306 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30307 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30308 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30309 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30310 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30311 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30312 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30313 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30314 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30315 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30316 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30317 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30318 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30319 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30320 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30321 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30322 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30323 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30324 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30325 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30326 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30327 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30328 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30329 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30330 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30331 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30332 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30333 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30334 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30335 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30336 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30337 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30338 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30339 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30340 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30341 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30342 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30343 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30344 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30345 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30346 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30347 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30348 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30349 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30350 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30351 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30352 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30353 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30354 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30355 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30356 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30357 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30358 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30359 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30360 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30361 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30362 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30363 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30364 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30365 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30366 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30367 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30368 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30369 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30370 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30371 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30372 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30373 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30374 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
30375 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30376 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30377 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30378 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30379 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30380 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30381 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30382 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30383 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30384 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30385 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30386 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
30387 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30388 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30389 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30390 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30391 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30392 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30393 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30394 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
30395 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30396 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30397 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30398 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30399 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30400 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30401 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
30402 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30403 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30404 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30405 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30406 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30407 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30408 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30409 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30410 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30411 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30412 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30413 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30414 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30415 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30416 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30417 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
30418 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30419 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30420 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30421 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30422 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30423 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30424 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30425 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30426 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30427 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30428 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30429 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30430 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30431 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30432 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30433 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30434 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30435 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30436 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30437 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30438 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30439 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30440 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30441 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30442 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30443 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30444 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30445 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30446 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30447 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30448 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30449 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30450 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30451 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30452 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30453 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30454 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30455 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30456 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30457 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30458 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30459 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30460 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30461 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30462 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30463 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30464 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30465 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30466 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30467 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30468 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30469 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30470 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30471 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30472 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30473 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30474 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30475 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30476 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30477 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30478 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30479 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30480 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30481 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30482 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30483 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30484 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30485 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30486 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30487 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30488 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30489 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30490 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30491 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
30492 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30493 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30494 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30495 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30496 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30497 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30498 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30499 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30500 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30501 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30502 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30503 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30504 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30505 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30506 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30507 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30508 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30509 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30510 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30511 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30512 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30513 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
30514 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30515 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30516 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30517 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30518 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
30519 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30520 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30521 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30522 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30523 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30524 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30525 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30526 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30527 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30528 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30529 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30530 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30531 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30532 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30533 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30534 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30535 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30536 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30537 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30538 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30539 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
30540 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30541 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30542 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30543 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30544 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30545 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30546 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30547 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
30548 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30549 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30550 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30551 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30552 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
30553 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30554 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
30555 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30556 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30557 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30558 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30559 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30560 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30561 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30562 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30563 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
30564 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30565 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
30566 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30567 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30568 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30569 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30570 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30571 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30572 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30573 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30574 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30575 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30576 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30577 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30578 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30579 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30580 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30581 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30582 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30583 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
30584 { NULL
, NULL
, 0, NULL
}
30588 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30590 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
30591 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30593 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
30594 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30596 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
30597 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
30599 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
30600 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30602 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
30603 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30605 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
30606 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
30608 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
30609 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30611 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
30612 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
30614 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
30615 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
30617 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
30618 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
30620 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
30621 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30623 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
30624 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
30626 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
30627 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
30629 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
30630 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
30632 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
30633 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
30635 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
30636 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30638 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
30639 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
30641 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
30642 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
30644 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
30645 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
30647 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
30648 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30650 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
30651 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30653 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
30654 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
30656 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
30657 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30659 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
30660 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30662 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
30663 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30665 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
30666 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30668 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
30669 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
30671 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
30672 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
30674 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
30675 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30677 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
30678 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30680 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
30681 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
30683 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
30684 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
30686 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
30687 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
30689 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
30690 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
30692 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
30693 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30695 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30696 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30698 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30699 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30701 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30702 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30704 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30705 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30707 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30708 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30710 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30711 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30713 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30714 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30716 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30717 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30719 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30720 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30722 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30723 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30725 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30726 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30728 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30729 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30731 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30732 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30734 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30735 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30737 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30738 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30740 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30741 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30743 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30744 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30746 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
30747 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30749 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
30750 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
30752 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
30753 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30755 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
30756 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30758 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
30759 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
30761 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
30762 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30764 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
30765 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30767 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
30768 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
30770 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
30771 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30773 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
30774 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30776 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
30777 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30779 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
30780 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
30782 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
30783 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
30785 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
30786 return (void *)((wxControl
*) ((wxComboBox
*) x
));
30788 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
30789 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
30791 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
30792 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
30794 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
30795 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
30797 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
30798 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
30800 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
30801 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30803 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
30804 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
30806 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
30807 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
30809 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
30810 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
30812 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
30813 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
30815 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
30816 return (void *)((wxControl
*) ((wxGauge
*) x
));
30818 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
30819 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
30821 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
30822 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
30824 static void *_p_wxButtonTo_p_wxControl(void *x
) {
30825 return (void *)((wxControl
*) ((wxButton
*) x
));
30827 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
30828 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
30830 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
30831 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30833 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
30834 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
30836 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
30837 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
30839 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
30840 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
30842 static void *_p_wxListbookTo_p_wxControl(void *x
) {
30843 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
30845 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
30846 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
30848 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
30849 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
30851 static void *_p_wxListViewTo_p_wxControl(void *x
) {
30852 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
30854 static void *_p_wxSliderTo_p_wxControl(void *x
) {
30855 return (void *)((wxControl
*) ((wxSlider
*) x
));
30857 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
30858 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
30860 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
30861 return (void *)((wxControl
*) ((wxPyControl
*) x
));
30863 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
30864 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
30866 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
30867 return (void *)((wxControl
*) ((wxStaticText
*) x
));
30869 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
30870 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
30872 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
30873 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30875 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
30876 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30878 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
30879 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30881 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
30882 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
30884 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
30885 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30887 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
30888 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30890 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
30891 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30893 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
30894 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30896 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30897 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30899 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30900 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30902 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30903 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
30905 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
30906 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30908 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
30909 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
30911 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
30912 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30914 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
30915 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30917 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
30918 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
30920 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
30921 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
30923 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
30924 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30926 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
30927 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30929 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
30930 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
30932 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
30933 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30935 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
30936 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30938 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
30939 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
30941 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
30942 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30944 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
30945 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30947 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
30948 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30950 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
30951 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30953 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
30954 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30956 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
30957 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30959 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
30960 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30962 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
30963 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30965 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
30966 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30968 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
30969 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30971 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
30972 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30974 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
30975 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30977 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
30978 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30980 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
30981 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30983 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
30984 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30986 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
30987 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30989 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
30990 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30992 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
30993 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30995 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
30996 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30998 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
30999 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31001 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
31002 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31004 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
31005 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31007 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
31008 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31010 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
31011 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31013 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
31014 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
31016 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
31017 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
31019 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
31020 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
31022 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
31023 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
31025 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
31026 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31028 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
31029 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31031 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
31032 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
31034 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31035 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31037 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31038 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31040 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31041 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31043 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31044 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31046 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31047 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31049 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
31050 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31052 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
31053 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31055 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31056 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31058 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31059 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31061 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31062 return (void *)((wxObject
*) ((wxSizer
*) x
));
31064 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31065 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31067 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
31068 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31070 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
31071 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31073 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31074 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31076 static void *_p_wxEventTo_p_wxObject(void *x
) {
31077 return (void *)((wxObject
*) ((wxEvent
*) x
));
31079 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31080 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31082 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31083 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31085 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31086 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31088 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
31089 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31091 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
31092 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31094 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
31095 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31097 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31098 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31100 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31101 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31103 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31104 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31106 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31107 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31109 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31110 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31112 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31113 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31115 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
31116 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31118 static void *_p_wxControlTo_p_wxObject(void *x
) {
31119 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31121 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
31122 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31124 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
31125 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31127 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
31128 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31130 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
31131 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31133 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
31134 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31136 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31137 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31139 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
31140 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31142 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31143 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31145 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31146 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31148 static void *_p_wxListViewTo_p_wxObject(void *x
) {
31149 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31151 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
31152 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31154 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
31155 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31157 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31158 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31160 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31161 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31163 static void *_p_wxListbookTo_p_wxObject(void *x
) {
31164 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31166 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31167 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31169 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
31170 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31172 static void *_p_wxSliderTo_p_wxObject(void *x
) {
31173 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31175 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31176 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31178 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31179 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31181 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31182 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31184 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31185 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31187 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31188 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31190 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31191 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31193 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31194 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31196 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31197 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31199 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31200 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31202 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
31203 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31205 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
31206 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
31208 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31209 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31211 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31212 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31214 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31215 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31217 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31218 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31220 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31221 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31223 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31224 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31226 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31227 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31229 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31230 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31232 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31233 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31235 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31236 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31238 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31239 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31241 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31242 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31244 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31245 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31247 static void *_p_wxListEventTo_p_wxObject(void *x
) {
31248 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31250 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
31251 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31253 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
31254 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31256 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
31257 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31259 static void *_p_wxButtonTo_p_wxObject(void *x
) {
31260 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31262 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
31263 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31265 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
31266 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31268 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
31269 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31271 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31272 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31274 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
31275 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31277 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
31278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31280 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
31281 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
31283 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
31284 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
31286 static void *_p_wxListItemTo_p_wxObject(void *x
) {
31287 return (void *)((wxObject
*) ((wxListItem
*) x
));
31289 static void *_p_wxImageTo_p_wxObject(void *x
) {
31290 return (void *)((wxObject
*) ((wxImage
*) x
));
31292 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
31293 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
31295 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31296 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31298 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
31299 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31301 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
31302 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
31304 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
31305 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31307 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
31308 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31310 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
31311 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31313 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31314 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31316 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31317 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31319 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31320 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31322 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31323 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31325 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31326 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31328 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31329 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31331 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31332 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31334 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31335 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31337 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31338 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31340 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31341 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31343 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31344 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31346 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31347 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31349 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31350 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31352 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
31353 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31355 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31356 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31358 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31359 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31361 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
31362 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31364 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31365 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31367 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31368 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31370 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31371 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31373 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31374 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31376 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
31377 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
31379 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
31380 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31382 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31383 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31385 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31386 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31388 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
31389 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
31391 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
31392 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
31394 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31395 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31397 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
31398 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31400 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
31401 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
31403 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
31404 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
31406 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
31407 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
31409 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31410 return (void *)((wxWindow
*) ((wxControl
*) x
));
31412 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
31413 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
31415 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
31416 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31418 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
31419 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
31421 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
31422 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
31424 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
31425 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
31427 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
31428 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
31430 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31431 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31433 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
31434 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
31436 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
31437 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
31439 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
31440 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31442 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
31443 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
31445 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
31446 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
31448 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
31449 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
31451 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
31452 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31454 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
31455 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31457 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
31458 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31460 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
31461 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31463 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
31464 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31466 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
31467 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
31469 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
31470 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
31472 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
31473 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
31475 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
31476 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
31478 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
31479 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
31481 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
31482 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
31484 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
31485 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
31487 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
31488 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31490 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
31491 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31493 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
31494 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
31496 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
31497 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31499 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
31500 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31502 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
31503 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31505 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
31506 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
31508 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
31509 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31511 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
31512 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31514 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
31515 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31517 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
31518 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31520 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
31521 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31523 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
31524 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
31526 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
31527 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31529 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
31530 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31532 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
31533 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31535 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
31536 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
31538 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
31539 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31541 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
31542 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31544 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
31545 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31547 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
31548 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
31550 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
31551 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
31553 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
31554 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
31556 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
31557 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
31559 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}};
31560 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}};
31561 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}};
31562 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}};
31563 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}};
31564 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}};
31565 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}};
31566 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}};
31567 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}};
31568 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}};
31569 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}};
31570 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}};
31571 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}};
31572 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}};
31573 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}};
31574 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}};
31575 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}};
31576 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}};
31577 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}};
31578 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}};
31579 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}};
31580 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}};
31581 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}};
31582 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}};
31583 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}};
31584 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}};
31585 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}};
31586 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}};
31587 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}};
31588 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}};
31589 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}};
31590 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}};
31591 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}};
31592 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}};
31593 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}};
31594 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}};
31595 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}};
31596 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}};
31597 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}};
31598 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}};
31599 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}};
31600 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}};
31601 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}};
31602 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}};
31603 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}};
31604 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}};
31605 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}};
31606 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}};
31607 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}};
31608 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}};
31609 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}};
31610 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}};
31611 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}};
31612 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}};
31613 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}};
31614 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}};
31615 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}};
31616 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}};
31617 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}};
31618 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}};
31619 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}};
31620 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}};
31621 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}};
31622 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}};
31623 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}};
31624 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}};
31625 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}};
31626 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}};
31627 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}};
31628 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}};
31629 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}};
31630 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}};
31631 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}};
31632 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}};
31633 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}};
31634 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}};
31635 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}};
31636 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}};
31637 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}};
31638 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}};
31639 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}};
31640 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}};
31641 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}};
31642 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}};
31644 static swig_type_info
*swig_types_initial
[] = {
31645 _swigt__p_wxTextUrlEvent
,
31646 _swigt__p_wxBookCtrlEvent
,
31648 _swigt__p_wxCheckBox
,
31649 _swigt__p_wxPyTreeCtrl
,
31651 _swigt__p_wxGenericDirCtrl
,
31653 _swigt__p_wxPyTreeItemData
,
31654 _swigt__p_wxItemContainer
,
31655 _swigt__p_wxDirFilterListCtrl
,
31656 _swigt__p_wxPyListCtrl
,
31657 _swigt__p_wxStaticLine
,
31658 _swigt__p_wxControl
,
31659 _swigt__p_wxPyControl
,
31661 _swigt__p_wxToolBarBase
,
31663 _swigt__p_wxToggleButton
,
31664 _swigt__p_wxRadioButton
,
31665 _swigt__p_wxChoice
,
31666 _swigt__p_wxMemoryDC
,
31667 _swigt__p_wxListItemAttr
,
31672 _swigt__p_wxListView
,
31674 _swigt__p_wxTextCtrl
,
31675 _swigt__p_wxNotebook
,
31676 _swigt__p_wxNotifyEvent
,
31677 _swigt__p_wxArrayString
,
31678 _swigt__p_wxListbook
,
31679 _swigt__p_wxStaticBitmap
,
31680 _swigt__p_wxSlider
,
31681 _swigt__p_wxStaticBox
,
31682 _swigt__p_wxArrayInt
,
31683 _swigt__p_wxContextHelp
,
31685 _swigt__p_wxEvtHandler
,
31686 _swigt__p_wxListEvent
,
31687 _swigt__p_wxListBox
,
31688 _swigt__p_wxCheckListBox
,
31689 _swigt__p_wxBookCtrl
,
31690 _swigt__p_wxSpinButton
,
31691 _swigt__p_wxButton
,
31692 _swigt__p_wxBitmapButton
,
31694 _swigt__p_wxContextHelpButton
,
31695 _swigt__p_wxRadioBox
,
31696 _swigt__p_wxScrollBar
,
31698 _swigt__p_wxTreeItemId
,
31699 _swigt__p_wxComboBox
,
31700 _swigt__p_wxHelpEvent
,
31701 _swigt__p_wxListItem
,
31702 _swigt__p_wxNotebookSizer
,
31703 _swigt__p_wxSpinEvent
,
31704 _swigt__p_wxGenericDragImage
,
31705 _swigt__p_wxSpinCtrl
,
31706 _swigt__p_wxImageList
,
31707 _swigt__p_wxHelpProvider
,
31708 _swigt__p_wxTextAttr
,
31709 _swigt__p_wxSimpleHelpProvider
,
31711 _swigt__p_wxListbookEvent
,
31712 _swigt__p_wxNotebookEvent
,
31713 _swigt__p_wxObject
,
31714 _swigt__p_wxCursor
,
31715 _swigt__p_wxKeyEvent
,
31716 _swigt__p_wxWindow
,
31717 _swigt__p_wxString
,
31718 _swigt__p_wxBitmap
,
31719 _swigt__p_wxTreeEvent
,
31720 _swigt__p_wxMouseEvent
,
31721 _swigt__p_wxCommandEvent
,
31722 _swigt__p_wxStaticText
,
31723 _swigt__p_wxControlWithItems
,
31724 _swigt__p_wxToolBarToolBase
,
31725 _swigt__p_wxColour
,
31726 _swigt__p_wxToolBar
,
31727 _swigt__p_wxBookCtrlSizer
,
31728 _swigt__p_wxValidator
,
31733 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31735 static swig_const_info swig_const_table
[] = {
31736 {0, 0, 0, 0.0, 0, 0}};
31745 SWIGEXPORT(void) SWIG_init(void) {
31746 static PyObject
*SWIG_globals
= 0;
31747 static int typeinit
= 0;
31750 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
31751 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
31752 d
= PyModule_GetDict(m
);
31755 for (i
= 0; swig_types_initial
[i
]; i
++) {
31756 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
31760 SWIG_InstallConstants(d
,swig_const_table
);
31762 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
31763 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
31764 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
31765 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
31766 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
31767 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
31768 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
31769 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
31770 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
31771 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
31772 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
31773 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
31774 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
31775 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
31776 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
31777 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
31778 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
31779 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
31780 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
31781 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
31782 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
31783 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
31784 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
31785 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
31786 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
31787 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
31788 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
31789 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
31790 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
31791 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
31792 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
31793 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
31794 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
31795 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
31796 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
31797 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
31798 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
31799 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
31800 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
31801 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
31802 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
31803 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
31804 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
31805 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
31806 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
31807 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
31808 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
31809 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
31810 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
31811 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
31812 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
31813 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
31814 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
31815 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
31816 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
31817 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
31818 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
31819 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
31820 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
31821 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
31822 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
31823 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
31824 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
31825 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
31826 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
31827 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
31828 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
31829 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
31830 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
31831 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
31832 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
31833 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
31834 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
31835 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
31836 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
31837 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
31838 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
31839 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
31840 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
31841 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
31842 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
31843 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
31844 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
31845 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
31846 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
31847 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
31848 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
31849 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
31850 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
31851 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
31852 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
31853 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
31854 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
31855 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
31856 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
31857 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
31858 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
31859 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
31860 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
31861 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
31862 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
31863 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
31864 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
31865 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
31866 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
31867 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
31868 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
31869 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
31870 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
31871 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
31872 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
31873 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
31874 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
31875 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
31876 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
31877 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
31878 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
31879 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
31880 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
31881 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
31882 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
31883 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
31884 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
31885 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
31886 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
31887 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
31888 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
31889 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
31890 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
31891 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
31892 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
31893 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
31894 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
31895 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
31896 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
31897 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
31898 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
31899 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
31900 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
31901 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
31902 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
31903 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
31904 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
31905 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
31906 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
31907 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
31908 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
31909 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
31910 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
31911 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
31912 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
31913 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
31914 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
31915 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
31916 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
31917 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
31918 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
31919 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
31920 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
31921 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
31922 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
31923 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
31924 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
31925 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
31926 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
31927 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
31928 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
31929 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
31930 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
31931 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
31932 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
31933 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
31934 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
31935 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
31936 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
31937 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
31938 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
31939 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
31940 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
31941 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
31942 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
31943 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
31944 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
31945 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
31946 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
31947 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
31948 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
31949 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
31950 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
31951 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
31952 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
31953 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
31954 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
31955 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
31956 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
31957 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
31958 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
31959 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
31960 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
31961 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
31962 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
31963 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
31964 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
31965 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
31966 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
31967 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
31968 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
31969 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
31970 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
31971 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
31972 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
31974 // Map renamed classes back to their common name for OOR
31975 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31977 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
31978 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
31979 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
31980 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
31981 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
31982 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
31983 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
31984 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
31985 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
31986 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
31987 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
31988 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
31989 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
31990 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
31991 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
31992 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
31993 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
31994 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
31995 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
31996 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
31997 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
31998 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
31999 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
32000 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
32001 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
32002 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
32003 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
32004 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
32005 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
32006 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
32007 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
32008 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
32009 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
32010 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
32011 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
32012 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
32013 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
32014 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
32015 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
32016 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
32017 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
32018 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
32019 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
32020 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
32021 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
32022 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
32023 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
32024 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
32025 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
32026 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
32027 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
32028 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
32029 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
32030 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
32031 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
32032 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
32034 // Map renamed classes back to their common name for OOR
32035 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32036 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32038 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
32039 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
32040 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
32041 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
32042 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
32043 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
32044 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
32045 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
32046 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
32047 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
32049 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");