1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211 #define SWIGTYPE_p_wxSizer swig_types[2]
212 #define SWIGTYPE_p_wxCheckBox swig_types[3]
213 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214 #define SWIGTYPE_p_wxEvent swig_types[5]
215 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216 #define SWIGTYPE_p_bool swig_types[7]
217 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218 #define SWIGTYPE_p_wxItemContainer swig_types[9]
219 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxPyListCtrl swig_types[11]
221 #define SWIGTYPE_p_wxStaticLine swig_types[12]
222 #define SWIGTYPE_p_wxControl swig_types[13]
223 #define SWIGTYPE_p_wxPyControl swig_types[14]
224 #define SWIGTYPE_p_wxGauge swig_types[15]
225 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
226 #define SWIGTYPE_p_wxFont swig_types[17]
227 #define SWIGTYPE_p_wxToggleButton swig_types[18]
228 #define SWIGTYPE_p_wxRadioButton swig_types[19]
229 #define SWIGTYPE_p_wxChoice swig_types[20]
230 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
231 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
232 #define SWIGTYPE_p_void swig_types[23]
233 #define SWIGTYPE_p_int swig_types[24]
234 #define SWIGTYPE_p_wxSize swig_types[25]
235 #define SWIGTYPE_p_wxDC swig_types[26]
236 #define SWIGTYPE_p_wxListView swig_types[27]
237 #define SWIGTYPE_p_wxIcon swig_types[28]
238 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
239 #define SWIGTYPE_p_wxNotebook swig_types[30]
240 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
241 #define SWIGTYPE_p_wxArrayString swig_types[32]
242 #define SWIGTYPE_p_wxListbook swig_types[33]
243 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
244 #define SWIGTYPE_p_wxSlider swig_types[35]
245 #define SWIGTYPE_p_wxStaticBox swig_types[36]
246 #define SWIGTYPE_p_wxArrayInt swig_types[37]
247 #define SWIGTYPE_p_wxContextHelp swig_types[38]
248 #define SWIGTYPE_p_long swig_types[39]
249 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
250 #define SWIGTYPE_p_wxListEvent swig_types[41]
251 #define SWIGTYPE_p_wxListBox swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
254 #define SWIGTYPE_p_wxSpinButton swig_types[45]
255 #define SWIGTYPE_p_wxButton swig_types[46]
256 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
257 #define SWIGTYPE_p_wxRect swig_types[48]
258 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
259 #define SWIGTYPE_p_wxRadioBox swig_types[50]
260 #define SWIGTYPE_p_wxScrollBar swig_types[51]
261 #define SWIGTYPE_p_char swig_types[52]
262 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
263 #define SWIGTYPE_p_wxComboBox swig_types[54]
264 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
265 #define SWIGTYPE_p_wxListItem swig_types[56]
266 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
267 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
268 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
269 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
270 #define SWIGTYPE_p_wxImageList swig_types[61]
271 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
272 #define SWIGTYPE_p_wxTextAttr swig_types[63]
273 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
274 #define SWIGTYPE_p_wxPoint swig_types[65]
275 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
276 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
277 #define SWIGTYPE_p_wxObject swig_types[68]
278 #define SWIGTYPE_p_wxCursor swig_types[69]
279 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
280 #define SWIGTYPE_p_wxWindow swig_types[71]
281 #define SWIGTYPE_p_wxString swig_types[72]
282 #define SWIGTYPE_p_wxBitmap swig_types[73]
283 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
284 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
285 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
286 #define SWIGTYPE_p_wxStaticText swig_types[77]
287 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
288 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
289 #define SWIGTYPE_p_wxColour swig_types[80]
290 #define SWIGTYPE_p_wxToolBar swig_types[81]
291 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
292 #define SWIGTYPE_p_wxValidator swig_types[83]
293 static swig_type_info
*swig_types
[85];
295 /* -------- TYPES TABLE (END) -------- */
298 /*-----------------------------------------------
299 @(target):= _controls.so
300 ------------------------------------------------*/
301 #define SWIG_init init_controls
303 #define SWIG_name "_controls"
305 /* Auxiliar swig macros */
308 #define SWIGSTATICINLINE(a) static inline a
309 #define SWIGSTATIC(a) static a
310 #define swig_new_array(type, size) (new type[(size)])
311 #define swig_delete_array(cptr) delete[] cptr
312 #define swig_const_cast(type,a) const_cast<type>(a)
313 #define swig_static_cast(type,a) static_cast<type>(a)
314 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316 #ifdef HAVE_NUMERIC_CAST
317 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
319 #define swig_numeric_cast(type,a) static_cast<type>(a)
324 #define SWIGSTATICINLINE(a) static a
325 #define SWIGSTATIC(a) static a
326 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
327 #define swig_delete_array(cptr) free((char*)cptr)
328 #define swig_const_cast(type,a) (type)(a)
329 #define swig_static_cast(type,a) (type)(a)
330 #define swig_reinterpret_cast(type,a) (type)(a)
331 #define swig_numeric_cast(type,a) (type)(a)
333 #endif /* __cplusplus */
336 #define SWIG_FromSignedChar PyInt_FromLong
337 #define SWIG_FromUnsignedChar PyInt_FromLong
338 #define SWIG_FromShort PyInt_FromLong
339 #define SWIG_FromUnsignedShort PyInt_FromLong
340 #define SWIG_FromInt PyInt_FromLong
341 #define SWIG_FromLong PyInt_FromLong
342 #define SWIG_FromFloat PyFloat_FromDouble
343 #define SWIG_FromDouble PyFloat_FromDouble
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
348 #include "wx/wxPython/wxPython.h"
349 #include "wx/wxPython/pyclasses.h"
351 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
352 static const wxString
wxPyEmptyString(wxEmptyString
);
353 static const wxString
wxPyControlNameStr(wxControlNameStr
);
355 const wxArrayString wxPyEmptyStringArray
;
357 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
362 SWIGSTATICINLINE(long)
363 SWIG_CheckLongInRange(long value
, const char* type
,
364 long min_value
, long max_value
)
366 if (!PyErr_Occurred()) {
367 if (value
< min_value
) {
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value
, type
, min_value
);
372 PyErr_SetObject(PyExc_OverflowError
, err
);
374 } else if (value
> max_value
) {
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value
, type
, max_value
);
378 PyErr_SetObject(PyExc_OverflowError
, err
);
386 SWIGSTATICINLINE(long)
387 SWIG_AsLong(PyObject
* obj
)
389 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
393 #if INT_MAX != LONG_MAX
394 SWIGSTATICINLINE(int)
395 SWIG_AsInt(PyObject
*obj
)
397 return swig_numeric_cast(int,
398 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
399 "int", INT_MIN
, INT_MAX
));
402 #define SWIG_AsInt SWIG_AsLong
406 SWIGSTATICINLINE(int)
407 SWIG_CheckInt(PyObject
* obj
)
410 if (PyErr_Occurred()) {
419 SWIGSTATICINLINE(int)
420 SWIG_CheckLong(PyObject
* obj
)
423 if (PyErr_Occurred()) {
431 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
433 SWIGSTATICINLINE(bool)
434 SWIG_AsBool(PyObject
*obj
)
436 return PyObject_IsTrue(obj
) ? true : false;
440 SWIGSTATICINLINE(int)
441 SWIG_CheckBool(PyObject
* obj
)
444 if (PyErr_Occurred()) {
452 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
453 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
454 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
455 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
456 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
457 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
459 #include <wx/checklst.h>
462 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
463 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
465 wxPyClientData
* data
= new wxPyClientData(clientData
);
466 self
->Insert(item
, pos
, data
);
468 self
->Insert(item
, pos
);
470 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
472 self
->GetSelections(lst
);
473 PyObject
*tup
= PyTuple_New(lst
.GetCount());
474 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
475 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
479 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
481 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
482 self
->GetItem(item
)->SetTextColour(c
);
485 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
487 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
488 self
->GetItem(item
)->SetBackgroundColour(c
);
491 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
493 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
494 self
->GetItem(item
)->SetFont(f
);
497 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
499 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
505 } else if (target
== Py_None
) {
509 if (!PyTuple_Check(target
)) {
511 target
= PyTuple_New(1);
512 PyTuple_SetItem(target
, 0, o2
);
515 PyTuple_SetItem(o3
, 0, o
);
518 target
= PySequence_Concat(o2
, o3
);
526 SWIGSTATICINLINE(unsigned long)
527 SWIG_AsUnsignedLong(PyObject
* obj
)
529 if (PyLong_Check(obj
)) {
530 return PyLong_AsUnsignedLong(obj
);
532 long i
= PyInt_AsLong(obj
);
533 if ( !PyErr_Occurred() && (i
< 0)) {
534 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
541 SWIGSTATICINLINE(int)
542 SWIG_CheckUnsignedLong(PyObject
* obj
)
544 SWIG_AsUnsignedLong(obj
);
545 if (PyErr_Occurred()) {
553 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
554 self
->AppendText(text
);
556 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
557 return self
->GetValue().Mid(from
, to
- from
);
559 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
560 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
561 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
562 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
563 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
565 #include <wx/slider.h>
568 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
569 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
572 // implement dummy items for platforms that don't have this class
574 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
576 class wxToggleButton
: public wxControl
579 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
580 const wxPoint
&, const wxSize
&, long,
581 const wxValidator
&, const wxString
&)
582 { wxPyRaiseNotImplemented(); }
585 { wxPyRaiseNotImplemented(); }
589 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
591 SWIGSTATICINLINE(PyObject
* )
592 SWIG_FromUnsignedLong(unsigned long value
)
594 return (value
> LONG_MAX
) ?
595 PyLong_FromUnsignedLong(value
)
596 : PyInt_FromLong(swig_numeric_cast(long,value
));
599 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
600 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
601 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
603 Py_INCREF(udata
->m_obj
);
610 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
611 self
->SetClientData(new wxPyUserData(clientData
));
613 wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
614 wxPyUserData
* udata
= NULL
;
615 if (clientData
&& clientData
!= Py_None
)
616 udata
= new wxPyUserData(clientData
);
617 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
618 shortHelp
, longHelp
, udata
);
620 wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
621 wxPyUserData
* udata
= NULL
;
622 if (clientData
&& clientData
!= Py_None
)
623 udata
= new wxPyUserData(clientData
);
624 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
625 shortHelp
, longHelp
, udata
);
627 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
628 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
630 Py_INCREF(udata
->m_obj
);
637 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
638 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
641 #include <wx/listctrl.h>
644 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
645 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
646 // Python aware sorting function for wxPyListCtrl
647 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
649 PyObject
* func
= (PyObject
*)funcPtr
;
650 bool blocked
= wxPyBeginBlockThreads();
652 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
653 PyObject
* result
= PyEval_CallObject(func
, args
);
656 retval
= PyInt_AsLong(result
);
660 wxPyEndBlockThreads(blocked
);
664 // C++ Version of a Python aware class
665 class wxPyListCtrl
: public wxListCtrl
{
666 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
668 wxPyListCtrl() : wxListCtrl() {}
669 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
673 const wxValidator
& validator
,
674 const wxString
& name
) :
675 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
677 bool Create(wxWindow
* parent
, wxWindowID id
,
681 const wxValidator
& validator
,
682 const wxString
& name
) {
683 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
686 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
687 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
688 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
693 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
695 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
696 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
697 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
699 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
701 item
.SetMask( wxLIST_MASK_STATE
|
709 if (self
->GetColumn(col
, item
))
710 return new wxListItem(item
);
714 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
715 wxListItem
* info
= new wxListItem
;
716 info
->m_itemId
= itemId
;
718 info
->m_mask
= 0xFFFF;
719 self
->GetItem(*info
);
722 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
724 self
->GetItemPosition(item
, pos
);
727 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
729 self
->GetItemRect(item
, rect
, code
);
732 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
733 if (!PyCallable_Check(func
))
735 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
737 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
745 #include <wx/treectrl.h>
746 #include "wx/wxPython/pytree.h"
748 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
749 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
750 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
751 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
752 // C++ version of Python aware wxTreeCtrl
753 class wxPyTreeCtrl
: public wxTreeCtrl
{
754 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
756 wxPyTreeCtrl() : wxTreeCtrl() {}
757 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
761 const wxValidator
& validator
,
762 const wxString
& name
) :
763 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
765 bool Create(wxWindow
*parent
, wxWindowID id
,
769 const wxValidator
& validator
,
770 const wxString
& name
) {
771 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
775 int OnCompareItems(const wxTreeItemId
& item1
,
776 const wxTreeItemId
& item2
) {
779 bool blocked
= wxPyBeginBlockThreads();
780 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
781 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
782 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
783 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
787 wxPyEndBlockThreads(blocked
);
789 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
795 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
799 #if UINT_MAX < LONG_MAX
800 #define SWIG_FromUnsignedInt SWIG_FromLong
802 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
806 SWIGSTATICINLINE(unsigned long)
807 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
808 unsigned long max_value
)
810 if (!PyErr_Occurred()) {
811 if (value
> max_value
) {
813 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
814 value
, type
, max_value
);
815 PyErr_SetObject(PyExc_OverflowError
, err
);
823 #if UINT_MAX != ULONG_MAX
824 SWIGSTATICINLINE(unsigned int)
825 SWIG_AsUnsignedInt(PyObject
*obj
)
827 return swig_numeric_cast(unsigned int,
828 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
829 "unsigned int", UINT_MAX
));
832 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
836 SWIGSTATICINLINE(int)
837 SWIG_CheckUnsignedInt(PyObject
* obj
)
839 SWIG_AsUnsignedInt(obj
);
840 if (PyErr_Occurred()) {
848 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
849 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
851 data
= new wxPyTreeItemData();
852 data
->SetId(item
); // set the id
853 self
->SetItemData(item
, data
);
857 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
858 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
860 data
= new wxPyTreeItemData();
861 data
->SetId(item
); // set the id
862 self
->SetItemData(item
, data
);
864 return data
->GetData();
866 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
867 data
->SetId(item
); // set the id
868 self
->SetItemData(item
, data
);
870 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
871 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
873 data
= new wxPyTreeItemData(obj
);
874 data
->SetId(item
); // set the id
875 self
->SetItemData(item
, data
);
879 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
880 bool blocked
= wxPyBeginBlockThreads();
881 PyObject
* rval
= PyList_New(0);
882 wxArrayTreeItemIds array
;
884 num
= self
->GetSelections(array
);
885 for (x
=0; x
< num
; x
++) {
886 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
887 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
888 PyList_Append(rval
, item
);
890 wxPyEndBlockThreads(blocked
);
893 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
895 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
896 bool blocked
= wxPyBeginBlockThreads();
897 PyObject
* tup
= PyTuple_New(2);
898 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
899 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
900 wxPyEndBlockThreads(blocked
);
903 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
904 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
905 bool blocked
= wxPyBeginBlockThreads();
906 PyObject
* tup
= PyTuple_New(2);
907 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
908 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
909 wxPyEndBlockThreads(blocked
);
912 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
914 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
915 bool blocked
= wxPyBeginBlockThreads();
916 wxRect
* r
= new wxRect(rect
);
917 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
918 wxPyEndBlockThreads(blocked
);
924 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
925 // C++ version of Python aware wxControl
926 class wxPyControl
: public wxControl
928 DECLARE_DYNAMIC_CLASS(wxPyControl
)
930 wxPyControl() : wxControl() {}
931 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
932 const wxPoint
& pos
= wxDefaultPosition
,
933 const wxSize
& size
= wxDefaultSize
,
935 const wxValidator
& validator
=wxDefaultValidator
,
936 const wxString
& name
= wxPyControlNameStr
)
937 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
940 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
941 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
942 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
943 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
945 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
946 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
947 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
949 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
950 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
952 DEC_PYCALLBACK__(InitDialog
);
953 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
954 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
955 DEC_PYCALLBACK_BOOL_(Validate
);
957 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
958 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
959 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
961 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
962 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
964 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
965 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
970 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
972 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
973 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
974 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
975 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
977 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
978 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
979 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
981 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
982 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
984 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
985 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
986 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
987 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
989 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
990 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
991 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
993 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
994 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
996 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, ShouldInheritColours
);
997 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1001 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1003 #include <wx/generic/dragimgg.h>
1008 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1009 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1014 static PyObject
*_wrap_ButtonNameStr_get() {
1019 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1021 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1028 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1029 PyObject
*resultobj
;
1030 wxWindow
*arg1
= (wxWindow
*) 0 ;
1032 wxString
*arg3
= 0 ;
1033 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1034 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1035 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1036 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1037 long arg6
= (long) 0 ;
1038 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1039 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1040 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1041 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1043 bool temp3
= False
;
1046 bool temp8
= False
;
1047 PyObject
* obj0
= 0 ;
1048 PyObject
* obj1
= 0 ;
1049 PyObject
* obj2
= 0 ;
1050 PyObject
* obj3
= 0 ;
1051 PyObject
* obj4
= 0 ;
1052 PyObject
* obj5
= 0 ;
1053 PyObject
* obj6
= 0 ;
1054 PyObject
* obj7
= 0 ;
1056 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1062 arg2
= (int) SWIG_AsInt(obj1
);
1063 if (PyErr_Occurred()) SWIG_fail
;
1065 arg3
= wxString_in_helper(obj2
);
1066 if (arg3
== NULL
) SWIG_fail
;
1072 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1078 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1082 arg6
= (long) SWIG_AsLong(obj5
);
1083 if (PyErr_Occurred()) SWIG_fail
;
1086 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1087 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1090 PyErr_SetString(PyExc_TypeError
,"null reference");
1096 arg8
= wxString_in_helper(obj7
);
1097 if (arg8
== NULL
) SWIG_fail
;
1102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1103 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1105 wxPyEndAllowThreads(__tstate
);
1106 if (PyErr_Occurred()) SWIG_fail
;
1109 resultobj
= wxPyMake_wxObject(result
);
1133 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1134 PyObject
*resultobj
;
1140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1143 result
= (wxButton
*)new wxButton();
1145 wxPyEndAllowThreads(__tstate
);
1146 if (PyErr_Occurred()) SWIG_fail
;
1149 resultobj
= wxPyMake_wxObject(result
);
1157 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1158 PyObject
*resultobj
;
1159 wxButton
*arg1
= (wxButton
*) 0 ;
1160 wxWindow
*arg2
= (wxWindow
*) 0 ;
1162 wxString
*arg4
= 0 ;
1163 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1164 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1165 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1166 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1167 long arg7
= (long) 0 ;
1168 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1169 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1170 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1171 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1173 bool temp4
= False
;
1176 bool temp9
= False
;
1177 PyObject
* obj0
= 0 ;
1178 PyObject
* obj1
= 0 ;
1179 PyObject
* obj2
= 0 ;
1180 PyObject
* obj3
= 0 ;
1181 PyObject
* obj4
= 0 ;
1182 PyObject
* obj5
= 0 ;
1183 PyObject
* obj6
= 0 ;
1184 PyObject
* obj7
= 0 ;
1185 PyObject
* obj8
= 0 ;
1187 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1195 arg3
= (int) SWIG_AsInt(obj2
);
1196 if (PyErr_Occurred()) SWIG_fail
;
1198 arg4
= wxString_in_helper(obj3
);
1199 if (arg4
== NULL
) SWIG_fail
;
1205 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1211 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1215 arg7
= (long) SWIG_AsLong(obj6
);
1216 if (PyErr_Occurred()) SWIG_fail
;
1219 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1220 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1223 PyErr_SetString(PyExc_TypeError
,"null reference");
1229 arg9
= wxString_in_helper(obj8
);
1230 if (arg9
== NULL
) SWIG_fail
;
1235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1236 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1238 wxPyEndAllowThreads(__tstate
);
1239 if (PyErr_Occurred()) SWIG_fail
;
1242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1266 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1267 PyObject
*resultobj
;
1268 wxButton
*arg1
= (wxButton
*) 0 ;
1269 PyObject
* obj0
= 0 ;
1271 (char *) "self", NULL
1274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1279 (arg1
)->SetDefault();
1281 wxPyEndAllowThreads(__tstate
);
1282 if (PyErr_Occurred()) SWIG_fail
;
1284 Py_INCREF(Py_None
); resultobj
= Py_None
;
1291 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1292 PyObject
*resultobj
;
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1301 result
= wxButton::GetDefaultSize();
1303 wxPyEndAllowThreads(__tstate
);
1304 if (PyErr_Occurred()) SWIG_fail
;
1308 resultptr
= new wxSize((wxSize
&) result
);
1309 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1317 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1320 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1322 return Py_BuildValue((char *)"");
1324 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
*resultobj
;
1326 wxWindow
*arg1
= (wxWindow
*) 0 ;
1328 wxBitmap
*arg3
= 0 ;
1329 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1330 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1331 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1332 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1333 long arg6
= (long) wxBU_AUTODRAW
;
1334 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1335 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1336 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1337 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1338 wxBitmapButton
*result
;
1341 bool temp8
= False
;
1342 PyObject
* obj0
= 0 ;
1343 PyObject
* obj1
= 0 ;
1344 PyObject
* obj2
= 0 ;
1345 PyObject
* obj3
= 0 ;
1346 PyObject
* obj4
= 0 ;
1347 PyObject
* obj5
= 0 ;
1348 PyObject
* obj6
= 0 ;
1349 PyObject
* obj7
= 0 ;
1351 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1357 arg2
= (int) SWIG_AsInt(obj1
);
1358 if (PyErr_Occurred()) SWIG_fail
;
1359 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1363 PyErr_SetString(PyExc_TypeError
,"null reference");
1369 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1375 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1379 arg6
= (long) SWIG_AsLong(obj5
);
1380 if (PyErr_Occurred()) SWIG_fail
;
1383 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1384 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1387 PyErr_SetString(PyExc_TypeError
,"null reference");
1393 arg8
= wxString_in_helper(obj7
);
1394 if (arg8
== NULL
) SWIG_fail
;
1399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1400 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1402 wxPyEndAllowThreads(__tstate
);
1403 if (PyErr_Occurred()) SWIG_fail
;
1406 resultobj
= wxPyMake_wxObject(result
);
1422 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
*resultobj
;
1424 wxBitmapButton
*result
;
1429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1432 result
= (wxBitmapButton
*)new wxBitmapButton();
1434 wxPyEndAllowThreads(__tstate
);
1435 if (PyErr_Occurred()) SWIG_fail
;
1438 resultobj
= wxPyMake_wxObject(result
);
1446 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1447 PyObject
*resultobj
;
1448 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1449 wxWindow
*arg2
= (wxWindow
*) 0 ;
1451 wxBitmap
*arg4
= 0 ;
1452 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1453 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1454 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1455 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1456 long arg7
= (long) wxBU_AUTODRAW
;
1457 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1458 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1459 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1460 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1464 bool temp9
= False
;
1465 PyObject
* obj0
= 0 ;
1466 PyObject
* obj1
= 0 ;
1467 PyObject
* obj2
= 0 ;
1468 PyObject
* obj3
= 0 ;
1469 PyObject
* obj4
= 0 ;
1470 PyObject
* obj5
= 0 ;
1471 PyObject
* obj6
= 0 ;
1472 PyObject
* obj7
= 0 ;
1473 PyObject
* obj8
= 0 ;
1475 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1483 arg3
= (int) SWIG_AsInt(obj2
);
1484 if (PyErr_Occurred()) SWIG_fail
;
1485 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1486 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1489 PyErr_SetString(PyExc_TypeError
,"null reference");
1495 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1501 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1505 arg7
= (long) SWIG_AsLong(obj6
);
1506 if (PyErr_Occurred()) SWIG_fail
;
1509 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1510 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1513 PyErr_SetString(PyExc_TypeError
,"null reference");
1519 arg9
= wxString_in_helper(obj8
);
1520 if (arg9
== NULL
) SWIG_fail
;
1525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1526 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1528 wxPyEndAllowThreads(__tstate
);
1529 if (PyErr_Occurred()) SWIG_fail
;
1532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1548 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1549 PyObject
*resultobj
;
1550 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1552 PyObject
* obj0
= 0 ;
1554 (char *) "self", NULL
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1562 result
= (arg1
)->GetBitmapLabel();
1564 wxPyEndAllowThreads(__tstate
);
1565 if (PyErr_Occurred()) SWIG_fail
;
1568 wxBitmap
* resultptr
;
1569 resultptr
= new wxBitmap((wxBitmap
&) result
);
1570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1578 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1579 PyObject
*resultobj
;
1580 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1582 PyObject
* obj0
= 0 ;
1584 (char *) "self", NULL
1587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1592 result
= (arg1
)->GetBitmapDisabled();
1594 wxPyEndAllowThreads(__tstate
);
1595 if (PyErr_Occurred()) SWIG_fail
;
1598 wxBitmap
* resultptr
;
1599 resultptr
= new wxBitmap((wxBitmap
&) result
);
1600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1608 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1609 PyObject
*resultobj
;
1610 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1612 PyObject
* obj0
= 0 ;
1614 (char *) "self", NULL
1617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1622 result
= (arg1
)->GetBitmapFocus();
1624 wxPyEndAllowThreads(__tstate
);
1625 if (PyErr_Occurred()) SWIG_fail
;
1628 wxBitmap
* resultptr
;
1629 resultptr
= new wxBitmap((wxBitmap
&) result
);
1630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1638 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
*resultobj
;
1640 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1642 PyObject
* obj0
= 0 ;
1644 (char *) "self", NULL
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1652 result
= (arg1
)->GetBitmapSelected();
1654 wxPyEndAllowThreads(__tstate
);
1655 if (PyErr_Occurred()) SWIG_fail
;
1658 wxBitmap
* resultptr
;
1659 resultptr
= new wxBitmap((wxBitmap
&) result
);
1660 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1668 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
*resultobj
;
1670 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1671 wxBitmap
*arg2
= 0 ;
1672 PyObject
* obj0
= 0 ;
1673 PyObject
* obj1
= 0 ;
1675 (char *) "self",(char *) "bitmap", NULL
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1681 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1682 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1685 PyErr_SetString(PyExc_TypeError
,"null reference");
1689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1690 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1692 wxPyEndAllowThreads(__tstate
);
1693 if (PyErr_Occurred()) SWIG_fail
;
1695 Py_INCREF(Py_None
); resultobj
= Py_None
;
1702 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1703 PyObject
*resultobj
;
1704 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1705 wxBitmap
*arg2
= 0 ;
1706 PyObject
* obj0
= 0 ;
1707 PyObject
* obj1
= 0 ;
1709 (char *) "self",(char *) "bitmap", NULL
1712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1716 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1719 PyErr_SetString(PyExc_TypeError
,"null reference");
1723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1724 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1726 wxPyEndAllowThreads(__tstate
);
1727 if (PyErr_Occurred()) SWIG_fail
;
1729 Py_INCREF(Py_None
); resultobj
= Py_None
;
1736 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
*resultobj
;
1738 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1739 wxBitmap
*arg2
= 0 ;
1740 PyObject
* obj0
= 0 ;
1741 PyObject
* obj1
= 0 ;
1743 (char *) "self",(char *) "bitmap", NULL
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1750 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1753 PyErr_SetString(PyExc_TypeError
,"null reference");
1757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1758 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1760 wxPyEndAllowThreads(__tstate
);
1761 if (PyErr_Occurred()) SWIG_fail
;
1763 Py_INCREF(Py_None
); resultobj
= Py_None
;
1770 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1771 PyObject
*resultobj
;
1772 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1773 wxBitmap
*arg2
= 0 ;
1774 PyObject
* obj0
= 0 ;
1775 PyObject
* obj1
= 0 ;
1777 (char *) "self",(char *) "bitmap", NULL
1780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1787 PyErr_SetString(PyExc_TypeError
,"null reference");
1791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1792 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1794 wxPyEndAllowThreads(__tstate
);
1795 if (PyErr_Occurred()) SWIG_fail
;
1797 Py_INCREF(Py_None
); resultobj
= Py_None
;
1804 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
*resultobj
;
1806 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1809 PyObject
* obj0
= 0 ;
1810 PyObject
* obj1
= 0 ;
1811 PyObject
* obj2
= 0 ;
1813 (char *) "self",(char *) "x",(char *) "y", NULL
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1819 arg2
= (int) SWIG_AsInt(obj1
);
1820 if (PyErr_Occurred()) SWIG_fail
;
1821 arg3
= (int) SWIG_AsInt(obj2
);
1822 if (PyErr_Occurred()) SWIG_fail
;
1824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1825 (arg1
)->SetMargins(arg2
,arg3
);
1827 wxPyEndAllowThreads(__tstate
);
1828 if (PyErr_Occurred()) SWIG_fail
;
1830 Py_INCREF(Py_None
); resultobj
= Py_None
;
1837 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
*resultobj
;
1839 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1841 PyObject
* obj0
= 0 ;
1843 (char *) "self", NULL
1846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1851 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1853 wxPyEndAllowThreads(__tstate
);
1854 if (PyErr_Occurred()) SWIG_fail
;
1856 resultobj
= SWIG_FromInt((int)result
);
1863 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1864 PyObject
*resultobj
;
1865 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1867 PyObject
* obj0
= 0 ;
1869 (char *) "self", NULL
1872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1877 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1879 wxPyEndAllowThreads(__tstate
);
1880 if (PyErr_Occurred()) SWIG_fail
;
1882 resultobj
= SWIG_FromInt((int)result
);
1889 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1892 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1894 return Py_BuildValue((char *)"");
1896 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1897 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1902 static PyObject
*_wrap_CheckBoxNameStr_get() {
1907 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1909 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1916 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1917 PyObject
*resultobj
;
1918 wxWindow
*arg1
= (wxWindow
*) 0 ;
1920 wxString
*arg3
= 0 ;
1921 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1922 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1923 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1924 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1925 long arg6
= (long) 0 ;
1926 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1927 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1928 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1929 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1931 bool temp3
= False
;
1934 bool temp8
= False
;
1935 PyObject
* obj0
= 0 ;
1936 PyObject
* obj1
= 0 ;
1937 PyObject
* obj2
= 0 ;
1938 PyObject
* obj3
= 0 ;
1939 PyObject
* obj4
= 0 ;
1940 PyObject
* obj5
= 0 ;
1941 PyObject
* obj6
= 0 ;
1942 PyObject
* obj7
= 0 ;
1944 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1950 arg2
= (int) SWIG_AsInt(obj1
);
1951 if (PyErr_Occurred()) SWIG_fail
;
1953 arg3
= wxString_in_helper(obj2
);
1954 if (arg3
== NULL
) SWIG_fail
;
1960 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1966 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1970 arg6
= (long) SWIG_AsLong(obj5
);
1971 if (PyErr_Occurred()) SWIG_fail
;
1974 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1975 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1978 PyErr_SetString(PyExc_TypeError
,"null reference");
1984 arg8
= wxString_in_helper(obj7
);
1985 if (arg8
== NULL
) SWIG_fail
;
1990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1991 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1993 wxPyEndAllowThreads(__tstate
);
1994 if (PyErr_Occurred()) SWIG_fail
;
1996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2019 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2020 PyObject
*resultobj
;
2026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2029 result
= (wxCheckBox
*)new wxCheckBox();
2031 wxPyEndAllowThreads(__tstate
);
2032 if (PyErr_Occurred()) SWIG_fail
;
2034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2041 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2042 PyObject
*resultobj
;
2043 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2044 wxWindow
*arg2
= (wxWindow
*) 0 ;
2046 wxString
*arg4
= 0 ;
2047 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2048 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2049 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2050 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2051 long arg7
= (long) 0 ;
2052 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2053 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2054 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2055 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2057 bool temp4
= False
;
2060 bool temp9
= False
;
2061 PyObject
* obj0
= 0 ;
2062 PyObject
* obj1
= 0 ;
2063 PyObject
* obj2
= 0 ;
2064 PyObject
* obj3
= 0 ;
2065 PyObject
* obj4
= 0 ;
2066 PyObject
* obj5
= 0 ;
2067 PyObject
* obj6
= 0 ;
2068 PyObject
* obj7
= 0 ;
2069 PyObject
* obj8
= 0 ;
2071 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2079 arg3
= (int) SWIG_AsInt(obj2
);
2080 if (PyErr_Occurred()) SWIG_fail
;
2082 arg4
= wxString_in_helper(obj3
);
2083 if (arg4
== NULL
) SWIG_fail
;
2089 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2095 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2099 arg7
= (long) SWIG_AsLong(obj6
);
2100 if (PyErr_Occurred()) SWIG_fail
;
2103 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2104 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2107 PyErr_SetString(PyExc_TypeError
,"null reference");
2113 arg9
= wxString_in_helper(obj8
);
2114 if (arg9
== NULL
) SWIG_fail
;
2119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2120 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2122 wxPyEndAllowThreads(__tstate
);
2123 if (PyErr_Occurred()) SWIG_fail
;
2126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2150 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2151 PyObject
*resultobj
;
2152 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2154 PyObject
* obj0
= 0 ;
2156 (char *) "self", NULL
2159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2164 result
= (bool)(arg1
)->GetValue();
2166 wxPyEndAllowThreads(__tstate
);
2167 if (PyErr_Occurred()) SWIG_fail
;
2170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2178 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2179 PyObject
*resultobj
;
2180 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2182 PyObject
* obj0
= 0 ;
2184 (char *) "self", NULL
2187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2192 result
= (bool)(arg1
)->IsChecked();
2194 wxPyEndAllowThreads(__tstate
);
2195 if (PyErr_Occurred()) SWIG_fail
;
2198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2206 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2207 PyObject
*resultobj
;
2208 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2210 PyObject
* obj0
= 0 ;
2211 PyObject
* obj1
= 0 ;
2213 (char *) "self",(char *) "state", NULL
2216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2219 arg2
= (bool const) SWIG_AsBool(obj1
);
2220 if (PyErr_Occurred()) SWIG_fail
;
2222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2223 (arg1
)->SetValue(arg2
);
2225 wxPyEndAllowThreads(__tstate
);
2226 if (PyErr_Occurred()) SWIG_fail
;
2228 Py_INCREF(Py_None
); resultobj
= Py_None
;
2235 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2236 PyObject
*resultobj
;
2237 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2239 PyObject
* obj0
= 0 ;
2241 (char *) "self", NULL
2244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2249 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2251 wxPyEndAllowThreads(__tstate
);
2252 if (PyErr_Occurred()) SWIG_fail
;
2254 resultobj
= SWIG_FromInt((int)result
);
2261 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2262 PyObject
*resultobj
;
2263 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2265 PyObject
* obj0
= 0 ;
2266 PyObject
* obj1
= 0 ;
2268 (char *) "self",(char *) "state", NULL
2271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2274 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2275 if (PyErr_Occurred()) SWIG_fail
;
2277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2278 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2280 wxPyEndAllowThreads(__tstate
);
2281 if (PyErr_Occurred()) SWIG_fail
;
2283 Py_INCREF(Py_None
); resultobj
= Py_None
;
2290 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2291 PyObject
*resultobj
;
2292 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2294 PyObject
* obj0
= 0 ;
2296 (char *) "self", NULL
2299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2304 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2306 wxPyEndAllowThreads(__tstate
);
2307 if (PyErr_Occurred()) SWIG_fail
;
2310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2318 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2319 PyObject
*resultobj
;
2320 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2322 PyObject
* obj0
= 0 ;
2324 (char *) "self", NULL
2327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) SWIG_fail
;
2338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2346 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2349 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2351 return Py_BuildValue((char *)"");
2353 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2354 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2359 static PyObject
*_wrap_ChoiceNameStr_get() {
2364 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2366 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2373 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2374 PyObject
*resultobj
;
2375 wxWindow
*arg1
= (wxWindow
*) 0 ;
2377 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2378 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2379 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2380 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2381 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2382 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2383 long arg6
= (long) 0 ;
2384 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2385 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2386 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2387 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2391 bool temp5
= False
;
2392 bool temp8
= False
;
2393 PyObject
* obj0
= 0 ;
2394 PyObject
* obj1
= 0 ;
2395 PyObject
* obj2
= 0 ;
2396 PyObject
* obj3
= 0 ;
2397 PyObject
* obj4
= 0 ;
2398 PyObject
* obj5
= 0 ;
2399 PyObject
* obj6
= 0 ;
2400 PyObject
* obj7
= 0 ;
2402 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2408 arg2
= (int) SWIG_AsInt(obj1
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2413 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2419 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2424 if (! PySequence_Check(obj4
)) {
2425 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2428 arg5
= new wxArrayString
;
2430 int i
, len
=PySequence_Length(obj4
);
2431 for (i
=0; i
<len
; i
++) {
2432 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2434 PyObject
* str
= PyObject_Unicode(item
);
2436 PyObject
* str
= PyObject_Str(item
);
2438 arg5
->Add(Py2wxString(str
));
2445 arg6
= (long) SWIG_AsLong(obj5
);
2446 if (PyErr_Occurred()) SWIG_fail
;
2449 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2450 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2453 PyErr_SetString(PyExc_TypeError
,"null reference");
2459 arg8
= wxString_in_helper(obj7
);
2460 if (arg8
== NULL
) SWIG_fail
;
2465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2466 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2468 wxPyEndAllowThreads(__tstate
);
2469 if (PyErr_Occurred()) SWIG_fail
;
2471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2473 if (temp5
) delete arg5
;
2482 if (temp5
) delete arg5
;
2492 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2493 PyObject
*resultobj
;
2499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2502 result
= (wxChoice
*)new wxChoice();
2504 wxPyEndAllowThreads(__tstate
);
2505 if (PyErr_Occurred()) SWIG_fail
;
2507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2514 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
*resultobj
;
2516 wxChoice
*arg1
= (wxChoice
*) 0 ;
2517 wxWindow
*arg2
= (wxWindow
*) 0 ;
2519 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2520 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2521 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2522 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2523 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2524 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2525 long arg7
= (long) 0 ;
2526 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2527 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2528 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2529 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2533 bool temp6
= False
;
2534 bool temp9
= False
;
2535 PyObject
* obj0
= 0 ;
2536 PyObject
* obj1
= 0 ;
2537 PyObject
* obj2
= 0 ;
2538 PyObject
* obj3
= 0 ;
2539 PyObject
* obj4
= 0 ;
2540 PyObject
* obj5
= 0 ;
2541 PyObject
* obj6
= 0 ;
2542 PyObject
* obj7
= 0 ;
2543 PyObject
* obj8
= 0 ;
2545 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2553 arg3
= (int) SWIG_AsInt(obj2
);
2554 if (PyErr_Occurred()) SWIG_fail
;
2558 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2564 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2569 if (! PySequence_Check(obj5
)) {
2570 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2573 arg6
= new wxArrayString
;
2575 int i
, len
=PySequence_Length(obj5
);
2576 for (i
=0; i
<len
; i
++) {
2577 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2579 PyObject
* str
= PyObject_Unicode(item
);
2581 PyObject
* str
= PyObject_Str(item
);
2583 arg6
->Add(Py2wxString(str
));
2590 arg7
= (long) SWIG_AsLong(obj6
);
2591 if (PyErr_Occurred()) SWIG_fail
;
2594 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2595 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2598 PyErr_SetString(PyExc_TypeError
,"null reference");
2604 arg9
= wxString_in_helper(obj8
);
2605 if (arg9
== NULL
) SWIG_fail
;
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) SWIG_fail
;
2617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2620 if (temp6
) delete arg6
;
2629 if (temp6
) delete arg6
;
2639 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2640 PyObject
*resultobj
;
2641 wxChoice
*arg1
= (wxChoice
*) 0 ;
2643 PyObject
* obj0
= 0 ;
2644 PyObject
* obj1
= 0 ;
2646 (char *) "self",(char *) "n", NULL
2649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2652 arg2
= (int const) SWIG_AsInt(obj1
);
2653 if (PyErr_Occurred()) SWIG_fail
;
2655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2656 (arg1
)->SetSelection(arg2
);
2658 wxPyEndAllowThreads(__tstate
);
2659 if (PyErr_Occurred()) SWIG_fail
;
2661 Py_INCREF(Py_None
); resultobj
= Py_None
;
2668 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
*resultobj
;
2670 wxChoice
*arg1
= (wxChoice
*) 0 ;
2671 wxString
*arg2
= 0 ;
2672 bool temp2
= False
;
2673 PyObject
* obj0
= 0 ;
2674 PyObject
* obj1
= 0 ;
2676 (char *) "self",(char *) "string", NULL
2679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2683 arg2
= wxString_in_helper(obj1
);
2684 if (arg2
== NULL
) SWIG_fail
;
2688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2689 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2691 wxPyEndAllowThreads(__tstate
);
2692 if (PyErr_Occurred()) SWIG_fail
;
2694 Py_INCREF(Py_None
); resultobj
= Py_None
;
2709 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
*resultobj
;
2711 wxChoice
*arg1
= (wxChoice
*) 0 ;
2713 wxString
*arg3
= 0 ;
2714 bool temp3
= False
;
2715 PyObject
* obj0
= 0 ;
2716 PyObject
* obj1
= 0 ;
2717 PyObject
* obj2
= 0 ;
2719 (char *) "self",(char *) "n",(char *) "string", NULL
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2725 arg2
= (int) SWIG_AsInt(obj1
);
2726 if (PyErr_Occurred()) SWIG_fail
;
2728 arg3
= wxString_in_helper(obj2
);
2729 if (arg3
== NULL
) SWIG_fail
;
2733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2734 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2736 wxPyEndAllowThreads(__tstate
);
2737 if (PyErr_Occurred()) SWIG_fail
;
2739 Py_INCREF(Py_None
); resultobj
= Py_None
;
2754 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2757 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2759 return Py_BuildValue((char *)"");
2761 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2762 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2767 static PyObject
*_wrap_ComboBoxNameStr_get() {
2772 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2774 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2781 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
*resultobj
;
2783 wxWindow
*arg1
= (wxWindow
*) 0 ;
2785 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2786 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2787 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2788 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2789 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2790 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2791 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2792 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2793 long arg7
= (long) 0 ;
2794 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2795 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2796 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2797 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2799 bool temp3
= False
;
2802 bool temp6
= False
;
2803 bool temp9
= False
;
2804 PyObject
* obj0
= 0 ;
2805 PyObject
* obj1
= 0 ;
2806 PyObject
* obj2
= 0 ;
2807 PyObject
* obj3
= 0 ;
2808 PyObject
* obj4
= 0 ;
2809 PyObject
* obj5
= 0 ;
2810 PyObject
* obj6
= 0 ;
2811 PyObject
* obj7
= 0 ;
2812 PyObject
* obj8
= 0 ;
2814 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2820 arg2
= (int) SWIG_AsInt(obj1
);
2821 if (PyErr_Occurred()) SWIG_fail
;
2824 arg3
= wxString_in_helper(obj2
);
2825 if (arg3
== NULL
) SWIG_fail
;
2832 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2838 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2843 if (! PySequence_Check(obj5
)) {
2844 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2847 arg6
= new wxArrayString
;
2849 int i
, len
=PySequence_Length(obj5
);
2850 for (i
=0; i
<len
; i
++) {
2851 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2853 PyObject
* str
= PyObject_Unicode(item
);
2855 PyObject
* str
= PyObject_Str(item
);
2857 arg6
->Add(Py2wxString(str
));
2864 arg7
= (long) SWIG_AsLong(obj6
);
2865 if (PyErr_Occurred()) SWIG_fail
;
2868 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2869 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2872 PyErr_SetString(PyExc_TypeError
,"null reference");
2878 arg9
= wxString_in_helper(obj8
);
2879 if (arg9
== NULL
) SWIG_fail
;
2884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2885 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
);
2887 wxPyEndAllowThreads(__tstate
);
2888 if (PyErr_Occurred()) SWIG_fail
;
2890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2896 if (temp6
) delete arg6
;
2909 if (temp6
) delete arg6
;
2919 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2920 PyObject
*resultobj
;
2926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2929 result
= (wxComboBox
*)new wxComboBox();
2931 wxPyEndAllowThreads(__tstate
);
2932 if (PyErr_Occurred()) SWIG_fail
;
2934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2941 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
*resultobj
;
2943 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2944 wxWindow
*arg2
= (wxWindow
*) 0 ;
2946 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2947 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2948 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2949 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2950 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2951 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2952 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2953 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2954 long arg8
= (long) 0 ;
2955 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2956 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2957 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2958 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2960 bool temp4
= False
;
2963 bool temp7
= False
;
2964 bool temp10
= False
;
2965 PyObject
* obj0
= 0 ;
2966 PyObject
* obj1
= 0 ;
2967 PyObject
* obj2
= 0 ;
2968 PyObject
* obj3
= 0 ;
2969 PyObject
* obj4
= 0 ;
2970 PyObject
* obj5
= 0 ;
2971 PyObject
* obj6
= 0 ;
2972 PyObject
* obj7
= 0 ;
2973 PyObject
* obj8
= 0 ;
2974 PyObject
* obj9
= 0 ;
2976 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
2981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2982 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2984 arg3
= (int) SWIG_AsInt(obj2
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2988 arg4
= wxString_in_helper(obj3
);
2989 if (arg4
== NULL
) SWIG_fail
;
2996 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3002 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3007 if (! PySequence_Check(obj6
)) {
3008 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3011 arg7
= new wxArrayString
;
3013 int i
, len
=PySequence_Length(obj6
);
3014 for (i
=0; i
<len
; i
++) {
3015 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3017 PyObject
* str
= PyObject_Unicode(item
);
3019 PyObject
* str
= PyObject_Str(item
);
3021 arg7
->Add(Py2wxString(str
));
3028 arg8
= (long) SWIG_AsLong(obj7
);
3029 if (PyErr_Occurred()) SWIG_fail
;
3032 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3036 PyErr_SetString(PyExc_TypeError
,"null reference");
3042 arg10
= wxString_in_helper(obj9
);
3043 if (arg10
== NULL
) SWIG_fail
;
3048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3049 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
);
3051 wxPyEndAllowThreads(__tstate
);
3052 if (PyErr_Occurred()) SWIG_fail
;
3055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3062 if (temp7
) delete arg7
;
3075 if (temp7
) delete arg7
;
3085 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3086 PyObject
*resultobj
;
3087 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3089 PyObject
* obj0
= 0 ;
3091 (char *) "self", NULL
3094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3099 result
= ((wxComboBox
const *)arg1
)->GetValue();
3101 wxPyEndAllowThreads(__tstate
);
3102 if (PyErr_Occurred()) SWIG_fail
;
3106 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3108 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3117 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3118 PyObject
*resultobj
;
3119 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3120 wxString
*arg2
= 0 ;
3121 bool temp2
= False
;
3122 PyObject
* obj0
= 0 ;
3123 PyObject
* obj1
= 0 ;
3125 (char *) "self",(char *) "value", NULL
3128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3132 arg2
= wxString_in_helper(obj1
);
3133 if (arg2
== NULL
) SWIG_fail
;
3137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3138 (arg1
)->SetValue((wxString
const &)*arg2
);
3140 wxPyEndAllowThreads(__tstate
);
3141 if (PyErr_Occurred()) SWIG_fail
;
3143 Py_INCREF(Py_None
); resultobj
= Py_None
;
3158 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3159 PyObject
*resultobj
;
3160 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3161 PyObject
* obj0
= 0 ;
3163 (char *) "self", NULL
3166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3173 wxPyEndAllowThreads(__tstate
);
3174 if (PyErr_Occurred()) SWIG_fail
;
3176 Py_INCREF(Py_None
); resultobj
= Py_None
;
3183 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3184 PyObject
*resultobj
;
3185 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3186 PyObject
* obj0
= 0 ;
3188 (char *) "self", NULL
3191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3198 wxPyEndAllowThreads(__tstate
);
3199 if (PyErr_Occurred()) SWIG_fail
;
3201 Py_INCREF(Py_None
); resultobj
= Py_None
;
3208 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
*resultobj
;
3210 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3211 PyObject
* obj0
= 0 ;
3213 (char *) "self", NULL
3216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3223 wxPyEndAllowThreads(__tstate
);
3224 if (PyErr_Occurred()) SWIG_fail
;
3226 Py_INCREF(Py_None
); resultobj
= Py_None
;
3233 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3234 PyObject
*resultobj
;
3235 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3237 PyObject
* obj0
= 0 ;
3238 PyObject
* obj1
= 0 ;
3240 (char *) "self",(char *) "pos", NULL
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3246 arg2
= (long) SWIG_AsLong(obj1
);
3247 if (PyErr_Occurred()) SWIG_fail
;
3249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3250 (arg1
)->SetInsertionPoint(arg2
);
3252 wxPyEndAllowThreads(__tstate
);
3253 if (PyErr_Occurred()) SWIG_fail
;
3255 Py_INCREF(Py_None
); resultobj
= Py_None
;
3262 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3263 PyObject
*resultobj
;
3264 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3266 PyObject
* obj0
= 0 ;
3268 (char *) "self", NULL
3271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3276 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3278 wxPyEndAllowThreads(__tstate
);
3279 if (PyErr_Occurred()) SWIG_fail
;
3281 resultobj
= SWIG_FromLong((long)result
);
3288 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3289 PyObject
*resultobj
;
3290 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3292 PyObject
* obj0
= 0 ;
3294 (char *) "self", NULL
3297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3302 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3304 wxPyEndAllowThreads(__tstate
);
3305 if (PyErr_Occurred()) SWIG_fail
;
3307 resultobj
= SWIG_FromLong((long)result
);
3314 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3315 PyObject
*resultobj
;
3316 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3319 wxString
*arg4
= 0 ;
3320 bool temp4
= False
;
3321 PyObject
* obj0
= 0 ;
3322 PyObject
* obj1
= 0 ;
3323 PyObject
* obj2
= 0 ;
3324 PyObject
* obj3
= 0 ;
3326 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3332 arg2
= (long) SWIG_AsLong(obj1
);
3333 if (PyErr_Occurred()) SWIG_fail
;
3334 arg3
= (long) SWIG_AsLong(obj2
);
3335 if (PyErr_Occurred()) SWIG_fail
;
3337 arg4
= wxString_in_helper(obj3
);
3338 if (arg4
== NULL
) SWIG_fail
;
3342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3343 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3345 wxPyEndAllowThreads(__tstate
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3348 Py_INCREF(Py_None
); resultobj
= Py_None
;
3363 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
*resultobj
;
3365 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3367 PyObject
* obj0
= 0 ;
3368 PyObject
* obj1
= 0 ;
3370 (char *) "self",(char *) "n", NULL
3373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3376 arg2
= (int) SWIG_AsInt(obj1
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3380 (arg1
)->SetSelection(arg2
);
3382 wxPyEndAllowThreads(__tstate
);
3383 if (PyErr_Occurred()) SWIG_fail
;
3385 Py_INCREF(Py_None
); resultobj
= Py_None
;
3392 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3393 PyObject
*resultobj
;
3394 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3397 PyObject
* obj0
= 0 ;
3398 PyObject
* obj1
= 0 ;
3399 PyObject
* obj2
= 0 ;
3401 (char *) "self",(char *) "from",(char *) "to", NULL
3404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3407 arg2
= (long) SWIG_AsLong(obj1
);
3408 if (PyErr_Occurred()) SWIG_fail
;
3409 arg3
= (long) SWIG_AsLong(obj2
);
3410 if (PyErr_Occurred()) SWIG_fail
;
3412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 (arg1
)->SetSelection(arg2
,arg3
);
3415 wxPyEndAllowThreads(__tstate
);
3416 if (PyErr_Occurred()) SWIG_fail
;
3418 Py_INCREF(Py_None
); resultobj
= Py_None
;
3425 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3426 PyObject
*resultobj
;
3427 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3429 PyObject
* obj0
= 0 ;
3430 PyObject
* obj1
= 0 ;
3432 (char *) "self",(char *) "editable", NULL
3435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3438 arg2
= (bool) SWIG_AsBool(obj1
);
3439 if (PyErr_Occurred()) SWIG_fail
;
3441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3442 (arg1
)->SetEditable(arg2
);
3444 wxPyEndAllowThreads(__tstate
);
3445 if (PyErr_Occurred()) SWIG_fail
;
3447 Py_INCREF(Py_None
); resultobj
= Py_None
;
3454 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
*resultobj
;
3456 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3457 PyObject
* obj0
= 0 ;
3459 (char *) "self", NULL
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 (arg1
)->SetInsertionPointEnd();
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3472 Py_INCREF(Py_None
); resultobj
= Py_None
;
3479 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
*resultobj
;
3481 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3484 PyObject
* obj0
= 0 ;
3485 PyObject
* obj1
= 0 ;
3486 PyObject
* obj2
= 0 ;
3488 (char *) "self",(char *) "from",(char *) "to", NULL
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3494 arg2
= (long) SWIG_AsLong(obj1
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3496 arg3
= (long) SWIG_AsLong(obj2
);
3497 if (PyErr_Occurred()) SWIG_fail
;
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 (arg1
)->Remove(arg2
,arg3
);
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3505 Py_INCREF(Py_None
); resultobj
= Py_None
;
3512 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3515 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3517 return Py_BuildValue((char *)"");
3519 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3520 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3525 static PyObject
*_wrap_GaugeNameStr_get() {
3530 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3532 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3539 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
*resultobj
;
3541 wxWindow
*arg1
= (wxWindow
*) 0 ;
3544 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3545 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3546 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3547 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3548 long arg6
= (long) wxGA_HORIZONTAL
;
3549 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3550 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3551 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3552 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3556 bool temp8
= False
;
3557 PyObject
* obj0
= 0 ;
3558 PyObject
* obj1
= 0 ;
3559 PyObject
* obj2
= 0 ;
3560 PyObject
* obj3
= 0 ;
3561 PyObject
* obj4
= 0 ;
3562 PyObject
* obj5
= 0 ;
3563 PyObject
* obj6
= 0 ;
3564 PyObject
* obj7
= 0 ;
3566 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3572 arg2
= (int) SWIG_AsInt(obj1
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3574 arg3
= (int) SWIG_AsInt(obj2
);
3575 if (PyErr_Occurred()) SWIG_fail
;
3579 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3585 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3589 arg6
= (long) SWIG_AsLong(obj5
);
3590 if (PyErr_Occurred()) SWIG_fail
;
3593 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3597 PyErr_SetString(PyExc_TypeError
,"null reference");
3603 arg8
= wxString_in_helper(obj7
);
3604 if (arg8
== NULL
) SWIG_fail
;
3609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3610 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3612 wxPyEndAllowThreads(__tstate
);
3613 if (PyErr_Occurred()) SWIG_fail
;
3615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3630 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
*resultobj
;
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3640 result
= (wxGauge
*)new wxGauge();
3642 wxPyEndAllowThreads(__tstate
);
3643 if (PyErr_Occurred()) SWIG_fail
;
3645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3652 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
*resultobj
;
3654 wxGauge
*arg1
= (wxGauge
*) 0 ;
3655 wxWindow
*arg2
= (wxWindow
*) 0 ;
3658 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3659 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3660 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3661 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3662 long arg7
= (long) wxGA_HORIZONTAL
;
3663 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3664 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3665 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3666 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3670 bool temp9
= False
;
3671 PyObject
* obj0
= 0 ;
3672 PyObject
* obj1
= 0 ;
3673 PyObject
* obj2
= 0 ;
3674 PyObject
* obj3
= 0 ;
3675 PyObject
* obj4
= 0 ;
3676 PyObject
* obj5
= 0 ;
3677 PyObject
* obj6
= 0 ;
3678 PyObject
* obj7
= 0 ;
3679 PyObject
* obj8
= 0 ;
3681 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3689 arg3
= (int) SWIG_AsInt(obj2
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3691 arg4
= (int) SWIG_AsInt(obj3
);
3692 if (PyErr_Occurred()) SWIG_fail
;
3696 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3702 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3706 arg7
= (long) SWIG_AsLong(obj6
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3710 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3711 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3714 PyErr_SetString(PyExc_TypeError
,"null reference");
3720 arg9
= wxString_in_helper(obj8
);
3721 if (arg9
== NULL
) SWIG_fail
;
3726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3727 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) SWIG_fail
;
3733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3749 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
*resultobj
;
3751 wxGauge
*arg1
= (wxGauge
*) 0 ;
3753 PyObject
* obj0
= 0 ;
3754 PyObject
* obj1
= 0 ;
3756 (char *) "self",(char *) "range", NULL
3759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3762 arg2
= (int) SWIG_AsInt(obj1
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3766 (arg1
)->SetRange(arg2
);
3768 wxPyEndAllowThreads(__tstate
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3771 Py_INCREF(Py_None
); resultobj
= Py_None
;
3778 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
*resultobj
;
3780 wxGauge
*arg1
= (wxGauge
*) 0 ;
3782 PyObject
* obj0
= 0 ;
3784 (char *) "self", NULL
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 resultobj
= SWIG_FromInt((int)result
);
3804 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 wxGauge
*arg1
= (wxGauge
*) 0 ;
3808 PyObject
* obj0
= 0 ;
3809 PyObject
* obj1
= 0 ;
3811 (char *) "self",(char *) "pos", NULL
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3817 arg2
= (int) SWIG_AsInt(obj1
);
3818 if (PyErr_Occurred()) SWIG_fail
;
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 (arg1
)->SetValue(arg2
);
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3826 Py_INCREF(Py_None
); resultobj
= Py_None
;
3833 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
*resultobj
;
3835 wxGauge
*arg1
= (wxGauge
*) 0 ;
3837 PyObject
* obj0
= 0 ;
3839 (char *) "self", NULL
3842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3847 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3852 resultobj
= SWIG_FromInt((int)result
);
3859 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
;
3861 wxGauge
*arg1
= (wxGauge
*) 0 ;
3863 PyObject
* obj0
= 0 ;
3865 (char *) "self", NULL
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3887 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
*resultobj
;
3889 wxGauge
*arg1
= (wxGauge
*) 0 ;
3891 PyObject
* obj0
= 0 ;
3892 PyObject
* obj1
= 0 ;
3894 (char *) "self",(char *) "w", NULL
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3900 arg2
= (int) SWIG_AsInt(obj1
);
3901 if (PyErr_Occurred()) SWIG_fail
;
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 (arg1
)->SetShadowWidth(arg2
);
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3909 Py_INCREF(Py_None
); resultobj
= Py_None
;
3916 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3917 PyObject
*resultobj
;
3918 wxGauge
*arg1
= (wxGauge
*) 0 ;
3920 PyObject
* obj0
= 0 ;
3922 (char *) "self", NULL
3925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3930 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3932 wxPyEndAllowThreads(__tstate
);
3933 if (PyErr_Occurred()) SWIG_fail
;
3935 resultobj
= SWIG_FromInt((int)result
);
3942 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
*resultobj
;
3944 wxGauge
*arg1
= (wxGauge
*) 0 ;
3946 PyObject
* obj0
= 0 ;
3947 PyObject
* obj1
= 0 ;
3949 (char *) "self",(char *) "w", NULL
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3955 arg2
= (int) SWIG_AsInt(obj1
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3959 (arg1
)->SetBezelFace(arg2
);
3961 wxPyEndAllowThreads(__tstate
);
3962 if (PyErr_Occurred()) SWIG_fail
;
3964 Py_INCREF(Py_None
); resultobj
= Py_None
;
3971 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3972 PyObject
*resultobj
;
3973 wxGauge
*arg1
= (wxGauge
*) 0 ;
3975 PyObject
* obj0
= 0 ;
3977 (char *) "self", NULL
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3985 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3987 wxPyEndAllowThreads(__tstate
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3990 resultobj
= SWIG_FromInt((int)result
);
3997 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4000 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4002 return Py_BuildValue((char *)"");
4004 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4005 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4010 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4015 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4017 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4024 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4025 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4030 static PyObject
*_wrap_StaticBoxNameStr_get() {
4035 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4037 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4044 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4045 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4050 static PyObject
*_wrap_StaticTextNameStr_get() {
4055 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4057 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4064 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4065 PyObject
*resultobj
;
4066 wxWindow
*arg1
= (wxWindow
*) 0 ;
4068 wxString
*arg3
= 0 ;
4069 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4070 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4071 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4072 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4073 long arg6
= (long) 0 ;
4074 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4075 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4076 wxStaticBox
*result
;
4077 bool temp3
= False
;
4080 bool temp7
= False
;
4081 PyObject
* obj0
= 0 ;
4082 PyObject
* obj1
= 0 ;
4083 PyObject
* obj2
= 0 ;
4084 PyObject
* obj3
= 0 ;
4085 PyObject
* obj4
= 0 ;
4086 PyObject
* obj5
= 0 ;
4087 PyObject
* obj6
= 0 ;
4089 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4095 arg2
= (int) SWIG_AsInt(obj1
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4098 arg3
= wxString_in_helper(obj2
);
4099 if (arg3
== NULL
) SWIG_fail
;
4105 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4111 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4115 arg6
= (long) SWIG_AsLong(obj5
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4120 arg7
= wxString_in_helper(obj6
);
4121 if (arg7
== NULL
) SWIG_fail
;
4126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4127 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4129 wxPyEndAllowThreads(__tstate
);
4130 if (PyErr_Occurred()) SWIG_fail
;
4133 resultobj
= wxPyMake_wxObject(result
);
4157 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
*resultobj
;
4159 wxStaticBox
*result
;
4164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4167 result
= (wxStaticBox
*)new wxStaticBox();
4169 wxPyEndAllowThreads(__tstate
);
4170 if (PyErr_Occurred()) SWIG_fail
;
4173 resultobj
= wxPyMake_wxObject(result
);
4181 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
*resultobj
;
4183 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4184 wxWindow
*arg2
= (wxWindow
*) 0 ;
4186 wxString
*arg4
= 0 ;
4187 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4188 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4189 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4190 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4191 long arg7
= (long) 0 ;
4192 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4193 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4195 bool temp4
= False
;
4198 bool temp8
= False
;
4199 PyObject
* obj0
= 0 ;
4200 PyObject
* obj1
= 0 ;
4201 PyObject
* obj2
= 0 ;
4202 PyObject
* obj3
= 0 ;
4203 PyObject
* obj4
= 0 ;
4204 PyObject
* obj5
= 0 ;
4205 PyObject
* obj6
= 0 ;
4206 PyObject
* obj7
= 0 ;
4208 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4214 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4216 arg3
= (int) SWIG_AsInt(obj2
);
4217 if (PyErr_Occurred()) SWIG_fail
;
4219 arg4
= wxString_in_helper(obj3
);
4220 if (arg4
== NULL
) SWIG_fail
;
4226 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4232 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4236 arg7
= (long) SWIG_AsLong(obj6
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4241 arg8
= wxString_in_helper(obj7
);
4242 if (arg8
== NULL
) SWIG_fail
;
4247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4248 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4250 wxPyEndAllowThreads(__tstate
);
4251 if (PyErr_Occurred()) SWIG_fail
;
4254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4278 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4281 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4283 return Py_BuildValue((char *)"");
4285 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
*resultobj
;
4287 wxWindow
*arg1
= (wxWindow
*) 0 ;
4289 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4290 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4291 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4292 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4293 long arg5
= (long) wxLI_HORIZONTAL
;
4294 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4295 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4296 wxStaticLine
*result
;
4299 bool temp6
= False
;
4300 PyObject
* obj0
= 0 ;
4301 PyObject
* obj1
= 0 ;
4302 PyObject
* obj2
= 0 ;
4303 PyObject
* obj3
= 0 ;
4304 PyObject
* obj4
= 0 ;
4305 PyObject
* obj5
= 0 ;
4307 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4313 arg2
= (int) SWIG_AsInt(obj1
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4318 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4324 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4328 arg5
= (long) SWIG_AsLong(obj4
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4333 arg6
= wxString_in_helper(obj5
);
4334 if (arg6
== NULL
) SWIG_fail
;
4339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4340 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4342 wxPyEndAllowThreads(__tstate
);
4343 if (PyErr_Occurred()) SWIG_fail
;
4345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4360 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
;
4362 wxStaticLine
*result
;
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4370 result
= (wxStaticLine
*)new wxStaticLine();
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4382 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
*resultobj
;
4384 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4385 wxWindow
*arg2
= (wxWindow
*) 0 ;
4387 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4388 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4389 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4390 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4391 long arg6
= (long) wxLI_HORIZONTAL
;
4392 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4393 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4397 bool temp7
= False
;
4398 PyObject
* obj0
= 0 ;
4399 PyObject
* obj1
= 0 ;
4400 PyObject
* obj2
= 0 ;
4401 PyObject
* obj3
= 0 ;
4402 PyObject
* obj4
= 0 ;
4403 PyObject
* obj5
= 0 ;
4404 PyObject
* obj6
= 0 ;
4406 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4414 arg3
= (int) SWIG_AsInt(obj2
);
4415 if (PyErr_Occurred()) SWIG_fail
;
4419 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4425 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4429 arg6
= (long) SWIG_AsLong(obj5
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4434 arg7
= wxString_in_helper(obj6
);
4435 if (arg7
== NULL
) SWIG_fail
;
4440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4443 wxPyEndAllowThreads(__tstate
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4463 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
*resultobj
;
4465 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4467 PyObject
* obj0
= 0 ;
4469 (char *) "self", NULL
4472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4491 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
*resultobj
;
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4501 result
= (int)wxStaticLine::GetDefaultSize();
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4506 resultobj
= SWIG_FromInt((int)result
);
4513 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4516 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4518 return Py_BuildValue((char *)"");
4520 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
;
4522 wxWindow
*arg1
= (wxWindow
*) 0 ;
4524 wxString
*arg3
= 0 ;
4525 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4526 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4527 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4528 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4529 long arg6
= (long) 0 ;
4530 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4531 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4532 wxStaticText
*result
;
4533 bool temp3
= False
;
4536 bool temp7
= False
;
4537 PyObject
* obj0
= 0 ;
4538 PyObject
* obj1
= 0 ;
4539 PyObject
* obj2
= 0 ;
4540 PyObject
* obj3
= 0 ;
4541 PyObject
* obj4
= 0 ;
4542 PyObject
* obj5
= 0 ;
4543 PyObject
* obj6
= 0 ;
4545 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4551 arg2
= (int) SWIG_AsInt(obj1
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4554 arg3
= wxString_in_helper(obj2
);
4555 if (arg3
== NULL
) SWIG_fail
;
4561 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4567 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4571 arg6
= (long) SWIG_AsLong(obj5
);
4572 if (PyErr_Occurred()) SWIG_fail
;
4576 arg7
= wxString_in_helper(obj6
);
4577 if (arg7
== NULL
) SWIG_fail
;
4582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4583 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) SWIG_fail
;
4588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4611 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4612 PyObject
*resultobj
;
4613 wxStaticText
*result
;
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 result
= (wxStaticText
*)new wxStaticText();
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4633 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
*resultobj
;
4635 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4636 wxWindow
*arg2
= (wxWindow
*) 0 ;
4638 wxString
*arg4
= 0 ;
4639 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4640 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4641 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4642 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4643 long arg7
= (long) 0 ;
4644 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4645 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4647 bool temp4
= False
;
4650 bool temp8
= False
;
4651 PyObject
* obj0
= 0 ;
4652 PyObject
* obj1
= 0 ;
4653 PyObject
* obj2
= 0 ;
4654 PyObject
* obj3
= 0 ;
4655 PyObject
* obj4
= 0 ;
4656 PyObject
* obj5
= 0 ;
4657 PyObject
* obj6
= 0 ;
4658 PyObject
* obj7
= 0 ;
4660 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
4665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4668 arg3
= (int) SWIG_AsInt(obj2
);
4669 if (PyErr_Occurred()) SWIG_fail
;
4671 arg4
= wxString_in_helper(obj3
);
4672 if (arg4
== NULL
) SWIG_fail
;
4678 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4684 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4688 arg7
= (long) SWIG_AsLong(obj6
);
4689 if (PyErr_Occurred()) SWIG_fail
;
4693 arg8
= wxString_in_helper(obj7
);
4694 if (arg8
== NULL
) SWIG_fail
;
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4730 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4733 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4735 return Py_BuildValue((char *)"");
4737 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
*resultobj
;
4739 wxWindow
*arg1
= (wxWindow
*) 0 ;
4741 wxBitmap
*arg3
= 0 ;
4742 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4743 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4744 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4745 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4746 long arg6
= (long) 0 ;
4747 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4748 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4749 wxStaticBitmap
*result
;
4752 bool temp7
= False
;
4753 PyObject
* obj0
= 0 ;
4754 PyObject
* obj1
= 0 ;
4755 PyObject
* obj2
= 0 ;
4756 PyObject
* obj3
= 0 ;
4757 PyObject
* obj4
= 0 ;
4758 PyObject
* obj5
= 0 ;
4759 PyObject
* obj6
= 0 ;
4761 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4767 arg2
= (int) SWIG_AsInt(obj1
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4769 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
4770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4773 PyErr_SetString(PyExc_TypeError
,"null reference");
4779 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4785 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4789 arg6
= (long) SWIG_AsLong(obj5
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4794 arg7
= wxString_in_helper(obj6
);
4795 if (arg7
== NULL
) SWIG_fail
;
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) SWIG_fail
;
4806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4821 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
*resultobj
;
4823 wxStaticBitmap
*result
;
4828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4831 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4833 wxPyEndAllowThreads(__tstate
);
4834 if (PyErr_Occurred()) SWIG_fail
;
4836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4843 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4844 PyObject
*resultobj
;
4845 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4846 wxWindow
*arg2
= (wxWindow
*) 0 ;
4848 wxBitmap
*arg4
= 0 ;
4849 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4850 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4851 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4852 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4853 long arg7
= (long) 0 ;
4854 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4855 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4859 bool temp8
= False
;
4860 PyObject
* obj0
= 0 ;
4861 PyObject
* obj1
= 0 ;
4862 PyObject
* obj2
= 0 ;
4863 PyObject
* obj3
= 0 ;
4864 PyObject
* obj4
= 0 ;
4865 PyObject
* obj5
= 0 ;
4866 PyObject
* obj6
= 0 ;
4867 PyObject
* obj7
= 0 ;
4869 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4875 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4877 arg3
= (int) SWIG_AsInt(obj2
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4879 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
4880 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4883 PyErr_SetString(PyExc_TypeError
,"null reference");
4889 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4895 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4899 arg7
= (long) SWIG_AsLong(obj6
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4904 arg8
= wxString_in_helper(obj7
);
4905 if (arg8
== NULL
) SWIG_fail
;
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4933 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
*resultobj
;
4935 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4937 PyObject
* obj0
= 0 ;
4939 (char *) "self", NULL
4942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 result
= (arg1
)->GetBitmap();
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) SWIG_fail
;
4953 wxBitmap
* resultptr
;
4954 resultptr
= new wxBitmap((wxBitmap
&) result
);
4955 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4963 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
*resultobj
;
4965 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4966 wxBitmap
*arg2
= 0 ;
4967 PyObject
* obj0
= 0 ;
4968 PyObject
* obj1
= 0 ;
4970 (char *) "self",(char *) "bitmap", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4976 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4977 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4980 PyErr_SetString(PyExc_TypeError
,"null reference");
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4990 Py_INCREF(Py_None
); resultobj
= Py_None
;
4997 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
*resultobj
;
4999 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5001 PyObject
* obj0
= 0 ;
5002 PyObject
* obj1
= 0 ;
5004 (char *) "self",(char *) "icon", NULL
5007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5011 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5014 PyErr_SetString(PyExc_TypeError
,"null reference");
5018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5019 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5021 wxPyEndAllowThreads(__tstate
);
5022 if (PyErr_Occurred()) SWIG_fail
;
5024 Py_INCREF(Py_None
); resultobj
= Py_None
;
5031 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5033 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5034 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5036 return Py_BuildValue((char *)"");
5038 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5039 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5044 static PyObject
*_wrap_ListBoxNameStr_get() {
5049 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5051 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5058 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
;
5060 wxWindow
*arg1
= (wxWindow
*) 0 ;
5062 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5063 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5064 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5065 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5066 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5067 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5068 long arg6
= (long) 0 ;
5069 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5070 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5071 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5072 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5076 bool temp5
= False
;
5077 bool temp8
= False
;
5078 PyObject
* obj0
= 0 ;
5079 PyObject
* obj1
= 0 ;
5080 PyObject
* obj2
= 0 ;
5081 PyObject
* obj3
= 0 ;
5082 PyObject
* obj4
= 0 ;
5083 PyObject
* obj5
= 0 ;
5084 PyObject
* obj6
= 0 ;
5085 PyObject
* obj7
= 0 ;
5087 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5093 arg2
= (int) SWIG_AsInt(obj1
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5098 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5104 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5109 if (! PySequence_Check(obj4
)) {
5110 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5113 arg5
= new wxArrayString
;
5115 int i
, len
=PySequence_Length(obj4
);
5116 for (i
=0; i
<len
; i
++) {
5117 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5119 PyObject
* str
= PyObject_Unicode(item
);
5121 PyObject
* str
= PyObject_Str(item
);
5123 arg5
->Add(Py2wxString(str
));
5130 arg6
= (long) SWIG_AsLong(obj5
);
5131 if (PyErr_Occurred()) SWIG_fail
;
5134 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5135 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5138 PyErr_SetString(PyExc_TypeError
,"null reference");
5144 arg8
= wxString_in_helper(obj7
);
5145 if (arg8
== NULL
) SWIG_fail
;
5150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5153 wxPyEndAllowThreads(__tstate
);
5154 if (PyErr_Occurred()) SWIG_fail
;
5156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5158 if (temp5
) delete arg5
;
5167 if (temp5
) delete arg5
;
5177 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
*resultobj
;
5184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5187 result
= (wxListBox
*)new wxListBox();
5189 wxPyEndAllowThreads(__tstate
);
5190 if (PyErr_Occurred()) SWIG_fail
;
5192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5199 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5200 PyObject
*resultobj
;
5201 wxListBox
*arg1
= (wxListBox
*) 0 ;
5202 wxWindow
*arg2
= (wxWindow
*) 0 ;
5204 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5205 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5206 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5207 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5208 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5209 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5210 long arg7
= (long) 0 ;
5211 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5212 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5213 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5214 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5218 bool temp6
= False
;
5219 bool temp9
= False
;
5220 PyObject
* obj0
= 0 ;
5221 PyObject
* obj1
= 0 ;
5222 PyObject
* obj2
= 0 ;
5223 PyObject
* obj3
= 0 ;
5224 PyObject
* obj4
= 0 ;
5225 PyObject
* obj5
= 0 ;
5226 PyObject
* obj6
= 0 ;
5227 PyObject
* obj7
= 0 ;
5228 PyObject
* obj8
= 0 ;
5230 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5238 arg3
= (int) SWIG_AsInt(obj2
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5243 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5249 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5254 if (! PySequence_Check(obj5
)) {
5255 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5258 arg6
= new wxArrayString
;
5260 int i
, len
=PySequence_Length(obj5
);
5261 for (i
=0; i
<len
; i
++) {
5262 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5264 PyObject
* str
= PyObject_Unicode(item
);
5266 PyObject
* str
= PyObject_Str(item
);
5268 arg6
->Add(Py2wxString(str
));
5275 arg7
= (long) SWIG_AsLong(obj6
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5279 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5280 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5283 PyErr_SetString(PyExc_TypeError
,"null reference");
5289 arg9
= wxString_in_helper(obj8
);
5290 if (arg9
== NULL
) SWIG_fail
;
5295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5305 if (temp6
) delete arg6
;
5314 if (temp6
) delete arg6
;
5324 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5325 PyObject
*resultobj
;
5326 wxListBox
*arg1
= (wxListBox
*) 0 ;
5327 wxString
*arg2
= 0 ;
5329 PyObject
*arg4
= (PyObject
*) NULL
;
5330 bool temp2
= False
;
5331 PyObject
* obj0
= 0 ;
5332 PyObject
* obj1
= 0 ;
5333 PyObject
* obj2
= 0 ;
5334 PyObject
* obj3
= 0 ;
5336 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5343 arg2
= wxString_in_helper(obj1
);
5344 if (arg2
== NULL
) SWIG_fail
;
5347 arg3
= (int) SWIG_AsInt(obj2
);
5348 if (PyErr_Occurred()) SWIG_fail
;
5353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5354 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5359 Py_INCREF(Py_None
); resultobj
= Py_None
;
5374 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
*resultobj
;
5376 wxListBox
*arg1
= (wxListBox
*) 0 ;
5377 wxArrayString
*arg2
= 0 ;
5379 bool temp2
= False
;
5380 PyObject
* obj0
= 0 ;
5381 PyObject
* obj1
= 0 ;
5382 PyObject
* obj2
= 0 ;
5384 (char *) "self",(char *) "items",(char *) "pos", NULL
5387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5391 if (! PySequence_Check(obj1
)) {
5392 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5395 arg2
= new wxArrayString
;
5397 int i
, len
=PySequence_Length(obj1
);
5398 for (i
=0; i
<len
; i
++) {
5399 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5401 PyObject
* str
= PyObject_Unicode(item
);
5403 PyObject
* str
= PyObject_Str(item
);
5405 arg2
->Add(Py2wxString(str
));
5410 arg3
= (int) SWIG_AsInt(obj2
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5414 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5419 Py_INCREF(Py_None
); resultobj
= Py_None
;
5421 if (temp2
) delete arg2
;
5426 if (temp2
) delete arg2
;
5432 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
*resultobj
;
5434 wxListBox
*arg1
= (wxListBox
*) 0 ;
5435 wxArrayString
*arg2
= 0 ;
5436 bool temp2
= False
;
5437 PyObject
* obj0
= 0 ;
5438 PyObject
* obj1
= 0 ;
5440 (char *) "self",(char *) "items", NULL
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5447 if (! PySequence_Check(obj1
)) {
5448 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5451 arg2
= new wxArrayString
;
5453 int i
, len
=PySequence_Length(obj1
);
5454 for (i
=0; i
<len
; i
++) {
5455 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5457 PyObject
* str
= PyObject_Unicode(item
);
5459 PyObject
* str
= PyObject_Str(item
);
5461 arg2
->Add(Py2wxString(str
));
5467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 (arg1
)->Set((wxArrayString
const &)*arg2
);
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5473 Py_INCREF(Py_None
); resultobj
= Py_None
;
5475 if (temp2
) delete arg2
;
5480 if (temp2
) delete arg2
;
5486 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5487 PyObject
*resultobj
;
5488 wxListBox
*arg1
= (wxListBox
*) 0 ;
5491 PyObject
* obj0
= 0 ;
5492 PyObject
* obj1
= 0 ;
5494 (char *) "self",(char *) "n", NULL
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5500 arg2
= (int) SWIG_AsInt(obj1
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5504 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5506 wxPyEndAllowThreads(__tstate
);
5507 if (PyErr_Occurred()) SWIG_fail
;
5510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5518 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
*resultobj
;
5520 wxListBox
*arg1
= (wxListBox
*) 0 ;
5522 bool arg3
= (bool) True
;
5523 PyObject
* obj0
= 0 ;
5524 PyObject
* obj1
= 0 ;
5525 PyObject
* obj2
= 0 ;
5527 (char *) "self",(char *) "n",(char *) "select", NULL
5530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5533 arg2
= (int) SWIG_AsInt(obj1
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5536 arg3
= (bool) SWIG_AsBool(obj2
);
5537 if (PyErr_Occurred()) SWIG_fail
;
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5541 (arg1
)->SetSelection(arg2
,arg3
);
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5546 Py_INCREF(Py_None
); resultobj
= Py_None
;
5553 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
*resultobj
;
5555 wxListBox
*arg1
= (wxListBox
*) 0 ;
5557 PyObject
* obj0
= 0 ;
5558 PyObject
* obj1
= 0 ;
5560 (char *) "self",(char *) "n", NULL
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5566 arg2
= (int) SWIG_AsInt(obj1
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5570 (arg1
)->Select(arg2
);
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5575 Py_INCREF(Py_None
); resultobj
= Py_None
;
5582 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5583 PyObject
*resultobj
;
5584 wxListBox
*arg1
= (wxListBox
*) 0 ;
5586 PyObject
* obj0
= 0 ;
5587 PyObject
* obj1
= 0 ;
5589 (char *) "self",(char *) "n", NULL
5592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5595 arg2
= (int) SWIG_AsInt(obj1
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 (arg1
)->Deselect(arg2
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5604 Py_INCREF(Py_None
); resultobj
= Py_None
;
5611 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5612 PyObject
*resultobj
;
5613 wxListBox
*arg1
= (wxListBox
*) 0 ;
5614 int arg2
= (int) -1 ;
5615 PyObject
* obj0
= 0 ;
5616 PyObject
* obj1
= 0 ;
5618 (char *) "self",(char *) "itemToLeaveSelected", NULL
5621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5625 arg2
= (int) SWIG_AsInt(obj1
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5630 (arg1
)->DeselectAll(arg2
);
5632 wxPyEndAllowThreads(__tstate
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5635 Py_INCREF(Py_None
); resultobj
= Py_None
;
5642 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
*resultobj
;
5644 wxListBox
*arg1
= (wxListBox
*) 0 ;
5645 wxString
*arg2
= 0 ;
5646 bool arg3
= (bool) True
;
5648 bool temp2
= False
;
5649 PyObject
* obj0
= 0 ;
5650 PyObject
* obj1
= 0 ;
5651 PyObject
* obj2
= 0 ;
5653 (char *) "self",(char *) "s",(char *) "select", NULL
5656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5660 arg2
= wxString_in_helper(obj1
);
5661 if (arg2
== NULL
) SWIG_fail
;
5665 arg3
= (bool) SWIG_AsBool(obj2
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5692 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
*resultobj
;
5694 wxListBox
*arg1
= (wxListBox
*) 0 ;
5696 PyObject
* obj0
= 0 ;
5698 (char *) "self", NULL
5701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5706 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5708 wxPyEndAllowThreads(__tstate
);
5709 if (PyErr_Occurred()) SWIG_fail
;
5718 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
*resultobj
;
5720 wxListBox
*arg1
= (wxListBox
*) 0 ;
5722 PyObject
* obj0
= 0 ;
5723 PyObject
* obj1
= 0 ;
5725 (char *) "self",(char *) "n", NULL
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5731 arg2
= (int) SWIG_AsInt(obj1
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 (arg1
)->SetFirstItem(arg2
);
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5740 Py_INCREF(Py_None
); resultobj
= Py_None
;
5747 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5749 wxListBox
*arg1
= (wxListBox
*) 0 ;
5750 wxString
*arg2
= 0 ;
5751 bool temp2
= False
;
5752 PyObject
* obj0
= 0 ;
5753 PyObject
* obj1
= 0 ;
5755 (char *) "self",(char *) "s", NULL
5758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5762 arg2
= wxString_in_helper(obj1
);
5763 if (arg2
== NULL
) SWIG_fail
;
5767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5768 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5770 wxPyEndAllowThreads(__tstate
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5773 Py_INCREF(Py_None
); resultobj
= Py_None
;
5788 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
*resultobj
;
5790 wxListBox
*arg1
= (wxListBox
*) 0 ;
5792 PyObject
* obj0
= 0 ;
5793 PyObject
* obj1
= 0 ;
5795 (char *) "self",(char *) "n", NULL
5798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5801 arg2
= (int) SWIG_AsInt(obj1
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5805 (arg1
)->EnsureVisible(arg2
);
5807 wxPyEndAllowThreads(__tstate
);
5808 if (PyErr_Occurred()) SWIG_fail
;
5810 Py_INCREF(Py_None
); resultobj
= Py_None
;
5817 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
*resultobj
;
5819 wxListBox
*arg1
= (wxListBox
*) 0 ;
5820 wxString
*arg2
= 0 ;
5821 bool temp2
= False
;
5822 PyObject
* obj0
= 0 ;
5823 PyObject
* obj1
= 0 ;
5825 (char *) "self",(char *) "s", NULL
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5832 arg2
= wxString_in_helper(obj1
);
5833 if (arg2
== NULL
) SWIG_fail
;
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5840 wxPyEndAllowThreads(__tstate
);
5841 if (PyErr_Occurred()) SWIG_fail
;
5843 Py_INCREF(Py_None
); resultobj
= Py_None
;
5858 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
;
5860 wxListBox
*arg1
= (wxListBox
*) 0 ;
5862 PyObject
* obj0
= 0 ;
5864 (char *) "self", NULL
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5872 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5874 wxPyEndAllowThreads(__tstate
);
5875 if (PyErr_Occurred()) SWIG_fail
;
5878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5886 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5887 PyObject
*resultobj
;
5888 wxListBox
*arg1
= (wxListBox
*) 0 ;
5890 wxColour
*arg3
= 0 ;
5892 PyObject
* obj0
= 0 ;
5893 PyObject
* obj1
= 0 ;
5894 PyObject
* obj2
= 0 ;
5896 (char *) "self",(char *) "item",(char *) "c", NULL
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5902 arg2
= (int) SWIG_AsInt(obj1
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5906 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5912 wxPyEndAllowThreads(__tstate
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5915 Py_INCREF(Py_None
); resultobj
= Py_None
;
5922 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5923 PyObject
*resultobj
;
5924 wxListBox
*arg1
= (wxListBox
*) 0 ;
5926 wxColour
*arg3
= 0 ;
5928 PyObject
* obj0
= 0 ;
5929 PyObject
* obj1
= 0 ;
5930 PyObject
* obj2
= 0 ;
5932 (char *) "self",(char *) "item",(char *) "c", NULL
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5938 arg2
= (int) SWIG_AsInt(obj1
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5942 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5951 Py_INCREF(Py_None
); resultobj
= Py_None
;
5958 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
*resultobj
;
5960 wxListBox
*arg1
= (wxListBox
*) 0 ;
5963 PyObject
* obj0
= 0 ;
5964 PyObject
* obj1
= 0 ;
5965 PyObject
* obj2
= 0 ;
5967 (char *) "self",(char *) "item",(char *) "f", NULL
5970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5973 arg2
= (int) SWIG_AsInt(obj1
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5975 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
5976 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5979 PyErr_SetString(PyExc_TypeError
,"null reference");
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5989 Py_INCREF(Py_None
); resultobj
= Py_None
;
5996 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5999 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6001 return Py_BuildValue((char *)"");
6003 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
;
6005 wxWindow
*arg1
= (wxWindow
*) 0 ;
6007 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6008 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6009 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6010 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6011 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6012 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6013 long arg6
= (long) 0 ;
6014 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6015 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6016 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6017 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6018 wxCheckListBox
*result
;
6021 bool temp5
= False
;
6022 bool temp8
= False
;
6023 PyObject
* obj0
= 0 ;
6024 PyObject
* obj1
= 0 ;
6025 PyObject
* obj2
= 0 ;
6026 PyObject
* obj3
= 0 ;
6027 PyObject
* obj4
= 0 ;
6028 PyObject
* obj5
= 0 ;
6029 PyObject
* obj6
= 0 ;
6030 PyObject
* obj7
= 0 ;
6032 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6038 arg2
= (int) SWIG_AsInt(obj1
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6043 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6049 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6054 if (! PySequence_Check(obj4
)) {
6055 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6058 arg5
= new wxArrayString
;
6060 int i
, len
=PySequence_Length(obj4
);
6061 for (i
=0; i
<len
; i
++) {
6062 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6064 PyObject
* str
= PyObject_Unicode(item
);
6066 PyObject
* str
= PyObject_Str(item
);
6068 arg5
->Add(Py2wxString(str
));
6075 arg6
= (long) SWIG_AsLong(obj5
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6079 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6080 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6083 PyErr_SetString(PyExc_TypeError
,"null reference");
6089 arg8
= wxString_in_helper(obj7
);
6090 if (arg8
== NULL
) SWIG_fail
;
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6103 if (temp5
) delete arg5
;
6112 if (temp5
) delete arg5
;
6122 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6123 PyObject
*resultobj
;
6124 wxCheckListBox
*result
;
6129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6132 result
= (wxCheckListBox
*)new wxCheckListBox();
6134 wxPyEndAllowThreads(__tstate
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6144 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
*resultobj
;
6146 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6147 wxWindow
*arg2
= (wxWindow
*) 0 ;
6149 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6150 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6151 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6152 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6153 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6154 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6155 long arg7
= (long) 0 ;
6156 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6157 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6158 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6159 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6163 bool temp6
= False
;
6164 bool temp9
= False
;
6165 PyObject
* obj0
= 0 ;
6166 PyObject
* obj1
= 0 ;
6167 PyObject
* obj2
= 0 ;
6168 PyObject
* obj3
= 0 ;
6169 PyObject
* obj4
= 0 ;
6170 PyObject
* obj5
= 0 ;
6171 PyObject
* obj6
= 0 ;
6172 PyObject
* obj7
= 0 ;
6173 PyObject
* obj8
= 0 ;
6175 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6183 arg3
= (int) SWIG_AsInt(obj2
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6188 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6194 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6199 if (! PySequence_Check(obj5
)) {
6200 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6203 arg6
= new wxArrayString
;
6205 int i
, len
=PySequence_Length(obj5
);
6206 for (i
=0; i
<len
; i
++) {
6207 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6209 PyObject
* str
= PyObject_Unicode(item
);
6211 PyObject
* str
= PyObject_Str(item
);
6213 arg6
->Add(Py2wxString(str
));
6220 arg7
= (long) SWIG_AsLong(obj6
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6224 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6225 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6228 PyErr_SetString(PyExc_TypeError
,"null reference");
6234 arg9
= wxString_in_helper(obj8
);
6235 if (arg9
== NULL
) SWIG_fail
;
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6243 wxPyEndAllowThreads(__tstate
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6250 if (temp6
) delete arg6
;
6259 if (temp6
) delete arg6
;
6269 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
;
6271 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6274 PyObject
* obj0
= 0 ;
6275 PyObject
* obj1
= 0 ;
6277 (char *) "self",(char *) "index", NULL
6280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6283 arg2
= (int) SWIG_AsInt(obj1
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 result
= (bool)(arg1
)->IsChecked(arg2
);
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6301 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
*resultobj
;
6303 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6305 int arg3
= (int) True
;
6306 PyObject
* obj0
= 0 ;
6307 PyObject
* obj1
= 0 ;
6308 PyObject
* obj2
= 0 ;
6310 (char *) "self",(char *) "index",(char *) "check", NULL
6313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6316 arg2
= (int) SWIG_AsInt(obj1
);
6317 if (PyErr_Occurred()) SWIG_fail
;
6319 arg3
= (int) SWIG_AsInt(obj2
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 (arg1
)->Check(arg2
,arg3
);
6326 wxPyEndAllowThreads(__tstate
);
6327 if (PyErr_Occurred()) SWIG_fail
;
6329 Py_INCREF(Py_None
); resultobj
= Py_None
;
6336 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6337 PyObject
*resultobj
;
6338 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6340 PyObject
* obj0
= 0 ;
6342 (char *) "self", NULL
6345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6350 result
= (int)(arg1
)->GetItemHeight();
6352 wxPyEndAllowThreads(__tstate
);
6353 if (PyErr_Occurred()) SWIG_fail
;
6355 resultobj
= SWIG_FromInt((int)result
);
6362 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
*resultobj
;
6364 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6368 PyObject
* obj0
= 0 ;
6369 PyObject
* obj1
= 0 ;
6371 (char *) "self",(char *) "pt", NULL
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6379 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6383 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6388 resultobj
= SWIG_FromInt((int)result
);
6395 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
*resultobj
;
6397 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6401 PyObject
* obj0
= 0 ;
6402 PyObject
* obj1
= 0 ;
6403 PyObject
* obj2
= 0 ;
6405 (char *) "self",(char *) "x",(char *) "y", NULL
6408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6411 arg2
= (int) SWIG_AsInt(obj1
);
6412 if (PyErr_Occurred()) SWIG_fail
;
6413 arg3
= (int) SWIG_AsInt(obj2
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6417 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6422 resultobj
= SWIG_FromInt((int)result
);
6429 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6431 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6432 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6434 return Py_BuildValue((char *)"");
6436 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6437 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6442 static PyObject
*_wrap_TextCtrlNameStr_get() {
6447 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6449 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6456 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6457 PyObject
*resultobj
;
6460 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 result
= (wxTextAttr
*)new wxTextAttr();
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6475 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6476 PyObject
*resultobj
;
6477 wxColour
*arg1
= 0 ;
6478 wxColour
const &arg2_defvalue
= wxNullColour
;
6479 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6480 wxFont
const &arg3_defvalue
= wxNullFont
;
6481 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6482 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6486 PyObject
* obj0
= 0 ;
6487 PyObject
* obj1
= 0 ;
6488 PyObject
* obj2
= 0 ;
6489 PyObject
* obj3
= 0 ;
6491 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6494 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6499 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6503 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6504 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6507 PyErr_SetString(PyExc_TypeError
,"null reference");
6512 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6519 wxPyEndAllowThreads(__tstate
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6529 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6534 argc
= PyObject_Length(args
);
6535 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6536 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6539 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6541 if ((argc
>= 1) && (argc
<= 4)) {
6544 _v
= wxColour_typecheck(argv
[0]);
6548 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6551 _v
= wxColour_typecheck(argv
[1]);
6555 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6559 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6568 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6570 _v
= SWIG_CheckInt(argv
[3]);
6572 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6579 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6584 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6585 PyObject
*resultobj
;
6586 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6587 PyObject
* obj0
= 0 ;
6589 (char *) "self", NULL
6592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6602 Py_INCREF(Py_None
); resultobj
= Py_None
;
6609 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6610 PyObject
*resultobj
;
6611 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6612 PyObject
* obj0
= 0 ;
6614 (char *) "self", NULL
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6627 Py_INCREF(Py_None
); resultobj
= Py_None
;
6634 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
;
6636 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6637 wxColour
*arg2
= 0 ;
6639 PyObject
* obj0
= 0 ;
6640 PyObject
* obj1
= 0 ;
6642 (char *) "self",(char *) "colText", NULL
6645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6650 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6654 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6659 Py_INCREF(Py_None
); resultobj
= Py_None
;
6666 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6667 PyObject
*resultobj
;
6668 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6669 wxColour
*arg2
= 0 ;
6671 PyObject
* obj0
= 0 ;
6672 PyObject
* obj1
= 0 ;
6674 (char *) "self",(char *) "colBack", NULL
6677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6682 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6686 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6688 wxPyEndAllowThreads(__tstate
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6691 Py_INCREF(Py_None
); resultobj
= Py_None
;
6698 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6699 PyObject
*resultobj
;
6700 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6702 long arg3
= (long) wxTEXT_ATTR_FONT
;
6703 PyObject
* obj0
= 0 ;
6704 PyObject
* obj1
= 0 ;
6705 PyObject
* obj2
= 0 ;
6707 (char *) "self",(char *) "font",(char *) "flags", NULL
6710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6714 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6717 PyErr_SetString(PyExc_TypeError
,"null reference");
6721 arg3
= (long) SWIG_AsLong(obj2
);
6722 if (PyErr_Occurred()) SWIG_fail
;
6725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6726 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6728 wxPyEndAllowThreads(__tstate
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6731 Py_INCREF(Py_None
); resultobj
= Py_None
;
6738 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
*resultobj
;
6740 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6742 PyObject
* obj0
= 0 ;
6743 PyObject
* obj1
= 0 ;
6745 (char *) "self",(char *) "alignment", NULL
6748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6751 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
6752 if (PyErr_Occurred()) SWIG_fail
;
6754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6755 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6757 wxPyEndAllowThreads(__tstate
);
6758 if (PyErr_Occurred()) SWIG_fail
;
6760 Py_INCREF(Py_None
); resultobj
= Py_None
;
6767 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6768 PyObject
*resultobj
;
6769 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6770 wxArrayInt
*arg2
= 0 ;
6771 bool temp2
= False
;
6772 PyObject
* obj0
= 0 ;
6773 PyObject
* obj1
= 0 ;
6775 (char *) "self",(char *) "tabs", NULL
6778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6782 if (! PySequence_Check(obj1
)) {
6783 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6786 arg2
= new wxArrayInt
;
6788 int i
, len
=PySequence_Length(obj1
);
6789 for (i
=0; i
<len
; i
++) {
6790 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6791 PyObject
* number
= PyNumber_Int(item
);
6792 arg2
->Add(PyInt_AS_LONG(number
));
6798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6799 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6801 wxPyEndAllowThreads(__tstate
);
6802 if (PyErr_Occurred()) SWIG_fail
;
6804 Py_INCREF(Py_None
); resultobj
= Py_None
;
6806 if (temp2
) delete arg2
;
6811 if (temp2
) delete arg2
;
6817 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
*resultobj
;
6819 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6821 PyObject
* obj0
= 0 ;
6822 PyObject
* obj1
= 0 ;
6824 (char *) "self",(char *) "indent", NULL
6827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6830 arg2
= (int) SWIG_AsInt(obj1
);
6831 if (PyErr_Occurred()) SWIG_fail
;
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 (arg1
)->SetLeftIndent(arg2
);
6836 wxPyEndAllowThreads(__tstate
);
6837 if (PyErr_Occurred()) SWIG_fail
;
6839 Py_INCREF(Py_None
); resultobj
= Py_None
;
6846 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
*resultobj
;
6848 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6850 PyObject
* obj0
= 0 ;
6851 PyObject
* obj1
= 0 ;
6853 (char *) "self",(char *) "indent", NULL
6856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6859 arg2
= (int) SWIG_AsInt(obj1
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6863 (arg1
)->SetRightIndent(arg2
);
6865 wxPyEndAllowThreads(__tstate
);
6866 if (PyErr_Occurred()) SWIG_fail
;
6868 Py_INCREF(Py_None
); resultobj
= Py_None
;
6875 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
*resultobj
;
6877 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6879 PyObject
* obj0
= 0 ;
6880 PyObject
* obj1
= 0 ;
6882 (char *) "self",(char *) "flags", NULL
6885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6888 arg2
= (long) SWIG_AsLong(obj1
);
6889 if (PyErr_Occurred()) SWIG_fail
;
6891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6892 (arg1
)->SetFlags(arg2
);
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6897 Py_INCREF(Py_None
); resultobj
= Py_None
;
6904 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, 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_HasTextColour",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
)->HasTextColour();
6920 wxPyEndAllowThreads(__tstate
);
6921 if (PyErr_Occurred()) SWIG_fail
;
6924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6932 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, 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_HasBackgroundColour",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
)->HasBackgroundColour();
6948 wxPyEndAllowThreads(__tstate
);
6949 if (PyErr_Occurred()) SWIG_fail
;
6952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6960 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, 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_HasFont",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
)->HasFont();
6976 wxPyEndAllowThreads(__tstate
);
6977 if (PyErr_Occurred()) SWIG_fail
;
6980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6988 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, 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_HasAlignment",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
)->HasAlignment();
7004 wxPyEndAllowThreads(__tstate
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7016 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, 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_HasTabs",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
)->HasTabs();
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7044 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, 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_HasLeftIndent",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
)->HasLeftIndent();
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7072 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
*resultobj
;
7074 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7076 PyObject
* obj0
= 0 ;
7078 (char *) "self", NULL
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7086 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7088 wxPyEndAllowThreads(__tstate
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7100 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7101 PyObject
*resultobj
;
7102 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7105 PyObject
* obj0
= 0 ;
7106 PyObject
* obj1
= 0 ;
7108 (char *) "self",(char *) "flag", NULL
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7114 arg2
= (long) SWIG_AsLong(obj1
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7118 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7120 wxPyEndAllowThreads(__tstate
);
7121 if (PyErr_Occurred()) SWIG_fail
;
7124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7132 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7133 PyObject
*resultobj
;
7134 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7136 PyObject
* obj0
= 0 ;
7138 (char *) "self", NULL
7141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7147 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7148 result
= (wxColour
*) &_result_ref
;
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) SWIG_fail
;
7154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7161 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7162 PyObject
*resultobj
;
7163 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7165 PyObject
* obj0
= 0 ;
7167 (char *) "self", NULL
7170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7177 result
= (wxColour
*) &_result_ref
;
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7190 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
*resultobj
;
7192 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7194 PyObject
* obj0
= 0 ;
7196 (char *) "self", NULL
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7206 result
= (wxFont
*) &_result_ref
;
7209 wxPyEndAllowThreads(__tstate
);
7210 if (PyErr_Occurred()) SWIG_fail
;
7213 wxFont
* resultptr
= new wxFont(*result
);
7214 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7222 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
*resultobj
;
7224 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7226 PyObject
* obj0
= 0 ;
7228 (char *) "self", NULL
7231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7236 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7241 resultobj
= SWIG_FromInt((int)result
);
7248 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
*resultobj
;
7250 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7252 PyObject
* obj0
= 0 ;
7254 (char *) "self", NULL
7257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7263 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7264 result
= (wxArrayInt
*) &_result_ref
;
7267 wxPyEndAllowThreads(__tstate
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7271 resultobj
= PyList_New(0);
7273 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7274 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7275 PyList_Append(resultobj
, val
);
7285 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7286 PyObject
*resultobj
;
7287 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7289 PyObject
* obj0
= 0 ;
7291 (char *) "self", NULL
7294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7301 wxPyEndAllowThreads(__tstate
);
7302 if (PyErr_Occurred()) SWIG_fail
;
7304 resultobj
= SWIG_FromLong((long)result
);
7311 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7312 PyObject
*resultobj
;
7313 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7315 PyObject
* obj0
= 0 ;
7317 (char *) "self", NULL
7320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7325 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7327 wxPyEndAllowThreads(__tstate
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7330 resultobj
= SWIG_FromLong((long)result
);
7337 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
*resultobj
;
7339 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7341 PyObject
* obj0
= 0 ;
7343 (char *) "self", NULL
7346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7351 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7353 wxPyEndAllowThreads(__tstate
);
7354 if (PyErr_Occurred()) SWIG_fail
;
7356 resultobj
= SWIG_FromLong((long)result
);
7363 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
*resultobj
;
7365 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7367 PyObject
* obj0
= 0 ;
7369 (char *) "self", NULL
7372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7377 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7379 wxPyEndAllowThreads(__tstate
);
7380 if (PyErr_Occurred()) SWIG_fail
;
7383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7391 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7392 PyObject
*resultobj
;
7393 wxTextAttr
*arg1
= 0 ;
7394 wxTextAttr
*arg2
= 0 ;
7395 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7397 PyObject
* obj0
= 0 ;
7398 PyObject
* obj1
= 0 ;
7399 PyObject
* obj2
= 0 ;
7401 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7406 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7409 PyErr_SetString(PyExc_TypeError
,"null reference");
7412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7413 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7416 PyErr_SetString(PyExc_TypeError
,"null reference");
7419 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7423 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7425 wxPyEndAllowThreads(__tstate
);
7426 if (PyErr_Occurred()) SWIG_fail
;
7429 wxTextAttr
* resultptr
;
7430 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7439 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7442 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7444 return Py_BuildValue((char *)"");
7446 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
*resultobj
;
7448 wxWindow
*arg1
= (wxWindow
*) 0 ;
7450 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7451 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7452 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7453 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7454 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7455 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7456 long arg6
= (long) 0 ;
7457 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7458 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7459 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7460 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7462 bool temp3
= False
;
7465 bool temp8
= False
;
7466 PyObject
* obj0
= 0 ;
7467 PyObject
* obj1
= 0 ;
7468 PyObject
* obj2
= 0 ;
7469 PyObject
* obj3
= 0 ;
7470 PyObject
* obj4
= 0 ;
7471 PyObject
* obj5
= 0 ;
7472 PyObject
* obj6
= 0 ;
7473 PyObject
* obj7
= 0 ;
7475 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7481 arg2
= (int) SWIG_AsInt(obj1
);
7482 if (PyErr_Occurred()) SWIG_fail
;
7485 arg3
= wxString_in_helper(obj2
);
7486 if (arg3
== NULL
) SWIG_fail
;
7493 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7499 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7503 arg6
= (long) SWIG_AsLong(obj5
);
7504 if (PyErr_Occurred()) SWIG_fail
;
7507 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7508 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7511 PyErr_SetString(PyExc_TypeError
,"null reference");
7517 arg8
= wxString_in_helper(obj7
);
7518 if (arg8
== NULL
) SWIG_fail
;
7523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7524 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7526 wxPyEndAllowThreads(__tstate
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7530 resultobj
= wxPyMake_wxObject(result
);
7554 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7555 PyObject
*resultobj
;
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 result
= (wxTextCtrl
*)new wxTextCtrl();
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7570 resultobj
= wxPyMake_wxObject(result
);
7578 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7579 PyObject
*resultobj
;
7580 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7581 wxWindow
*arg2
= (wxWindow
*) 0 ;
7583 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7584 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7585 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7586 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7587 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7588 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7589 long arg7
= (long) 0 ;
7590 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7591 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7592 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7593 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7595 bool temp4
= False
;
7598 bool temp9
= False
;
7599 PyObject
* obj0
= 0 ;
7600 PyObject
* obj1
= 0 ;
7601 PyObject
* obj2
= 0 ;
7602 PyObject
* obj3
= 0 ;
7603 PyObject
* obj4
= 0 ;
7604 PyObject
* obj5
= 0 ;
7605 PyObject
* obj6
= 0 ;
7606 PyObject
* obj7
= 0 ;
7607 PyObject
* obj8
= 0 ;
7609 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7617 arg3
= (int) SWIG_AsInt(obj2
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7621 arg4
= wxString_in_helper(obj3
);
7622 if (arg4
== NULL
) SWIG_fail
;
7629 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7635 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7639 arg7
= (long) SWIG_AsLong(obj6
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7643 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
7644 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7647 PyErr_SetString(PyExc_TypeError
,"null reference");
7653 arg9
= wxString_in_helper(obj8
);
7654 if (arg9
== NULL
) SWIG_fail
;
7659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7660 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7690 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
*resultobj
;
7692 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7694 PyObject
* obj0
= 0 ;
7696 (char *) "self", NULL
7699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7711 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7713 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7722 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7723 PyObject
*resultobj
;
7724 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7725 wxString
*arg2
= 0 ;
7726 bool temp2
= False
;
7727 PyObject
* obj0
= 0 ;
7728 PyObject
* obj1
= 0 ;
7730 (char *) "self",(char *) "value", NULL
7733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7737 arg2
= wxString_in_helper(obj1
);
7738 if (arg2
== NULL
) SWIG_fail
;
7742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7743 (arg1
)->SetValue((wxString
const &)*arg2
);
7745 wxPyEndAllowThreads(__tstate
);
7746 if (PyErr_Occurred()) SWIG_fail
;
7748 Py_INCREF(Py_None
); resultobj
= Py_None
;
7763 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7764 PyObject
*resultobj
;
7765 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7769 PyObject
* obj0
= 0 ;
7770 PyObject
* obj1
= 0 ;
7771 PyObject
* obj2
= 0 ;
7773 (char *) "self",(char *) "from",(char *) "to", NULL
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7779 arg2
= (long) SWIG_AsLong(obj1
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7781 arg3
= (long) SWIG_AsLong(obj2
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7785 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7787 wxPyEndAllowThreads(__tstate
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7803 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
*resultobj
;
7805 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7808 PyObject
* obj0
= 0 ;
7809 PyObject
* obj1
= 0 ;
7811 (char *) "self",(char *) "lineNo", NULL
7814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7817 arg2
= (long) SWIG_AsLong(obj1
);
7818 if (PyErr_Occurred()) SWIG_fail
;
7820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7821 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7823 wxPyEndAllowThreads(__tstate
);
7824 if (PyErr_Occurred()) SWIG_fail
;
7826 resultobj
= SWIG_FromInt((int)result
);
7833 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7834 PyObject
*resultobj
;
7835 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7838 PyObject
* obj0
= 0 ;
7839 PyObject
* obj1
= 0 ;
7841 (char *) "self",(char *) "lineNo", NULL
7844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7847 arg2
= (long) SWIG_AsLong(obj1
);
7848 if (PyErr_Occurred()) SWIG_fail
;
7850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7851 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7853 wxPyEndAllowThreads(__tstate
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7869 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
*resultobj
;
7871 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7873 PyObject
* obj0
= 0 ;
7875 (char *) "self", NULL
7878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= SWIG_FromInt((int)result
);
7895 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, 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_IsModified",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
)->IsModified();
7911 wxPyEndAllowThreads(__tstate
);
7912 if (PyErr_Occurred()) SWIG_fail
;
7915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7923 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, 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_IsEditable",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
)->IsEditable();
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7951 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, 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_IsSingleLine",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
)->IsSingleLine();
7967 wxPyEndAllowThreads(__tstate
);
7968 if (PyErr_Occurred()) SWIG_fail
;
7971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7979 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7980 PyObject
*resultobj
;
7981 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7983 PyObject
* obj0
= 0 ;
7985 (char *) "self", NULL
7988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7995 wxPyEndAllowThreads(__tstate
);
7996 if (PyErr_Occurred()) SWIG_fail
;
7999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8007 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
*resultobj
;
8009 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8010 long *arg2
= (long *) 0 ;
8011 long *arg3
= (long *) 0 ;
8014 PyObject
* obj0
= 0 ;
8016 (char *) "self", NULL
8021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8031 Py_INCREF(Py_None
); resultobj
= Py_None
;
8033 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8034 resultobj
= t_output_helper(resultobj
,o
);
8037 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8038 resultobj
= t_output_helper(resultobj
,o
);
8046 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8047 PyObject
*resultobj
;
8048 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8050 PyObject
* obj0
= 0 ;
8052 (char *) "self", NULL
8055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8078 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8079 PyObject
*resultobj
;
8080 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8081 PyObject
* obj0
= 0 ;
8083 (char *) "self", NULL
8086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8093 wxPyEndAllowThreads(__tstate
);
8094 if (PyErr_Occurred()) SWIG_fail
;
8096 Py_INCREF(Py_None
); resultobj
= Py_None
;
8103 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8104 PyObject
*resultobj
;
8105 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8108 wxString
*arg4
= 0 ;
8109 bool temp4
= False
;
8110 PyObject
* obj0
= 0 ;
8111 PyObject
* obj1
= 0 ;
8112 PyObject
* obj2
= 0 ;
8113 PyObject
* obj3
= 0 ;
8115 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8121 arg2
= (long) SWIG_AsLong(obj1
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8123 arg3
= (long) SWIG_AsLong(obj2
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8126 arg4
= wxString_in_helper(obj3
);
8127 if (arg4
== NULL
) SWIG_fail
;
8131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8132 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8134 wxPyEndAllowThreads(__tstate
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8137 Py_INCREF(Py_None
); resultobj
= Py_None
;
8152 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8153 PyObject
*resultobj
;
8154 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8157 PyObject
* obj0
= 0 ;
8158 PyObject
* obj1
= 0 ;
8159 PyObject
* obj2
= 0 ;
8161 (char *) "self",(char *) "from",(char *) "to", NULL
8164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8167 arg2
= (long) SWIG_AsLong(obj1
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8169 arg3
= (long) SWIG_AsLong(obj2
);
8170 if (PyErr_Occurred()) SWIG_fail
;
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 (arg1
)->Remove(arg2
,arg3
);
8175 wxPyEndAllowThreads(__tstate
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8178 Py_INCREF(Py_None
); resultobj
= Py_None
;
8185 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
*resultobj
;
8187 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8188 wxString
*arg2
= 0 ;
8190 bool temp2
= False
;
8191 PyObject
* obj0
= 0 ;
8192 PyObject
* obj1
= 0 ;
8194 (char *) "self",(char *) "file", NULL
8197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8201 arg2
= wxString_in_helper(obj1
);
8202 if (arg2
== NULL
) SWIG_fail
;
8206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8207 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8209 wxPyEndAllowThreads(__tstate
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8229 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8230 PyObject
*resultobj
;
8231 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8232 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8233 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8235 bool temp2
= False
;
8236 PyObject
* obj0
= 0 ;
8237 PyObject
* obj1
= 0 ;
8239 (char *) "self",(char *) "file", NULL
8242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8247 arg2
= wxString_in_helper(obj1
);
8248 if (arg2
== NULL
) SWIG_fail
;
8253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8254 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8256 wxPyEndAllowThreads(__tstate
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8276 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8277 PyObject
*resultobj
;
8278 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8279 PyObject
* obj0
= 0 ;
8281 (char *) "self", NULL
8284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8289 (arg1
)->MarkDirty();
8291 wxPyEndAllowThreads(__tstate
);
8292 if (PyErr_Occurred()) SWIG_fail
;
8294 Py_INCREF(Py_None
); resultobj
= Py_None
;
8301 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8302 PyObject
*resultobj
;
8303 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8304 PyObject
* obj0
= 0 ;
8306 (char *) "self", NULL
8309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8314 (arg1
)->DiscardEdits();
8316 wxPyEndAllowThreads(__tstate
);
8317 if (PyErr_Occurred()) SWIG_fail
;
8319 Py_INCREF(Py_None
); resultobj
= Py_None
;
8326 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8327 PyObject
*resultobj
;
8328 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8329 unsigned long arg2
;
8330 PyObject
* obj0
= 0 ;
8331 PyObject
* obj1
= 0 ;
8333 (char *) "self",(char *) "len", NULL
8336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8339 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8343 (arg1
)->SetMaxLength(arg2
);
8345 wxPyEndAllowThreads(__tstate
);
8346 if (PyErr_Occurred()) SWIG_fail
;
8348 Py_INCREF(Py_None
); resultobj
= Py_None
;
8355 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8356 PyObject
*resultobj
;
8357 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8358 wxString
*arg2
= 0 ;
8359 bool temp2
= False
;
8360 PyObject
* obj0
= 0 ;
8361 PyObject
* obj1
= 0 ;
8363 (char *) "self",(char *) "text", NULL
8366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8370 arg2
= wxString_in_helper(obj1
);
8371 if (arg2
== NULL
) SWIG_fail
;
8375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8376 (arg1
)->WriteText((wxString
const &)*arg2
);
8378 wxPyEndAllowThreads(__tstate
);
8379 if (PyErr_Occurred()) SWIG_fail
;
8381 Py_INCREF(Py_None
); resultobj
= Py_None
;
8396 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8397 PyObject
*resultobj
;
8398 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8399 wxString
*arg2
= 0 ;
8400 bool temp2
= False
;
8401 PyObject
* obj0
= 0 ;
8402 PyObject
* obj1
= 0 ;
8404 (char *) "self",(char *) "text", NULL
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8411 arg2
= wxString_in_helper(obj1
);
8412 if (arg2
== NULL
) SWIG_fail
;
8416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8417 (arg1
)->AppendText((wxString
const &)*arg2
);
8419 wxPyEndAllowThreads(__tstate
);
8420 if (PyErr_Occurred()) SWIG_fail
;
8422 Py_INCREF(Py_None
); resultobj
= Py_None
;
8437 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8438 PyObject
*resultobj
;
8439 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8440 wxKeyEvent
*arg2
= 0 ;
8442 PyObject
* obj0
= 0 ;
8443 PyObject
* obj1
= 0 ;
8445 (char *) "self",(char *) "event", NULL
8448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8452 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8455 PyErr_SetString(PyExc_TypeError
,"null reference");
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8462 wxPyEndAllowThreads(__tstate
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8474 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8475 PyObject
*resultobj
;
8476 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8479 wxTextAttr
*arg4
= 0 ;
8481 PyObject
* obj0
= 0 ;
8482 PyObject
* obj1
= 0 ;
8483 PyObject
* obj2
= 0 ;
8484 PyObject
* obj3
= 0 ;
8486 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8492 arg2
= (long) SWIG_AsLong(obj1
);
8493 if (PyErr_Occurred()) SWIG_fail
;
8494 arg3
= (long) SWIG_AsLong(obj2
);
8495 if (PyErr_Occurred()) SWIG_fail
;
8496 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8497 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8500 PyErr_SetString(PyExc_TypeError
,"null reference");
8504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8505 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8507 wxPyEndAllowThreads(__tstate
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8519 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8520 PyObject
*resultobj
;
8521 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8523 wxTextAttr
*arg3
= 0 ;
8525 PyObject
* obj0
= 0 ;
8526 PyObject
* obj1
= 0 ;
8527 PyObject
* obj2
= 0 ;
8529 (char *) "self",(char *) "position",(char *) "style", NULL
8532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8535 arg2
= (long) SWIG_AsLong(obj1
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8537 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8538 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8541 PyErr_SetString(PyExc_TypeError
,"null reference");
8545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8546 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8548 wxPyEndAllowThreads(__tstate
);
8549 if (PyErr_Occurred()) SWIG_fail
;
8552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8560 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8561 PyObject
*resultobj
;
8562 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8563 wxTextAttr
*arg2
= 0 ;
8565 PyObject
* obj0
= 0 ;
8566 PyObject
* obj1
= 0 ;
8568 (char *) "self",(char *) "style", NULL
8571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8574 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8575 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8578 PyErr_SetString(PyExc_TypeError
,"null reference");
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8597 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
*resultobj
;
8599 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8601 PyObject
* obj0
= 0 ;
8603 (char *) "self", NULL
8606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8612 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8613 result
= (wxTextAttr
*) &_result_ref
;
8616 wxPyEndAllowThreads(__tstate
);
8617 if (PyErr_Occurred()) SWIG_fail
;
8619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
8626 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8627 PyObject
*resultobj
;
8628 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8632 PyObject
* obj0
= 0 ;
8633 PyObject
* obj1
= 0 ;
8634 PyObject
* obj2
= 0 ;
8636 (char *) "self",(char *) "x",(char *) "y", NULL
8639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8642 arg2
= (long) SWIG_AsLong(obj1
);
8643 if (PyErr_Occurred()) SWIG_fail
;
8644 arg3
= (long) SWIG_AsLong(obj2
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8653 resultobj
= SWIG_FromLong((long)result
);
8660 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8661 PyObject
*resultobj
;
8662 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8664 long *arg3
= (long *) 0 ;
8665 long *arg4
= (long *) 0 ;
8668 PyObject
* obj0
= 0 ;
8669 PyObject
* obj1
= 0 ;
8671 (char *) "self",(char *) "pos", NULL
8676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8679 arg2
= (long) SWIG_AsLong(obj1
);
8680 if (PyErr_Occurred()) SWIG_fail
;
8682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8683 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8685 wxPyEndAllowThreads(__tstate
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8688 Py_INCREF(Py_None
); resultobj
= Py_None
;
8690 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8691 resultobj
= t_output_helper(resultobj
,o
);
8694 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8695 resultobj
= t_output_helper(resultobj
,o
);
8703 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8704 PyObject
*resultobj
;
8705 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8707 PyObject
* obj0
= 0 ;
8708 PyObject
* obj1
= 0 ;
8710 (char *) "self",(char *) "pos", NULL
8713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8716 arg2
= (long) SWIG_AsLong(obj1
);
8717 if (PyErr_Occurred()) SWIG_fail
;
8719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8720 (arg1
)->ShowPosition(arg2
);
8722 wxPyEndAllowThreads(__tstate
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8725 Py_INCREF(Py_None
); resultobj
= Py_None
;
8732 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
*resultobj
;
8734 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8736 long *arg3
= (long *) 0 ;
8737 long *arg4
= (long *) 0 ;
8742 PyObject
* obj0
= 0 ;
8743 PyObject
* obj1
= 0 ;
8745 (char *) "self",(char *) "pt", NULL
8750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8755 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8759 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8761 wxPyEndAllowThreads(__tstate
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8764 resultobj
= SWIG_FromInt((int)result
);
8766 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8767 resultobj
= t_output_helper(resultobj
,o
);
8770 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8771 resultobj
= t_output_helper(resultobj
,o
);
8779 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8780 PyObject
*resultobj
;
8781 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8782 PyObject
* obj0
= 0 ;
8784 (char *) "self", NULL
8787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8794 wxPyEndAllowThreads(__tstate
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8797 Py_INCREF(Py_None
); resultobj
= Py_None
;
8804 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
*resultobj
;
8806 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8807 PyObject
* obj0
= 0 ;
8809 (char *) "self", NULL
8812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8819 wxPyEndAllowThreads(__tstate
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8822 Py_INCREF(Py_None
); resultobj
= Py_None
;
8829 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
;
8831 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8832 PyObject
* obj0
= 0 ;
8834 (char *) "self", NULL
8837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 wxPyEndAllowThreads(__tstate
);
8845 if (PyErr_Occurred()) SWIG_fail
;
8847 Py_INCREF(Py_None
); resultobj
= Py_None
;
8854 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, 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_CanCopy",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
)->CanCopy();
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8882 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, 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_CanCut",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
)->CanCut();
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8910 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8911 PyObject
*resultobj
;
8912 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8914 PyObject
* obj0
= 0 ;
8916 (char *) "self", NULL
8919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8924 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8926 wxPyEndAllowThreads(__tstate
);
8927 if (PyErr_Occurred()) SWIG_fail
;
8930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8938 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8939 PyObject
*resultobj
;
8940 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8941 PyObject
* obj0
= 0 ;
8943 (char *) "self", NULL
8946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8953 wxPyEndAllowThreads(__tstate
);
8954 if (PyErr_Occurred()) SWIG_fail
;
8956 Py_INCREF(Py_None
); resultobj
= Py_None
;
8963 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
*resultobj
;
8965 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8966 PyObject
* obj0
= 0 ;
8968 (char *) "self", NULL
8971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8978 wxPyEndAllowThreads(__tstate
);
8979 if (PyErr_Occurred()) SWIG_fail
;
8981 Py_INCREF(Py_None
); resultobj
= Py_None
;
8988 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, 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_CanUndo",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
)->CanUndo();
9004 wxPyEndAllowThreads(__tstate
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9016 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9017 PyObject
*resultobj
;
9018 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9020 PyObject
* obj0
= 0 ;
9022 (char *) "self", NULL
9025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9044 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9045 PyObject
*resultobj
;
9046 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9048 PyObject
* obj0
= 0 ;
9049 PyObject
* obj1
= 0 ;
9051 (char *) "self",(char *) "pos", NULL
9054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9057 arg2
= (long) SWIG_AsLong(obj1
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 (arg1
)->SetInsertionPoint(arg2
);
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9066 Py_INCREF(Py_None
); resultobj
= Py_None
;
9073 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9074 PyObject
*resultobj
;
9075 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9076 PyObject
* obj0
= 0 ;
9078 (char *) "self", NULL
9081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 (arg1
)->SetInsertionPointEnd();
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9091 Py_INCREF(Py_None
); resultobj
= Py_None
;
9098 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9102 PyObject
* obj0
= 0 ;
9104 (char *) "self", NULL
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9117 resultobj
= SWIG_FromLong((long)result
);
9124 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9125 PyObject
*resultobj
;
9126 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9128 PyObject
* obj0
= 0 ;
9130 (char *) "self", NULL
9133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9138 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9140 wxPyEndAllowThreads(__tstate
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9143 resultobj
= SWIG_FromLong((long)result
);
9150 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
*resultobj
;
9152 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9155 PyObject
* obj0
= 0 ;
9156 PyObject
* obj1
= 0 ;
9157 PyObject
* obj2
= 0 ;
9159 (char *) "self",(char *) "from",(char *) "to", NULL
9162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9165 arg2
= (long) SWIG_AsLong(obj1
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9167 arg3
= (long) SWIG_AsLong(obj2
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9171 (arg1
)->SetSelection(arg2
,arg3
);
9173 wxPyEndAllowThreads(__tstate
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9176 Py_INCREF(Py_None
); resultobj
= Py_None
;
9183 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9184 PyObject
*resultobj
;
9185 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9186 PyObject
* obj0
= 0 ;
9188 (char *) "self", NULL
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 (arg1
)->SelectAll();
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9201 Py_INCREF(Py_None
); resultobj
= Py_None
;
9208 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9209 PyObject
*resultobj
;
9210 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9212 PyObject
* obj0
= 0 ;
9213 PyObject
* obj1
= 0 ;
9215 (char *) "self",(char *) "editable", NULL
9218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9221 arg2
= (bool) SWIG_AsBool(obj1
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9225 (arg1
)->SetEditable(arg2
);
9227 wxPyEndAllowThreads(__tstate
);
9228 if (PyErr_Occurred()) SWIG_fail
;
9230 Py_INCREF(Py_None
); resultobj
= Py_None
;
9237 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9238 PyObject
*resultobj
;
9239 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9240 bool arg2
= (bool) True
;
9242 PyObject
* obj0
= 0 ;
9243 PyObject
* obj1
= 0 ;
9245 (char *) "self",(char *) "show", NULL
9248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
9249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9252 arg2
= (bool) SWIG_AsBool(obj1
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9271 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
;
9273 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9275 PyObject
* obj0
= 0 ;
9277 (char *) "self", NULL
9280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
9281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9285 result
= (bool)(arg1
)->HideNativeCaret();
9287 wxPyEndAllowThreads(__tstate
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9299 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
*resultobj
;
9301 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9302 wxString
*arg2
= 0 ;
9303 bool temp2
= False
;
9304 PyObject
* obj0
= 0 ;
9305 PyObject
* obj1
= 0 ;
9307 (char *) "self",(char *) "text", NULL
9310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9314 arg2
= wxString_in_helper(obj1
);
9315 if (arg2
== NULL
) SWIG_fail
;
9319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9320 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9322 wxPyEndAllowThreads(__tstate
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9325 Py_INCREF(Py_None
); resultobj
= Py_None
;
9340 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9341 PyObject
*resultobj
;
9342 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9346 PyObject
* obj0
= 0 ;
9347 PyObject
* obj1
= 0 ;
9348 PyObject
* obj2
= 0 ;
9350 (char *) "self",(char *) "from",(char *) "to", NULL
9353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9356 arg2
= (long) SWIG_AsLong(obj1
);
9357 if (PyErr_Occurred()) SWIG_fail
;
9358 arg3
= (long) SWIG_AsLong(obj2
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) SWIG_fail
;
9369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9380 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9383 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9385 return Py_BuildValue((char *)"");
9387 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
;
9390 wxMouseEvent
*arg2
= 0 ;
9393 wxTextUrlEvent
*result
;
9394 PyObject
* obj0
= 0 ;
9395 PyObject
* obj1
= 0 ;
9396 PyObject
* obj2
= 0 ;
9397 PyObject
* obj3
= 0 ;
9399 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9403 arg1
= (int) SWIG_AsInt(obj0
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9406 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9409 PyErr_SetString(PyExc_TypeError
,"null reference");
9412 arg3
= (long) SWIG_AsLong(obj2
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9414 arg4
= (long) SWIG_AsLong(obj3
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9418 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9420 wxPyEndAllowThreads(__tstate
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9430 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
*resultobj
;
9432 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9433 wxMouseEvent
*result
;
9434 PyObject
* obj0
= 0 ;
9436 (char *) "self", NULL
9439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9446 result
= (wxMouseEvent
*) &_result_ref
;
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9459 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9460 PyObject
*resultobj
;
9461 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9463 PyObject
* obj0
= 0 ;
9465 (char *) "self", NULL
9468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9478 resultobj
= SWIG_FromLong((long)result
);
9485 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
;
9487 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9489 PyObject
* obj0
= 0 ;
9491 (char *) "self", NULL
9494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9499 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9501 wxPyEndAllowThreads(__tstate
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9504 resultobj
= SWIG_FromLong((long)result
);
9511 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9514 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9516 return Py_BuildValue((char *)"");
9518 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9519 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9524 static PyObject
*_wrap_ScrollBarNameStr_get() {
9529 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9531 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9538 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
*resultobj
;
9540 wxWindow
*arg1
= (wxWindow
*) 0 ;
9541 int arg2
= (int) -1 ;
9542 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9543 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9544 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9545 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9546 long arg5
= (long) wxSB_HORIZONTAL
;
9547 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9548 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9549 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9550 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9551 wxScrollBar
*result
;
9554 bool temp7
= False
;
9555 PyObject
* obj0
= 0 ;
9556 PyObject
* obj1
= 0 ;
9557 PyObject
* obj2
= 0 ;
9558 PyObject
* obj3
= 0 ;
9559 PyObject
* obj4
= 0 ;
9560 PyObject
* obj5
= 0 ;
9561 PyObject
* obj6
= 0 ;
9563 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9570 arg2
= (int) SWIG_AsInt(obj1
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9576 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9582 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9586 arg5
= (long) SWIG_AsLong(obj4
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9590 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
9591 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9594 PyErr_SetString(PyExc_TypeError
,"null reference");
9600 arg7
= wxString_in_helper(obj6
);
9601 if (arg7
== NULL
) SWIG_fail
;
9606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9607 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9609 wxPyEndAllowThreads(__tstate
);
9610 if (PyErr_Occurred()) SWIG_fail
;
9612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9627 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9628 PyObject
*resultobj
;
9629 wxScrollBar
*result
;
9634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9637 result
= (wxScrollBar
*)new wxScrollBar();
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9649 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9650 PyObject
*resultobj
;
9651 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9652 wxWindow
*arg2
= (wxWindow
*) 0 ;
9653 int arg3
= (int) -1 ;
9654 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9655 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9656 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9657 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9658 long arg6
= (long) wxSB_HORIZONTAL
;
9659 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9660 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9661 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9662 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9666 bool temp8
= False
;
9667 PyObject
* obj0
= 0 ;
9668 PyObject
* obj1
= 0 ;
9669 PyObject
* obj2
= 0 ;
9670 PyObject
* obj3
= 0 ;
9671 PyObject
* obj4
= 0 ;
9672 PyObject
* obj5
= 0 ;
9673 PyObject
* obj6
= 0 ;
9674 PyObject
* obj7
= 0 ;
9676 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9685 arg3
= (int) SWIG_AsInt(obj2
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9691 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9697 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9701 arg6
= (long) SWIG_AsLong(obj5
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9705 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
9706 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9709 PyErr_SetString(PyExc_TypeError
,"null reference");
9715 arg8
= wxString_in_helper(obj7
);
9716 if (arg8
== NULL
) SWIG_fail
;
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9744 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9745 PyObject
*resultobj
;
9746 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9748 PyObject
* obj0
= 0 ;
9750 (char *) "self", NULL
9753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9763 resultobj
= SWIG_FromInt((int)result
);
9770 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9771 PyObject
*resultobj
;
9772 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9774 PyObject
* obj0
= 0 ;
9776 (char *) "self", NULL
9779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9789 resultobj
= SWIG_FromInt((int)result
);
9796 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9797 PyObject
*resultobj
;
9798 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9800 PyObject
* obj0
= 0 ;
9802 (char *) "self", NULL
9805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9810 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9812 wxPyEndAllowThreads(__tstate
);
9813 if (PyErr_Occurred()) SWIG_fail
;
9815 resultobj
= SWIG_FromInt((int)result
);
9822 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9823 PyObject
*resultobj
;
9824 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9826 PyObject
* obj0
= 0 ;
9828 (char *) "self", NULL
9831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9838 wxPyEndAllowThreads(__tstate
);
9839 if (PyErr_Occurred()) SWIG_fail
;
9841 resultobj
= SWIG_FromInt((int)result
);
9848 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9849 PyObject
*resultobj
;
9850 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9852 PyObject
* obj0
= 0 ;
9854 (char *) "self", NULL
9857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9876 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
*resultobj
;
9878 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9880 PyObject
* obj0
= 0 ;
9881 PyObject
* obj1
= 0 ;
9883 (char *) "self",(char *) "viewStart", NULL
9886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9889 arg2
= (int) SWIG_AsInt(obj1
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9893 (arg1
)->SetThumbPosition(arg2
);
9895 wxPyEndAllowThreads(__tstate
);
9896 if (PyErr_Occurred()) SWIG_fail
;
9898 Py_INCREF(Py_None
); resultobj
= Py_None
;
9905 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9906 PyObject
*resultobj
;
9907 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9912 bool arg6
= (bool) True
;
9913 PyObject
* obj0
= 0 ;
9914 PyObject
* obj1
= 0 ;
9915 PyObject
* obj2
= 0 ;
9916 PyObject
* obj3
= 0 ;
9917 PyObject
* obj4
= 0 ;
9918 PyObject
* obj5
= 0 ;
9920 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9926 arg2
= (int) SWIG_AsInt(obj1
);
9927 if (PyErr_Occurred()) SWIG_fail
;
9928 arg3
= (int) SWIG_AsInt(obj2
);
9929 if (PyErr_Occurred()) SWIG_fail
;
9930 arg4
= (int) SWIG_AsInt(obj3
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9932 arg5
= (int) SWIG_AsInt(obj4
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9935 arg6
= (bool) SWIG_AsBool(obj5
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9940 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9945 Py_INCREF(Py_None
); resultobj
= Py_None
;
9952 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9955 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9957 return Py_BuildValue((char *)"");
9959 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
9960 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9965 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9970 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9972 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9979 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
9980 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9985 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9990 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9992 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9999 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
*resultobj
;
10001 wxWindow
*arg1
= (wxWindow
*) 0 ;
10002 int arg2
= (int) -1 ;
10003 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10004 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10005 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10006 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10007 long arg5
= (long) wxSP_HORIZONTAL
;
10008 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10009 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10010 wxSpinButton
*result
;
10013 bool temp6
= False
;
10014 PyObject
* obj0
= 0 ;
10015 PyObject
* obj1
= 0 ;
10016 PyObject
* obj2
= 0 ;
10017 PyObject
* obj3
= 0 ;
10018 PyObject
* obj4
= 0 ;
10019 PyObject
* obj5
= 0 ;
10020 char *kwnames
[] = {
10021 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10028 arg2
= (int) SWIG_AsInt(obj1
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10034 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10040 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10044 arg5
= (long) SWIG_AsLong(obj4
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10049 arg6
= wxString_in_helper(obj5
);
10050 if (arg6
== NULL
) SWIG_fail
;
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) SWIG_fail
;
10061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10076 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
*resultobj
;
10078 wxSpinButton
*result
;
10079 char *kwnames
[] = {
10083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 result
= (wxSpinButton
*)new wxSpinButton();
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10098 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10099 PyObject
*resultobj
;
10100 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10101 wxWindow
*arg2
= (wxWindow
*) 0 ;
10102 int arg3
= (int) -1 ;
10103 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10104 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10105 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10106 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10107 long arg6
= (long) wxSP_HORIZONTAL
;
10108 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10109 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10113 bool temp7
= False
;
10114 PyObject
* obj0
= 0 ;
10115 PyObject
* obj1
= 0 ;
10116 PyObject
* obj2
= 0 ;
10117 PyObject
* obj3
= 0 ;
10118 PyObject
* obj4
= 0 ;
10119 PyObject
* obj5
= 0 ;
10120 PyObject
* obj6
= 0 ;
10121 char *kwnames
[] = {
10122 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10128 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10131 arg3
= (int) SWIG_AsInt(obj2
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10137 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10143 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10147 arg6
= (long) SWIG_AsLong(obj5
);
10148 if (PyErr_Occurred()) SWIG_fail
;
10152 arg7
= wxString_in_helper(obj6
);
10153 if (arg7
== NULL
) SWIG_fail
;
10158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10159 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10161 wxPyEndAllowThreads(__tstate
);
10162 if (PyErr_Occurred()) SWIG_fail
;
10165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10181 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10182 PyObject
*resultobj
;
10183 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10185 PyObject
* obj0
= 0 ;
10186 char *kwnames
[] = {
10187 (char *) "self", NULL
10190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10195 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10197 wxPyEndAllowThreads(__tstate
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10200 resultobj
= SWIG_FromInt((int)result
);
10207 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10208 PyObject
*resultobj
;
10209 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10211 PyObject
* obj0
= 0 ;
10212 char *kwnames
[] = {
10213 (char *) "self", NULL
10216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10221 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10223 wxPyEndAllowThreads(__tstate
);
10224 if (PyErr_Occurred()) SWIG_fail
;
10226 resultobj
= SWIG_FromInt((int)result
);
10233 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10234 PyObject
*resultobj
;
10235 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10237 PyObject
* obj0
= 0 ;
10238 char *kwnames
[] = {
10239 (char *) "self", NULL
10242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10247 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10249 wxPyEndAllowThreads(__tstate
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10252 resultobj
= SWIG_FromInt((int)result
);
10259 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10260 PyObject
*resultobj
;
10261 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10263 PyObject
* obj0
= 0 ;
10264 PyObject
* obj1
= 0 ;
10265 char *kwnames
[] = {
10266 (char *) "self",(char *) "val", NULL
10269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10272 arg2
= (int) SWIG_AsInt(obj1
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10276 (arg1
)->SetValue(arg2
);
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10281 Py_INCREF(Py_None
); resultobj
= Py_None
;
10288 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10289 PyObject
*resultobj
;
10290 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10292 PyObject
* obj0
= 0 ;
10293 PyObject
* obj1
= 0 ;
10294 char *kwnames
[] = {
10295 (char *) "self",(char *) "minVal", NULL
10298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10301 arg2
= (int) SWIG_AsInt(obj1
);
10302 if (PyErr_Occurred()) SWIG_fail
;
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 (arg1
)->SetMin(arg2
);
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10310 Py_INCREF(Py_None
); resultobj
= Py_None
;
10317 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
*resultobj
;
10319 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10321 PyObject
* obj0
= 0 ;
10322 PyObject
* obj1
= 0 ;
10323 char *kwnames
[] = {
10324 (char *) "self",(char *) "maxVal", NULL
10327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10330 arg2
= (int) SWIG_AsInt(obj1
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10334 (arg1
)->SetMax(arg2
);
10336 wxPyEndAllowThreads(__tstate
);
10337 if (PyErr_Occurred()) SWIG_fail
;
10339 Py_INCREF(Py_None
); resultobj
= Py_None
;
10346 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10347 PyObject
*resultobj
;
10348 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10351 PyObject
* obj0
= 0 ;
10352 PyObject
* obj1
= 0 ;
10353 PyObject
* obj2
= 0 ;
10354 char *kwnames
[] = {
10355 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10361 arg2
= (int) SWIG_AsInt(obj1
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10363 arg3
= (int) SWIG_AsInt(obj2
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10367 (arg1
)->SetRange(arg2
,arg3
);
10369 wxPyEndAllowThreads(__tstate
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10372 Py_INCREF(Py_None
); resultobj
= Py_None
;
10379 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10380 PyObject
*resultobj
;
10381 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10383 PyObject
* obj0
= 0 ;
10384 char *kwnames
[] = {
10385 (char *) "self", NULL
10388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10393 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10395 wxPyEndAllowThreads(__tstate
);
10396 if (PyErr_Occurred()) SWIG_fail
;
10399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10407 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10410 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10412 return Py_BuildValue((char *)"");
10414 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10415 PyObject
*resultobj
;
10416 wxWindow
*arg1
= (wxWindow
*) 0 ;
10417 int arg2
= (int) -1 ;
10418 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10419 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10420 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10421 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10422 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10423 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10424 long arg6
= (long) wxSP_ARROW_KEYS
;
10425 int arg7
= (int) 0 ;
10426 int arg8
= (int) 100 ;
10427 int arg9
= (int) 0 ;
10428 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10429 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10430 wxSpinCtrl
*result
;
10431 bool temp3
= False
;
10434 bool temp10
= False
;
10435 PyObject
* obj0
= 0 ;
10436 PyObject
* obj1
= 0 ;
10437 PyObject
* obj2
= 0 ;
10438 PyObject
* obj3
= 0 ;
10439 PyObject
* obj4
= 0 ;
10440 PyObject
* obj5
= 0 ;
10441 PyObject
* obj6
= 0 ;
10442 PyObject
* obj7
= 0 ;
10443 PyObject
* obj8
= 0 ;
10444 PyObject
* obj9
= 0 ;
10445 char *kwnames
[] = {
10446 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10453 arg2
= (int) SWIG_AsInt(obj1
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10458 arg3
= wxString_in_helper(obj2
);
10459 if (arg3
== NULL
) SWIG_fail
;
10466 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10472 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10476 arg6
= (long) SWIG_AsLong(obj5
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10480 arg7
= (int) SWIG_AsInt(obj6
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10484 arg8
= (int) SWIG_AsInt(obj7
);
10485 if (PyErr_Occurred()) SWIG_fail
;
10488 arg9
= (int) SWIG_AsInt(obj8
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10493 arg10
= wxString_in_helper(obj9
);
10494 if (arg10
== NULL
) SWIG_fail
;
10499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10500 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10502 wxPyEndAllowThreads(__tstate
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10528 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10529 PyObject
*resultobj
;
10530 wxSpinCtrl
*result
;
10531 char *kwnames
[] = {
10535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10538 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10540 wxPyEndAllowThreads(__tstate
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10550 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10551 PyObject
*resultobj
;
10552 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10553 wxWindow
*arg2
= (wxWindow
*) 0 ;
10554 int arg3
= (int) -1 ;
10555 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10556 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10557 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10558 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10559 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10560 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10561 long arg7
= (long) wxSP_ARROW_KEYS
;
10562 int arg8
= (int) 0 ;
10563 int arg9
= (int) 100 ;
10564 int arg10
= (int) 0 ;
10565 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10566 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10568 bool temp4
= False
;
10571 bool temp11
= False
;
10572 PyObject
* obj0
= 0 ;
10573 PyObject
* obj1
= 0 ;
10574 PyObject
* obj2
= 0 ;
10575 PyObject
* obj3
= 0 ;
10576 PyObject
* obj4
= 0 ;
10577 PyObject
* obj5
= 0 ;
10578 PyObject
* obj6
= 0 ;
10579 PyObject
* obj7
= 0 ;
10580 PyObject
* obj8
= 0 ;
10581 PyObject
* obj9
= 0 ;
10582 PyObject
* obj10
= 0 ;
10583 char *kwnames
[] = {
10584 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10593 arg3
= (int) SWIG_AsInt(obj2
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10598 arg4
= wxString_in_helper(obj3
);
10599 if (arg4
== NULL
) SWIG_fail
;
10606 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10612 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10616 arg7
= (long) SWIG_AsLong(obj6
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10620 arg8
= (int) SWIG_AsInt(obj7
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10624 arg9
= (int) SWIG_AsInt(obj8
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10628 arg10
= (int) SWIG_AsInt(obj9
);
10629 if (PyErr_Occurred()) SWIG_fail
;
10633 arg11
= wxString_in_helper(obj10
);
10634 if (arg11
== NULL
) SWIG_fail
;
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10642 wxPyEndAllowThreads(__tstate
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10670 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10671 PyObject
*resultobj
;
10672 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10674 PyObject
* obj0
= 0 ;
10675 char *kwnames
[] = {
10676 (char *) "self", NULL
10679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10689 resultobj
= SWIG_FromInt((int)result
);
10696 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10697 PyObject
*resultobj
;
10698 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10700 PyObject
* obj0
= 0 ;
10701 PyObject
* obj1
= 0 ;
10702 char *kwnames
[] = {
10703 (char *) "self",(char *) "value", NULL
10706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10709 arg2
= (int) SWIG_AsInt(obj1
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 (arg1
)->SetValue(arg2
);
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10718 Py_INCREF(Py_None
); resultobj
= Py_None
;
10725 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10726 PyObject
*resultobj
;
10727 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10728 wxString
*arg2
= 0 ;
10729 bool temp2
= False
;
10730 PyObject
* obj0
= 0 ;
10731 PyObject
* obj1
= 0 ;
10732 char *kwnames
[] = {
10733 (char *) "self",(char *) "text", NULL
10736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10740 arg2
= wxString_in_helper(obj1
);
10741 if (arg2
== NULL
) SWIG_fail
;
10745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 (arg1
)->SetValue((wxString
const &)*arg2
);
10748 wxPyEndAllowThreads(__tstate
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10751 Py_INCREF(Py_None
); resultobj
= Py_None
;
10766 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10767 PyObject
*resultobj
;
10768 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10771 PyObject
* obj0
= 0 ;
10772 PyObject
* obj1
= 0 ;
10773 PyObject
* obj2
= 0 ;
10774 char *kwnames
[] = {
10775 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10781 arg2
= (int) SWIG_AsInt(obj1
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10783 arg3
= (int) SWIG_AsInt(obj2
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10787 (arg1
)->SetRange(arg2
,arg3
);
10789 wxPyEndAllowThreads(__tstate
);
10790 if (PyErr_Occurred()) SWIG_fail
;
10792 Py_INCREF(Py_None
); resultobj
= Py_None
;
10799 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10800 PyObject
*resultobj
;
10801 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10803 PyObject
* obj0
= 0 ;
10804 char *kwnames
[] = {
10805 (char *) "self", NULL
10808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10813 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10815 wxPyEndAllowThreads(__tstate
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10818 resultobj
= SWIG_FromInt((int)result
);
10825 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10826 PyObject
*resultobj
;
10827 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10829 PyObject
* obj0
= 0 ;
10830 char *kwnames
[] = {
10831 (char *) "self", NULL
10834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10839 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10841 wxPyEndAllowThreads(__tstate
);
10842 if (PyErr_Occurred()) SWIG_fail
;
10844 resultobj
= SWIG_FromInt((int)result
);
10851 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10852 PyObject
*resultobj
;
10853 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10856 PyObject
* obj0
= 0 ;
10857 PyObject
* obj1
= 0 ;
10858 PyObject
* obj2
= 0 ;
10859 char *kwnames
[] = {
10860 (char *) "self",(char *) "from",(char *) "to", NULL
10863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10866 arg2
= (long) SWIG_AsLong(obj1
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10868 arg3
= (long) SWIG_AsLong(obj2
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 (arg1
)->SetSelection(arg2
,arg3
);
10874 wxPyEndAllowThreads(__tstate
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10877 Py_INCREF(Py_None
); resultobj
= Py_None
;
10884 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10887 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10889 return Py_BuildValue((char *)"");
10891 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10892 PyObject
*resultobj
;
10893 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10894 int arg2
= (int) 0 ;
10895 wxSpinEvent
*result
;
10896 PyObject
* obj0
= 0 ;
10897 PyObject
* obj1
= 0 ;
10898 char *kwnames
[] = {
10899 (char *) "commandType",(char *) "winid", NULL
10902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10904 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10905 if (PyErr_Occurred()) SWIG_fail
;
10908 arg2
= (int) SWIG_AsInt(obj1
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
10925 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10926 PyObject
*resultobj
;
10927 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10929 PyObject
* obj0
= 0 ;
10930 char *kwnames
[] = {
10931 (char *) "self", NULL
10934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10939 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10941 wxPyEndAllowThreads(__tstate
);
10942 if (PyErr_Occurred()) SWIG_fail
;
10944 resultobj
= SWIG_FromInt((int)result
);
10951 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10952 PyObject
*resultobj
;
10953 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10955 PyObject
* obj0
= 0 ;
10956 PyObject
* obj1
= 0 ;
10957 char *kwnames
[] = {
10958 (char *) "self",(char *) "pos", NULL
10961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10964 arg2
= (int) SWIG_AsInt(obj1
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10968 (arg1
)->SetPosition(arg2
);
10970 wxPyEndAllowThreads(__tstate
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10973 Py_INCREF(Py_None
); resultobj
= Py_None
;
10980 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10983 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10985 return Py_BuildValue((char *)"");
10987 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
10988 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10993 static PyObject
*_wrap_RadioBoxNameStr_get() {
10998 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11000 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11007 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11008 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11013 static PyObject
*_wrap_RadioButtonNameStr_get() {
11018 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11020 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11027 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11028 PyObject
*resultobj
;
11029 wxWindow
*arg1
= (wxWindow
*) 0 ;
11031 wxString
*arg3
= 0 ;
11032 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11033 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11034 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11035 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11036 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11037 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11038 int arg7
= (int) 0 ;
11039 long arg8
= (long) wxRA_HORIZONTAL
;
11040 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11041 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11042 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11043 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11044 wxRadioBox
*result
;
11045 bool temp3
= False
;
11048 bool temp6
= False
;
11049 bool temp10
= False
;
11050 PyObject
* obj0
= 0 ;
11051 PyObject
* obj1
= 0 ;
11052 PyObject
* obj2
= 0 ;
11053 PyObject
* obj3
= 0 ;
11054 PyObject
* obj4
= 0 ;
11055 PyObject
* obj5
= 0 ;
11056 PyObject
* obj6
= 0 ;
11057 PyObject
* obj7
= 0 ;
11058 PyObject
* obj8
= 0 ;
11059 PyObject
* obj9
= 0 ;
11060 char *kwnames
[] = {
11061 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11067 arg2
= (int) SWIG_AsInt(obj1
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11070 arg3
= wxString_in_helper(obj2
);
11071 if (arg3
== NULL
) SWIG_fail
;
11077 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11083 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11088 if (! PySequence_Check(obj5
)) {
11089 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11092 arg6
= new wxArrayString
;
11094 int i
, len
=PySequence_Length(obj5
);
11095 for (i
=0; i
<len
; i
++) {
11096 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11098 PyObject
* str
= PyObject_Unicode(item
);
11100 PyObject
* str
= PyObject_Str(item
);
11102 arg6
->Add(Py2wxString(str
));
11109 arg7
= (int) SWIG_AsInt(obj6
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11113 arg8
= (long) SWIG_AsLong(obj7
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11117 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11118 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11120 if (arg9
== NULL
) {
11121 PyErr_SetString(PyExc_TypeError
,"null reference");
11127 arg10
= wxString_in_helper(obj9
);
11128 if (arg10
== NULL
) SWIG_fail
;
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 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
);
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11145 if (temp6
) delete arg6
;
11158 if (temp6
) delete arg6
;
11168 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11169 PyObject
*resultobj
;
11170 wxRadioBox
*result
;
11171 char *kwnames
[] = {
11175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11178 result
= (wxRadioBox
*)new wxRadioBox();
11180 wxPyEndAllowThreads(__tstate
);
11181 if (PyErr_Occurred()) SWIG_fail
;
11183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11190 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11191 PyObject
*resultobj
;
11192 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11193 wxWindow
*arg2
= (wxWindow
*) 0 ;
11195 wxString
*arg4
= 0 ;
11196 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11197 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11198 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11199 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11200 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11201 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11202 int arg8
= (int) 0 ;
11203 long arg9
= (long) wxRA_HORIZONTAL
;
11204 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11205 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11206 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11207 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11209 bool temp4
= False
;
11212 bool temp7
= False
;
11213 bool temp11
= False
;
11214 PyObject
* obj0
= 0 ;
11215 PyObject
* obj1
= 0 ;
11216 PyObject
* obj2
= 0 ;
11217 PyObject
* obj3
= 0 ;
11218 PyObject
* obj4
= 0 ;
11219 PyObject
* obj5
= 0 ;
11220 PyObject
* obj6
= 0 ;
11221 PyObject
* obj7
= 0 ;
11222 PyObject
* obj8
= 0 ;
11223 PyObject
* obj9
= 0 ;
11224 PyObject
* obj10
= 0 ;
11225 char *kwnames
[] = {
11226 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11234 arg3
= (int) SWIG_AsInt(obj2
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11237 arg4
= wxString_in_helper(obj3
);
11238 if (arg4
== NULL
) SWIG_fail
;
11244 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11250 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11255 if (! PySequence_Check(obj6
)) {
11256 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11259 arg7
= new wxArrayString
;
11261 int i
, len
=PySequence_Length(obj6
);
11262 for (i
=0; i
<len
; i
++) {
11263 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11265 PyObject
* str
= PyObject_Unicode(item
);
11267 PyObject
* str
= PyObject_Str(item
);
11269 arg7
->Add(Py2wxString(str
));
11276 arg8
= (int) SWIG_AsInt(obj7
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11280 arg9
= (long) SWIG_AsLong(obj8
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11284 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11285 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11287 if (arg10
== NULL
) {
11288 PyErr_SetString(PyExc_TypeError
,"null reference");
11294 arg11
= wxString_in_helper(obj10
);
11295 if (arg11
== NULL
) SWIG_fail
;
11300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11301 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
);
11303 wxPyEndAllowThreads(__tstate
);
11304 if (PyErr_Occurred()) SWIG_fail
;
11307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11314 if (temp7
) delete arg7
;
11327 if (temp7
) delete arg7
;
11337 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11338 PyObject
*resultobj
;
11339 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11341 PyObject
* obj0
= 0 ;
11342 PyObject
* obj1
= 0 ;
11343 char *kwnames
[] = {
11344 (char *) "self",(char *) "n", NULL
11347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11350 arg2
= (int) SWIG_AsInt(obj1
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 (arg1
)->SetSelection(arg2
);
11356 wxPyEndAllowThreads(__tstate
);
11357 if (PyErr_Occurred()) SWIG_fail
;
11359 Py_INCREF(Py_None
); resultobj
= Py_None
;
11366 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11367 PyObject
*resultobj
;
11368 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11370 PyObject
* obj0
= 0 ;
11371 char *kwnames
[] = {
11372 (char *) "self", NULL
11375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11380 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11382 wxPyEndAllowThreads(__tstate
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11385 resultobj
= SWIG_FromInt((int)result
);
11392 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11393 PyObject
*resultobj
;
11394 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11396 PyObject
* obj0
= 0 ;
11397 char *kwnames
[] = {
11398 (char *) "self", NULL
11401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11406 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11408 wxPyEndAllowThreads(__tstate
);
11409 if (PyErr_Occurred()) SWIG_fail
;
11413 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11415 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11424 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11425 PyObject
*resultobj
;
11426 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11427 wxString
*arg2
= 0 ;
11429 bool temp2
= False
;
11430 PyObject
* obj0
= 0 ;
11431 PyObject
* obj1
= 0 ;
11432 char *kwnames
[] = {
11433 (char *) "self",(char *) "s", NULL
11436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11440 arg2
= wxString_in_helper(obj1
);
11441 if (arg2
== NULL
) SWIG_fail
;
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11468 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11469 PyObject
*resultobj
;
11470 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11472 PyObject
* obj0
= 0 ;
11473 char *kwnames
[] = {
11474 (char *) "self", NULL
11477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11484 wxPyEndAllowThreads(__tstate
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11487 resultobj
= SWIG_FromInt((int)result
);
11494 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11495 PyObject
*resultobj
;
11496 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11497 wxString
*arg2
= 0 ;
11499 bool temp2
= False
;
11500 PyObject
* obj0
= 0 ;
11501 PyObject
* obj1
= 0 ;
11502 char *kwnames
[] = {
11503 (char *) "self",(char *) "s", NULL
11506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11510 arg2
= wxString_in_helper(obj1
);
11511 if (arg2
== NULL
) SWIG_fail
;
11515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11516 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11521 resultobj
= SWIG_FromInt((int)result
);
11536 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11537 PyObject
*resultobj
;
11538 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11541 PyObject
* obj0
= 0 ;
11542 PyObject
* obj1
= 0 ;
11543 char *kwnames
[] = {
11544 (char *) "self",(char *) "n", NULL
11547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11550 arg2
= (int) SWIG_AsInt(obj1
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11554 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11556 wxPyEndAllowThreads(__tstate
);
11557 if (PyErr_Occurred()) SWIG_fail
;
11561 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11563 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11572 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11573 PyObject
*resultobj
;
11574 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11576 wxString
*arg3
= 0 ;
11577 bool temp3
= False
;
11578 PyObject
* obj0
= 0 ;
11579 PyObject
* obj1
= 0 ;
11580 PyObject
* obj2
= 0 ;
11581 char *kwnames
[] = {
11582 (char *) "self",(char *) "n",(char *) "label", NULL
11585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11588 arg2
= (int) SWIG_AsInt(obj1
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11591 arg3
= wxString_in_helper(obj2
);
11592 if (arg3
== NULL
) SWIG_fail
;
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11602 Py_INCREF(Py_None
); resultobj
= Py_None
;
11617 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11618 PyObject
*resultobj
;
11619 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11621 bool arg3
= (bool) True
;
11622 PyObject
* obj0
= 0 ;
11623 PyObject
* obj1
= 0 ;
11624 PyObject
* obj2
= 0 ;
11625 char *kwnames
[] = {
11626 (char *) "self",(char *) "n",(char *) "enable", NULL
11629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11632 arg2
= (int) SWIG_AsInt(obj1
);
11633 if (PyErr_Occurred()) SWIG_fail
;
11635 arg3
= (bool) SWIG_AsBool(obj2
);
11636 if (PyErr_Occurred()) SWIG_fail
;
11639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11640 (arg1
)->Enable(arg2
,arg3
);
11642 wxPyEndAllowThreads(__tstate
);
11643 if (PyErr_Occurred()) SWIG_fail
;
11645 Py_INCREF(Py_None
); resultobj
= Py_None
;
11652 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11653 PyObject
*resultobj
;
11654 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11656 bool arg3
= (bool) True
;
11657 PyObject
* obj0
= 0 ;
11658 PyObject
* obj1
= 0 ;
11659 PyObject
* obj2
= 0 ;
11660 char *kwnames
[] = {
11661 (char *) "self",(char *) "n",(char *) "show", NULL
11664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
11670 arg3
= (bool) SWIG_AsBool(obj2
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 (arg1
)->Show(arg2
,arg3
);
11677 wxPyEndAllowThreads(__tstate
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11680 Py_INCREF(Py_None
); resultobj
= Py_None
;
11687 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11688 PyObject
*resultobj
;
11689 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11691 PyObject
* obj0
= 0 ;
11692 char *kwnames
[] = {
11693 (char *) "self", NULL
11696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11706 resultobj
= SWIG_FromInt((int)result
);
11713 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11714 PyObject
*resultobj
;
11715 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11717 PyObject
* obj0
= 0 ;
11718 char *kwnames
[] = {
11719 (char *) "self", NULL
11722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11727 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
11729 wxPyEndAllowThreads(__tstate
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11732 resultobj
= SWIG_FromInt((int)result
);
11739 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11740 PyObject
*resultobj
;
11741 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11746 PyObject
* obj0
= 0 ;
11747 PyObject
* obj1
= 0 ;
11748 PyObject
* obj2
= 0 ;
11749 PyObject
* obj3
= 0 ;
11750 char *kwnames
[] = {
11751 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11757 arg2
= (int) SWIG_AsInt(obj1
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11759 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11761 arg4
= (long) SWIG_AsLong(obj3
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11765 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
11767 wxPyEndAllowThreads(__tstate
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11770 resultobj
= SWIG_FromInt((int)result
);
11777 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11780 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11782 return Py_BuildValue((char *)"");
11784 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11785 PyObject
*resultobj
;
11786 wxWindow
*arg1
= (wxWindow
*) 0 ;
11788 wxString
*arg3
= 0 ;
11789 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11790 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11791 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11792 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11793 long arg6
= (long) 0 ;
11794 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11795 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11796 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11797 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11798 wxRadioButton
*result
;
11799 bool temp3
= False
;
11802 bool temp8
= False
;
11803 PyObject
* obj0
= 0 ;
11804 PyObject
* obj1
= 0 ;
11805 PyObject
* obj2
= 0 ;
11806 PyObject
* obj3
= 0 ;
11807 PyObject
* obj4
= 0 ;
11808 PyObject
* obj5
= 0 ;
11809 PyObject
* obj6
= 0 ;
11810 PyObject
* obj7
= 0 ;
11811 char *kwnames
[] = {
11812 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11818 arg2
= (int) SWIG_AsInt(obj1
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11821 arg3
= wxString_in_helper(obj2
);
11822 if (arg3
== NULL
) SWIG_fail
;
11828 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11834 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11838 arg6
= (long) SWIG_AsLong(obj5
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11842 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
11843 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11845 if (arg7
== NULL
) {
11846 PyErr_SetString(PyExc_TypeError
,"null reference");
11852 arg8
= wxString_in_helper(obj7
);
11853 if (arg8
== NULL
) SWIG_fail
;
11858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11859 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11861 wxPyEndAllowThreads(__tstate
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11887 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11888 PyObject
*resultobj
;
11889 wxRadioButton
*result
;
11890 char *kwnames
[] = {
11894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11897 result
= (wxRadioButton
*)new wxRadioButton();
11899 wxPyEndAllowThreads(__tstate
);
11900 if (PyErr_Occurred()) SWIG_fail
;
11902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11909 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11910 PyObject
*resultobj
;
11911 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11912 wxWindow
*arg2
= (wxWindow
*) 0 ;
11914 wxString
*arg4
= 0 ;
11915 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11916 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11917 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11918 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11919 long arg7
= (long) 0 ;
11920 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11921 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11922 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11923 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11925 bool temp4
= False
;
11928 bool temp9
= False
;
11929 PyObject
* obj0
= 0 ;
11930 PyObject
* obj1
= 0 ;
11931 PyObject
* obj2
= 0 ;
11932 PyObject
* obj3
= 0 ;
11933 PyObject
* obj4
= 0 ;
11934 PyObject
* obj5
= 0 ;
11935 PyObject
* obj6
= 0 ;
11936 PyObject
* obj7
= 0 ;
11937 PyObject
* obj8
= 0 ;
11938 char *kwnames
[] = {
11939 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11945 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11947 arg3
= (int) SWIG_AsInt(obj2
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11950 arg4
= wxString_in_helper(obj3
);
11951 if (arg4
== NULL
) SWIG_fail
;
11957 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11963 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11967 arg7
= (long) SWIG_AsLong(obj6
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11971 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
11972 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11974 if (arg8
== NULL
) {
11975 PyErr_SetString(PyExc_TypeError
,"null reference");
11981 arg9
= wxString_in_helper(obj8
);
11982 if (arg9
== NULL
) SWIG_fail
;
11987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11988 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12018 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12019 PyObject
*resultobj
;
12020 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12022 PyObject
* obj0
= 0 ;
12023 char *kwnames
[] = {
12024 (char *) "self", NULL
12027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12032 result
= (bool)(arg1
)->GetValue();
12034 wxPyEndAllowThreads(__tstate
);
12035 if (PyErr_Occurred()) SWIG_fail
;
12038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12046 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12047 PyObject
*resultobj
;
12048 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12050 PyObject
* obj0
= 0 ;
12051 PyObject
* obj1
= 0 ;
12052 char *kwnames
[] = {
12053 (char *) "self",(char *) "value", NULL
12056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12059 arg2
= (bool) SWIG_AsBool(obj1
);
12060 if (PyErr_Occurred()) SWIG_fail
;
12062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12063 (arg1
)->SetValue(arg2
);
12065 wxPyEndAllowThreads(__tstate
);
12066 if (PyErr_Occurred()) SWIG_fail
;
12068 Py_INCREF(Py_None
); resultobj
= Py_None
;
12075 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12078 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12080 return Py_BuildValue((char *)"");
12082 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12083 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12088 static PyObject
*_wrap_SliderNameStr_get() {
12093 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12095 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12102 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12103 PyObject
*resultobj
;
12104 wxWindow
*arg1
= (wxWindow
*) 0 ;
12109 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12110 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12111 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12112 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12113 long arg8
= (long) wxSL_HORIZONTAL
;
12114 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12115 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12116 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12117 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12121 bool temp10
= False
;
12122 PyObject
* obj0
= 0 ;
12123 PyObject
* obj1
= 0 ;
12124 PyObject
* obj2
= 0 ;
12125 PyObject
* obj3
= 0 ;
12126 PyObject
* obj4
= 0 ;
12127 PyObject
* obj5
= 0 ;
12128 PyObject
* obj6
= 0 ;
12129 PyObject
* obj7
= 0 ;
12130 PyObject
* obj8
= 0 ;
12131 PyObject
* obj9
= 0 ;
12132 char *kwnames
[] = {
12133 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12139 arg2
= (int) SWIG_AsInt(obj1
);
12140 if (PyErr_Occurred()) SWIG_fail
;
12141 arg3
= (int) SWIG_AsInt(obj2
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12143 arg4
= (int) SWIG_AsInt(obj3
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12145 arg5
= (int) SWIG_AsInt(obj4
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12150 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12156 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12160 arg8
= (long) SWIG_AsLong(obj7
);
12161 if (PyErr_Occurred()) SWIG_fail
;
12164 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12165 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12167 if (arg9
== NULL
) {
12168 PyErr_SetString(PyExc_TypeError
,"null reference");
12174 arg10
= wxString_in_helper(obj9
);
12175 if (arg10
== NULL
) SWIG_fail
;
12180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12181 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12183 wxPyEndAllowThreads(__tstate
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12201 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12202 PyObject
*resultobj
;
12204 char *kwnames
[] = {
12208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12211 result
= (wxSlider
*)new wxSlider();
12213 wxPyEndAllowThreads(__tstate
);
12214 if (PyErr_Occurred()) SWIG_fail
;
12216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12223 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12224 PyObject
*resultobj
;
12225 wxSlider
*arg1
= (wxSlider
*) 0 ;
12226 wxWindow
*arg2
= (wxWindow
*) 0 ;
12231 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12232 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12233 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12234 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12235 long arg9
= (long) wxSL_HORIZONTAL
;
12236 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12237 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12238 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12239 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12243 bool temp11
= False
;
12244 PyObject
* obj0
= 0 ;
12245 PyObject
* obj1
= 0 ;
12246 PyObject
* obj2
= 0 ;
12247 PyObject
* obj3
= 0 ;
12248 PyObject
* obj4
= 0 ;
12249 PyObject
* obj5
= 0 ;
12250 PyObject
* obj6
= 0 ;
12251 PyObject
* obj7
= 0 ;
12252 PyObject
* obj8
= 0 ;
12253 PyObject
* obj9
= 0 ;
12254 PyObject
* obj10
= 0 ;
12255 char *kwnames
[] = {
12256 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12262 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12264 arg3
= (int) SWIG_AsInt(obj2
);
12265 if (PyErr_Occurred()) SWIG_fail
;
12266 arg4
= (int) SWIG_AsInt(obj3
);
12267 if (PyErr_Occurred()) SWIG_fail
;
12268 arg5
= (int) SWIG_AsInt(obj4
);
12269 if (PyErr_Occurred()) SWIG_fail
;
12270 arg6
= (int) SWIG_AsInt(obj5
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12275 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12281 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12285 arg9
= (long) SWIG_AsLong(obj8
);
12286 if (PyErr_Occurred()) SWIG_fail
;
12289 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12290 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12292 if (arg10
== NULL
) {
12293 PyErr_SetString(PyExc_TypeError
,"null reference");
12299 arg11
= wxString_in_helper(obj10
);
12300 if (arg11
== NULL
) SWIG_fail
;
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12308 wxPyEndAllowThreads(__tstate
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12328 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12329 PyObject
*resultobj
;
12330 wxSlider
*arg1
= (wxSlider
*) 0 ;
12332 PyObject
* obj0
= 0 ;
12333 char *kwnames
[] = {
12334 (char *) "self", NULL
12337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12342 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12344 wxPyEndAllowThreads(__tstate
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12347 resultobj
= SWIG_FromInt((int)result
);
12354 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12355 PyObject
*resultobj
;
12356 wxSlider
*arg1
= (wxSlider
*) 0 ;
12358 PyObject
* obj0
= 0 ;
12359 PyObject
* obj1
= 0 ;
12360 char *kwnames
[] = {
12361 (char *) "self",(char *) "value", NULL
12364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12367 arg2
= (int) SWIG_AsInt(obj1
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12371 (arg1
)->SetValue(arg2
);
12373 wxPyEndAllowThreads(__tstate
);
12374 if (PyErr_Occurred()) SWIG_fail
;
12376 Py_INCREF(Py_None
); resultobj
= Py_None
;
12383 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12384 PyObject
*resultobj
;
12385 wxSlider
*arg1
= (wxSlider
*) 0 ;
12388 PyObject
* obj0
= 0 ;
12389 PyObject
* obj1
= 0 ;
12390 PyObject
* obj2
= 0 ;
12391 char *kwnames
[] = {
12392 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12398 arg2
= (int) SWIG_AsInt(obj1
);
12399 if (PyErr_Occurred()) SWIG_fail
;
12400 arg3
= (int) SWIG_AsInt(obj2
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12404 (arg1
)->SetRange(arg2
,arg3
);
12406 wxPyEndAllowThreads(__tstate
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12409 Py_INCREF(Py_None
); resultobj
= Py_None
;
12416 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12417 PyObject
*resultobj
;
12418 wxSlider
*arg1
= (wxSlider
*) 0 ;
12420 PyObject
* obj0
= 0 ;
12421 char *kwnames
[] = {
12422 (char *) "self", NULL
12425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12430 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12432 wxPyEndAllowThreads(__tstate
);
12433 if (PyErr_Occurred()) SWIG_fail
;
12435 resultobj
= SWIG_FromInt((int)result
);
12442 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12443 PyObject
*resultobj
;
12444 wxSlider
*arg1
= (wxSlider
*) 0 ;
12446 PyObject
* obj0
= 0 ;
12447 char *kwnames
[] = {
12448 (char *) "self", NULL
12451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12458 wxPyEndAllowThreads(__tstate
);
12459 if (PyErr_Occurred()) SWIG_fail
;
12461 resultobj
= SWIG_FromInt((int)result
);
12468 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12469 PyObject
*resultobj
;
12470 wxSlider
*arg1
= (wxSlider
*) 0 ;
12472 PyObject
* obj0
= 0 ;
12473 PyObject
* obj1
= 0 ;
12474 char *kwnames
[] = {
12475 (char *) "self",(char *) "minValue", NULL
12478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12481 arg2
= (int) SWIG_AsInt(obj1
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12485 (arg1
)->SetMin(arg2
);
12487 wxPyEndAllowThreads(__tstate
);
12488 if (PyErr_Occurred()) SWIG_fail
;
12490 Py_INCREF(Py_None
); resultobj
= Py_None
;
12497 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12498 PyObject
*resultobj
;
12499 wxSlider
*arg1
= (wxSlider
*) 0 ;
12501 PyObject
* obj0
= 0 ;
12502 PyObject
* obj1
= 0 ;
12503 char *kwnames
[] = {
12504 (char *) "self",(char *) "maxValue", NULL
12507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12510 arg2
= (int) SWIG_AsInt(obj1
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12514 (arg1
)->SetMax(arg2
);
12516 wxPyEndAllowThreads(__tstate
);
12517 if (PyErr_Occurred()) SWIG_fail
;
12519 Py_INCREF(Py_None
); resultobj
= Py_None
;
12526 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12527 PyObject
*resultobj
;
12528 wxSlider
*arg1
= (wxSlider
*) 0 ;
12530 PyObject
* obj0
= 0 ;
12531 PyObject
* obj1
= 0 ;
12532 char *kwnames
[] = {
12533 (char *) "self",(char *) "lineSize", NULL
12536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12539 arg2
= (int) SWIG_AsInt(obj1
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12543 (arg1
)->SetLineSize(arg2
);
12545 wxPyEndAllowThreads(__tstate
);
12546 if (PyErr_Occurred()) SWIG_fail
;
12548 Py_INCREF(Py_None
); resultobj
= Py_None
;
12555 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12556 PyObject
*resultobj
;
12557 wxSlider
*arg1
= (wxSlider
*) 0 ;
12559 PyObject
* obj0
= 0 ;
12560 PyObject
* obj1
= 0 ;
12561 char *kwnames
[] = {
12562 (char *) "self",(char *) "pageSize", NULL
12565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12568 arg2
= (int) SWIG_AsInt(obj1
);
12569 if (PyErr_Occurred()) SWIG_fail
;
12571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12572 (arg1
)->SetPageSize(arg2
);
12574 wxPyEndAllowThreads(__tstate
);
12575 if (PyErr_Occurred()) SWIG_fail
;
12577 Py_INCREF(Py_None
); resultobj
= Py_None
;
12584 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12585 PyObject
*resultobj
;
12586 wxSlider
*arg1
= (wxSlider
*) 0 ;
12588 PyObject
* obj0
= 0 ;
12589 char *kwnames
[] = {
12590 (char *) "self", NULL
12593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12603 resultobj
= SWIG_FromInt((int)result
);
12610 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
;
12612 wxSlider
*arg1
= (wxSlider
*) 0 ;
12614 PyObject
* obj0
= 0 ;
12615 char *kwnames
[] = {
12616 (char *) "self", NULL
12619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12629 resultobj
= SWIG_FromInt((int)result
);
12636 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
;
12638 wxSlider
*arg1
= (wxSlider
*) 0 ;
12640 PyObject
* obj0
= 0 ;
12641 PyObject
* obj1
= 0 ;
12642 char *kwnames
[] = {
12643 (char *) "self",(char *) "lenPixels", NULL
12646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12649 arg2
= (int) SWIG_AsInt(obj1
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12653 (arg1
)->SetThumbLength(arg2
);
12655 wxPyEndAllowThreads(__tstate
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12658 Py_INCREF(Py_None
); resultobj
= Py_None
;
12665 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12666 PyObject
*resultobj
;
12667 wxSlider
*arg1
= (wxSlider
*) 0 ;
12669 PyObject
* obj0
= 0 ;
12670 char *kwnames
[] = {
12671 (char *) "self", NULL
12674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12679 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12681 wxPyEndAllowThreads(__tstate
);
12682 if (PyErr_Occurred()) SWIG_fail
;
12684 resultobj
= SWIG_FromInt((int)result
);
12691 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12692 PyObject
*resultobj
;
12693 wxSlider
*arg1
= (wxSlider
*) 0 ;
12695 int arg3
= (int) 1 ;
12696 PyObject
* obj0
= 0 ;
12697 PyObject
* obj1
= 0 ;
12698 PyObject
* obj2
= 0 ;
12699 char *kwnames
[] = {
12700 (char *) "self",(char *) "n",(char *) "pos", NULL
12703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12706 arg2
= (int) SWIG_AsInt(obj1
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12709 arg3
= (int) SWIG_AsInt(obj2
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12714 (arg1
)->SetTickFreq(arg2
,arg3
);
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12719 Py_INCREF(Py_None
); resultobj
= Py_None
;
12726 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12727 PyObject
*resultobj
;
12728 wxSlider
*arg1
= (wxSlider
*) 0 ;
12730 PyObject
* obj0
= 0 ;
12731 char *kwnames
[] = {
12732 (char *) "self", NULL
12735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12740 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12742 wxPyEndAllowThreads(__tstate
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12745 resultobj
= SWIG_FromInt((int)result
);
12752 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12753 PyObject
*resultobj
;
12754 wxSlider
*arg1
= (wxSlider
*) 0 ;
12755 PyObject
* obj0
= 0 ;
12756 char *kwnames
[] = {
12757 (char *) "self", NULL
12760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12765 (arg1
)->ClearTicks();
12767 wxPyEndAllowThreads(__tstate
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12770 Py_INCREF(Py_None
); resultobj
= Py_None
;
12777 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12778 PyObject
*resultobj
;
12779 wxSlider
*arg1
= (wxSlider
*) 0 ;
12781 PyObject
* obj0
= 0 ;
12782 PyObject
* obj1
= 0 ;
12783 char *kwnames
[] = {
12784 (char *) "self",(char *) "tickPos", NULL
12787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12790 arg2
= (int) SWIG_AsInt(obj1
);
12791 if (PyErr_Occurred()) SWIG_fail
;
12793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12794 (arg1
)->SetTick(arg2
);
12796 wxPyEndAllowThreads(__tstate
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12799 Py_INCREF(Py_None
); resultobj
= Py_None
;
12806 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
;
12808 wxSlider
*arg1
= (wxSlider
*) 0 ;
12809 PyObject
* obj0
= 0 ;
12810 char *kwnames
[] = {
12811 (char *) "self", NULL
12814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12819 (arg1
)->ClearSel();
12821 wxPyEndAllowThreads(__tstate
);
12822 if (PyErr_Occurred()) SWIG_fail
;
12824 Py_INCREF(Py_None
); resultobj
= Py_None
;
12831 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12832 PyObject
*resultobj
;
12833 wxSlider
*arg1
= (wxSlider
*) 0 ;
12835 PyObject
* obj0
= 0 ;
12836 char *kwnames
[] = {
12837 (char *) "self", NULL
12840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12847 wxPyEndAllowThreads(__tstate
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12850 resultobj
= SWIG_FromInt((int)result
);
12857 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12858 PyObject
*resultobj
;
12859 wxSlider
*arg1
= (wxSlider
*) 0 ;
12861 PyObject
* obj0
= 0 ;
12862 char *kwnames
[] = {
12863 (char *) "self", NULL
12866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12871 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12873 wxPyEndAllowThreads(__tstate
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12876 resultobj
= SWIG_FromInt((int)result
);
12883 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12884 PyObject
*resultobj
;
12885 wxSlider
*arg1
= (wxSlider
*) 0 ;
12888 PyObject
* obj0
= 0 ;
12889 PyObject
* obj1
= 0 ;
12890 PyObject
* obj2
= 0 ;
12891 char *kwnames
[] = {
12892 (char *) "self",(char *) "min",(char *) "max", NULL
12895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12898 arg2
= (int) SWIG_AsInt(obj1
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12900 arg3
= (int) SWIG_AsInt(obj2
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12904 (arg1
)->SetSelection(arg2
,arg3
);
12906 wxPyEndAllowThreads(__tstate
);
12907 if (PyErr_Occurred()) SWIG_fail
;
12909 Py_INCREF(Py_None
); resultobj
= Py_None
;
12916 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12919 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12921 return Py_BuildValue((char *)"");
12923 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
12924 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12929 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12934 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12936 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12943 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12944 PyObject
*resultobj
;
12945 wxWindow
*arg1
= (wxWindow
*) 0 ;
12947 wxString
*arg3
= 0 ;
12948 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12949 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12950 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12951 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12952 long arg6
= (long) 0 ;
12953 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12954 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12955 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12956 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12957 wxToggleButton
*result
;
12958 bool temp3
= False
;
12961 bool temp8
= False
;
12962 PyObject
* obj0
= 0 ;
12963 PyObject
* obj1
= 0 ;
12964 PyObject
* obj2
= 0 ;
12965 PyObject
* obj3
= 0 ;
12966 PyObject
* obj4
= 0 ;
12967 PyObject
* obj5
= 0 ;
12968 PyObject
* obj6
= 0 ;
12969 PyObject
* obj7
= 0 ;
12970 char *kwnames
[] = {
12971 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12977 arg2
= (int) SWIG_AsInt(obj1
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12980 arg3
= wxString_in_helper(obj2
);
12981 if (arg3
== NULL
) SWIG_fail
;
12987 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12993 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12997 arg6
= (long) SWIG_AsLong(obj5
);
12998 if (PyErr_Occurred()) SWIG_fail
;
13001 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13002 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13004 if (arg7
== NULL
) {
13005 PyErr_SetString(PyExc_TypeError
,"null reference");
13011 arg8
= wxString_in_helper(obj7
);
13012 if (arg8
== NULL
) SWIG_fail
;
13017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13018 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13020 wxPyEndAllowThreads(__tstate
);
13021 if (PyErr_Occurred()) SWIG_fail
;
13023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13046 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13047 PyObject
*resultobj
;
13048 wxToggleButton
*result
;
13049 char *kwnames
[] = {
13053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13056 result
= (wxToggleButton
*)new wxToggleButton();
13058 wxPyEndAllowThreads(__tstate
);
13059 if (PyErr_Occurred()) SWIG_fail
;
13061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13068 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13069 PyObject
*resultobj
;
13070 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13071 wxWindow
*arg2
= (wxWindow
*) 0 ;
13073 wxString
*arg4
= 0 ;
13074 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13075 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13076 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13077 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13078 long arg7
= (long) 0 ;
13079 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13080 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13081 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13082 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13084 bool temp4
= False
;
13087 bool temp9
= False
;
13088 PyObject
* obj0
= 0 ;
13089 PyObject
* obj1
= 0 ;
13090 PyObject
* obj2
= 0 ;
13091 PyObject
* obj3
= 0 ;
13092 PyObject
* obj4
= 0 ;
13093 PyObject
* obj5
= 0 ;
13094 PyObject
* obj6
= 0 ;
13095 PyObject
* obj7
= 0 ;
13096 PyObject
* obj8
= 0 ;
13097 char *kwnames
[] = {
13098 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13104 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13106 arg3
= (int) SWIG_AsInt(obj2
);
13107 if (PyErr_Occurred()) SWIG_fail
;
13109 arg4
= wxString_in_helper(obj3
);
13110 if (arg4
== NULL
) SWIG_fail
;
13116 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13122 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13126 arg7
= (long) SWIG_AsLong(obj6
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13130 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13131 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13133 if (arg8
== NULL
) {
13134 PyErr_SetString(PyExc_TypeError
,"null reference");
13140 arg9
= wxString_in_helper(obj8
);
13141 if (arg9
== NULL
) SWIG_fail
;
13146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13147 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13149 wxPyEndAllowThreads(__tstate
);
13150 if (PyErr_Occurred()) SWIG_fail
;
13153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13177 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13178 PyObject
*resultobj
;
13179 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13181 PyObject
* obj0
= 0 ;
13182 PyObject
* obj1
= 0 ;
13183 char *kwnames
[] = {
13184 (char *) "self",(char *) "value", NULL
13187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13190 arg2
= (bool) SWIG_AsBool(obj1
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13194 (arg1
)->SetValue(arg2
);
13196 wxPyEndAllowThreads(__tstate
);
13197 if (PyErr_Occurred()) SWIG_fail
;
13199 Py_INCREF(Py_None
); resultobj
= Py_None
;
13206 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13207 PyObject
*resultobj
;
13208 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13210 PyObject
* obj0
= 0 ;
13211 char *kwnames
[] = {
13212 (char *) "self", NULL
13215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13220 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13222 wxPyEndAllowThreads(__tstate
);
13223 if (PyErr_Occurred()) SWIG_fail
;
13226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13234 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13235 PyObject
*resultobj
;
13236 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13237 wxString
*arg2
= 0 ;
13238 bool temp2
= False
;
13239 PyObject
* obj0
= 0 ;
13240 PyObject
* obj1
= 0 ;
13241 char *kwnames
[] = {
13242 (char *) "self",(char *) "label", NULL
13245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13249 arg2
= wxString_in_helper(obj1
);
13250 if (arg2
== NULL
) SWIG_fail
;
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 (arg1
)->SetLabel((wxString
const &)*arg2
);
13257 wxPyEndAllowThreads(__tstate
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13260 Py_INCREF(Py_None
); resultobj
= Py_None
;
13275 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13278 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13280 return Py_BuildValue((char *)"");
13282 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13283 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13288 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13293 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13295 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13302 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13303 PyObject
*resultobj
;
13304 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13306 PyObject
* obj0
= 0 ;
13307 char *kwnames
[] = {
13308 (char *) "self", NULL
13311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13318 wxPyEndAllowThreads(__tstate
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13321 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
13328 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13329 PyObject
*resultobj
;
13330 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13333 PyObject
* obj0
= 0 ;
13334 PyObject
* obj1
= 0 ;
13335 char *kwnames
[] = {
13336 (char *) "self",(char *) "n", NULL
13339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13342 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13346 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13348 wxPyEndAllowThreads(__tstate
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13352 resultobj
= wxPyMake_wxObject(result
);
13360 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13361 PyObject
*resultobj
;
13362 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13364 PyObject
* obj0
= 0 ;
13365 char *kwnames
[] = {
13366 (char *) "self", NULL
13369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13374 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13376 wxPyEndAllowThreads(__tstate
);
13377 if (PyErr_Occurred()) SWIG_fail
;
13379 resultobj
= SWIG_FromInt((int)result
);
13386 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13387 PyObject
*resultobj
;
13388 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13390 wxString
*arg3
= 0 ;
13392 bool temp3
= False
;
13393 PyObject
* obj0
= 0 ;
13394 PyObject
* obj1
= 0 ;
13395 PyObject
* obj2
= 0 ;
13396 char *kwnames
[] = {
13397 (char *) "self",(char *) "n",(char *) "strText", NULL
13400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13403 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13406 arg3
= wxString_in_helper(obj2
);
13407 if (arg3
== NULL
) SWIG_fail
;
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13434 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13435 PyObject
*resultobj
;
13436 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13439 PyObject
* obj0
= 0 ;
13440 PyObject
* obj1
= 0 ;
13441 char *kwnames
[] = {
13442 (char *) "self",(char *) "n", NULL
13445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13448 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13449 if (PyErr_Occurred()) SWIG_fail
;
13451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13452 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13454 wxPyEndAllowThreads(__tstate
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13470 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13471 PyObject
*resultobj
;
13472 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13473 wxImageList
*arg2
= (wxImageList
*) 0 ;
13474 PyObject
* obj0
= 0 ;
13475 PyObject
* obj1
= 0 ;
13476 char *kwnames
[] = {
13477 (char *) "self",(char *) "imageList", NULL
13480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 (arg1
)->SetImageList(arg2
);
13489 wxPyEndAllowThreads(__tstate
);
13490 if (PyErr_Occurred()) SWIG_fail
;
13492 Py_INCREF(Py_None
); resultobj
= Py_None
;
13499 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13500 PyObject
*resultobj
;
13501 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13502 wxImageList
*arg2
= (wxImageList
*) 0 ;
13503 PyObject
* obj0
= 0 ;
13504 PyObject
* obj1
= 0 ;
13505 char *kwnames
[] = {
13506 (char *) "self",(char *) "imageList", NULL
13509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13513 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13516 (arg1
)->AssignImageList(arg2
);
13518 wxPyEndAllowThreads(__tstate
);
13519 if (PyErr_Occurred()) SWIG_fail
;
13521 Py_INCREF(Py_None
); resultobj
= Py_None
;
13528 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13529 PyObject
*resultobj
;
13530 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13531 wxImageList
*result
;
13532 PyObject
* obj0
= 0 ;
13533 char *kwnames
[] = {
13534 (char *) "self", NULL
13537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13542 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13544 wxPyEndAllowThreads(__tstate
);
13545 if (PyErr_Occurred()) SWIG_fail
;
13548 resultobj
= wxPyMake_wxObject(result
);
13556 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13557 PyObject
*resultobj
;
13558 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13561 PyObject
* obj0
= 0 ;
13562 PyObject
* obj1
= 0 ;
13563 char *kwnames
[] = {
13564 (char *) "self",(char *) "n", NULL
13567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13570 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13574 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13576 wxPyEndAllowThreads(__tstate
);
13577 if (PyErr_Occurred()) SWIG_fail
;
13579 resultobj
= SWIG_FromInt((int)result
);
13586 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13587 PyObject
*resultobj
;
13588 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13592 PyObject
* obj0
= 0 ;
13593 PyObject
* obj1
= 0 ;
13594 PyObject
* obj2
= 0 ;
13595 char *kwnames
[] = {
13596 (char *) "self",(char *) "n",(char *) "imageId", NULL
13599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13602 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13604 arg3
= (int) SWIG_AsInt(obj2
);
13605 if (PyErr_Occurred()) SWIG_fail
;
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13610 wxPyEndAllowThreads(__tstate
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13622 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13623 PyObject
*resultobj
;
13624 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13627 PyObject
* obj0
= 0 ;
13628 PyObject
* obj1
= 0 ;
13629 char *kwnames
[] = {
13630 (char *) "self",(char *) "size", NULL
13633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13638 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13642 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13644 wxPyEndAllowThreads(__tstate
);
13645 if (PyErr_Occurred()) SWIG_fail
;
13647 Py_INCREF(Py_None
); resultobj
= Py_None
;
13654 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13655 PyObject
*resultobj
;
13656 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13660 PyObject
* obj0
= 0 ;
13661 PyObject
* obj1
= 0 ;
13662 char *kwnames
[] = {
13663 (char *) "self",(char *) "sizePage", NULL
13666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13671 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13675 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13677 wxPyEndAllowThreads(__tstate
);
13678 if (PyErr_Occurred()) SWIG_fail
;
13681 wxSize
* resultptr
;
13682 resultptr
= new wxSize((wxSize
&) result
);
13683 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13691 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13692 PyObject
*resultobj
;
13693 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13696 PyObject
* obj0
= 0 ;
13697 PyObject
* obj1
= 0 ;
13698 char *kwnames
[] = {
13699 (char *) "self",(char *) "n", NULL
13702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13705 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 result
= (bool)(arg1
)->DeletePage(arg2
);
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13723 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13724 PyObject
*resultobj
;
13725 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13728 PyObject
* obj0
= 0 ;
13729 PyObject
* obj1
= 0 ;
13730 char *kwnames
[] = {
13731 (char *) "self",(char *) "n", NULL
13734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13737 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13738 if (PyErr_Occurred()) SWIG_fail
;
13740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13741 result
= (bool)(arg1
)->RemovePage(arg2
);
13743 wxPyEndAllowThreads(__tstate
);
13744 if (PyErr_Occurred()) SWIG_fail
;
13747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13755 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13756 PyObject
*resultobj
;
13757 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13759 PyObject
* obj0
= 0 ;
13760 char *kwnames
[] = {
13761 (char *) "self", NULL
13764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 result
= (bool)(arg1
)->DeleteAllPages();
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13783 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13784 PyObject
*resultobj
;
13785 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13786 wxWindow
*arg2
= (wxWindow
*) 0 ;
13787 wxString
*arg3
= 0 ;
13788 bool arg4
= (bool) False
;
13789 int arg5
= (int) -1 ;
13791 bool temp3
= False
;
13792 PyObject
* obj0
= 0 ;
13793 PyObject
* obj1
= 0 ;
13794 PyObject
* obj2
= 0 ;
13795 PyObject
* obj3
= 0 ;
13796 PyObject
* obj4
= 0 ;
13797 char *kwnames
[] = {
13798 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13807 arg3
= wxString_in_helper(obj2
);
13808 if (arg3
== NULL
) SWIG_fail
;
13812 arg4
= (bool) SWIG_AsBool(obj3
);
13813 if (PyErr_Occurred()) SWIG_fail
;
13816 arg5
= (int) SWIG_AsInt(obj4
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13821 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13823 wxPyEndAllowThreads(__tstate
);
13824 if (PyErr_Occurred()) SWIG_fail
;
13827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13843 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13844 PyObject
*resultobj
;
13845 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13847 wxWindow
*arg3
= (wxWindow
*) 0 ;
13848 wxString
*arg4
= 0 ;
13849 bool arg5
= (bool) False
;
13850 int arg6
= (int) -1 ;
13852 bool temp4
= False
;
13853 PyObject
* obj0
= 0 ;
13854 PyObject
* obj1
= 0 ;
13855 PyObject
* obj2
= 0 ;
13856 PyObject
* obj3
= 0 ;
13857 PyObject
* obj4
= 0 ;
13858 PyObject
* obj5
= 0 ;
13859 char *kwnames
[] = {
13860 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13866 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13867 if (PyErr_Occurred()) SWIG_fail
;
13868 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
13869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13871 arg4
= wxString_in_helper(obj3
);
13872 if (arg4
== NULL
) SWIG_fail
;
13876 arg5
= (bool) SWIG_AsBool(obj4
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13880 arg6
= (int) SWIG_AsInt(obj5
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13885 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13887 wxPyEndAllowThreads(__tstate
);
13888 if (PyErr_Occurred()) SWIG_fail
;
13891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13907 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13908 PyObject
*resultobj
;
13909 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13912 PyObject
* obj0
= 0 ;
13913 PyObject
* obj1
= 0 ;
13914 char *kwnames
[] = {
13915 (char *) "self",(char *) "n", NULL
13918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13921 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13922 if (PyErr_Occurred()) SWIG_fail
;
13924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13925 result
= (int)(arg1
)->SetSelection(arg2
);
13927 wxPyEndAllowThreads(__tstate
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13930 resultobj
= SWIG_FromInt((int)result
);
13937 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13938 PyObject
*resultobj
;
13939 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13940 bool arg2
= (bool) True
;
13941 PyObject
* obj0
= 0 ;
13942 PyObject
* obj1
= 0 ;
13943 char *kwnames
[] = {
13944 (char *) "self",(char *) "forward", NULL
13947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13951 arg2
= (bool) SWIG_AsBool(obj1
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 (arg1
)->AdvanceSelection(arg2
);
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13961 Py_INCREF(Py_None
); resultobj
= Py_None
;
13968 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13971 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13973 return Py_BuildValue((char *)"");
13975 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13976 PyObject
*resultobj
;
13977 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13978 int arg2
= (int) 0 ;
13979 int arg3
= (int) -1 ;
13980 int arg4
= (int) -1 ;
13981 wxBookCtrlEvent
*result
;
13982 PyObject
* obj0
= 0 ;
13983 PyObject
* obj1
= 0 ;
13984 PyObject
* obj2
= 0 ;
13985 PyObject
* obj3
= 0 ;
13986 char *kwnames
[] = {
13987 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13992 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13996 arg2
= (int) SWIG_AsInt(obj1
);
13997 if (PyErr_Occurred()) SWIG_fail
;
14000 arg3
= (int) SWIG_AsInt(obj2
);
14001 if (PyErr_Occurred()) SWIG_fail
;
14004 arg4
= (int) SWIG_AsInt(obj3
);
14005 if (PyErr_Occurred()) SWIG_fail
;
14008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14009 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14011 wxPyEndAllowThreads(__tstate
);
14012 if (PyErr_Occurred()) SWIG_fail
;
14014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14021 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14022 PyObject
*resultobj
;
14023 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14025 PyObject
* obj0
= 0 ;
14026 char *kwnames
[] = {
14027 (char *) "self", NULL
14030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14035 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14037 wxPyEndAllowThreads(__tstate
);
14038 if (PyErr_Occurred()) SWIG_fail
;
14040 resultobj
= SWIG_FromInt((int)result
);
14047 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14048 PyObject
*resultobj
;
14049 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14051 PyObject
* obj0
= 0 ;
14052 PyObject
* obj1
= 0 ;
14053 char *kwnames
[] = {
14054 (char *) "self",(char *) "nSel", NULL
14057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14060 arg2
= (int) SWIG_AsInt(obj1
);
14061 if (PyErr_Occurred()) SWIG_fail
;
14063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14064 (arg1
)->SetSelection(arg2
);
14066 wxPyEndAllowThreads(__tstate
);
14067 if (PyErr_Occurred()) SWIG_fail
;
14069 Py_INCREF(Py_None
); resultobj
= Py_None
;
14076 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14077 PyObject
*resultobj
;
14078 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14080 PyObject
* obj0
= 0 ;
14081 char *kwnames
[] = {
14082 (char *) "self", NULL
14085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14090 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14092 wxPyEndAllowThreads(__tstate
);
14093 if (PyErr_Occurred()) SWIG_fail
;
14095 resultobj
= SWIG_FromInt((int)result
);
14102 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14103 PyObject
*resultobj
;
14104 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14106 PyObject
* obj0
= 0 ;
14107 PyObject
* obj1
= 0 ;
14108 char *kwnames
[] = {
14109 (char *) "self",(char *) "nOldSel", NULL
14112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14115 arg2
= (int) SWIG_AsInt(obj1
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14119 (arg1
)->SetOldSelection(arg2
);
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14124 Py_INCREF(Py_None
); resultobj
= Py_None
;
14131 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14134 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14136 return Py_BuildValue((char *)"");
14138 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14139 PyObject
*resultobj
;
14140 wxWindow
*arg1
= (wxWindow
*) 0 ;
14141 int arg2
= (int) -1 ;
14142 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14143 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14144 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14145 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14146 long arg5
= (long) 0 ;
14147 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14148 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14149 wxNotebook
*result
;
14152 bool temp6
= False
;
14153 PyObject
* obj0
= 0 ;
14154 PyObject
* obj1
= 0 ;
14155 PyObject
* obj2
= 0 ;
14156 PyObject
* obj3
= 0 ;
14157 PyObject
* obj4
= 0 ;
14158 PyObject
* obj5
= 0 ;
14159 char *kwnames
[] = {
14160 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14167 arg2
= (int) SWIG_AsInt(obj1
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14173 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14179 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14183 arg5
= (long) SWIG_AsLong(obj4
);
14184 if (PyErr_Occurred()) SWIG_fail
;
14188 arg6
= wxString_in_helper(obj5
);
14189 if (arg6
== NULL
) SWIG_fail
;
14194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14195 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14197 wxPyEndAllowThreads(__tstate
);
14198 if (PyErr_Occurred()) SWIG_fail
;
14201 resultobj
= wxPyMake_wxObject(result
);
14217 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14218 PyObject
*resultobj
;
14219 wxNotebook
*result
;
14220 char *kwnames
[] = {
14224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14227 result
= (wxNotebook
*)new wxNotebook();
14229 wxPyEndAllowThreads(__tstate
);
14230 if (PyErr_Occurred()) SWIG_fail
;
14233 resultobj
= wxPyMake_wxObject(result
);
14241 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14242 PyObject
*resultobj
;
14243 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14244 wxWindow
*arg2
= (wxWindow
*) 0 ;
14246 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14247 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14248 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14249 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14250 long arg6
= (long) 0 ;
14251 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14252 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14256 bool temp7
= False
;
14257 PyObject
* obj0
= 0 ;
14258 PyObject
* obj1
= 0 ;
14259 PyObject
* obj2
= 0 ;
14260 PyObject
* obj3
= 0 ;
14261 PyObject
* obj4
= 0 ;
14262 PyObject
* obj5
= 0 ;
14263 PyObject
* obj6
= 0 ;
14264 char *kwnames
[] = {
14265 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14271 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14273 arg3
= (int) SWIG_AsInt(obj2
);
14274 if (PyErr_Occurred()) SWIG_fail
;
14278 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14284 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14288 arg6
= (long) SWIG_AsLong(obj5
);
14289 if (PyErr_Occurred()) SWIG_fail
;
14293 arg7
= wxString_in_helper(obj6
);
14294 if (arg7
== NULL
) SWIG_fail
;
14299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14300 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14302 wxPyEndAllowThreads(__tstate
);
14303 if (PyErr_Occurred()) SWIG_fail
;
14306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14322 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14323 PyObject
*resultobj
;
14324 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14326 PyObject
* obj0
= 0 ;
14327 char *kwnames
[] = {
14328 (char *) "self", NULL
14331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14336 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14338 wxPyEndAllowThreads(__tstate
);
14339 if (PyErr_Occurred()) SWIG_fail
;
14341 resultobj
= SWIG_FromInt((int)result
);
14348 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14349 PyObject
*resultobj
;
14350 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14353 PyObject
* obj0
= 0 ;
14354 PyObject
* obj1
= 0 ;
14355 char *kwnames
[] = {
14356 (char *) "self",(char *) "padding", NULL
14359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14364 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14368 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14370 wxPyEndAllowThreads(__tstate
);
14371 if (PyErr_Occurred()) SWIG_fail
;
14373 Py_INCREF(Py_None
); resultobj
= Py_None
;
14380 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14381 PyObject
*resultobj
;
14382 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14385 PyObject
* obj0
= 0 ;
14386 PyObject
* obj1
= 0 ;
14387 char *kwnames
[] = {
14388 (char *) "self",(char *) "sz", NULL
14391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14396 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14405 Py_INCREF(Py_None
); resultobj
= Py_None
;
14412 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14413 PyObject
*resultobj
;
14414 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14415 wxPoint
*arg2
= 0 ;
14416 long *arg3
= (long *) 0 ;
14420 PyObject
* obj0
= 0 ;
14421 PyObject
* obj1
= 0 ;
14422 char *kwnames
[] = {
14423 (char *) "self",(char *) "pt", NULL
14427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14432 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14438 wxPyEndAllowThreads(__tstate
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14441 resultobj
= SWIG_FromInt((int)result
);
14443 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14444 resultobj
= t_output_helper(resultobj
,o
);
14452 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14453 PyObject
*resultobj
;
14454 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14458 PyObject
* obj0
= 0 ;
14459 PyObject
* obj1
= 0 ;
14460 char *kwnames
[] = {
14461 (char *) "self",(char *) "sizePage", NULL
14464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14469 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14473 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14475 wxPyEndAllowThreads(__tstate
);
14476 if (PyErr_Occurred()) SWIG_fail
;
14479 wxSize
* resultptr
;
14480 resultptr
= new wxSize((wxSize
&) result
);
14481 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14489 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14490 PyObject
*resultobj
;
14491 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14492 wxWindow
*arg2
= (wxWindow
*) 0 ;
14493 wxColour
*arg3
= 0 ;
14495 PyObject
* obj0
= 0 ;
14496 PyObject
* obj1
= 0 ;
14497 PyObject
* obj2
= 0 ;
14498 char *kwnames
[] = {
14499 (char *) "self",(char *) "window",(char *) "colour", NULL
14502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14509 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14513 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
14515 wxPyEndAllowThreads(__tstate
);
14516 if (PyErr_Occurred()) SWIG_fail
;
14518 Py_INCREF(Py_None
); resultobj
= Py_None
;
14525 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
14527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14528 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14530 return Py_BuildValue((char *)"");
14532 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14533 PyObject
*resultobj
;
14534 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14535 int arg2
= (int) 0 ;
14536 int arg3
= (int) -1 ;
14537 int arg4
= (int) -1 ;
14538 wxNotebookEvent
*result
;
14539 PyObject
* obj0
= 0 ;
14540 PyObject
* obj1
= 0 ;
14541 PyObject
* obj2
= 0 ;
14542 PyObject
* obj3
= 0 ;
14543 char *kwnames
[] = {
14544 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14549 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14550 if (PyErr_Occurred()) SWIG_fail
;
14553 arg2
= (int) SWIG_AsInt(obj1
);
14554 if (PyErr_Occurred()) SWIG_fail
;
14557 arg3
= (int) SWIG_AsInt(obj2
);
14558 if (PyErr_Occurred()) SWIG_fail
;
14561 arg4
= (int) SWIG_AsInt(obj3
);
14562 if (PyErr_Occurred()) SWIG_fail
;
14565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14566 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14568 wxPyEndAllowThreads(__tstate
);
14569 if (PyErr_Occurred()) SWIG_fail
;
14571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
14578 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14581 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14583 return Py_BuildValue((char *)"");
14585 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14586 PyObject
*resultobj
;
14587 wxWindow
*arg1
= (wxWindow
*) 0 ;
14588 int arg2
= (int) -1 ;
14589 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14590 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14591 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14592 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14593 long arg5
= (long) 0 ;
14594 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14595 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14596 wxListbook
*result
;
14599 bool temp6
= False
;
14600 PyObject
* obj0
= 0 ;
14601 PyObject
* obj1
= 0 ;
14602 PyObject
* obj2
= 0 ;
14603 PyObject
* obj3
= 0 ;
14604 PyObject
* obj4
= 0 ;
14605 PyObject
* obj5
= 0 ;
14606 char *kwnames
[] = {
14607 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14614 arg2
= (int) SWIG_AsInt(obj1
);
14615 if (PyErr_Occurred()) SWIG_fail
;
14620 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14626 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14630 arg5
= (long) SWIG_AsLong(obj4
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14635 arg6
= wxString_in_helper(obj5
);
14636 if (arg6
== NULL
) SWIG_fail
;
14641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14642 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14644 wxPyEndAllowThreads(__tstate
);
14645 if (PyErr_Occurred()) SWIG_fail
;
14647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14662 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14663 PyObject
*resultobj
;
14664 wxListbook
*result
;
14665 char *kwnames
[] = {
14669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14672 result
= (wxListbook
*)new wxListbook();
14674 wxPyEndAllowThreads(__tstate
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14684 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14685 PyObject
*resultobj
;
14686 wxListbook
*arg1
= (wxListbook
*) 0 ;
14687 wxWindow
*arg2
= (wxWindow
*) 0 ;
14689 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14690 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14691 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14692 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14693 long arg6
= (long) 0 ;
14694 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14695 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14699 bool temp7
= False
;
14700 PyObject
* obj0
= 0 ;
14701 PyObject
* obj1
= 0 ;
14702 PyObject
* obj2
= 0 ;
14703 PyObject
* obj3
= 0 ;
14704 PyObject
* obj4
= 0 ;
14705 PyObject
* obj5
= 0 ;
14706 PyObject
* obj6
= 0 ;
14707 char *kwnames
[] = {
14708 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14714 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14716 arg3
= (int) SWIG_AsInt(obj2
);
14717 if (PyErr_Occurred()) SWIG_fail
;
14721 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14727 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14731 arg6
= (long) SWIG_AsLong(obj5
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14736 arg7
= wxString_in_helper(obj6
);
14737 if (arg7
== NULL
) SWIG_fail
;
14742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14743 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14745 wxPyEndAllowThreads(__tstate
);
14746 if (PyErr_Occurred()) SWIG_fail
;
14749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14765 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14766 PyObject
*resultobj
;
14767 wxListbook
*arg1
= (wxListbook
*) 0 ;
14769 PyObject
* obj0
= 0 ;
14770 char *kwnames
[] = {
14771 (char *) "self", NULL
14774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14793 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14796 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14798 return Py_BuildValue((char *)"");
14800 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14801 PyObject
*resultobj
;
14802 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14803 int arg2
= (int) 0 ;
14804 int arg3
= (int) -1 ;
14805 int arg4
= (int) -1 ;
14806 wxListbookEvent
*result
;
14807 PyObject
* obj0
= 0 ;
14808 PyObject
* obj1
= 0 ;
14809 PyObject
* obj2
= 0 ;
14810 PyObject
* obj3
= 0 ;
14811 char *kwnames
[] = {
14812 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14817 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14821 arg2
= (int) SWIG_AsInt(obj1
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14825 arg3
= (int) SWIG_AsInt(obj2
);
14826 if (PyErr_Occurred()) SWIG_fail
;
14829 arg4
= (int) SWIG_AsInt(obj3
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14834 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14836 wxPyEndAllowThreads(__tstate
);
14837 if (PyErr_Occurred()) SWIG_fail
;
14839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
14846 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14849 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14851 return Py_BuildValue((char *)"");
14853 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14854 PyObject
*resultobj
;
14855 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14856 wxBookCtrlSizer
*result
;
14857 PyObject
* obj0
= 0 ;
14858 char *kwnames
[] = {
14859 (char *) "nb", NULL
14862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14867 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14869 wxPyEndAllowThreads(__tstate
);
14870 if (PyErr_Occurred()) SWIG_fail
;
14872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
14879 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14880 PyObject
*resultobj
;
14881 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14882 PyObject
* obj0
= 0 ;
14883 char *kwnames
[] = {
14884 (char *) "self", NULL
14887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14892 (arg1
)->RecalcSizes();
14894 wxPyEndAllowThreads(__tstate
);
14895 if (PyErr_Occurred()) SWIG_fail
;
14897 Py_INCREF(Py_None
); resultobj
= Py_None
;
14904 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14905 PyObject
*resultobj
;
14906 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14908 PyObject
* obj0
= 0 ;
14909 char *kwnames
[] = {
14910 (char *) "self", NULL
14913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14918 result
= (arg1
)->CalcMin();
14920 wxPyEndAllowThreads(__tstate
);
14921 if (PyErr_Occurred()) SWIG_fail
;
14924 wxSize
* resultptr
;
14925 resultptr
= new wxSize((wxSize
&) result
);
14926 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14934 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14935 PyObject
*resultobj
;
14936 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14937 wxBookCtrl
*result
;
14938 PyObject
* obj0
= 0 ;
14939 char *kwnames
[] = {
14940 (char *) "self", NULL
14943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14948 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14950 wxPyEndAllowThreads(__tstate
);
14951 if (PyErr_Occurred()) SWIG_fail
;
14953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
14960 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14963 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14965 return Py_BuildValue((char *)"");
14967 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14968 PyObject
*resultobj
;
14969 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14970 wxNotebookSizer
*result
;
14971 PyObject
* obj0
= 0 ;
14972 char *kwnames
[] = {
14973 (char *) "nb", NULL
14976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14983 wxPyEndAllowThreads(__tstate
);
14984 if (PyErr_Occurred()) SWIG_fail
;
14986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
14993 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14994 PyObject
*resultobj
;
14995 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14996 PyObject
* obj0
= 0 ;
14997 char *kwnames
[] = {
14998 (char *) "self", NULL
15001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15006 (arg1
)->RecalcSizes();
15008 wxPyEndAllowThreads(__tstate
);
15009 if (PyErr_Occurred()) SWIG_fail
;
15011 Py_INCREF(Py_None
); resultobj
= Py_None
;
15018 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15019 PyObject
*resultobj
;
15020 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15022 PyObject
* obj0
= 0 ;
15023 char *kwnames
[] = {
15024 (char *) "self", NULL
15027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15032 result
= (arg1
)->CalcMin();
15034 wxPyEndAllowThreads(__tstate
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15038 wxSize
* resultptr
;
15039 resultptr
= new wxSize((wxSize
&) result
);
15040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15048 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15049 PyObject
*resultobj
;
15050 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15051 wxNotebook
*result
;
15052 PyObject
* obj0
= 0 ;
15053 char *kwnames
[] = {
15054 (char *) "self", NULL
15057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15062 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15064 wxPyEndAllowThreads(__tstate
);
15065 if (PyErr_Occurred()) SWIG_fail
;
15068 resultobj
= wxPyMake_wxObject(result
);
15076 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15079 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15081 return Py_BuildValue((char *)"");
15083 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15084 PyObject
*resultobj
;
15085 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15087 PyObject
* obj0
= 0 ;
15088 char *kwnames
[] = {
15089 (char *) "self", NULL
15092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15097 result
= (int)(arg1
)->GetId();
15099 wxPyEndAllowThreads(__tstate
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15102 resultobj
= SWIG_FromInt((int)result
);
15109 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15110 PyObject
*resultobj
;
15111 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15113 PyObject
* obj0
= 0 ;
15114 char *kwnames
[] = {
15115 (char *) "self", NULL
15118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15123 result
= (wxControl
*)(arg1
)->GetControl();
15125 wxPyEndAllowThreads(__tstate
);
15126 if (PyErr_Occurred()) SWIG_fail
;
15129 resultobj
= wxPyMake_wxObject(result
);
15137 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15138 PyObject
*resultobj
;
15139 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15140 wxToolBarBase
*result
;
15141 PyObject
* obj0
= 0 ;
15142 char *kwnames
[] = {
15143 (char *) "self", NULL
15146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15151 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15153 wxPyEndAllowThreads(__tstate
);
15154 if (PyErr_Occurred()) SWIG_fail
;
15157 resultobj
= wxPyMake_wxObject(result
);
15165 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15166 PyObject
*resultobj
;
15167 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15169 PyObject
* obj0
= 0 ;
15170 char *kwnames
[] = {
15171 (char *) "self", NULL
15174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15179 result
= (int)(arg1
)->IsButton();
15181 wxPyEndAllowThreads(__tstate
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15184 resultobj
= SWIG_FromInt((int)result
);
15191 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15192 PyObject
*resultobj
;
15193 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15195 PyObject
* obj0
= 0 ;
15196 char *kwnames
[] = {
15197 (char *) "self", NULL
15200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15205 result
= (int)(arg1
)->IsControl();
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15210 resultobj
= SWIG_FromInt((int)result
);
15217 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
;
15219 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15221 PyObject
* obj0
= 0 ;
15222 char *kwnames
[] = {
15223 (char *) "self", NULL
15226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
15227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15231 result
= (int)(arg1
)->IsSeparator();
15233 wxPyEndAllowThreads(__tstate
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15236 resultobj
= SWIG_FromInt((int)result
);
15243 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15244 PyObject
*resultobj
;
15245 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15247 PyObject
* obj0
= 0 ;
15248 char *kwnames
[] = {
15249 (char *) "self", NULL
15252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15257 result
= (int)(arg1
)->GetStyle();
15259 wxPyEndAllowThreads(__tstate
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15262 resultobj
= SWIG_FromInt((int)result
);
15269 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15270 PyObject
*resultobj
;
15271 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15273 PyObject
* obj0
= 0 ;
15274 char *kwnames
[] = {
15275 (char *) "self", NULL
15278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15283 result
= (int)(arg1
)->GetKind();
15285 wxPyEndAllowThreads(__tstate
);
15286 if (PyErr_Occurred()) SWIG_fail
;
15288 resultobj
= SWIG_FromInt((int)result
);
15295 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15296 PyObject
*resultobj
;
15297 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15299 PyObject
* obj0
= 0 ;
15300 char *kwnames
[] = {
15301 (char *) "self", NULL
15304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 result
= (bool)(arg1
)->IsEnabled();
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15323 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15324 PyObject
*resultobj
;
15325 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15327 PyObject
* obj0
= 0 ;
15328 char *kwnames
[] = {
15329 (char *) "self", NULL
15332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15337 result
= (bool)(arg1
)->IsToggled();
15339 wxPyEndAllowThreads(__tstate
);
15340 if (PyErr_Occurred()) SWIG_fail
;
15343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15351 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15352 PyObject
*resultobj
;
15353 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15355 PyObject
* obj0
= 0 ;
15356 char *kwnames
[] = {
15357 (char *) "self", NULL
15360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15365 result
= (bool)(arg1
)->CanBeToggled();
15367 wxPyEndAllowThreads(__tstate
);
15368 if (PyErr_Occurred()) SWIG_fail
;
15371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15379 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15380 PyObject
*resultobj
;
15381 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15383 PyObject
* obj0
= 0 ;
15384 char *kwnames
[] = {
15385 (char *) "self", NULL
15388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15394 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15395 result
= (wxBitmap
*) &_result_ref
;
15398 wxPyEndAllowThreads(__tstate
);
15399 if (PyErr_Occurred()) SWIG_fail
;
15402 wxBitmap
* resultptr
= new wxBitmap(*result
);
15403 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15411 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15412 PyObject
*resultobj
;
15413 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15415 PyObject
* obj0
= 0 ;
15416 char *kwnames
[] = {
15417 (char *) "self", NULL
15420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15426 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15427 result
= (wxBitmap
*) &_result_ref
;
15430 wxPyEndAllowThreads(__tstate
);
15431 if (PyErr_Occurred()) SWIG_fail
;
15434 wxBitmap
* resultptr
= new wxBitmap(*result
);
15435 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15443 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15444 PyObject
*resultobj
;
15445 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15447 PyObject
* obj0
= 0 ;
15448 char *kwnames
[] = {
15449 (char *) "self", NULL
15452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15457 result
= (arg1
)->GetBitmap();
15459 wxPyEndAllowThreads(__tstate
);
15460 if (PyErr_Occurred()) SWIG_fail
;
15463 wxBitmap
* resultptr
;
15464 resultptr
= new wxBitmap((wxBitmap
&) result
);
15465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15473 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15474 PyObject
*resultobj
;
15475 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15477 PyObject
* obj0
= 0 ;
15478 char *kwnames
[] = {
15479 (char *) "self", NULL
15482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15487 result
= (arg1
)->GetLabel();
15489 wxPyEndAllowThreads(__tstate
);
15490 if (PyErr_Occurred()) SWIG_fail
;
15494 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15496 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15505 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15506 PyObject
*resultobj
;
15507 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15509 PyObject
* obj0
= 0 ;
15510 char *kwnames
[] = {
15511 (char *) "self", NULL
15514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15519 result
= (arg1
)->GetShortHelp();
15521 wxPyEndAllowThreads(__tstate
);
15522 if (PyErr_Occurred()) SWIG_fail
;
15526 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15528 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15537 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15538 PyObject
*resultobj
;
15539 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15541 PyObject
* obj0
= 0 ;
15542 char *kwnames
[] = {
15543 (char *) "self", NULL
15546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15551 result
= (arg1
)->GetLongHelp();
15553 wxPyEndAllowThreads(__tstate
);
15554 if (PyErr_Occurred()) SWIG_fail
;
15558 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15560 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15569 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15570 PyObject
*resultobj
;
15571 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15574 PyObject
* obj0
= 0 ;
15575 PyObject
* obj1
= 0 ;
15576 char *kwnames
[] = {
15577 (char *) "self",(char *) "enable", NULL
15580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15583 arg2
= (bool) SWIG_AsBool(obj1
);
15584 if (PyErr_Occurred()) SWIG_fail
;
15586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15587 result
= (bool)(arg1
)->Enable(arg2
);
15589 wxPyEndAllowThreads(__tstate
);
15590 if (PyErr_Occurred()) SWIG_fail
;
15593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15601 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15602 PyObject
*resultobj
;
15603 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15604 PyObject
* obj0
= 0 ;
15605 char *kwnames
[] = {
15606 (char *) "self", NULL
15609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15619 Py_INCREF(Py_None
); resultobj
= Py_None
;
15626 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15627 PyObject
*resultobj
;
15628 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15631 PyObject
* obj0
= 0 ;
15632 PyObject
* obj1
= 0 ;
15633 char *kwnames
[] = {
15634 (char *) "self",(char *) "toggle", NULL
15637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15640 arg2
= (bool) SWIG_AsBool(obj1
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15644 result
= (bool)(arg1
)->SetToggle(arg2
);
15646 wxPyEndAllowThreads(__tstate
);
15647 if (PyErr_Occurred()) SWIG_fail
;
15650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15658 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15659 PyObject
*resultobj
;
15660 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15661 wxString
*arg2
= 0 ;
15663 bool temp2
= False
;
15664 PyObject
* obj0
= 0 ;
15665 PyObject
* obj1
= 0 ;
15666 char *kwnames
[] = {
15667 (char *) "self",(char *) "help", NULL
15670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15674 arg2
= wxString_in_helper(obj1
);
15675 if (arg2
== NULL
) SWIG_fail
;
15679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15680 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15682 wxPyEndAllowThreads(__tstate
);
15683 if (PyErr_Occurred()) SWIG_fail
;
15686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15702 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15703 PyObject
*resultobj
;
15704 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15705 wxString
*arg2
= 0 ;
15707 bool temp2
= False
;
15708 PyObject
* obj0
= 0 ;
15709 PyObject
* obj1
= 0 ;
15710 char *kwnames
[] = {
15711 (char *) "self",(char *) "help", NULL
15714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15718 arg2
= wxString_in_helper(obj1
);
15719 if (arg2
== NULL
) SWIG_fail
;
15723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15724 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15726 wxPyEndAllowThreads(__tstate
);
15727 if (PyErr_Occurred()) SWIG_fail
;
15730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15746 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15747 PyObject
*resultobj
;
15748 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15749 wxBitmap
*arg2
= 0 ;
15750 PyObject
* obj0
= 0 ;
15751 PyObject
* obj1
= 0 ;
15752 char *kwnames
[] = {
15753 (char *) "self",(char *) "bmp", NULL
15756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15760 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15762 if (arg2
== NULL
) {
15763 PyErr_SetString(PyExc_TypeError
,"null reference");
15767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15768 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15770 wxPyEndAllowThreads(__tstate
);
15771 if (PyErr_Occurred()) SWIG_fail
;
15773 Py_INCREF(Py_None
); resultobj
= Py_None
;
15780 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15781 PyObject
*resultobj
;
15782 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15783 wxBitmap
*arg2
= 0 ;
15784 PyObject
* obj0
= 0 ;
15785 PyObject
* obj1
= 0 ;
15786 char *kwnames
[] = {
15787 (char *) "self",(char *) "bmp", NULL
15790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15794 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15796 if (arg2
== NULL
) {
15797 PyErr_SetString(PyExc_TypeError
,"null reference");
15801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15802 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15804 wxPyEndAllowThreads(__tstate
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15807 Py_INCREF(Py_None
); resultobj
= Py_None
;
15814 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15815 PyObject
*resultobj
;
15816 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15817 wxString
*arg2
= 0 ;
15818 bool temp2
= False
;
15819 PyObject
* obj0
= 0 ;
15820 PyObject
* obj1
= 0 ;
15821 char *kwnames
[] = {
15822 (char *) "self",(char *) "label", NULL
15825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15829 arg2
= wxString_in_helper(obj1
);
15830 if (arg2
== NULL
) SWIG_fail
;
15834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15835 (arg1
)->SetLabel((wxString
const &)*arg2
);
15837 wxPyEndAllowThreads(__tstate
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15840 Py_INCREF(Py_None
); resultobj
= Py_None
;
15855 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15856 PyObject
*resultobj
;
15857 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15858 PyObject
* obj0
= 0 ;
15859 char *kwnames
[] = {
15860 (char *) "self", NULL
15863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15870 wxPyEndAllowThreads(__tstate
);
15871 if (PyErr_Occurred()) SWIG_fail
;
15873 Py_INCREF(Py_None
); resultobj
= Py_None
;
15880 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15881 PyObject
*resultobj
;
15882 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15883 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15884 PyObject
* obj0
= 0 ;
15885 PyObject
* obj1
= 0 ;
15886 char *kwnames
[] = {
15887 (char *) "self",(char *) "tbar", NULL
15890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15893 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
15894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 (arg1
)->Attach(arg2
);
15899 wxPyEndAllowThreads(__tstate
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15902 Py_INCREF(Py_None
); resultobj
= Py_None
;
15909 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15910 PyObject
*resultobj
;
15911 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15913 PyObject
* obj0
= 0 ;
15914 char *kwnames
[] = {
15915 (char *) "self", NULL
15918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15923 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15928 resultobj
= result
;
15935 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15936 PyObject
*resultobj
;
15937 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15938 PyObject
*arg2
= (PyObject
*) 0 ;
15939 PyObject
* obj0
= 0 ;
15940 PyObject
* obj1
= 0 ;
15941 char *kwnames
[] = {
15942 (char *) "self",(char *) "clientData", NULL
15945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15951 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15953 wxPyEndAllowThreads(__tstate
);
15954 if (PyErr_Occurred()) SWIG_fail
;
15956 Py_INCREF(Py_None
); resultobj
= Py_None
;
15963 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15966 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15968 return Py_BuildValue((char *)"");
15970 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15971 PyObject
*resultobj
;
15972 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15974 wxString
*arg3
= 0 ;
15975 wxBitmap
*arg4
= 0 ;
15976 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15977 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15978 int arg6
= (int) wxITEM_NORMAL
;
15979 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15980 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15981 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15982 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15983 PyObject
*arg9
= (PyObject
*) NULL
;
15984 wxToolBarToolBase
*result
;
15985 bool temp3
= False
;
15986 bool temp7
= False
;
15987 bool temp8
= False
;
15988 PyObject
* obj0
= 0 ;
15989 PyObject
* obj1
= 0 ;
15990 PyObject
* obj2
= 0 ;
15991 PyObject
* obj3
= 0 ;
15992 PyObject
* obj4
= 0 ;
15993 PyObject
* obj5
= 0 ;
15994 PyObject
* obj6
= 0 ;
15995 PyObject
* obj7
= 0 ;
15996 PyObject
* obj8
= 0 ;
15997 char *kwnames
[] = {
15998 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16004 arg2
= (int) SWIG_AsInt(obj1
);
16005 if (PyErr_Occurred()) SWIG_fail
;
16007 arg3
= wxString_in_helper(obj2
);
16008 if (arg3
== NULL
) SWIG_fail
;
16011 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16012 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16014 if (arg4
== NULL
) {
16015 PyErr_SetString(PyExc_TypeError
,"null reference");
16019 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16020 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16022 if (arg5
== NULL
) {
16023 PyErr_SetString(PyExc_TypeError
,"null reference");
16028 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16033 arg7
= wxString_in_helper(obj6
);
16034 if (arg7
== NULL
) SWIG_fail
;
16040 arg8
= wxString_in_helper(obj7
);
16041 if (arg8
== NULL
) SWIG_fail
;
16049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16052 wxPyEndAllowThreads(__tstate
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16056 resultobj
= wxPyMake_wxObject(result
);
16088 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16089 PyObject
*resultobj
;
16090 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16093 wxString
*arg4
= 0 ;
16094 wxBitmap
*arg5
= 0 ;
16095 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16096 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16097 int arg7
= (int) wxITEM_NORMAL
;
16098 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16099 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16100 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16101 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16102 PyObject
*arg10
= (PyObject
*) NULL
;
16103 wxToolBarToolBase
*result
;
16104 bool temp4
= False
;
16105 bool temp8
= False
;
16106 bool temp9
= False
;
16107 PyObject
* obj0
= 0 ;
16108 PyObject
* obj1
= 0 ;
16109 PyObject
* obj2
= 0 ;
16110 PyObject
* obj3
= 0 ;
16111 PyObject
* obj4
= 0 ;
16112 PyObject
* obj5
= 0 ;
16113 PyObject
* obj6
= 0 ;
16114 PyObject
* obj7
= 0 ;
16115 PyObject
* obj8
= 0 ;
16116 PyObject
* obj9
= 0 ;
16117 char *kwnames
[] = {
16118 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16124 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16126 arg3
= (int) SWIG_AsInt(obj2
);
16127 if (PyErr_Occurred()) SWIG_fail
;
16129 arg4
= wxString_in_helper(obj3
);
16130 if (arg4
== NULL
) SWIG_fail
;
16133 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16134 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16136 if (arg5
== NULL
) {
16137 PyErr_SetString(PyExc_TypeError
,"null reference");
16141 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16142 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16144 if (arg6
== NULL
) {
16145 PyErr_SetString(PyExc_TypeError
,"null reference");
16150 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16155 arg8
= wxString_in_helper(obj7
);
16156 if (arg8
== NULL
) SWIG_fail
;
16162 arg9
= wxString_in_helper(obj8
);
16163 if (arg9
== NULL
) SWIG_fail
;
16171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16172 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
);
16174 wxPyEndAllowThreads(__tstate
);
16175 if (PyErr_Occurred()) SWIG_fail
;
16178 resultobj
= wxPyMake_wxObject(result
);
16210 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16211 PyObject
*resultobj
;
16212 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16213 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
16214 wxToolBarToolBase
*result
;
16215 PyObject
* obj0
= 0 ;
16216 PyObject
* obj1
= 0 ;
16217 char *kwnames
[] = {
16218 (char *) "self",(char *) "tool", NULL
16221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
16222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
16225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16228 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
16230 wxPyEndAllowThreads(__tstate
);
16231 if (PyErr_Occurred()) SWIG_fail
;
16234 resultobj
= wxPyMake_wxObject(result
);
16242 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16243 PyObject
*resultobj
;
16244 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16246 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
16247 wxToolBarToolBase
*result
;
16248 PyObject
* obj0
= 0 ;
16249 PyObject
* obj1
= 0 ;
16250 PyObject
* obj2
= 0 ;
16251 char *kwnames
[] = {
16252 (char *) "self",(char *) "pos",(char *) "tool", NULL
16255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16258 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16260 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
16261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16264 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16270 resultobj
= wxPyMake_wxObject(result
);
16278 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16279 PyObject
*resultobj
;
16280 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16281 wxControl
*arg2
= (wxControl
*) 0 ;
16282 wxToolBarToolBase
*result
;
16283 PyObject
* obj0
= 0 ;
16284 PyObject
* obj1
= 0 ;
16285 char *kwnames
[] = {
16286 (char *) "self",(char *) "control", NULL
16289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16292 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
16293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16296 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
16298 wxPyEndAllowThreads(__tstate
);
16299 if (PyErr_Occurred()) SWIG_fail
;
16302 resultobj
= wxPyMake_wxObject(result
);
16310 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
;
16312 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16314 wxControl
*arg3
= (wxControl
*) 0 ;
16315 wxToolBarToolBase
*result
;
16316 PyObject
* obj0
= 0 ;
16317 PyObject
* obj1
= 0 ;
16318 PyObject
* obj2
= 0 ;
16319 char *kwnames
[] = {
16320 (char *) "self",(char *) "pos",(char *) "control", NULL
16323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16326 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16327 if (PyErr_Occurred()) SWIG_fail
;
16328 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
16329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16332 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16334 wxPyEndAllowThreads(__tstate
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16338 resultobj
= wxPyMake_wxObject(result
);
16346 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16347 PyObject
*resultobj
;
16348 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16351 PyObject
* obj0
= 0 ;
16352 PyObject
* obj1
= 0 ;
16353 char *kwnames
[] = {
16354 (char *) "self",(char *) "id", NULL
16357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16360 arg2
= (int) SWIG_AsInt(obj1
);
16361 if (PyErr_Occurred()) SWIG_fail
;
16363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16364 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16366 wxPyEndAllowThreads(__tstate
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16370 resultobj
= wxPyMake_wxObject(result
);
16378 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16379 PyObject
*resultobj
;
16380 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16381 wxToolBarToolBase
*result
;
16382 PyObject
* obj0
= 0 ;
16383 char *kwnames
[] = {
16384 (char *) "self", NULL
16387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16392 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16394 wxPyEndAllowThreads(__tstate
);
16395 if (PyErr_Occurred()) SWIG_fail
;
16398 resultobj
= wxPyMake_wxObject(result
);
16406 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16407 PyObject
*resultobj
;
16408 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16410 wxToolBarToolBase
*result
;
16411 PyObject
* obj0
= 0 ;
16412 PyObject
* obj1
= 0 ;
16413 char *kwnames
[] = {
16414 (char *) "self",(char *) "pos", NULL
16417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16420 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16424 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16426 wxPyEndAllowThreads(__tstate
);
16427 if (PyErr_Occurred()) SWIG_fail
;
16430 resultobj
= wxPyMake_wxObject(result
);
16438 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16439 PyObject
*resultobj
;
16440 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16442 wxToolBarToolBase
*result
;
16443 PyObject
* obj0
= 0 ;
16444 PyObject
* obj1
= 0 ;
16445 char *kwnames
[] = {
16446 (char *) "self",(char *) "id", NULL
16449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16452 arg2
= (int) SWIG_AsInt(obj1
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16456 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16458 wxPyEndAllowThreads(__tstate
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16462 resultobj
= wxPyMake_wxObject(result
);
16470 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16471 PyObject
*resultobj
;
16472 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16475 PyObject
* obj0
= 0 ;
16476 PyObject
* obj1
= 0 ;
16477 char *kwnames
[] = {
16478 (char *) "self",(char *) "pos", NULL
16481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16484 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16488 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16490 wxPyEndAllowThreads(__tstate
);
16491 if (PyErr_Occurred()) SWIG_fail
;
16494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16502 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16503 PyObject
*resultobj
;
16504 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16507 PyObject
* obj0
= 0 ;
16508 PyObject
* obj1
= 0 ;
16509 char *kwnames
[] = {
16510 (char *) "self",(char *) "id", NULL
16513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16516 arg2
= (int) SWIG_AsInt(obj1
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16520 result
= (bool)(arg1
)->DeleteTool(arg2
);
16522 wxPyEndAllowThreads(__tstate
);
16523 if (PyErr_Occurred()) SWIG_fail
;
16526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16534 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16535 PyObject
*resultobj
;
16536 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16537 PyObject
* obj0
= 0 ;
16538 char *kwnames
[] = {
16539 (char *) "self", NULL
16542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16547 (arg1
)->ClearTools();
16549 wxPyEndAllowThreads(__tstate
);
16550 if (PyErr_Occurred()) SWIG_fail
;
16552 Py_INCREF(Py_None
); resultobj
= Py_None
;
16559 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16560 PyObject
*resultobj
;
16561 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16563 PyObject
* obj0
= 0 ;
16564 char *kwnames
[] = {
16565 (char *) "self", NULL
16568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16573 result
= (bool)(arg1
)->Realize();
16575 wxPyEndAllowThreads(__tstate
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16587 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16588 PyObject
*resultobj
;
16589 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16592 PyObject
* obj0
= 0 ;
16593 PyObject
* obj1
= 0 ;
16594 PyObject
* obj2
= 0 ;
16595 char *kwnames
[] = {
16596 (char *) "self",(char *) "id",(char *) "enable", NULL
16599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16602 arg2
= (int) SWIG_AsInt(obj1
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16604 arg3
= (bool) SWIG_AsBool(obj2
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16608 (arg1
)->EnableTool(arg2
,arg3
);
16610 wxPyEndAllowThreads(__tstate
);
16611 if (PyErr_Occurred()) SWIG_fail
;
16613 Py_INCREF(Py_None
); resultobj
= Py_None
;
16620 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16621 PyObject
*resultobj
;
16622 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16625 PyObject
* obj0
= 0 ;
16626 PyObject
* obj1
= 0 ;
16627 PyObject
* obj2
= 0 ;
16628 char *kwnames
[] = {
16629 (char *) "self",(char *) "id",(char *) "toggle", NULL
16632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16635 arg2
= (int) SWIG_AsInt(obj1
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16637 arg3
= (bool) SWIG_AsBool(obj2
);
16638 if (PyErr_Occurred()) SWIG_fail
;
16640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16641 (arg1
)->ToggleTool(arg2
,arg3
);
16643 wxPyEndAllowThreads(__tstate
);
16644 if (PyErr_Occurred()) SWIG_fail
;
16646 Py_INCREF(Py_None
); resultobj
= Py_None
;
16653 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16654 PyObject
*resultobj
;
16655 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16658 PyObject
* obj0
= 0 ;
16659 PyObject
* obj1
= 0 ;
16660 PyObject
* obj2
= 0 ;
16661 char *kwnames
[] = {
16662 (char *) "self",(char *) "id",(char *) "toggle", NULL
16665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16668 arg2
= (int) SWIG_AsInt(obj1
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16670 arg3
= (bool) SWIG_AsBool(obj2
);
16671 if (PyErr_Occurred()) SWIG_fail
;
16673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 (arg1
)->SetToggle(arg2
,arg3
);
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16679 Py_INCREF(Py_None
); resultobj
= Py_None
;
16686 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16687 PyObject
*resultobj
;
16688 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16691 PyObject
* obj0
= 0 ;
16692 PyObject
* obj1
= 0 ;
16693 char *kwnames
[] = {
16694 (char *) "self",(char *) "id", NULL
16697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16700 arg2
= (int) SWIG_AsInt(obj1
);
16701 if (PyErr_Occurred()) SWIG_fail
;
16703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16704 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16706 wxPyEndAllowThreads(__tstate
);
16707 if (PyErr_Occurred()) SWIG_fail
;
16709 resultobj
= result
;
16716 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16717 PyObject
*resultobj
;
16718 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16720 PyObject
*arg3
= (PyObject
*) 0 ;
16721 PyObject
* obj0
= 0 ;
16722 PyObject
* obj1
= 0 ;
16723 PyObject
* obj2
= 0 ;
16724 char *kwnames
[] = {
16725 (char *) "self",(char *) "id",(char *) "clientData", NULL
16728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16731 arg2
= (int) SWIG_AsInt(obj1
);
16732 if (PyErr_Occurred()) SWIG_fail
;
16735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16736 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16738 wxPyEndAllowThreads(__tstate
);
16739 if (PyErr_Occurred()) SWIG_fail
;
16741 Py_INCREF(Py_None
); resultobj
= Py_None
;
16748 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16749 PyObject
*resultobj
;
16750 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16753 PyObject
* obj0
= 0 ;
16754 PyObject
* obj1
= 0 ;
16755 char *kwnames
[] = {
16756 (char *) "self",(char *) "id", NULL
16759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16762 arg2
= (int) SWIG_AsInt(obj1
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16768 wxPyEndAllowThreads(__tstate
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16771 resultobj
= SWIG_FromInt((int)result
);
16778 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
;
16780 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16783 PyObject
* obj0
= 0 ;
16784 PyObject
* obj1
= 0 ;
16785 char *kwnames
[] = {
16786 (char *) "self",(char *) "id", NULL
16789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16792 arg2
= (int) SWIG_AsInt(obj1
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16796 result
= (bool)(arg1
)->GetToolState(arg2
);
16798 wxPyEndAllowThreads(__tstate
);
16799 if (PyErr_Occurred()) SWIG_fail
;
16802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16810 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16811 PyObject
*resultobj
;
16812 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16815 PyObject
* obj0
= 0 ;
16816 PyObject
* obj1
= 0 ;
16817 char *kwnames
[] = {
16818 (char *) "self",(char *) "id", NULL
16821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16824 arg2
= (int) SWIG_AsInt(obj1
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16828 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16830 wxPyEndAllowThreads(__tstate
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16842 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16843 PyObject
*resultobj
;
16844 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16846 wxString
*arg3
= 0 ;
16847 bool temp3
= False
;
16848 PyObject
* obj0
= 0 ;
16849 PyObject
* obj1
= 0 ;
16850 PyObject
* obj2
= 0 ;
16851 char *kwnames
[] = {
16852 (char *) "self",(char *) "id",(char *) "helpString", NULL
16855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16858 arg2
= (int) SWIG_AsInt(obj1
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16861 arg3
= wxString_in_helper(obj2
);
16862 if (arg3
== NULL
) SWIG_fail
;
16866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16867 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16869 wxPyEndAllowThreads(__tstate
);
16870 if (PyErr_Occurred()) SWIG_fail
;
16872 Py_INCREF(Py_None
); resultobj
= Py_None
;
16887 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16888 PyObject
*resultobj
;
16889 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16892 PyObject
* obj0
= 0 ;
16893 PyObject
* obj1
= 0 ;
16894 char *kwnames
[] = {
16895 (char *) "self",(char *) "id", NULL
16898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16901 arg2
= (int) SWIG_AsInt(obj1
);
16902 if (PyErr_Occurred()) SWIG_fail
;
16904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16905 result
= (arg1
)->GetToolShortHelp(arg2
);
16907 wxPyEndAllowThreads(__tstate
);
16908 if (PyErr_Occurred()) SWIG_fail
;
16912 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16914 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16923 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16924 PyObject
*resultobj
;
16925 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16927 wxString
*arg3
= 0 ;
16928 bool temp3
= False
;
16929 PyObject
* obj0
= 0 ;
16930 PyObject
* obj1
= 0 ;
16931 PyObject
* obj2
= 0 ;
16932 char *kwnames
[] = {
16933 (char *) "self",(char *) "id",(char *) "helpString", NULL
16936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16939 arg2
= (int) SWIG_AsInt(obj1
);
16940 if (PyErr_Occurred()) SWIG_fail
;
16942 arg3
= wxString_in_helper(obj2
);
16943 if (arg3
== NULL
) SWIG_fail
;
16947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16948 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16950 wxPyEndAllowThreads(__tstate
);
16951 if (PyErr_Occurred()) SWIG_fail
;
16953 Py_INCREF(Py_None
); resultobj
= Py_None
;
16968 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16969 PyObject
*resultobj
;
16970 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16973 PyObject
* obj0
= 0 ;
16974 PyObject
* obj1
= 0 ;
16975 char *kwnames
[] = {
16976 (char *) "self",(char *) "id", NULL
16979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16982 arg2
= (int) SWIG_AsInt(obj1
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16986 result
= (arg1
)->GetToolLongHelp(arg2
);
16988 wxPyEndAllowThreads(__tstate
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17004 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
;
17006 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17009 PyObject
* obj0
= 0 ;
17010 PyObject
* obj1
= 0 ;
17011 PyObject
* obj2
= 0 ;
17012 char *kwnames
[] = {
17013 (char *) "self",(char *) "x",(char *) "y", NULL
17016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17019 arg2
= (int) SWIG_AsInt(obj1
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17021 arg3
= (int) SWIG_AsInt(obj2
);
17022 if (PyErr_Occurred()) SWIG_fail
;
17024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17025 (arg1
)->SetMargins(arg2
,arg3
);
17027 wxPyEndAllowThreads(__tstate
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17030 Py_INCREF(Py_None
); resultobj
= Py_None
;
17037 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17038 PyObject
*resultobj
;
17039 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17042 PyObject
* obj0
= 0 ;
17043 PyObject
* obj1
= 0 ;
17044 char *kwnames
[] = {
17045 (char *) "self",(char *) "size", NULL
17048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17053 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17057 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17059 wxPyEndAllowThreads(__tstate
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17062 Py_INCREF(Py_None
); resultobj
= Py_None
;
17069 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17070 PyObject
*resultobj
;
17071 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17073 PyObject
* obj0
= 0 ;
17074 PyObject
* obj1
= 0 ;
17075 char *kwnames
[] = {
17076 (char *) "self",(char *) "packing", NULL
17079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17082 arg2
= (int) SWIG_AsInt(obj1
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17086 (arg1
)->SetToolPacking(arg2
);
17088 wxPyEndAllowThreads(__tstate
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17091 Py_INCREF(Py_None
); resultobj
= Py_None
;
17098 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17099 PyObject
*resultobj
;
17100 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17102 PyObject
* obj0
= 0 ;
17103 PyObject
* obj1
= 0 ;
17104 char *kwnames
[] = {
17105 (char *) "self",(char *) "separation", NULL
17108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17111 arg2
= (int) SWIG_AsInt(obj1
);
17112 if (PyErr_Occurred()) SWIG_fail
;
17114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17115 (arg1
)->SetToolSeparation(arg2
);
17117 wxPyEndAllowThreads(__tstate
);
17118 if (PyErr_Occurred()) SWIG_fail
;
17120 Py_INCREF(Py_None
); resultobj
= Py_None
;
17127 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17128 PyObject
*resultobj
;
17129 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17131 PyObject
* obj0
= 0 ;
17132 char *kwnames
[] = {
17133 (char *) "self", NULL
17136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17141 result
= (arg1
)->GetToolMargins();
17143 wxPyEndAllowThreads(__tstate
);
17144 if (PyErr_Occurred()) SWIG_fail
;
17147 wxSize
* resultptr
;
17148 resultptr
= new wxSize((wxSize
&) result
);
17149 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17157 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17158 PyObject
*resultobj
;
17159 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17161 PyObject
* obj0
= 0 ;
17162 char *kwnames
[] = {
17163 (char *) "self", NULL
17166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17171 result
= (arg1
)->GetMargins();
17173 wxPyEndAllowThreads(__tstate
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17177 wxSize
* resultptr
;
17178 resultptr
= new wxSize((wxSize
&) result
);
17179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17187 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
;
17189 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17191 PyObject
* obj0
= 0 ;
17192 char *kwnames
[] = {
17193 (char *) "self", NULL
17196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17201 result
= (int)(arg1
)->GetToolPacking();
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17206 resultobj
= SWIG_FromInt((int)result
);
17213 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17214 PyObject
*resultobj
;
17215 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17217 PyObject
* obj0
= 0 ;
17218 char *kwnames
[] = {
17219 (char *) "self", NULL
17222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
17223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17227 result
= (int)(arg1
)->GetToolSeparation();
17229 wxPyEndAllowThreads(__tstate
);
17230 if (PyErr_Occurred()) SWIG_fail
;
17232 resultobj
= SWIG_FromInt((int)result
);
17239 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17240 PyObject
*resultobj
;
17241 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17243 PyObject
* obj0
= 0 ;
17244 PyObject
* obj1
= 0 ;
17245 char *kwnames
[] = {
17246 (char *) "self",(char *) "nRows", NULL
17249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
17250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17252 arg2
= (int) SWIG_AsInt(obj1
);
17253 if (PyErr_Occurred()) SWIG_fail
;
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17256 (arg1
)->SetRows(arg2
);
17258 wxPyEndAllowThreads(__tstate
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17261 Py_INCREF(Py_None
); resultobj
= Py_None
;
17268 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17269 PyObject
*resultobj
;
17270 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17273 PyObject
* obj0
= 0 ;
17274 PyObject
* obj1
= 0 ;
17275 PyObject
* obj2
= 0 ;
17276 char *kwnames
[] = {
17277 (char *) "self",(char *) "rows",(char *) "cols", NULL
17280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17283 arg2
= (int) SWIG_AsInt(obj1
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17285 arg3
= (int) SWIG_AsInt(obj2
);
17286 if (PyErr_Occurred()) SWIG_fail
;
17288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17289 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17291 wxPyEndAllowThreads(__tstate
);
17292 if (PyErr_Occurred()) SWIG_fail
;
17294 Py_INCREF(Py_None
); resultobj
= Py_None
;
17301 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17302 PyObject
*resultobj
;
17303 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17305 PyObject
* obj0
= 0 ;
17306 char *kwnames
[] = {
17307 (char *) "self", NULL
17310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17315 result
= (int)(arg1
)->GetMaxRows();
17317 wxPyEndAllowThreads(__tstate
);
17318 if (PyErr_Occurred()) SWIG_fail
;
17320 resultobj
= SWIG_FromInt((int)result
);
17327 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17328 PyObject
*resultobj
;
17329 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17331 PyObject
* obj0
= 0 ;
17332 char *kwnames
[] = {
17333 (char *) "self", NULL
17336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17341 result
= (int)(arg1
)->GetMaxCols();
17343 wxPyEndAllowThreads(__tstate
);
17344 if (PyErr_Occurred()) SWIG_fail
;
17346 resultobj
= SWIG_FromInt((int)result
);
17353 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17354 PyObject
*resultobj
;
17355 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17358 PyObject
* obj0
= 0 ;
17359 PyObject
* obj1
= 0 ;
17360 char *kwnames
[] = {
17361 (char *) "self",(char *) "size", NULL
17364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17369 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17373 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17375 wxPyEndAllowThreads(__tstate
);
17376 if (PyErr_Occurred()) SWIG_fail
;
17378 Py_INCREF(Py_None
); resultobj
= Py_None
;
17385 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17386 PyObject
*resultobj
;
17387 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17389 PyObject
* obj0
= 0 ;
17390 char *kwnames
[] = {
17391 (char *) "self", NULL
17394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17399 result
= (arg1
)->GetToolBitmapSize();
17401 wxPyEndAllowThreads(__tstate
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17405 wxSize
* resultptr
;
17406 resultptr
= new wxSize((wxSize
&) result
);
17407 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17415 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17416 PyObject
*resultobj
;
17417 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17419 PyObject
* obj0
= 0 ;
17420 char *kwnames
[] = {
17421 (char *) "self", NULL
17424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17429 result
= (arg1
)->GetToolSize();
17431 wxPyEndAllowThreads(__tstate
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17435 wxSize
* resultptr
;
17436 resultptr
= new wxSize((wxSize
&) result
);
17437 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17445 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17446 PyObject
*resultobj
;
17447 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17450 wxToolBarToolBase
*result
;
17451 PyObject
* obj0
= 0 ;
17452 PyObject
* obj1
= 0 ;
17453 PyObject
* obj2
= 0 ;
17454 char *kwnames
[] = {
17455 (char *) "self",(char *) "x",(char *) "y", NULL
17458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17461 arg2
= (int) SWIG_AsInt(obj1
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17463 arg3
= (int) SWIG_AsInt(obj2
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17473 resultobj
= wxPyMake_wxObject(result
);
17481 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17482 PyObject
*resultobj
;
17483 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17485 wxToolBarToolBase
*result
;
17486 PyObject
* obj0
= 0 ;
17487 PyObject
* obj1
= 0 ;
17488 char *kwnames
[] = {
17489 (char *) "self",(char *) "toolid", NULL
17492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17495 arg2
= (int) SWIG_AsInt(obj1
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17499 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17505 resultobj
= wxPyMake_wxObject(result
);
17513 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17514 PyObject
*resultobj
;
17515 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17517 PyObject
* obj0
= 0 ;
17518 char *kwnames
[] = {
17519 (char *) "self", NULL
17522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17527 result
= (bool)(arg1
)->IsVertical();
17529 wxPyEndAllowThreads(__tstate
);
17530 if (PyErr_Occurred()) SWIG_fail
;
17533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17541 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
17543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17544 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17546 return Py_BuildValue((char *)"");
17548 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17549 PyObject
*resultobj
;
17550 wxWindow
*arg1
= (wxWindow
*) 0 ;
17552 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17553 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17554 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17555 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17556 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17557 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17558 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17562 bool temp6
= False
;
17563 PyObject
* obj0
= 0 ;
17564 PyObject
* obj1
= 0 ;
17565 PyObject
* obj2
= 0 ;
17566 PyObject
* obj3
= 0 ;
17567 PyObject
* obj4
= 0 ;
17568 PyObject
* obj5
= 0 ;
17569 char *kwnames
[] = {
17570 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17576 arg2
= (int) SWIG_AsInt(obj1
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17581 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17587 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17591 arg5
= (long) SWIG_AsLong(obj4
);
17592 if (PyErr_Occurred()) SWIG_fail
;
17596 arg6
= wxString_in_helper(obj5
);
17597 if (arg6
== NULL
) SWIG_fail
;
17602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17603 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17605 wxPyEndAllowThreads(__tstate
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17609 resultobj
= wxPyMake_wxObject(result
);
17625 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17626 PyObject
*resultobj
;
17628 char *kwnames
[] = {
17632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17635 result
= (wxToolBar
*)new wxToolBar();
17637 wxPyEndAllowThreads(__tstate
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17641 resultobj
= wxPyMake_wxObject(result
);
17649 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17650 PyObject
*resultobj
;
17651 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17652 wxWindow
*arg2
= (wxWindow
*) 0 ;
17654 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17655 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17656 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17657 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17658 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17659 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17660 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17664 bool temp7
= False
;
17665 PyObject
* obj0
= 0 ;
17666 PyObject
* obj1
= 0 ;
17667 PyObject
* obj2
= 0 ;
17668 PyObject
* obj3
= 0 ;
17669 PyObject
* obj4
= 0 ;
17670 PyObject
* obj5
= 0 ;
17671 PyObject
* obj6
= 0 ;
17672 char *kwnames
[] = {
17673 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17681 arg3
= (int) SWIG_AsInt(obj2
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17686 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17692 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17696 arg6
= (long) SWIG_AsLong(obj5
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17701 arg7
= wxString_in_helper(obj6
);
17702 if (arg7
== NULL
) SWIG_fail
;
17707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17708 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17710 wxPyEndAllowThreads(__tstate
);
17711 if (PyErr_Occurred()) SWIG_fail
;
17714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17730 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17731 PyObject
*resultobj
;
17732 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17735 wxToolBarToolBase
*result
;
17736 PyObject
* obj0
= 0 ;
17737 PyObject
* obj1
= 0 ;
17738 PyObject
* obj2
= 0 ;
17739 char *kwnames
[] = {
17740 (char *) "self",(char *) "x",(char *) "y", NULL
17743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17746 arg2
= (int) SWIG_AsInt(obj1
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17748 arg3
= (int) SWIG_AsInt(obj2
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17752 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17754 wxPyEndAllowThreads(__tstate
);
17755 if (PyErr_Occurred()) SWIG_fail
;
17758 resultobj
= wxPyMake_wxObject(result
);
17766 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17769 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17771 return Py_BuildValue((char *)"");
17773 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
17774 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17779 static PyObject
*_wrap_ListCtrlNameStr_get() {
17784 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17786 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17793 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17794 PyObject
*resultobj
;
17795 wxColour
const &arg1_defvalue
= wxNullColour
;
17796 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17797 wxColour
const &arg2_defvalue
= wxNullColour
;
17798 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17799 wxFont
const &arg3_defvalue
= wxNullFont
;
17800 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17801 wxListItemAttr
*result
;
17804 PyObject
* obj0
= 0 ;
17805 PyObject
* obj1
= 0 ;
17806 PyObject
* obj2
= 0 ;
17807 char *kwnames
[] = {
17808 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17815 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17821 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17825 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
17826 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17828 if (arg3
== NULL
) {
17829 PyErr_SetString(PyExc_TypeError
,"null reference");
17834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17835 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17837 wxPyEndAllowThreads(__tstate
);
17838 if (PyErr_Occurred()) SWIG_fail
;
17840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
17847 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17848 PyObject
*resultobj
;
17849 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17850 wxColour
*arg2
= 0 ;
17852 PyObject
* obj0
= 0 ;
17853 PyObject
* obj1
= 0 ;
17854 char *kwnames
[] = {
17855 (char *) "self",(char *) "colText", NULL
17858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17863 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17867 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17869 wxPyEndAllowThreads(__tstate
);
17870 if (PyErr_Occurred()) SWIG_fail
;
17872 Py_INCREF(Py_None
); resultobj
= Py_None
;
17879 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17880 PyObject
*resultobj
;
17881 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17882 wxColour
*arg2
= 0 ;
17884 PyObject
* obj0
= 0 ;
17885 PyObject
* obj1
= 0 ;
17886 char *kwnames
[] = {
17887 (char *) "self",(char *) "colBack", NULL
17890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17895 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17899 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17901 wxPyEndAllowThreads(__tstate
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17904 Py_INCREF(Py_None
); resultobj
= Py_None
;
17911 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17912 PyObject
*resultobj
;
17913 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17915 PyObject
* obj0
= 0 ;
17916 PyObject
* obj1
= 0 ;
17917 char *kwnames
[] = {
17918 (char *) "self",(char *) "font", NULL
17921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17925 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17927 if (arg2
== NULL
) {
17928 PyErr_SetString(PyExc_TypeError
,"null reference");
17932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17933 (arg1
)->SetFont((wxFont
const &)*arg2
);
17935 wxPyEndAllowThreads(__tstate
);
17936 if (PyErr_Occurred()) SWIG_fail
;
17938 Py_INCREF(Py_None
); resultobj
= Py_None
;
17945 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17946 PyObject
*resultobj
;
17947 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17949 PyObject
* obj0
= 0 ;
17950 char *kwnames
[] = {
17951 (char *) "self", NULL
17954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17959 result
= (bool)(arg1
)->HasTextColour();
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17973 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17974 PyObject
*resultobj
;
17975 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17977 PyObject
* obj0
= 0 ;
17978 char *kwnames
[] = {
17979 (char *) "self", NULL
17982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17987 result
= (bool)(arg1
)->HasBackgroundColour();
17989 wxPyEndAllowThreads(__tstate
);
17990 if (PyErr_Occurred()) SWIG_fail
;
17993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18001 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18002 PyObject
*resultobj
;
18003 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18005 PyObject
* obj0
= 0 ;
18006 char *kwnames
[] = {
18007 (char *) "self", NULL
18010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18015 result
= (bool)(arg1
)->HasFont();
18017 wxPyEndAllowThreads(__tstate
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18029 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18030 PyObject
*resultobj
;
18031 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18033 PyObject
* obj0
= 0 ;
18034 char *kwnames
[] = {
18035 (char *) "self", NULL
18038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18043 result
= (arg1
)->GetTextColour();
18045 wxPyEndAllowThreads(__tstate
);
18046 if (PyErr_Occurred()) SWIG_fail
;
18049 wxColour
* resultptr
;
18050 resultptr
= new wxColour((wxColour
&) result
);
18051 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18059 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18060 PyObject
*resultobj
;
18061 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18063 PyObject
* obj0
= 0 ;
18064 char *kwnames
[] = {
18065 (char *) "self", NULL
18068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18073 result
= (arg1
)->GetBackgroundColour();
18075 wxPyEndAllowThreads(__tstate
);
18076 if (PyErr_Occurred()) SWIG_fail
;
18079 wxColour
* resultptr
;
18080 resultptr
= new wxColour((wxColour
&) result
);
18081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18089 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18090 PyObject
*resultobj
;
18091 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18093 PyObject
* obj0
= 0 ;
18094 char *kwnames
[] = {
18095 (char *) "self", NULL
18098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18103 result
= (arg1
)->GetFont();
18105 wxPyEndAllowThreads(__tstate
);
18106 if (PyErr_Occurred()) SWIG_fail
;
18109 wxFont
* resultptr
;
18110 resultptr
= new wxFont((wxFont
&) result
);
18111 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18119 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
;
18121 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18122 PyObject
* obj0
= 0 ;
18123 char *kwnames
[] = {
18124 (char *) "self", NULL
18127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18132 wxListItemAttr_Destroy(arg1
);
18134 wxPyEndAllowThreads(__tstate
);
18135 if (PyErr_Occurred()) SWIG_fail
;
18137 Py_INCREF(Py_None
); resultobj
= Py_None
;
18144 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
18146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18147 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
18149 return Py_BuildValue((char *)"");
18151 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18152 PyObject
*resultobj
;
18153 wxListItem
*result
;
18154 char *kwnames
[] = {
18158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
18160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18161 result
= (wxListItem
*)new wxListItem();
18163 wxPyEndAllowThreads(__tstate
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18167 resultobj
= wxPyMake_wxObject(result
);
18175 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18176 PyObject
*resultobj
;
18177 wxListItem
*arg1
= (wxListItem
*) 0 ;
18178 PyObject
* obj0
= 0 ;
18179 char *kwnames
[] = {
18180 (char *) "self", NULL
18183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
18184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 Py_INCREF(Py_None
); resultobj
= Py_None
;
18200 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18201 PyObject
*resultobj
;
18202 wxListItem
*arg1
= (wxListItem
*) 0 ;
18203 PyObject
* obj0
= 0 ;
18204 char *kwnames
[] = {
18205 (char *) "self", NULL
18208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
18209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18215 wxPyEndAllowThreads(__tstate
);
18216 if (PyErr_Occurred()) SWIG_fail
;
18218 Py_INCREF(Py_None
); resultobj
= Py_None
;
18225 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18226 PyObject
*resultobj
;
18227 wxListItem
*arg1
= (wxListItem
*) 0 ;
18228 PyObject
* obj0
= 0 ;
18229 char *kwnames
[] = {
18230 (char *) "self", NULL
18233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
18234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18238 (arg1
)->ClearAttributes();
18240 wxPyEndAllowThreads(__tstate
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18243 Py_INCREF(Py_None
); resultobj
= Py_None
;
18250 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18251 PyObject
*resultobj
;
18252 wxListItem
*arg1
= (wxListItem
*) 0 ;
18254 PyObject
* obj0
= 0 ;
18255 PyObject
* obj1
= 0 ;
18256 char *kwnames
[] = {
18257 (char *) "self",(char *) "mask", NULL
18260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18263 arg2
= (long) SWIG_AsLong(obj1
);
18264 if (PyErr_Occurred()) SWIG_fail
;
18266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18267 (arg1
)->SetMask(arg2
);
18269 wxPyEndAllowThreads(__tstate
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18272 Py_INCREF(Py_None
); resultobj
= Py_None
;
18279 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18280 PyObject
*resultobj
;
18281 wxListItem
*arg1
= (wxListItem
*) 0 ;
18283 PyObject
* obj0
= 0 ;
18284 PyObject
* obj1
= 0 ;
18285 char *kwnames
[] = {
18286 (char *) "self",(char *) "id", NULL
18289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
18290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18292 arg2
= (long) SWIG_AsLong(obj1
);
18293 if (PyErr_Occurred()) SWIG_fail
;
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 (arg1
)->SetId(arg2
);
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18301 Py_INCREF(Py_None
); resultobj
= Py_None
;
18308 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18309 PyObject
*resultobj
;
18310 wxListItem
*arg1
= (wxListItem
*) 0 ;
18312 PyObject
* obj0
= 0 ;
18313 PyObject
* obj1
= 0 ;
18314 char *kwnames
[] = {
18315 (char *) "self",(char *) "col", NULL
18318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
18319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18321 arg2
= (int) SWIG_AsInt(obj1
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18325 (arg1
)->SetColumn(arg2
);
18327 wxPyEndAllowThreads(__tstate
);
18328 if (PyErr_Occurred()) SWIG_fail
;
18330 Py_INCREF(Py_None
); resultobj
= Py_None
;
18337 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18338 PyObject
*resultobj
;
18339 wxListItem
*arg1
= (wxListItem
*) 0 ;
18341 PyObject
* obj0
= 0 ;
18342 PyObject
* obj1
= 0 ;
18343 char *kwnames
[] = {
18344 (char *) "self",(char *) "state", NULL
18347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18350 arg2
= (long) SWIG_AsLong(obj1
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18354 (arg1
)->SetState(arg2
);
18356 wxPyEndAllowThreads(__tstate
);
18357 if (PyErr_Occurred()) SWIG_fail
;
18359 Py_INCREF(Py_None
); resultobj
= Py_None
;
18366 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18367 PyObject
*resultobj
;
18368 wxListItem
*arg1
= (wxListItem
*) 0 ;
18370 PyObject
* obj0
= 0 ;
18371 PyObject
* obj1
= 0 ;
18372 char *kwnames
[] = {
18373 (char *) "self",(char *) "stateMask", NULL
18376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18379 arg2
= (long) SWIG_AsLong(obj1
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 (arg1
)->SetStateMask(arg2
);
18385 wxPyEndAllowThreads(__tstate
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18388 Py_INCREF(Py_None
); resultobj
= Py_None
;
18395 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
;
18397 wxListItem
*arg1
= (wxListItem
*) 0 ;
18398 wxString
*arg2
= 0 ;
18399 bool temp2
= False
;
18400 PyObject
* obj0
= 0 ;
18401 PyObject
* obj1
= 0 ;
18402 char *kwnames
[] = {
18403 (char *) "self",(char *) "text", NULL
18406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18410 arg2
= wxString_in_helper(obj1
);
18411 if (arg2
== NULL
) SWIG_fail
;
18415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18416 (arg1
)->SetText((wxString
const &)*arg2
);
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18421 Py_INCREF(Py_None
); resultobj
= Py_None
;
18436 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18437 PyObject
*resultobj
;
18438 wxListItem
*arg1
= (wxListItem
*) 0 ;
18440 PyObject
* obj0
= 0 ;
18441 PyObject
* obj1
= 0 ;
18442 char *kwnames
[] = {
18443 (char *) "self",(char *) "image", NULL
18446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18449 arg2
= (int) SWIG_AsInt(obj1
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18453 (arg1
)->SetImage(arg2
);
18455 wxPyEndAllowThreads(__tstate
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18458 Py_INCREF(Py_None
); resultobj
= Py_None
;
18465 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18466 PyObject
*resultobj
;
18467 wxListItem
*arg1
= (wxListItem
*) 0 ;
18469 PyObject
* obj0
= 0 ;
18470 PyObject
* obj1
= 0 ;
18471 char *kwnames
[] = {
18472 (char *) "self",(char *) "data", NULL
18475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18478 arg2
= (long) SWIG_AsLong(obj1
);
18479 if (PyErr_Occurred()) SWIG_fail
;
18481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18482 (arg1
)->SetData(arg2
);
18484 wxPyEndAllowThreads(__tstate
);
18485 if (PyErr_Occurred()) SWIG_fail
;
18487 Py_INCREF(Py_None
); resultobj
= Py_None
;
18494 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18495 PyObject
*resultobj
;
18496 wxListItem
*arg1
= (wxListItem
*) 0 ;
18498 PyObject
* obj0
= 0 ;
18499 PyObject
* obj1
= 0 ;
18500 char *kwnames
[] = {
18501 (char *) "self",(char *) "width", NULL
18504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18507 arg2
= (int) SWIG_AsInt(obj1
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18511 (arg1
)->SetWidth(arg2
);
18513 wxPyEndAllowThreads(__tstate
);
18514 if (PyErr_Occurred()) SWIG_fail
;
18516 Py_INCREF(Py_None
); resultobj
= Py_None
;
18523 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18524 PyObject
*resultobj
;
18525 wxListItem
*arg1
= (wxListItem
*) 0 ;
18527 PyObject
* obj0
= 0 ;
18528 PyObject
* obj1
= 0 ;
18529 char *kwnames
[] = {
18530 (char *) "self",(char *) "align", NULL
18533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18536 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18540 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18542 wxPyEndAllowThreads(__tstate
);
18543 if (PyErr_Occurred()) SWIG_fail
;
18545 Py_INCREF(Py_None
); resultobj
= Py_None
;
18552 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18553 PyObject
*resultobj
;
18554 wxListItem
*arg1
= (wxListItem
*) 0 ;
18555 wxColour
*arg2
= 0 ;
18557 PyObject
* obj0
= 0 ;
18558 PyObject
* obj1
= 0 ;
18559 char *kwnames
[] = {
18560 (char *) "self",(char *) "colText", NULL
18563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18568 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18572 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18574 wxPyEndAllowThreads(__tstate
);
18575 if (PyErr_Occurred()) SWIG_fail
;
18577 Py_INCREF(Py_None
); resultobj
= Py_None
;
18584 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18585 PyObject
*resultobj
;
18586 wxListItem
*arg1
= (wxListItem
*) 0 ;
18587 wxColour
*arg2
= 0 ;
18589 PyObject
* obj0
= 0 ;
18590 PyObject
* obj1
= 0 ;
18591 char *kwnames
[] = {
18592 (char *) "self",(char *) "colBack", NULL
18595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18600 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18604 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18606 wxPyEndAllowThreads(__tstate
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18609 Py_INCREF(Py_None
); resultobj
= Py_None
;
18616 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18617 PyObject
*resultobj
;
18618 wxListItem
*arg1
= (wxListItem
*) 0 ;
18620 PyObject
* obj0
= 0 ;
18621 PyObject
* obj1
= 0 ;
18622 char *kwnames
[] = {
18623 (char *) "self",(char *) "font", NULL
18626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18632 if (arg2
== NULL
) {
18633 PyErr_SetString(PyExc_TypeError
,"null reference");
18637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18638 (arg1
)->SetFont((wxFont
const &)*arg2
);
18640 wxPyEndAllowThreads(__tstate
);
18641 if (PyErr_Occurred()) SWIG_fail
;
18643 Py_INCREF(Py_None
); resultobj
= Py_None
;
18650 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18651 PyObject
*resultobj
;
18652 wxListItem
*arg1
= (wxListItem
*) 0 ;
18654 PyObject
* obj0
= 0 ;
18655 char *kwnames
[] = {
18656 (char *) "self", NULL
18659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 result
= (long)(arg1
)->GetMask();
18666 wxPyEndAllowThreads(__tstate
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18669 resultobj
= SWIG_FromLong((long)result
);
18676 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18677 PyObject
*resultobj
;
18678 wxListItem
*arg1
= (wxListItem
*) 0 ;
18680 PyObject
* obj0
= 0 ;
18681 char *kwnames
[] = {
18682 (char *) "self", NULL
18685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18690 result
= (long)(arg1
)->GetId();
18692 wxPyEndAllowThreads(__tstate
);
18693 if (PyErr_Occurred()) SWIG_fail
;
18695 resultobj
= SWIG_FromLong((long)result
);
18702 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18703 PyObject
*resultobj
;
18704 wxListItem
*arg1
= (wxListItem
*) 0 ;
18706 PyObject
* obj0
= 0 ;
18707 char *kwnames
[] = {
18708 (char *) "self", NULL
18711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18716 result
= (int)(arg1
)->GetColumn();
18718 wxPyEndAllowThreads(__tstate
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18721 resultobj
= SWIG_FromInt((int)result
);
18728 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18729 PyObject
*resultobj
;
18730 wxListItem
*arg1
= (wxListItem
*) 0 ;
18732 PyObject
* obj0
= 0 ;
18733 char *kwnames
[] = {
18734 (char *) "self", NULL
18737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18742 result
= (long)(arg1
)->GetState();
18744 wxPyEndAllowThreads(__tstate
);
18745 if (PyErr_Occurred()) SWIG_fail
;
18747 resultobj
= SWIG_FromLong((long)result
);
18754 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18755 PyObject
*resultobj
;
18756 wxListItem
*arg1
= (wxListItem
*) 0 ;
18758 PyObject
* obj0
= 0 ;
18759 char *kwnames
[] = {
18760 (char *) "self", NULL
18763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18769 wxString
const &_result_ref
= (arg1
)->GetText();
18770 result
= (wxString
*) &_result_ref
;
18773 wxPyEndAllowThreads(__tstate
);
18774 if (PyErr_Occurred()) SWIG_fail
;
18778 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18780 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18789 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18790 PyObject
*resultobj
;
18791 wxListItem
*arg1
= (wxListItem
*) 0 ;
18793 PyObject
* obj0
= 0 ;
18794 char *kwnames
[] = {
18795 (char *) "self", NULL
18798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18803 result
= (int)(arg1
)->GetImage();
18805 wxPyEndAllowThreads(__tstate
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18808 resultobj
= SWIG_FromInt((int)result
);
18815 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18816 PyObject
*resultobj
;
18817 wxListItem
*arg1
= (wxListItem
*) 0 ;
18819 PyObject
* obj0
= 0 ;
18820 char *kwnames
[] = {
18821 (char *) "self", NULL
18824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18829 result
= (long)(arg1
)->GetData();
18831 wxPyEndAllowThreads(__tstate
);
18832 if (PyErr_Occurred()) SWIG_fail
;
18834 resultobj
= SWIG_FromLong((long)result
);
18841 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18842 PyObject
*resultobj
;
18843 wxListItem
*arg1
= (wxListItem
*) 0 ;
18845 PyObject
* obj0
= 0 ;
18846 char *kwnames
[] = {
18847 (char *) "self", NULL
18850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18855 result
= (int)(arg1
)->GetWidth();
18857 wxPyEndAllowThreads(__tstate
);
18858 if (PyErr_Occurred()) SWIG_fail
;
18860 resultobj
= SWIG_FromInt((int)result
);
18867 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18868 PyObject
*resultobj
;
18869 wxListItem
*arg1
= (wxListItem
*) 0 ;
18871 PyObject
* obj0
= 0 ;
18872 char *kwnames
[] = {
18873 (char *) "self", NULL
18876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18881 result
= (int)(arg1
)->GetAlign();
18883 wxPyEndAllowThreads(__tstate
);
18884 if (PyErr_Occurred()) SWIG_fail
;
18886 resultobj
= SWIG_FromInt((int)result
);
18893 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18894 PyObject
*resultobj
;
18895 wxListItem
*arg1
= (wxListItem
*) 0 ;
18896 wxListItemAttr
*result
;
18897 PyObject
* obj0
= 0 ;
18898 char *kwnames
[] = {
18899 (char *) "self", NULL
18902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18907 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18909 wxPyEndAllowThreads(__tstate
);
18910 if (PyErr_Occurred()) SWIG_fail
;
18912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
18919 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18920 PyObject
*resultobj
;
18921 wxListItem
*arg1
= (wxListItem
*) 0 ;
18923 PyObject
* obj0
= 0 ;
18924 char *kwnames
[] = {
18925 (char *) "self", NULL
18928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18933 result
= (bool)(arg1
)->HasAttributes();
18935 wxPyEndAllowThreads(__tstate
);
18936 if (PyErr_Occurred()) SWIG_fail
;
18939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18947 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18948 PyObject
*resultobj
;
18949 wxListItem
*arg1
= (wxListItem
*) 0 ;
18951 PyObject
* obj0
= 0 ;
18952 char *kwnames
[] = {
18953 (char *) "self", NULL
18956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18961 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18963 wxPyEndAllowThreads(__tstate
);
18964 if (PyErr_Occurred()) SWIG_fail
;
18967 wxColour
* resultptr
;
18968 resultptr
= new wxColour((wxColour
&) result
);
18969 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18977 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18978 PyObject
*resultobj
;
18979 wxListItem
*arg1
= (wxListItem
*) 0 ;
18981 PyObject
* obj0
= 0 ;
18982 char *kwnames
[] = {
18983 (char *) "self", NULL
18986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18991 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18993 wxPyEndAllowThreads(__tstate
);
18994 if (PyErr_Occurred()) SWIG_fail
;
18997 wxColour
* resultptr
;
18998 resultptr
= new wxColour((wxColour
&) result
);
18999 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19007 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19008 PyObject
*resultobj
;
19009 wxListItem
*arg1
= (wxListItem
*) 0 ;
19011 PyObject
* obj0
= 0 ;
19012 char *kwnames
[] = {
19013 (char *) "self", NULL
19016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19021 result
= ((wxListItem
const *)arg1
)->GetFont();
19023 wxPyEndAllowThreads(__tstate
);
19024 if (PyErr_Occurred()) SWIG_fail
;
19027 wxFont
* resultptr
;
19028 resultptr
= new wxFont((wxFont
&) result
);
19029 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19037 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, 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_mask", NULL
19047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_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_mask
= arg2
;
19054 Py_INCREF(Py_None
); resultobj
= Py_None
;
19061 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, 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_mask_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_mask
);
19075 resultobj
= SWIG_FromLong((long)result
);
19082 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, 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_itemId", NULL
19092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_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
= (long) SWIG_AsLong(obj1
);
19096 if (PyErr_Occurred()) SWIG_fail
;
19097 if (arg1
) (arg1
)->m_itemId
= arg2
;
19099 Py_INCREF(Py_None
); resultobj
= Py_None
;
19106 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, 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_itemId_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
= (long) ((arg1
)->m_itemId
);
19120 resultobj
= SWIG_FromLong((long)result
);
19127 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, 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_col", NULL
19137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_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_col
= arg2
;
19144 Py_INCREF(Py_None
); resultobj
= Py_None
;
19151 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, 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_col_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_col
);
19165 resultobj
= SWIG_FromInt((int)result
);
19172 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19173 PyObject
*resultobj
;
19174 wxListItem
*arg1
= (wxListItem
*) 0 ;
19176 PyObject
* obj0
= 0 ;
19177 PyObject
* obj1
= 0 ;
19178 char *kwnames
[] = {
19179 (char *) "self",(char *) "m_state", NULL
19182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19185 arg2
= (long) SWIG_AsLong(obj1
);
19186 if (PyErr_Occurred()) SWIG_fail
;
19187 if (arg1
) (arg1
)->m_state
= arg2
;
19189 Py_INCREF(Py_None
); resultobj
= Py_None
;
19196 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19197 PyObject
*resultobj
;
19198 wxListItem
*arg1
= (wxListItem
*) 0 ;
19200 PyObject
* obj0
= 0 ;
19201 char *kwnames
[] = {
19202 (char *) "self", NULL
19205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
19206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19208 result
= (long) ((arg1
)->m_state
);
19210 resultobj
= SWIG_FromLong((long)result
);
19217 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19218 PyObject
*resultobj
;
19219 wxListItem
*arg1
= (wxListItem
*) 0 ;
19221 PyObject
* obj0
= 0 ;
19222 PyObject
* obj1
= 0 ;
19223 char *kwnames
[] = {
19224 (char *) "self",(char *) "m_stateMask", NULL
19227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19230 arg2
= (long) SWIG_AsLong(obj1
);
19231 if (PyErr_Occurred()) SWIG_fail
;
19232 if (arg1
) (arg1
)->m_stateMask
= arg2
;
19234 Py_INCREF(Py_None
); resultobj
= Py_None
;
19241 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19242 PyObject
*resultobj
;
19243 wxListItem
*arg1
= (wxListItem
*) 0 ;
19245 PyObject
* obj0
= 0 ;
19246 char *kwnames
[] = {
19247 (char *) "self", NULL
19250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
19251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19253 result
= (long) ((arg1
)->m_stateMask
);
19255 resultobj
= SWIG_FromLong((long)result
);
19262 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19263 PyObject
*resultobj
;
19264 wxListItem
*arg1
= (wxListItem
*) 0 ;
19265 wxString
*arg2
= (wxString
*) 0 ;
19266 bool temp2
= False
;
19267 PyObject
* obj0
= 0 ;
19268 PyObject
* obj1
= 0 ;
19269 char *kwnames
[] = {
19270 (char *) "self",(char *) "m_text", NULL
19273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19277 arg2
= wxString_in_helper(obj1
);
19278 if (arg2
== NULL
) SWIG_fail
;
19281 if (arg1
) (arg1
)->m_text
= *arg2
;
19283 Py_INCREF(Py_None
); resultobj
= Py_None
;
19298 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19299 PyObject
*resultobj
;
19300 wxListItem
*arg1
= (wxListItem
*) 0 ;
19302 PyObject
* obj0
= 0 ;
19303 char *kwnames
[] = {
19304 (char *) "self", NULL
19307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
19308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19310 result
= (wxString
*)& ((arg1
)->m_text
);
19314 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19316 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19325 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19326 PyObject
*resultobj
;
19327 wxListItem
*arg1
= (wxListItem
*) 0 ;
19329 PyObject
* obj0
= 0 ;
19330 PyObject
* obj1
= 0 ;
19331 char *kwnames
[] = {
19332 (char *) "self",(char *) "m_image", NULL
19335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19338 arg2
= (int) SWIG_AsInt(obj1
);
19339 if (PyErr_Occurred()) SWIG_fail
;
19340 if (arg1
) (arg1
)->m_image
= arg2
;
19342 Py_INCREF(Py_None
); resultobj
= Py_None
;
19349 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19350 PyObject
*resultobj
;
19351 wxListItem
*arg1
= (wxListItem
*) 0 ;
19353 PyObject
* obj0
= 0 ;
19354 char *kwnames
[] = {
19355 (char *) "self", NULL
19358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19361 result
= (int) ((arg1
)->m_image
);
19363 resultobj
= SWIG_FromInt((int)result
);
19370 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19371 PyObject
*resultobj
;
19372 wxListItem
*arg1
= (wxListItem
*) 0 ;
19374 PyObject
* obj0
= 0 ;
19375 PyObject
* obj1
= 0 ;
19376 char *kwnames
[] = {
19377 (char *) "self",(char *) "m_data", NULL
19380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19383 arg2
= (long) SWIG_AsLong(obj1
);
19384 if (PyErr_Occurred()) SWIG_fail
;
19385 if (arg1
) (arg1
)->m_data
= arg2
;
19387 Py_INCREF(Py_None
); resultobj
= Py_None
;
19394 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19395 PyObject
*resultobj
;
19396 wxListItem
*arg1
= (wxListItem
*) 0 ;
19398 PyObject
* obj0
= 0 ;
19399 char *kwnames
[] = {
19400 (char *) "self", NULL
19403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
19404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19406 result
= (long) ((arg1
)->m_data
);
19408 resultobj
= SWIG_FromLong((long)result
);
19415 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
;
19417 wxListItem
*arg1
= (wxListItem
*) 0 ;
19419 PyObject
* obj0
= 0 ;
19420 PyObject
* obj1
= 0 ;
19421 char *kwnames
[] = {
19422 (char *) "self",(char *) "m_format", NULL
19425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19428 arg2
= (int) SWIG_AsInt(obj1
);
19429 if (PyErr_Occurred()) SWIG_fail
;
19430 if (arg1
) (arg1
)->m_format
= arg2
;
19432 Py_INCREF(Py_None
); resultobj
= Py_None
;
19439 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19440 PyObject
*resultobj
;
19441 wxListItem
*arg1
= (wxListItem
*) 0 ;
19443 PyObject
* obj0
= 0 ;
19444 char *kwnames
[] = {
19445 (char *) "self", NULL
19448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19451 result
= (int) ((arg1
)->m_format
);
19453 resultobj
= SWIG_FromInt((int)result
);
19460 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19461 PyObject
*resultobj
;
19462 wxListItem
*arg1
= (wxListItem
*) 0 ;
19464 PyObject
* obj0
= 0 ;
19465 PyObject
* obj1
= 0 ;
19466 char *kwnames
[] = {
19467 (char *) "self",(char *) "m_width", NULL
19470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19473 arg2
= (int) SWIG_AsInt(obj1
);
19474 if (PyErr_Occurred()) SWIG_fail
;
19475 if (arg1
) (arg1
)->m_width
= arg2
;
19477 Py_INCREF(Py_None
); resultobj
= Py_None
;
19484 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19485 PyObject
*resultobj
;
19486 wxListItem
*arg1
= (wxListItem
*) 0 ;
19488 PyObject
* obj0
= 0 ;
19489 char *kwnames
[] = {
19490 (char *) "self", NULL
19493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19496 result
= (int) ((arg1
)->m_width
);
19498 resultobj
= SWIG_FromInt((int)result
);
19505 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
19507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19508 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19510 return Py_BuildValue((char *)"");
19512 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19513 PyObject
*resultobj
;
19514 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19515 int arg2
= (int) 0 ;
19516 wxListEvent
*result
;
19517 PyObject
* obj0
= 0 ;
19518 PyObject
* obj1
= 0 ;
19519 char *kwnames
[] = {
19520 (char *) "commandType",(char *) "id", NULL
19523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19525 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19526 if (PyErr_Occurred()) SWIG_fail
;
19529 arg2
= (int) SWIG_AsInt(obj1
);
19530 if (PyErr_Occurred()) SWIG_fail
;
19533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19534 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19536 wxPyEndAllowThreads(__tstate
);
19537 if (PyErr_Occurred()) SWIG_fail
;
19539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
19546 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19547 PyObject
*resultobj
;
19548 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19550 PyObject
* obj0
= 0 ;
19551 PyObject
* obj1
= 0 ;
19552 char *kwnames
[] = {
19553 (char *) "self",(char *) "m_code", NULL
19556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19559 arg2
= (int) SWIG_AsInt(obj1
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19561 if (arg1
) (arg1
)->m_code
= arg2
;
19563 Py_INCREF(Py_None
); resultobj
= Py_None
;
19570 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19571 PyObject
*resultobj
;
19572 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19574 PyObject
* obj0
= 0 ;
19575 char *kwnames
[] = {
19576 (char *) "self", NULL
19579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19582 result
= (int) ((arg1
)->m_code
);
19584 resultobj
= SWIG_FromInt((int)result
);
19591 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19592 PyObject
*resultobj
;
19593 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19595 PyObject
* obj0
= 0 ;
19596 PyObject
* obj1
= 0 ;
19597 char *kwnames
[] = {
19598 (char *) "self",(char *) "m_oldItemIndex", NULL
19601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19604 arg2
= (long) SWIG_AsLong(obj1
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19606 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19608 Py_INCREF(Py_None
); resultobj
= Py_None
;
19615 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19616 PyObject
*resultobj
;
19617 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19619 PyObject
* obj0
= 0 ;
19620 char *kwnames
[] = {
19621 (char *) "self", NULL
19624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19627 result
= (long) ((arg1
)->m_oldItemIndex
);
19629 resultobj
= SWIG_FromLong((long)result
);
19636 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19637 PyObject
*resultobj
;
19638 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19640 PyObject
* obj0
= 0 ;
19641 PyObject
* obj1
= 0 ;
19642 char *kwnames
[] = {
19643 (char *) "self",(char *) "m_itemIndex", NULL
19646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19649 arg2
= (long) SWIG_AsLong(obj1
);
19650 if (PyErr_Occurred()) SWIG_fail
;
19651 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19653 Py_INCREF(Py_None
); resultobj
= Py_None
;
19660 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19661 PyObject
*resultobj
;
19662 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19664 PyObject
* obj0
= 0 ;
19665 char *kwnames
[] = {
19666 (char *) "self", NULL
19669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19672 result
= (long) ((arg1
)->m_itemIndex
);
19674 resultobj
= SWIG_FromLong((long)result
);
19681 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19682 PyObject
*resultobj
;
19683 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19685 PyObject
* obj0
= 0 ;
19686 PyObject
* obj1
= 0 ;
19687 char *kwnames
[] = {
19688 (char *) "self",(char *) "m_col", NULL
19691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19694 arg2
= (int) SWIG_AsInt(obj1
);
19695 if (PyErr_Occurred()) SWIG_fail
;
19696 if (arg1
) (arg1
)->m_col
= arg2
;
19698 Py_INCREF(Py_None
); resultobj
= Py_None
;
19705 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19706 PyObject
*resultobj
;
19707 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19709 PyObject
* obj0
= 0 ;
19710 char *kwnames
[] = {
19711 (char *) "self", NULL
19714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19717 result
= (int) ((arg1
)->m_col
);
19719 resultobj
= SWIG_FromInt((int)result
);
19726 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19727 PyObject
*resultobj
;
19728 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19729 wxPoint
*arg2
= (wxPoint
*) 0 ;
19730 PyObject
* obj0
= 0 ;
19731 PyObject
* obj1
= 0 ;
19732 char *kwnames
[] = {
19733 (char *) "self",(char *) "m_pointDrag", NULL
19736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
19740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19741 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19743 Py_INCREF(Py_None
); resultobj
= Py_None
;
19750 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19751 PyObject
*resultobj
;
19752 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19754 PyObject
* obj0
= 0 ;
19755 char *kwnames
[] = {
19756 (char *) "self", NULL
19759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19762 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19771 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19772 PyObject
*resultobj
;
19773 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19774 wxListItem
*result
;
19775 PyObject
* obj0
= 0 ;
19776 char *kwnames
[] = {
19777 (char *) "self", NULL
19780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19783 result
= (wxListItem
*)& ((arg1
)->m_item
);
19786 resultobj
= wxPyMake_wxObject(result
);
19794 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19795 PyObject
*resultobj
;
19796 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19798 PyObject
* obj0
= 0 ;
19799 char *kwnames
[] = {
19800 (char *) "self", NULL
19803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19808 result
= (int)(arg1
)->GetKeyCode();
19810 wxPyEndAllowThreads(__tstate
);
19811 if (PyErr_Occurred()) SWIG_fail
;
19813 resultobj
= SWIG_FromInt((int)result
);
19820 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19821 PyObject
*resultobj
;
19822 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19824 PyObject
* obj0
= 0 ;
19825 char *kwnames
[] = {
19826 (char *) "self", NULL
19829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19834 result
= (long)(arg1
)->GetIndex();
19836 wxPyEndAllowThreads(__tstate
);
19837 if (PyErr_Occurred()) SWIG_fail
;
19839 resultobj
= SWIG_FromLong((long)result
);
19846 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19847 PyObject
*resultobj
;
19848 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19850 PyObject
* obj0
= 0 ;
19851 char *kwnames
[] = {
19852 (char *) "self", NULL
19855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19860 result
= (int)(arg1
)->GetColumn();
19862 wxPyEndAllowThreads(__tstate
);
19863 if (PyErr_Occurred()) SWIG_fail
;
19865 resultobj
= SWIG_FromInt((int)result
);
19872 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19873 PyObject
*resultobj
;
19874 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19876 PyObject
* obj0
= 0 ;
19877 char *kwnames
[] = {
19878 (char *) "self", NULL
19881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19886 result
= (arg1
)->GetPoint();
19888 wxPyEndAllowThreads(__tstate
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19892 wxPoint
* resultptr
;
19893 resultptr
= new wxPoint((wxPoint
&) result
);
19894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19902 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
;
19904 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19906 PyObject
* obj0
= 0 ;
19907 char *kwnames
[] = {
19908 (char *) "self", NULL
19911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19917 wxString
const &_result_ref
= (arg1
)->GetLabel();
19918 result
= (wxString
*) &_result_ref
;
19921 wxPyEndAllowThreads(__tstate
);
19922 if (PyErr_Occurred()) SWIG_fail
;
19926 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19928 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19937 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19938 PyObject
*resultobj
;
19939 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19941 PyObject
* obj0
= 0 ;
19942 char *kwnames
[] = {
19943 (char *) "self", NULL
19946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19952 wxString
const &_result_ref
= (arg1
)->GetText();
19953 result
= (wxString
*) &_result_ref
;
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19961 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19963 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19972 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19973 PyObject
*resultobj
;
19974 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19976 PyObject
* obj0
= 0 ;
19977 char *kwnames
[] = {
19978 (char *) "self", NULL
19981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19986 result
= (int)(arg1
)->GetImage();
19988 wxPyEndAllowThreads(__tstate
);
19989 if (PyErr_Occurred()) SWIG_fail
;
19991 resultobj
= SWIG_FromInt((int)result
);
19998 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19999 PyObject
*resultobj
;
20000 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20002 PyObject
* obj0
= 0 ;
20003 char *kwnames
[] = {
20004 (char *) "self", NULL
20007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20012 result
= (long)(arg1
)->GetData();
20014 wxPyEndAllowThreads(__tstate
);
20015 if (PyErr_Occurred()) SWIG_fail
;
20017 resultobj
= SWIG_FromLong((long)result
);
20024 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20025 PyObject
*resultobj
;
20026 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20028 PyObject
* obj0
= 0 ;
20029 char *kwnames
[] = {
20030 (char *) "self", NULL
20033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20038 result
= (long)(arg1
)->GetMask();
20040 wxPyEndAllowThreads(__tstate
);
20041 if (PyErr_Occurred()) SWIG_fail
;
20043 resultobj
= SWIG_FromLong((long)result
);
20050 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20051 PyObject
*resultobj
;
20052 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20053 wxListItem
*result
;
20054 PyObject
* obj0
= 0 ;
20055 char *kwnames
[] = {
20056 (char *) "self", NULL
20059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20065 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20066 result
= (wxListItem
*) &_result_ref
;
20069 wxPyEndAllowThreads(__tstate
);
20070 if (PyErr_Occurred()) SWIG_fail
;
20072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20079 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20080 PyObject
*resultobj
;
20081 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20083 PyObject
* obj0
= 0 ;
20084 char *kwnames
[] = {
20085 (char *) "self", NULL
20088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20093 result
= (long)(arg1
)->GetCacheFrom();
20095 wxPyEndAllowThreads(__tstate
);
20096 if (PyErr_Occurred()) SWIG_fail
;
20098 resultobj
= SWIG_FromLong((long)result
);
20105 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20106 PyObject
*resultobj
;
20107 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20109 PyObject
* obj0
= 0 ;
20110 char *kwnames
[] = {
20111 (char *) "self", NULL
20114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20119 result
= (long)(arg1
)->GetCacheTo();
20121 wxPyEndAllowThreads(__tstate
);
20122 if (PyErr_Occurred()) SWIG_fail
;
20124 resultobj
= SWIG_FromLong((long)result
);
20131 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20132 PyObject
*resultobj
;
20133 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20135 PyObject
* obj0
= 0 ;
20136 char *kwnames
[] = {
20137 (char *) "self", NULL
20140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20145 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
20147 wxPyEndAllowThreads(__tstate
);
20148 if (PyErr_Occurred()) SWIG_fail
;
20151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20159 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20160 PyObject
*resultobj
;
20161 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20163 PyObject
* obj0
= 0 ;
20164 PyObject
* obj1
= 0 ;
20165 char *kwnames
[] = {
20166 (char *) "self",(char *) "editCancelled", NULL
20169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20172 arg2
= (bool) SWIG_AsBool(obj1
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20176 (arg1
)->SetEditCanceled(arg2
);
20178 wxPyEndAllowThreads(__tstate
);
20179 if (PyErr_Occurred()) SWIG_fail
;
20181 Py_INCREF(Py_None
); resultobj
= Py_None
;
20188 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20191 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
20193 return Py_BuildValue((char *)"");
20195 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20196 PyObject
*resultobj
;
20197 wxWindow
*arg1
= (wxWindow
*) 0 ;
20198 int arg2
= (int) -1 ;
20199 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20200 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20201 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20202 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20203 long arg5
= (long) wxLC_ICON
;
20204 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20205 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20206 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
20207 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20208 wxPyListCtrl
*result
;
20211 bool temp7
= False
;
20212 PyObject
* obj0
= 0 ;
20213 PyObject
* obj1
= 0 ;
20214 PyObject
* obj2
= 0 ;
20215 PyObject
* obj3
= 0 ;
20216 PyObject
* obj4
= 0 ;
20217 PyObject
* obj5
= 0 ;
20218 PyObject
* obj6
= 0 ;
20219 char *kwnames
[] = {
20220 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20227 arg2
= (int) SWIG_AsInt(obj1
);
20228 if (PyErr_Occurred()) SWIG_fail
;
20233 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20239 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20243 arg5
= (long) SWIG_AsLong(obj4
);
20244 if (PyErr_Occurred()) SWIG_fail
;
20247 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
20248 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20250 if (arg6
== NULL
) {
20251 PyErr_SetString(PyExc_TypeError
,"null reference");
20257 arg7
= wxString_in_helper(obj6
);
20258 if (arg7
== NULL
) SWIG_fail
;
20263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20264 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20266 wxPyEndAllowThreads(__tstate
);
20267 if (PyErr_Occurred()) SWIG_fail
;
20269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20284 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20285 PyObject
*resultobj
;
20286 wxPyListCtrl
*result
;
20287 char *kwnames
[] = {
20291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
20293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20294 result
= (wxPyListCtrl
*)new wxPyListCtrl();
20296 wxPyEndAllowThreads(__tstate
);
20297 if (PyErr_Occurred()) SWIG_fail
;
20299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20306 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20307 PyObject
*resultobj
;
20308 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20309 wxWindow
*arg2
= (wxWindow
*) 0 ;
20310 int arg3
= (int) -1 ;
20311 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20312 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20313 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20314 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20315 long arg6
= (long) wxLC_ICON
;
20316 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20317 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20318 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20319 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20323 bool temp8
= False
;
20324 PyObject
* obj0
= 0 ;
20325 PyObject
* obj1
= 0 ;
20326 PyObject
* obj2
= 0 ;
20327 PyObject
* obj3
= 0 ;
20328 PyObject
* obj4
= 0 ;
20329 PyObject
* obj5
= 0 ;
20330 PyObject
* obj6
= 0 ;
20331 PyObject
* obj7
= 0 ;
20332 char *kwnames
[] = {
20333 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20342 arg3
= (int) SWIG_AsInt(obj2
);
20343 if (PyErr_Occurred()) SWIG_fail
;
20348 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20354 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20358 arg6
= (long) SWIG_AsLong(obj5
);
20359 if (PyErr_Occurred()) SWIG_fail
;
20362 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
20363 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20365 if (arg7
== NULL
) {
20366 PyErr_SetString(PyExc_TypeError
,"null reference");
20372 arg8
= wxString_in_helper(obj7
);
20373 if (arg8
== NULL
) SWIG_fail
;
20378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20379 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20381 wxPyEndAllowThreads(__tstate
);
20382 if (PyErr_Occurred()) SWIG_fail
;
20385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20401 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20402 PyObject
*resultobj
;
20403 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20404 PyObject
*arg2
= (PyObject
*) 0 ;
20405 PyObject
*arg3
= (PyObject
*) 0 ;
20406 PyObject
* obj0
= 0 ;
20407 PyObject
* obj1
= 0 ;
20408 PyObject
* obj2
= 0 ;
20409 char *kwnames
[] = {
20410 (char *) "self",(char *) "self",(char *) "_class", NULL
20413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20420 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20425 Py_INCREF(Py_None
); resultobj
= Py_None
;
20432 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20433 PyObject
*resultobj
;
20434 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20435 wxColour
*arg2
= 0 ;
20438 PyObject
* obj0
= 0 ;
20439 PyObject
* obj1
= 0 ;
20440 char *kwnames
[] = {
20441 (char *) "self",(char *) "col", NULL
20444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20449 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20455 wxPyEndAllowThreads(__tstate
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20467 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20468 PyObject
*resultobj
;
20469 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20470 wxColour
*arg2
= 0 ;
20473 PyObject
* obj0
= 0 ;
20474 PyObject
* obj1
= 0 ;
20475 char *kwnames
[] = {
20476 (char *) "self",(char *) "col", NULL
20479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20484 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20488 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20490 wxPyEndAllowThreads(__tstate
);
20491 if (PyErr_Occurred()) SWIG_fail
;
20494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20502 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20503 PyObject
*resultobj
;
20504 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20506 wxListItem
*result
;
20507 PyObject
* obj0
= 0 ;
20508 PyObject
* obj1
= 0 ;
20509 char *kwnames
[] = {
20510 (char *) "self",(char *) "col", NULL
20513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20516 arg2
= (int) SWIG_AsInt(obj1
);
20517 if (PyErr_Occurred()) SWIG_fail
;
20519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20520 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20522 wxPyEndAllowThreads(__tstate
);
20523 if (PyErr_Occurred()) SWIG_fail
;
20526 resultobj
= wxPyMake_wxObject(result
);
20534 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20535 PyObject
*resultobj
;
20536 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20538 wxListItem
*arg3
= 0 ;
20540 PyObject
* obj0
= 0 ;
20541 PyObject
* obj1
= 0 ;
20542 PyObject
* obj2
= 0 ;
20543 char *kwnames
[] = {
20544 (char *) "self",(char *) "col",(char *) "item", NULL
20547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20550 arg2
= (int) SWIG_AsInt(obj1
);
20551 if (PyErr_Occurred()) SWIG_fail
;
20552 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
20553 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20555 if (arg3
== NULL
) {
20556 PyErr_SetString(PyExc_TypeError
,"null reference");
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20575 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20576 PyObject
*resultobj
;
20577 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20580 PyObject
* obj0
= 0 ;
20581 PyObject
* obj1
= 0 ;
20582 char *kwnames
[] = {
20583 (char *) "self",(char *) "col", NULL
20586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20589 arg2
= (int) SWIG_AsInt(obj1
);
20590 if (PyErr_Occurred()) SWIG_fail
;
20592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20593 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20595 wxPyEndAllowThreads(__tstate
);
20596 if (PyErr_Occurred()) SWIG_fail
;
20598 resultobj
= SWIG_FromInt((int)result
);
20605 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20606 PyObject
*resultobj
;
20607 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20611 PyObject
* obj0
= 0 ;
20612 PyObject
* obj1
= 0 ;
20613 PyObject
* obj2
= 0 ;
20614 char *kwnames
[] = {
20615 (char *) "self",(char *) "col",(char *) "width", NULL
20618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20621 arg2
= (int) SWIG_AsInt(obj1
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20623 arg3
= (int) SWIG_AsInt(obj2
);
20624 if (PyErr_Occurred()) SWIG_fail
;
20626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20627 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20641 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20642 PyObject
*resultobj
;
20643 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20645 PyObject
* obj0
= 0 ;
20646 char *kwnames
[] = {
20647 (char *) "self", NULL
20650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20655 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20657 wxPyEndAllowThreads(__tstate
);
20658 if (PyErr_Occurred()) SWIG_fail
;
20660 resultobj
= SWIG_FromInt((int)result
);
20667 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20668 PyObject
*resultobj
;
20669 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20671 PyObject
* obj0
= 0 ;
20672 char *kwnames
[] = {
20673 (char *) "self", NULL
20676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20681 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20687 wxRect
* resultptr
;
20688 resultptr
= new wxRect((wxRect
&) result
);
20689 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20697 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20698 PyObject
*resultobj
;
20699 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20700 wxTextCtrl
*result
;
20701 PyObject
* obj0
= 0 ;
20702 char *kwnames
[] = {
20703 (char *) "self", NULL
20706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
20707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20711 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20717 resultobj
= wxPyMake_wxObject(result
);
20725 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20726 PyObject
*resultobj
;
20727 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20729 int arg3
= (int) 0 ;
20730 wxListItem
*result
;
20731 PyObject
* obj0
= 0 ;
20732 PyObject
* obj1
= 0 ;
20733 PyObject
* obj2
= 0 ;
20734 char *kwnames
[] = {
20735 (char *) "self",(char *) "itemId",(char *) "col", NULL
20738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20741 arg2
= (long) SWIG_AsLong(obj1
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20744 arg3
= (int) SWIG_AsInt(obj2
);
20745 if (PyErr_Occurred()) SWIG_fail
;
20748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20749 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20751 wxPyEndAllowThreads(__tstate
);
20752 if (PyErr_Occurred()) SWIG_fail
;
20755 resultobj
= wxPyMake_wxObject(result
);
20763 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20764 PyObject
*resultobj
;
20765 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20766 wxListItem
*arg2
= 0 ;
20768 PyObject
* obj0
= 0 ;
20769 PyObject
* obj1
= 0 ;
20770 char *kwnames
[] = {
20771 (char *) "self",(char *) "info", NULL
20774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
20778 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20780 if (arg2
== NULL
) {
20781 PyErr_SetString(PyExc_TypeError
,"null reference");
20785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20786 result
= (bool)(arg1
)->SetItem(*arg2
);
20788 wxPyEndAllowThreads(__tstate
);
20789 if (PyErr_Occurred()) SWIG_fail
;
20792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20800 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20801 PyObject
*resultobj
;
20802 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20805 wxString
*arg4
= 0 ;
20806 int arg5
= (int) -1 ;
20808 bool temp4
= False
;
20809 PyObject
* obj0
= 0 ;
20810 PyObject
* obj1
= 0 ;
20811 PyObject
* obj2
= 0 ;
20812 PyObject
* obj3
= 0 ;
20813 PyObject
* obj4
= 0 ;
20814 char *kwnames
[] = {
20815 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20821 arg2
= (long) SWIG_AsLong(obj1
);
20822 if (PyErr_Occurred()) SWIG_fail
;
20823 arg3
= (int) SWIG_AsInt(obj2
);
20824 if (PyErr_Occurred()) SWIG_fail
;
20826 arg4
= wxString_in_helper(obj3
);
20827 if (arg4
== NULL
) SWIG_fail
;
20831 arg5
= (int) SWIG_AsInt(obj4
);
20832 if (PyErr_Occurred()) SWIG_fail
;
20835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20836 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20838 wxPyEndAllowThreads(__tstate
);
20839 if (PyErr_Occurred()) SWIG_fail
;
20841 resultobj
= SWIG_FromLong((long)result
);
20856 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20857 PyObject
*resultobj
;
20858 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20862 PyObject
* obj0
= 0 ;
20863 PyObject
* obj1
= 0 ;
20864 PyObject
* obj2
= 0 ;
20865 char *kwnames
[] = {
20866 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20872 arg2
= (long) SWIG_AsLong(obj1
);
20873 if (PyErr_Occurred()) SWIG_fail
;
20874 arg3
= (long) SWIG_AsLong(obj2
);
20875 if (PyErr_Occurred()) SWIG_fail
;
20877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20880 wxPyEndAllowThreads(__tstate
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20883 resultobj
= SWIG_FromInt((int)result
);
20890 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20891 PyObject
*resultobj
;
20892 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20897 PyObject
* obj0
= 0 ;
20898 PyObject
* obj1
= 0 ;
20899 PyObject
* obj2
= 0 ;
20900 PyObject
* obj3
= 0 ;
20901 char *kwnames
[] = {
20902 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20908 arg2
= (long) SWIG_AsLong(obj1
);
20909 if (PyErr_Occurred()) SWIG_fail
;
20910 arg3
= (long) SWIG_AsLong(obj2
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20912 arg4
= (long) SWIG_AsLong(obj3
);
20913 if (PyErr_Occurred()) SWIG_fail
;
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20916 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20918 wxPyEndAllowThreads(__tstate
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20930 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20931 PyObject
*resultobj
;
20932 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20937 PyObject
* obj0
= 0 ;
20938 PyObject
* obj1
= 0 ;
20939 PyObject
* obj2
= 0 ;
20940 PyObject
* obj3
= 0 ;
20941 char *kwnames
[] = {
20942 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20948 arg2
= (long) SWIG_AsLong(obj1
);
20949 if (PyErr_Occurred()) SWIG_fail
;
20950 arg3
= (int) SWIG_AsInt(obj2
);
20951 if (PyErr_Occurred()) SWIG_fail
;
20952 arg4
= (int) SWIG_AsInt(obj3
);
20953 if (PyErr_Occurred()) SWIG_fail
;
20955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20956 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20958 wxPyEndAllowThreads(__tstate
);
20959 if (PyErr_Occurred()) SWIG_fail
;
20962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20970 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20971 PyObject
*resultobj
;
20972 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20975 PyObject
* obj0
= 0 ;
20976 PyObject
* obj1
= 0 ;
20977 char *kwnames
[] = {
20978 (char *) "self",(char *) "item", NULL
20981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20984 arg2
= (long) SWIG_AsLong(obj1
);
20985 if (PyErr_Occurred()) SWIG_fail
;
20987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20988 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21006 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21007 PyObject
*resultobj
;
21008 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21010 wxString
*arg3
= 0 ;
21011 bool temp3
= False
;
21012 PyObject
* obj0
= 0 ;
21013 PyObject
* obj1
= 0 ;
21014 PyObject
* obj2
= 0 ;
21015 char *kwnames
[] = {
21016 (char *) "self",(char *) "item",(char *) "str", NULL
21019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21022 arg2
= (long) SWIG_AsLong(obj1
);
21023 if (PyErr_Occurred()) SWIG_fail
;
21025 arg3
= wxString_in_helper(obj2
);
21026 if (arg3
== NULL
) SWIG_fail
;
21030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21031 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21033 wxPyEndAllowThreads(__tstate
);
21034 if (PyErr_Occurred()) SWIG_fail
;
21036 Py_INCREF(Py_None
); resultobj
= Py_None
;
21051 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21052 PyObject
*resultobj
;
21053 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21056 PyObject
* obj0
= 0 ;
21057 PyObject
* obj1
= 0 ;
21058 char *kwnames
[] = {
21059 (char *) "self",(char *) "item", NULL
21062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21065 arg2
= (long) SWIG_AsLong(obj1
);
21066 if (PyErr_Occurred()) SWIG_fail
;
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21074 resultobj
= SWIG_FromLong((long)result
);
21081 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21082 PyObject
*resultobj
;
21083 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21087 PyObject
* obj0
= 0 ;
21088 PyObject
* obj1
= 0 ;
21089 PyObject
* obj2
= 0 ;
21090 char *kwnames
[] = {
21091 (char *) "self",(char *) "item",(char *) "data", NULL
21094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21097 arg2
= (long) SWIG_AsLong(obj1
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21099 arg3
= (long) SWIG_AsLong(obj2
);
21100 if (PyErr_Occurred()) SWIG_fail
;
21102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21103 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21105 wxPyEndAllowThreads(__tstate
);
21106 if (PyErr_Occurred()) SWIG_fail
;
21109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21117 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21118 PyObject
*resultobj
;
21119 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21122 PyObject
* obj0
= 0 ;
21123 PyObject
* obj1
= 0 ;
21124 char *kwnames
[] = {
21125 (char *) "self",(char *) "item", NULL
21128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21131 arg2
= (long) SWIG_AsLong(obj1
);
21132 if (PyErr_Occurred()) SWIG_fail
;
21134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21135 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21137 wxPyEndAllowThreads(__tstate
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21141 wxPoint
* resultptr
;
21142 resultptr
= new wxPoint((wxPoint
&) result
);
21143 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21151 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21152 PyObject
*resultobj
;
21153 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21155 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21157 PyObject
* obj0
= 0 ;
21158 PyObject
* obj1
= 0 ;
21159 PyObject
* obj2
= 0 ;
21160 char *kwnames
[] = {
21161 (char *) "self",(char *) "item",(char *) "code", NULL
21164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21167 arg2
= (long) SWIG_AsLong(obj1
);
21168 if (PyErr_Occurred()) SWIG_fail
;
21170 arg3
= (int) SWIG_AsInt(obj2
);
21171 if (PyErr_Occurred()) SWIG_fail
;
21174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21175 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21181 wxRect
* resultptr
;
21182 resultptr
= new wxRect((wxRect
&) result
);
21183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21191 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21192 PyObject
*resultobj
;
21193 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21195 wxPoint
*arg3
= 0 ;
21198 PyObject
* obj0
= 0 ;
21199 PyObject
* obj1
= 0 ;
21200 PyObject
* obj2
= 0 ;
21201 char *kwnames
[] = {
21202 (char *) "self",(char *) "item",(char *) "pos", NULL
21205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21208 arg2
= (long) SWIG_AsLong(obj1
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21212 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21216 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
21218 wxPyEndAllowThreads(__tstate
);
21219 if (PyErr_Occurred()) SWIG_fail
;
21222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21230 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21231 PyObject
*resultobj
;
21232 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21234 PyObject
* obj0
= 0 ;
21235 char *kwnames
[] = {
21236 (char *) "self", NULL
21239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
21240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21244 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
21246 wxPyEndAllowThreads(__tstate
);
21247 if (PyErr_Occurred()) SWIG_fail
;
21249 resultobj
= SWIG_FromInt((int)result
);
21256 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21257 PyObject
*resultobj
;
21258 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21260 PyObject
* obj0
= 0 ;
21261 char *kwnames
[] = {
21262 (char *) "self", NULL
21265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
21266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21270 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
21272 wxPyEndAllowThreads(__tstate
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21275 resultobj
= SWIG_FromInt((int)result
);
21282 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21283 PyObject
*resultobj
;
21284 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21286 PyObject
* obj0
= 0 ;
21287 char *kwnames
[] = {
21288 (char *) "self", NULL
21291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
21292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21296 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
21298 wxPyEndAllowThreads(__tstate
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21302 wxSize
* resultptr
;
21303 resultptr
= new wxSize((wxSize
&) result
);
21304 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21312 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21313 PyObject
*resultobj
;
21314 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21316 PyObject
* obj0
= 0 ;
21317 char *kwnames
[] = {
21318 (char *) "self", NULL
21321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
21322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21326 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
21328 wxPyEndAllowThreads(__tstate
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21331 resultobj
= SWIG_FromInt((int)result
);
21338 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21339 PyObject
*resultobj
;
21340 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21342 PyObject
* obj0
= 0 ;
21343 char *kwnames
[] = {
21344 (char *) "self", NULL
21347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
21348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21352 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
21354 wxPyEndAllowThreads(__tstate
);
21355 if (PyErr_Occurred()) SWIG_fail
;
21358 wxColour
* resultptr
;
21359 resultptr
= new wxColour((wxColour
&) result
);
21360 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21368 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21369 PyObject
*resultobj
;
21370 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21371 wxColour
*arg2
= 0 ;
21373 PyObject
* obj0
= 0 ;
21374 PyObject
* obj1
= 0 ;
21375 char *kwnames
[] = {
21376 (char *) "self",(char *) "col", NULL
21379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21384 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21388 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21390 wxPyEndAllowThreads(__tstate
);
21391 if (PyErr_Occurred()) SWIG_fail
;
21393 Py_INCREF(Py_None
); resultobj
= Py_None
;
21400 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21401 PyObject
*resultobj
;
21402 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21404 PyObject
* obj0
= 0 ;
21405 char *kwnames
[] = {
21406 (char *) "self", NULL
21409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21414 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21416 wxPyEndAllowThreads(__tstate
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21419 resultobj
= SWIG_FromLong((long)result
);
21426 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21427 PyObject
*resultobj
;
21428 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21430 bool arg3
= (bool) True
;
21431 PyObject
* obj0
= 0 ;
21432 PyObject
* obj1
= 0 ;
21433 PyObject
* obj2
= 0 ;
21434 char *kwnames
[] = {
21435 (char *) "self",(char *) "style",(char *) "add", NULL
21438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21441 arg2
= (long) SWIG_AsLong(obj1
);
21442 if (PyErr_Occurred()) SWIG_fail
;
21444 arg3
= (bool) SWIG_AsBool(obj2
);
21445 if (PyErr_Occurred()) SWIG_fail
;
21448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21449 (arg1
)->SetSingleStyle(arg2
,arg3
);
21451 wxPyEndAllowThreads(__tstate
);
21452 if (PyErr_Occurred()) SWIG_fail
;
21454 Py_INCREF(Py_None
); resultobj
= Py_None
;
21461 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21462 PyObject
*resultobj
;
21463 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21465 PyObject
* obj0
= 0 ;
21466 PyObject
* obj1
= 0 ;
21467 char *kwnames
[] = {
21468 (char *) "self",(char *) "style", NULL
21471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21474 arg2
= (long) SWIG_AsLong(obj1
);
21475 if (PyErr_Occurred()) SWIG_fail
;
21477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21478 (arg1
)->SetWindowStyleFlag(arg2
);
21480 wxPyEndAllowThreads(__tstate
);
21481 if (PyErr_Occurred()) SWIG_fail
;
21483 Py_INCREF(Py_None
); resultobj
= Py_None
;
21490 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21491 PyObject
*resultobj
;
21492 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21494 int arg3
= (int) wxLIST_NEXT_ALL
;
21495 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21497 PyObject
* obj0
= 0 ;
21498 PyObject
* obj1
= 0 ;
21499 PyObject
* obj2
= 0 ;
21500 PyObject
* obj3
= 0 ;
21501 char *kwnames
[] = {
21502 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21508 arg2
= (long) SWIG_AsLong(obj1
);
21509 if (PyErr_Occurred()) SWIG_fail
;
21511 arg3
= (int) SWIG_AsInt(obj2
);
21512 if (PyErr_Occurred()) SWIG_fail
;
21515 arg4
= (int) SWIG_AsInt(obj3
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21520 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21522 wxPyEndAllowThreads(__tstate
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21525 resultobj
= SWIG_FromLong((long)result
);
21532 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21533 PyObject
*resultobj
;
21534 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21536 wxImageList
*result
;
21537 PyObject
* obj0
= 0 ;
21538 PyObject
* obj1
= 0 ;
21539 char *kwnames
[] = {
21540 (char *) "self",(char *) "which", NULL
21543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21546 arg2
= (int) SWIG_AsInt(obj1
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21550 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21552 wxPyEndAllowThreads(__tstate
);
21553 if (PyErr_Occurred()) SWIG_fail
;
21556 resultobj
= wxPyMake_wxObject(result
);
21564 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21565 PyObject
*resultobj
;
21566 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21567 wxImageList
*arg2
= (wxImageList
*) 0 ;
21569 PyObject
* obj0
= 0 ;
21570 PyObject
* obj1
= 0 ;
21571 PyObject
* obj2
= 0 ;
21572 char *kwnames
[] = {
21573 (char *) "self",(char *) "imageList",(char *) "which", NULL
21576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21581 arg3
= (int) SWIG_AsInt(obj2
);
21582 if (PyErr_Occurred()) SWIG_fail
;
21584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21585 (arg1
)->SetImageList(arg2
,arg3
);
21587 wxPyEndAllowThreads(__tstate
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21590 Py_INCREF(Py_None
); resultobj
= Py_None
;
21597 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21598 PyObject
*resultobj
;
21599 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21600 wxImageList
*arg2
= (wxImageList
*) 0 ;
21602 PyObject
* obj0
= 0 ;
21603 PyObject
* obj1
= 0 ;
21604 PyObject
* obj2
= 0 ;
21605 char *kwnames
[] = {
21606 (char *) "self",(char *) "imageList",(char *) "which", NULL
21609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21613 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21614 arg3
= (int) SWIG_AsInt(obj2
);
21615 if (PyErr_Occurred()) SWIG_fail
;
21617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21618 (arg1
)->AssignImageList(arg2
,arg3
);
21620 wxPyEndAllowThreads(__tstate
);
21621 if (PyErr_Occurred()) SWIG_fail
;
21623 Py_INCREF(Py_None
); resultobj
= Py_None
;
21630 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21631 PyObject
*resultobj
;
21632 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21634 PyObject
* obj0
= 0 ;
21635 char *kwnames
[] = {
21636 (char *) "self", NULL
21639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
21640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21644 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
21646 wxPyEndAllowThreads(__tstate
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21658 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21659 PyObject
*resultobj
;
21660 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21662 PyObject
* obj0
= 0 ;
21663 char *kwnames
[] = {
21664 (char *) "self", NULL
21667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21672 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21674 wxPyEndAllowThreads(__tstate
);
21675 if (PyErr_Occurred()) SWIG_fail
;
21678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21686 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21687 PyObject
*resultobj
;
21688 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21690 PyObject
* obj0
= 0 ;
21691 PyObject
* obj1
= 0 ;
21692 char *kwnames
[] = {
21693 (char *) "self",(char *) "item", NULL
21696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21699 arg2
= (long) SWIG_AsLong(obj1
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21703 (arg1
)->RefreshItem(arg2
);
21705 wxPyEndAllowThreads(__tstate
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21708 Py_INCREF(Py_None
); resultobj
= Py_None
;
21715 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21716 PyObject
*resultobj
;
21717 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21720 PyObject
* obj0
= 0 ;
21721 PyObject
* obj1
= 0 ;
21722 PyObject
* obj2
= 0 ;
21723 char *kwnames
[] = {
21724 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",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 (arg1
)->RefreshItems(arg2
,arg3
);
21738 wxPyEndAllowThreads(__tstate
);
21739 if (PyErr_Occurred()) SWIG_fail
;
21741 Py_INCREF(Py_None
); resultobj
= Py_None
;
21748 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21749 PyObject
*resultobj
;
21750 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21751 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21753 PyObject
* obj0
= 0 ;
21754 PyObject
* obj1
= 0 ;
21755 char *kwnames
[] = {
21756 (char *) "self",(char *) "flag", NULL
21759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21763 arg2
= (int) SWIG_AsInt(obj1
);
21764 if (PyErr_Occurred()) SWIG_fail
;
21767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21768 result
= (bool)(arg1
)->Arrange(arg2
);
21770 wxPyEndAllowThreads(__tstate
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21782 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21783 PyObject
*resultobj
;
21784 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21787 PyObject
* obj0
= 0 ;
21788 PyObject
* obj1
= 0 ;
21789 char *kwnames
[] = {
21790 (char *) "self",(char *) "item", NULL
21793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21796 arg2
= (long) SWIG_AsLong(obj1
);
21797 if (PyErr_Occurred()) SWIG_fail
;
21799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21800 result
= (bool)(arg1
)->DeleteItem(arg2
);
21802 wxPyEndAllowThreads(__tstate
);
21803 if (PyErr_Occurred()) SWIG_fail
;
21806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21814 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21815 PyObject
*resultobj
;
21816 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21818 PyObject
* obj0
= 0 ;
21819 char *kwnames
[] = {
21820 (char *) "self", NULL
21823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21828 result
= (bool)(arg1
)->DeleteAllItems();
21830 wxPyEndAllowThreads(__tstate
);
21831 if (PyErr_Occurred()) SWIG_fail
;
21834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21842 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21843 PyObject
*resultobj
;
21844 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21847 PyObject
* obj0
= 0 ;
21848 PyObject
* obj1
= 0 ;
21849 char *kwnames
[] = {
21850 (char *) "self",(char *) "col", NULL
21853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21856 arg2
= (int) SWIG_AsInt(obj1
);
21857 if (PyErr_Occurred()) SWIG_fail
;
21859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21860 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21862 wxPyEndAllowThreads(__tstate
);
21863 if (PyErr_Occurred()) SWIG_fail
;
21866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21874 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21875 PyObject
*resultobj
;
21876 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21878 PyObject
* obj0
= 0 ;
21879 char *kwnames
[] = {
21880 (char *) "self", NULL
21883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21888 result
= (bool)(arg1
)->DeleteAllColumns();
21890 wxPyEndAllowThreads(__tstate
);
21891 if (PyErr_Occurred()) SWIG_fail
;
21894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21902 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21903 PyObject
*resultobj
;
21904 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21905 PyObject
* obj0
= 0 ;
21906 char *kwnames
[] = {
21907 (char *) "self", NULL
21910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21915 (arg1
)->ClearAll();
21917 wxPyEndAllowThreads(__tstate
);
21918 if (PyErr_Occurred()) SWIG_fail
;
21920 Py_INCREF(Py_None
); resultobj
= Py_None
;
21927 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21928 PyObject
*resultobj
;
21929 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21931 wxTextCtrl
*result
;
21932 PyObject
* obj0
= 0 ;
21933 PyObject
* obj1
= 0 ;
21934 char *kwnames
[] = {
21935 (char *) "self",(char *) "item", NULL
21938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21941 arg2
= (long) SWIG_AsLong(obj1
);
21942 if (PyErr_Occurred()) SWIG_fail
;
21944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21945 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
21947 wxPyEndAllowThreads(__tstate
);
21948 if (PyErr_Occurred()) SWIG_fail
;
21951 resultobj
= wxPyMake_wxObject(result
);
21959 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21960 PyObject
*resultobj
;
21961 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21964 PyObject
* obj0
= 0 ;
21965 PyObject
* obj1
= 0 ;
21966 char *kwnames
[] = {
21967 (char *) "self",(char *) "cancel", NULL
21970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21973 arg2
= (bool) SWIG_AsBool(obj1
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21977 result
= (bool)(arg1
)->EndEditLabel(arg2
);
21979 wxPyEndAllowThreads(__tstate
);
21980 if (PyErr_Occurred()) SWIG_fail
;
21983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21991 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21992 PyObject
*resultobj
;
21993 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21996 PyObject
* obj0
= 0 ;
21997 PyObject
* obj1
= 0 ;
21998 char *kwnames
[] = {
21999 (char *) "self",(char *) "item", NULL
22002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22005 arg2
= (long) SWIG_AsLong(obj1
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22009 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22011 wxPyEndAllowThreads(__tstate
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22023 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22024 PyObject
*resultobj
;
22025 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22027 wxString
*arg3
= 0 ;
22028 bool arg4
= (bool) False
;
22030 bool temp3
= False
;
22031 PyObject
* obj0
= 0 ;
22032 PyObject
* obj1
= 0 ;
22033 PyObject
* obj2
= 0 ;
22034 PyObject
* obj3
= 0 ;
22035 char *kwnames
[] = {
22036 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22042 arg2
= (long) SWIG_AsLong(obj1
);
22043 if (PyErr_Occurred()) SWIG_fail
;
22045 arg3
= wxString_in_helper(obj2
);
22046 if (arg3
== NULL
) SWIG_fail
;
22050 arg4
= (bool) SWIG_AsBool(obj3
);
22051 if (PyErr_Occurred()) SWIG_fail
;
22054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22055 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
22057 wxPyEndAllowThreads(__tstate
);
22058 if (PyErr_Occurred()) SWIG_fail
;
22060 resultobj
= SWIG_FromLong((long)result
);
22075 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22076 PyObject
*resultobj
;
22077 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22081 PyObject
* obj0
= 0 ;
22082 PyObject
* obj1
= 0 ;
22083 PyObject
* obj2
= 0 ;
22084 char *kwnames
[] = {
22085 (char *) "self",(char *) "start",(char *) "data", NULL
22088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22091 arg2
= (long) SWIG_AsLong(obj1
);
22092 if (PyErr_Occurred()) SWIG_fail
;
22093 arg3
= (long) SWIG_AsLong(obj2
);
22094 if (PyErr_Occurred()) SWIG_fail
;
22096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22097 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22099 wxPyEndAllowThreads(__tstate
);
22100 if (PyErr_Occurred()) SWIG_fail
;
22102 resultobj
= SWIG_FromLong((long)result
);
22109 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22110 PyObject
*resultobj
;
22111 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22113 wxPoint
*arg3
= 0 ;
22117 PyObject
* obj0
= 0 ;
22118 PyObject
* obj1
= 0 ;
22119 PyObject
* obj2
= 0 ;
22120 PyObject
* obj3
= 0 ;
22121 char *kwnames
[] = {
22122 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22128 arg2
= (long) SWIG_AsLong(obj1
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22132 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22134 arg4
= (int) SWIG_AsInt(obj3
);
22135 if (PyErr_Occurred()) SWIG_fail
;
22137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22138 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22140 wxPyEndAllowThreads(__tstate
);
22141 if (PyErr_Occurred()) SWIG_fail
;
22143 resultobj
= SWIG_FromLong((long)result
);
22150 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22151 PyObject
*resultobj
;
22152 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22153 wxPoint
*arg2
= 0 ;
22158 PyObject
* obj0
= 0 ;
22159 PyObject
* obj1
= 0 ;
22160 char *kwnames
[] = {
22161 (char *) "self",(char *) "point", NULL
22165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22170 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22174 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22176 wxPyEndAllowThreads(__tstate
);
22177 if (PyErr_Occurred()) SWIG_fail
;
22179 resultobj
= SWIG_FromLong((long)result
);
22181 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22182 resultobj
= t_output_helper(resultobj
,o
);
22190 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22191 PyObject
*resultobj
;
22192 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22193 wxListItem
*arg2
= 0 ;
22195 PyObject
* obj0
= 0 ;
22196 PyObject
* obj1
= 0 ;
22197 char *kwnames
[] = {
22198 (char *) "self",(char *) "info", NULL
22201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22205 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22207 if (arg2
== NULL
) {
22208 PyErr_SetString(PyExc_TypeError
,"null reference");
22212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22213 result
= (long)(arg1
)->InsertItem(*arg2
);
22215 wxPyEndAllowThreads(__tstate
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22218 resultobj
= SWIG_FromLong((long)result
);
22225 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22226 PyObject
*resultobj
;
22227 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22229 wxString
*arg3
= 0 ;
22231 bool temp3
= False
;
22232 PyObject
* obj0
= 0 ;
22233 PyObject
* obj1
= 0 ;
22234 PyObject
* obj2
= 0 ;
22235 char *kwnames
[] = {
22236 (char *) "self",(char *) "index",(char *) "label", NULL
22239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",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
;
22245 arg3
= wxString_in_helper(obj2
);
22246 if (arg3
== NULL
) SWIG_fail
;
22250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22251 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
22253 wxPyEndAllowThreads(__tstate
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22256 resultobj
= SWIG_FromLong((long)result
);
22271 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22272 PyObject
*resultobj
;
22273 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22277 PyObject
* obj0
= 0 ;
22278 PyObject
* obj1
= 0 ;
22279 PyObject
* obj2
= 0 ;
22280 char *kwnames
[] = {
22281 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22287 arg2
= (long) SWIG_AsLong(obj1
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22289 arg3
= (int) SWIG_AsInt(obj2
);
22290 if (PyErr_Occurred()) SWIG_fail
;
22292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22293 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
22295 wxPyEndAllowThreads(__tstate
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22298 resultobj
= SWIG_FromLong((long)result
);
22305 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22306 PyObject
*resultobj
;
22307 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22309 wxString
*arg3
= 0 ;
22312 bool temp3
= False
;
22313 PyObject
* obj0
= 0 ;
22314 PyObject
* obj1
= 0 ;
22315 PyObject
* obj2
= 0 ;
22316 PyObject
* obj3
= 0 ;
22317 char *kwnames
[] = {
22318 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22324 arg2
= (long) SWIG_AsLong(obj1
);
22325 if (PyErr_Occurred()) SWIG_fail
;
22327 arg3
= wxString_in_helper(obj2
);
22328 if (arg3
== NULL
) SWIG_fail
;
22331 arg4
= (int) SWIG_AsInt(obj3
);
22332 if (PyErr_Occurred()) SWIG_fail
;
22334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22335 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
22337 wxPyEndAllowThreads(__tstate
);
22338 if (PyErr_Occurred()) SWIG_fail
;
22340 resultobj
= SWIG_FromLong((long)result
);
22355 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22356 PyObject
*resultobj
;
22357 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22359 wxListItem
*arg3
= 0 ;
22361 PyObject
* obj0
= 0 ;
22362 PyObject
* obj1
= 0 ;
22363 PyObject
* obj2
= 0 ;
22364 char *kwnames
[] = {
22365 (char *) "self",(char *) "col",(char *) "info", NULL
22368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22371 arg2
= (long) SWIG_AsLong(obj1
);
22372 if (PyErr_Occurred()) SWIG_fail
;
22373 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
22374 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22376 if (arg3
== NULL
) {
22377 PyErr_SetString(PyExc_TypeError
,"null reference");
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22382 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
22384 wxPyEndAllowThreads(__tstate
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22387 resultobj
= SWIG_FromLong((long)result
);
22394 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22395 PyObject
*resultobj
;
22396 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22398 wxString
*arg3
= 0 ;
22399 int arg4
= (int) wxLIST_FORMAT_LEFT
;
22400 int arg5
= (int) -1 ;
22402 bool temp3
= False
;
22403 PyObject
* obj0
= 0 ;
22404 PyObject
* obj1
= 0 ;
22405 PyObject
* obj2
= 0 ;
22406 PyObject
* obj3
= 0 ;
22407 PyObject
* obj4
= 0 ;
22408 char *kwnames
[] = {
22409 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22415 arg2
= (long) SWIG_AsLong(obj1
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22418 arg3
= wxString_in_helper(obj2
);
22419 if (arg3
== NULL
) SWIG_fail
;
22423 arg4
= (int) SWIG_AsInt(obj3
);
22424 if (PyErr_Occurred()) SWIG_fail
;
22427 arg5
= (int) SWIG_AsInt(obj4
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22432 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22434 wxPyEndAllowThreads(__tstate
);
22435 if (PyErr_Occurred()) SWIG_fail
;
22437 resultobj
= SWIG_FromLong((long)result
);
22452 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22453 PyObject
*resultobj
;
22454 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22456 PyObject
* obj0
= 0 ;
22457 PyObject
* obj1
= 0 ;
22458 char *kwnames
[] = {
22459 (char *) "self",(char *) "count", NULL
22462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
22463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22465 arg2
= (long) SWIG_AsLong(obj1
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22469 (arg1
)->SetItemCount(arg2
);
22471 wxPyEndAllowThreads(__tstate
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22474 Py_INCREF(Py_None
); resultobj
= Py_None
;
22481 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22482 PyObject
*resultobj
;
22483 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22487 PyObject
* obj0
= 0 ;
22488 PyObject
* obj1
= 0 ;
22489 PyObject
* obj2
= 0 ;
22490 char *kwnames
[] = {
22491 (char *) "self",(char *) "dx",(char *) "dy", NULL
22494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22497 arg2
= (int) SWIG_AsInt(obj1
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22499 arg3
= (int) SWIG_AsInt(obj2
);
22500 if (PyErr_Occurred()) SWIG_fail
;
22502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22503 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22505 wxPyEndAllowThreads(__tstate
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22517 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22518 PyObject
*resultobj
;
22519 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22521 wxColour
*arg3
= 0 ;
22523 PyObject
* obj0
= 0 ;
22524 PyObject
* obj1
= 0 ;
22525 PyObject
* obj2
= 0 ;
22526 char *kwnames
[] = {
22527 (char *) "self",(char *) "item",(char *) "col", NULL
22530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22533 arg2
= (long) SWIG_AsLong(obj1
);
22534 if (PyErr_Occurred()) SWIG_fail
;
22537 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22541 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22543 wxPyEndAllowThreads(__tstate
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22546 Py_INCREF(Py_None
); resultobj
= Py_None
;
22553 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22554 PyObject
*resultobj
;
22555 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22558 PyObject
* obj0
= 0 ;
22559 PyObject
* obj1
= 0 ;
22560 char *kwnames
[] = {
22561 (char *) "self",(char *) "item", NULL
22564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22567 arg2
= (long) SWIG_AsLong(obj1
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22571 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22573 wxPyEndAllowThreads(__tstate
);
22574 if (PyErr_Occurred()) SWIG_fail
;
22577 wxColour
* resultptr
;
22578 resultptr
= new wxColour((wxColour
&) result
);
22579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22587 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22588 PyObject
*resultobj
;
22589 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22591 wxColour
*arg3
= 0 ;
22593 PyObject
* obj0
= 0 ;
22594 PyObject
* obj1
= 0 ;
22595 PyObject
* obj2
= 0 ;
22596 char *kwnames
[] = {
22597 (char *) "self",(char *) "item",(char *) "col", NULL
22600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22603 arg2
= (long) SWIG_AsLong(obj1
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22607 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22611 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22613 wxPyEndAllowThreads(__tstate
);
22614 if (PyErr_Occurred()) SWIG_fail
;
22616 Py_INCREF(Py_None
); resultobj
= Py_None
;
22623 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22624 PyObject
*resultobj
;
22625 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22628 PyObject
* obj0
= 0 ;
22629 PyObject
* obj1
= 0 ;
22630 char *kwnames
[] = {
22631 (char *) "self",(char *) "item", NULL
22634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22637 arg2
= (long) SWIG_AsLong(obj1
);
22638 if (PyErr_Occurred()) SWIG_fail
;
22640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22641 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22643 wxPyEndAllowThreads(__tstate
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22647 wxColour
* resultptr
;
22648 resultptr
= new wxColour((wxColour
&) result
);
22649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22657 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22658 PyObject
*resultobj
;
22659 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22660 PyObject
*arg2
= (PyObject
*) 0 ;
22662 PyObject
* obj0
= 0 ;
22663 PyObject
* obj1
= 0 ;
22664 char *kwnames
[] = {
22665 (char *) "self",(char *) "func", NULL
22668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22674 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22676 wxPyEndAllowThreads(__tstate
);
22677 if (PyErr_Occurred()) SWIG_fail
;
22680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22688 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22689 PyObject
*resultobj
;
22690 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22692 PyObject
* obj0
= 0 ;
22693 char *kwnames
[] = {
22694 (char *) "self", NULL
22697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22702 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22704 wxPyEndAllowThreads(__tstate
);
22705 if (PyErr_Occurred()) SWIG_fail
;
22708 resultobj
= wxPyMake_wxObject(result
);
22716 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22719 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22721 return Py_BuildValue((char *)"");
22723 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22724 PyObject
*resultobj
;
22725 wxWindow
*arg1
= (wxWindow
*) 0 ;
22726 int arg2
= (int) -1 ;
22727 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22728 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22729 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22730 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22731 long arg5
= (long) wxLC_REPORT
;
22732 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22733 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22734 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22735 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22736 wxListView
*result
;
22739 bool temp7
= False
;
22740 PyObject
* obj0
= 0 ;
22741 PyObject
* obj1
= 0 ;
22742 PyObject
* obj2
= 0 ;
22743 PyObject
* obj3
= 0 ;
22744 PyObject
* obj4
= 0 ;
22745 PyObject
* obj5
= 0 ;
22746 PyObject
* obj6
= 0 ;
22747 char *kwnames
[] = {
22748 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22755 arg2
= (int) SWIG_AsInt(obj1
);
22756 if (PyErr_Occurred()) SWIG_fail
;
22761 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22767 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22771 arg5
= (long) SWIG_AsLong(obj4
);
22772 if (PyErr_Occurred()) SWIG_fail
;
22775 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
22776 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22778 if (arg6
== NULL
) {
22779 PyErr_SetString(PyExc_TypeError
,"null reference");
22785 arg7
= wxString_in_helper(obj6
);
22786 if (arg7
== NULL
) SWIG_fail
;
22791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22792 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22794 wxPyEndAllowThreads(__tstate
);
22795 if (PyErr_Occurred()) SWIG_fail
;
22797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22812 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22813 PyObject
*resultobj
;
22814 wxListView
*result
;
22815 char *kwnames
[] = {
22819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22822 result
= (wxListView
*)new wxListView();
22824 wxPyEndAllowThreads(__tstate
);
22825 if (PyErr_Occurred()) SWIG_fail
;
22827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22834 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22835 PyObject
*resultobj
;
22836 wxListView
*arg1
= (wxListView
*) 0 ;
22837 wxWindow
*arg2
= (wxWindow
*) 0 ;
22838 int arg3
= (int) -1 ;
22839 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22840 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22841 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22842 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22843 long arg6
= (long) wxLC_REPORT
;
22844 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22845 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22846 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22847 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22851 bool temp8
= False
;
22852 PyObject
* obj0
= 0 ;
22853 PyObject
* obj1
= 0 ;
22854 PyObject
* obj2
= 0 ;
22855 PyObject
* obj3
= 0 ;
22856 PyObject
* obj4
= 0 ;
22857 PyObject
* obj5
= 0 ;
22858 PyObject
* obj6
= 0 ;
22859 PyObject
* obj7
= 0 ;
22860 char *kwnames
[] = {
22861 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22870 arg3
= (int) SWIG_AsInt(obj2
);
22871 if (PyErr_Occurred()) SWIG_fail
;
22876 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22882 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22886 arg6
= (long) SWIG_AsLong(obj5
);
22887 if (PyErr_Occurred()) SWIG_fail
;
22890 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
22891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22893 if (arg7
== NULL
) {
22894 PyErr_SetString(PyExc_TypeError
,"null reference");
22900 arg8
= wxString_in_helper(obj7
);
22901 if (arg8
== NULL
) SWIG_fail
;
22906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22907 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22909 wxPyEndAllowThreads(__tstate
);
22910 if (PyErr_Occurred()) SWIG_fail
;
22913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22929 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22930 PyObject
*resultobj
;
22931 wxListView
*arg1
= (wxListView
*) 0 ;
22933 bool arg3
= (bool) True
;
22934 PyObject
* obj0
= 0 ;
22935 PyObject
* obj1
= 0 ;
22936 PyObject
* obj2
= 0 ;
22937 char *kwnames
[] = {
22938 (char *) "self",(char *) "n",(char *) "on", NULL
22941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22944 arg2
= (long) SWIG_AsLong(obj1
);
22945 if (PyErr_Occurred()) SWIG_fail
;
22947 arg3
= (bool) SWIG_AsBool(obj2
);
22948 if (PyErr_Occurred()) SWIG_fail
;
22951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22952 (arg1
)->Select(arg2
,arg3
);
22954 wxPyEndAllowThreads(__tstate
);
22955 if (PyErr_Occurred()) SWIG_fail
;
22957 Py_INCREF(Py_None
); resultobj
= Py_None
;
22964 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22965 PyObject
*resultobj
;
22966 wxListView
*arg1
= (wxListView
*) 0 ;
22968 PyObject
* obj0
= 0 ;
22969 PyObject
* obj1
= 0 ;
22970 char *kwnames
[] = {
22971 (char *) "self",(char *) "index", NULL
22974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22977 arg2
= (long) SWIG_AsLong(obj1
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 (arg1
)->Focus(arg2
);
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22986 Py_INCREF(Py_None
); resultobj
= Py_None
;
22993 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22994 PyObject
*resultobj
;
22995 wxListView
*arg1
= (wxListView
*) 0 ;
22997 PyObject
* obj0
= 0 ;
22998 char *kwnames
[] = {
22999 (char *) "self", NULL
23002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23007 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23009 wxPyEndAllowThreads(__tstate
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23012 resultobj
= SWIG_FromLong((long)result
);
23019 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23020 PyObject
*resultobj
;
23021 wxListView
*arg1
= (wxListView
*) 0 ;
23024 PyObject
* obj0
= 0 ;
23025 PyObject
* obj1
= 0 ;
23026 char *kwnames
[] = {
23027 (char *) "self",(char *) "item", NULL
23030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23033 arg2
= (long) SWIG_AsLong(obj1
);
23034 if (PyErr_Occurred()) SWIG_fail
;
23036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23037 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23039 wxPyEndAllowThreads(__tstate
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23042 resultobj
= SWIG_FromLong((long)result
);
23049 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23050 PyObject
*resultobj
;
23051 wxListView
*arg1
= (wxListView
*) 0 ;
23053 PyObject
* obj0
= 0 ;
23054 char *kwnames
[] = {
23055 (char *) "self", NULL
23058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23063 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23065 wxPyEndAllowThreads(__tstate
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23068 resultobj
= SWIG_FromLong((long)result
);
23075 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23076 PyObject
*resultobj
;
23077 wxListView
*arg1
= (wxListView
*) 0 ;
23080 PyObject
* obj0
= 0 ;
23081 PyObject
* obj1
= 0 ;
23082 char *kwnames
[] = {
23083 (char *) "self",(char *) "index", NULL
23086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23089 arg2
= (long) SWIG_AsLong(obj1
);
23090 if (PyErr_Occurred()) SWIG_fail
;
23092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23093 result
= (bool)(arg1
)->IsSelected(arg2
);
23095 wxPyEndAllowThreads(__tstate
);
23096 if (PyErr_Occurred()) SWIG_fail
;
23099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23107 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23108 PyObject
*resultobj
;
23109 wxListView
*arg1
= (wxListView
*) 0 ;
23112 PyObject
* obj0
= 0 ;
23113 PyObject
* obj1
= 0 ;
23114 PyObject
* obj2
= 0 ;
23115 char *kwnames
[] = {
23116 (char *) "self",(char *) "col",(char *) "image", NULL
23119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23122 arg2
= (int) SWIG_AsInt(obj1
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23124 arg3
= (int) SWIG_AsInt(obj2
);
23125 if (PyErr_Occurred()) SWIG_fail
;
23127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23128 (arg1
)->SetColumnImage(arg2
,arg3
);
23130 wxPyEndAllowThreads(__tstate
);
23131 if (PyErr_Occurred()) SWIG_fail
;
23133 Py_INCREF(Py_None
); resultobj
= Py_None
;
23140 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23141 PyObject
*resultobj
;
23142 wxListView
*arg1
= (wxListView
*) 0 ;
23144 PyObject
* obj0
= 0 ;
23145 PyObject
* obj1
= 0 ;
23146 char *kwnames
[] = {
23147 (char *) "self",(char *) "col", NULL
23150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23153 arg2
= (int) SWIG_AsInt(obj1
);
23154 if (PyErr_Occurred()) SWIG_fail
;
23156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23157 (arg1
)->ClearColumnImage(arg2
);
23159 wxPyEndAllowThreads(__tstate
);
23160 if (PyErr_Occurred()) SWIG_fail
;
23162 Py_INCREF(Py_None
); resultobj
= Py_None
;
23169 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
23171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23172 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
23174 return Py_BuildValue((char *)"");
23176 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
23177 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
23182 static PyObject
*_wrap_TreeCtrlNameStr_get() {
23187 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23189 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23196 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23197 PyObject
*resultobj
;
23198 wxTreeItemId
*result
;
23199 char *kwnames
[] = {
23203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
23205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23206 result
= (wxTreeItemId
*)new wxTreeItemId();
23208 wxPyEndAllowThreads(__tstate
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
23218 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23219 PyObject
*resultobj
;
23220 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23221 PyObject
* obj0
= 0 ;
23222 char *kwnames
[] = {
23223 (char *) "self", NULL
23226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
23227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23233 wxPyEndAllowThreads(__tstate
);
23234 if (PyErr_Occurred()) SWIG_fail
;
23236 Py_INCREF(Py_None
); resultobj
= Py_None
;
23243 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23244 PyObject
*resultobj
;
23245 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23247 PyObject
* obj0
= 0 ;
23248 char *kwnames
[] = {
23249 (char *) "self", NULL
23252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
23253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23257 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
23259 wxPyEndAllowThreads(__tstate
);
23260 if (PyErr_Occurred()) SWIG_fail
;
23263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23271 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23272 PyObject
*resultobj
;
23273 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23274 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23276 PyObject
* obj0
= 0 ;
23277 PyObject
* obj1
= 0 ;
23278 char *kwnames
[] = {
23279 (char *) "self",(char *) "other", NULL
23282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23289 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
23291 wxPyEndAllowThreads(__tstate
);
23292 if (PyErr_Occurred()) SWIG_fail
;
23295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23303 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23304 PyObject
*resultobj
;
23305 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23306 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23308 PyObject
* obj0
= 0 ;
23309 PyObject
* obj1
= 0 ;
23310 char *kwnames
[] = {
23311 (char *) "self",(char *) "other", NULL
23314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23321 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
23323 wxPyEndAllowThreads(__tstate
);
23324 if (PyErr_Occurred()) SWIG_fail
;
23327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23335 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23336 PyObject
*resultobj
;
23337 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23338 void *arg2
= (void *) 0 ;
23339 PyObject
* obj0
= 0 ;
23340 PyObject
* obj1
= 0 ;
23341 char *kwnames
[] = {
23342 (char *) "self",(char *) "m_pItem", NULL
23345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23348 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23349 if (arg1
) (arg1
)->m_pItem
= arg2
;
23351 Py_INCREF(Py_None
); resultobj
= Py_None
;
23358 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23359 PyObject
*resultobj
;
23360 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23362 PyObject
* obj0
= 0 ;
23363 char *kwnames
[] = {
23364 (char *) "self", NULL
23367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
23368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23370 result
= (void *) ((arg1
)->m_pItem
);
23372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
23379 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
23381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23382 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
23384 return Py_BuildValue((char *)"");
23386 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23387 PyObject
*resultobj
;
23388 PyObject
*arg1
= (PyObject
*) NULL
;
23389 wxPyTreeItemData
*result
;
23390 PyObject
* obj0
= 0 ;
23391 char *kwnames
[] = {
23392 (char *) "obj", NULL
23395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
23400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23401 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
23403 wxPyEndAllowThreads(__tstate
);
23404 if (PyErr_Occurred()) SWIG_fail
;
23406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
23413 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23414 PyObject
*resultobj
;
23415 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23417 PyObject
* obj0
= 0 ;
23418 char *kwnames
[] = {
23419 (char *) "self", NULL
23422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23427 result
= (PyObject
*)(arg1
)->GetData();
23429 wxPyEndAllowThreads(__tstate
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23432 resultobj
= result
;
23439 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23440 PyObject
*resultobj
;
23441 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23442 PyObject
*arg2
= (PyObject
*) 0 ;
23443 PyObject
* obj0
= 0 ;
23444 PyObject
* obj1
= 0 ;
23445 char *kwnames
[] = {
23446 (char *) "self",(char *) "obj", NULL
23449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23455 (arg1
)->SetData(arg2
);
23457 wxPyEndAllowThreads(__tstate
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23460 Py_INCREF(Py_None
); resultobj
= Py_None
;
23467 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23468 PyObject
*resultobj
;
23469 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23470 wxTreeItemId
*result
;
23471 PyObject
* obj0
= 0 ;
23472 char *kwnames
[] = {
23473 (char *) "self", NULL
23476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23482 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23483 result
= (wxTreeItemId
*) &_result_ref
;
23486 wxPyEndAllowThreads(__tstate
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
23496 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23497 PyObject
*resultobj
;
23498 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23499 wxTreeItemId
*arg2
= 0 ;
23500 PyObject
* obj0
= 0 ;
23501 PyObject
* obj1
= 0 ;
23502 char *kwnames
[] = {
23503 (char *) "self",(char *) "id", NULL
23506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23510 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23512 if (arg2
== NULL
) {
23513 PyErr_SetString(PyExc_TypeError
,"null reference");
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23518 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23520 wxPyEndAllowThreads(__tstate
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23523 Py_INCREF(Py_None
); resultobj
= Py_None
;
23530 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23531 PyObject
*resultobj
;
23532 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23533 PyObject
* obj0
= 0 ;
23534 char *kwnames
[] = {
23535 (char *) "self", NULL
23538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23543 wxPyTreeItemData_Destroy(arg1
);
23545 wxPyEndAllowThreads(__tstate
);
23546 if (PyErr_Occurred()) SWIG_fail
;
23548 Py_INCREF(Py_None
); resultobj
= Py_None
;
23555 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
23557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23558 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23560 return Py_BuildValue((char *)"");
23562 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23563 PyObject
*resultobj
;
23564 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23565 int arg2
= (int) 0 ;
23566 wxTreeEvent
*result
;
23567 PyObject
* obj0
= 0 ;
23568 PyObject
* obj1
= 0 ;
23569 char *kwnames
[] = {
23570 (char *) "commandType",(char *) "id", NULL
23573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23575 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
23576 if (PyErr_Occurred()) SWIG_fail
;
23579 arg2
= (int) SWIG_AsInt(obj1
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23584 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23586 wxPyEndAllowThreads(__tstate
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
23596 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23597 PyObject
*resultobj
;
23598 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23599 wxTreeItemId result
;
23600 PyObject
* obj0
= 0 ;
23601 char *kwnames
[] = {
23602 (char *) "self", NULL
23605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23610 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23612 wxPyEndAllowThreads(__tstate
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23616 wxTreeItemId
* resultptr
;
23617 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23626 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23627 PyObject
*resultobj
;
23628 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23629 wxTreeItemId
*arg2
= 0 ;
23630 PyObject
* obj0
= 0 ;
23631 PyObject
* obj1
= 0 ;
23632 char *kwnames
[] = {
23633 (char *) "self",(char *) "item", NULL
23636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23640 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23642 if (arg2
== NULL
) {
23643 PyErr_SetString(PyExc_TypeError
,"null reference");
23647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23648 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23650 wxPyEndAllowThreads(__tstate
);
23651 if (PyErr_Occurred()) SWIG_fail
;
23653 Py_INCREF(Py_None
); resultobj
= Py_None
;
23660 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23661 PyObject
*resultobj
;
23662 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23663 wxTreeItemId result
;
23664 PyObject
* obj0
= 0 ;
23665 char *kwnames
[] = {
23666 (char *) "self", NULL
23669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23674 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23676 wxPyEndAllowThreads(__tstate
);
23677 if (PyErr_Occurred()) SWIG_fail
;
23680 wxTreeItemId
* resultptr
;
23681 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23690 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23691 PyObject
*resultobj
;
23692 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23693 wxTreeItemId
*arg2
= 0 ;
23694 PyObject
* obj0
= 0 ;
23695 PyObject
* obj1
= 0 ;
23696 char *kwnames
[] = {
23697 (char *) "self",(char *) "item", NULL
23700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23704 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23706 if (arg2
== NULL
) {
23707 PyErr_SetString(PyExc_TypeError
,"null reference");
23711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23712 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23714 wxPyEndAllowThreads(__tstate
);
23715 if (PyErr_Occurred()) SWIG_fail
;
23717 Py_INCREF(Py_None
); resultobj
= Py_None
;
23724 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23725 PyObject
*resultobj
;
23726 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23728 PyObject
* obj0
= 0 ;
23729 char *kwnames
[] = {
23730 (char *) "self", NULL
23733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23738 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23740 wxPyEndAllowThreads(__tstate
);
23741 if (PyErr_Occurred()) SWIG_fail
;
23744 wxPoint
* resultptr
;
23745 resultptr
= new wxPoint((wxPoint
&) result
);
23746 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23754 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23755 PyObject
*resultobj
;
23756 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23757 wxPoint
*arg2
= 0 ;
23759 PyObject
* obj0
= 0 ;
23760 PyObject
* obj1
= 0 ;
23761 char *kwnames
[] = {
23762 (char *) "self",(char *) "pt", NULL
23765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23770 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23774 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23776 wxPyEndAllowThreads(__tstate
);
23777 if (PyErr_Occurred()) SWIG_fail
;
23779 Py_INCREF(Py_None
); resultobj
= Py_None
;
23786 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23787 PyObject
*resultobj
;
23788 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23789 wxKeyEvent
*result
;
23790 PyObject
* obj0
= 0 ;
23791 char *kwnames
[] = {
23792 (char *) "self", NULL
23795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23801 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23802 result
= (wxKeyEvent
*) &_result_ref
;
23805 wxPyEndAllowThreads(__tstate
);
23806 if (PyErr_Occurred()) SWIG_fail
;
23808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
23815 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23816 PyObject
*resultobj
;
23817 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23819 PyObject
* obj0
= 0 ;
23820 char *kwnames
[] = {
23821 (char *) "self", NULL
23824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23829 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23831 wxPyEndAllowThreads(__tstate
);
23832 if (PyErr_Occurred()) SWIG_fail
;
23834 resultobj
= SWIG_FromInt((int)result
);
23841 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23842 PyObject
*resultobj
;
23843 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23844 wxKeyEvent
*arg2
= 0 ;
23845 PyObject
* obj0
= 0 ;
23846 PyObject
* obj1
= 0 ;
23847 char *kwnames
[] = {
23848 (char *) "self",(char *) "evt", NULL
23851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
23855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23857 if (arg2
== NULL
) {
23858 PyErr_SetString(PyExc_TypeError
,"null reference");
23862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23863 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23865 wxPyEndAllowThreads(__tstate
);
23866 if (PyErr_Occurred()) SWIG_fail
;
23868 Py_INCREF(Py_None
); resultobj
= Py_None
;
23875 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23876 PyObject
*resultobj
;
23877 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23879 PyObject
* obj0
= 0 ;
23880 char *kwnames
[] = {
23881 (char *) "self", NULL
23884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23890 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23891 result
= (wxString
*) &_result_ref
;
23894 wxPyEndAllowThreads(__tstate
);
23895 if (PyErr_Occurred()) SWIG_fail
;
23899 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23901 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23910 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23911 PyObject
*resultobj
;
23912 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23913 wxString
*arg2
= 0 ;
23914 bool temp2
= False
;
23915 PyObject
* obj0
= 0 ;
23916 PyObject
* obj1
= 0 ;
23917 char *kwnames
[] = {
23918 (char *) "self",(char *) "label", NULL
23921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23925 arg2
= wxString_in_helper(obj1
);
23926 if (arg2
== NULL
) SWIG_fail
;
23930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23931 (arg1
)->SetLabel((wxString
const &)*arg2
);
23933 wxPyEndAllowThreads(__tstate
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23936 Py_INCREF(Py_None
); resultobj
= Py_None
;
23951 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23952 PyObject
*resultobj
;
23953 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23955 PyObject
* obj0
= 0 ;
23956 char *kwnames
[] = {
23957 (char *) "self", NULL
23960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23965 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23967 wxPyEndAllowThreads(__tstate
);
23968 if (PyErr_Occurred()) SWIG_fail
;
23971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23979 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23980 PyObject
*resultobj
;
23981 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23983 PyObject
* obj0
= 0 ;
23984 PyObject
* obj1
= 0 ;
23985 char *kwnames
[] = {
23986 (char *) "self",(char *) "editCancelled", NULL
23989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23992 arg2
= (bool) SWIG_AsBool(obj1
);
23993 if (PyErr_Occurred()) SWIG_fail
;
23995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23996 (arg1
)->SetEditCanceled(arg2
);
23998 wxPyEndAllowThreads(__tstate
);
23999 if (PyErr_Occurred()) SWIG_fail
;
24001 Py_INCREF(Py_None
); resultobj
= Py_None
;
24008 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24009 PyObject
*resultobj
;
24010 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24011 wxString
*arg2
= 0 ;
24012 bool temp2
= False
;
24013 PyObject
* obj0
= 0 ;
24014 PyObject
* obj1
= 0 ;
24015 char *kwnames
[] = {
24016 (char *) "self",(char *) "toolTip", NULL
24019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24023 arg2
= wxString_in_helper(obj1
);
24024 if (arg2
== NULL
) SWIG_fail
;
24028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24029 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24031 wxPyEndAllowThreads(__tstate
);
24032 if (PyErr_Occurred()) SWIG_fail
;
24034 Py_INCREF(Py_None
); resultobj
= Py_None
;
24049 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24051 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24052 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24054 return Py_BuildValue((char *)"");
24056 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24057 PyObject
*resultobj
;
24058 wxWindow
*arg1
= (wxWindow
*) 0 ;
24059 int arg2
= (int) -1 ;
24060 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24061 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24062 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24063 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24064 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24065 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24066 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24067 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24068 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24069 wxPyTreeCtrl
*result
;
24072 bool temp7
= False
;
24073 PyObject
* obj0
= 0 ;
24074 PyObject
* obj1
= 0 ;
24075 PyObject
* obj2
= 0 ;
24076 PyObject
* obj3
= 0 ;
24077 PyObject
* obj4
= 0 ;
24078 PyObject
* obj5
= 0 ;
24079 PyObject
* obj6
= 0 ;
24080 char *kwnames
[] = {
24081 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24088 arg2
= (int) SWIG_AsInt(obj1
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24094 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24100 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24104 arg5
= (long) SWIG_AsLong(obj4
);
24105 if (PyErr_Occurred()) SWIG_fail
;
24108 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24109 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24111 if (arg6
== NULL
) {
24112 PyErr_SetString(PyExc_TypeError
,"null reference");
24118 arg7
= wxString_in_helper(obj6
);
24119 if (arg7
== NULL
) SWIG_fail
;
24124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24125 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24127 wxPyEndAllowThreads(__tstate
);
24128 if (PyErr_Occurred()) SWIG_fail
;
24131 resultobj
= wxPyMake_wxObject(result
);
24147 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24148 PyObject
*resultobj
;
24149 wxPyTreeCtrl
*result
;
24150 char *kwnames
[] = {
24154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
24156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24157 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
24159 wxPyEndAllowThreads(__tstate
);
24160 if (PyErr_Occurred()) SWIG_fail
;
24163 resultobj
= wxPyMake_wxObject(result
);
24171 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24172 PyObject
*resultobj
;
24173 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24174 wxWindow
*arg2
= (wxWindow
*) 0 ;
24175 int arg3
= (int) -1 ;
24176 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24177 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24178 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24179 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24180 long arg6
= (long) wxTR_DEFAULT_STYLE
;
24181 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24182 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24183 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
24184 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24188 bool temp8
= False
;
24189 PyObject
* obj0
= 0 ;
24190 PyObject
* obj1
= 0 ;
24191 PyObject
* obj2
= 0 ;
24192 PyObject
* obj3
= 0 ;
24193 PyObject
* obj4
= 0 ;
24194 PyObject
* obj5
= 0 ;
24195 PyObject
* obj6
= 0 ;
24196 PyObject
* obj7
= 0 ;
24197 char *kwnames
[] = {
24198 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24207 arg3
= (int) SWIG_AsInt(obj2
);
24208 if (PyErr_Occurred()) SWIG_fail
;
24213 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24219 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24223 arg6
= (long) SWIG_AsLong(obj5
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24227 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24228 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24230 if (arg7
== NULL
) {
24231 PyErr_SetString(PyExc_TypeError
,"null reference");
24237 arg8
= wxString_in_helper(obj7
);
24238 if (arg8
== NULL
) SWIG_fail
;
24243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24244 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24246 wxPyEndAllowThreads(__tstate
);
24247 if (PyErr_Occurred()) SWIG_fail
;
24250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24266 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24267 PyObject
*resultobj
;
24268 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24269 PyObject
*arg2
= (PyObject
*) 0 ;
24270 PyObject
*arg3
= (PyObject
*) 0 ;
24271 PyObject
* obj0
= 0 ;
24272 PyObject
* obj1
= 0 ;
24273 PyObject
* obj2
= 0 ;
24274 char *kwnames
[] = {
24275 (char *) "self",(char *) "self",(char *) "_class", NULL
24278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24285 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24287 wxPyEndAllowThreads(__tstate
);
24288 if (PyErr_Occurred()) SWIG_fail
;
24290 Py_INCREF(Py_None
); resultobj
= Py_None
;
24297 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24298 PyObject
*resultobj
;
24299 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24301 PyObject
* obj0
= 0 ;
24302 char *kwnames
[] = {
24303 (char *) "self", NULL
24306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
24307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24311 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
24313 wxPyEndAllowThreads(__tstate
);
24314 if (PyErr_Occurred()) SWIG_fail
;
24316 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24323 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24324 PyObject
*resultobj
;
24325 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24326 unsigned int result
;
24327 PyObject
* obj0
= 0 ;
24328 char *kwnames
[] = {
24329 (char *) "self", NULL
24332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
24333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24337 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
24339 wxPyEndAllowThreads(__tstate
);
24340 if (PyErr_Occurred()) SWIG_fail
;
24342 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24349 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24350 PyObject
*resultobj
;
24351 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24352 unsigned int arg2
;
24353 PyObject
* obj0
= 0 ;
24354 PyObject
* obj1
= 0 ;
24355 char *kwnames
[] = {
24356 (char *) "self",(char *) "indent", NULL
24359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
24360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24362 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24363 if (PyErr_Occurred()) SWIG_fail
;
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24366 (arg1
)->SetIndent(arg2
);
24368 wxPyEndAllowThreads(__tstate
);
24369 if (PyErr_Occurred()) SWIG_fail
;
24371 Py_INCREF(Py_None
); resultobj
= Py_None
;
24378 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24379 PyObject
*resultobj
;
24380 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24381 unsigned int result
;
24382 PyObject
* obj0
= 0 ;
24383 char *kwnames
[] = {
24384 (char *) "self", NULL
24387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
24388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24392 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
24394 wxPyEndAllowThreads(__tstate
);
24395 if (PyErr_Occurred()) SWIG_fail
;
24397 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24404 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24405 PyObject
*resultobj
;
24406 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24407 unsigned int arg2
;
24408 PyObject
* obj0
= 0 ;
24409 PyObject
* obj1
= 0 ;
24410 char *kwnames
[] = {
24411 (char *) "self",(char *) "spacing", NULL
24414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
24415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24417 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24418 if (PyErr_Occurred()) SWIG_fail
;
24420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24421 (arg1
)->SetSpacing(arg2
);
24423 wxPyEndAllowThreads(__tstate
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24426 Py_INCREF(Py_None
); resultobj
= Py_None
;
24433 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24434 PyObject
*resultobj
;
24435 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24436 wxImageList
*result
;
24437 PyObject
* obj0
= 0 ;
24438 char *kwnames
[] = {
24439 (char *) "self", NULL
24442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
24443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24447 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24449 wxPyEndAllowThreads(__tstate
);
24450 if (PyErr_Occurred()) SWIG_fail
;
24453 resultobj
= wxPyMake_wxObject(result
);
24461 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24462 PyObject
*resultobj
;
24463 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24464 wxImageList
*result
;
24465 PyObject
* obj0
= 0 ;
24466 char *kwnames
[] = {
24467 (char *) "self", NULL
24470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24475 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24477 wxPyEndAllowThreads(__tstate
);
24478 if (PyErr_Occurred()) SWIG_fail
;
24481 resultobj
= wxPyMake_wxObject(result
);
24489 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24490 PyObject
*resultobj
;
24491 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24492 wxImageList
*arg2
= (wxImageList
*) 0 ;
24493 PyObject
* obj0
= 0 ;
24494 PyObject
* obj1
= 0 ;
24495 char *kwnames
[] = {
24496 (char *) "self",(char *) "imageList", NULL
24499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24506 (arg1
)->SetImageList(arg2
);
24508 wxPyEndAllowThreads(__tstate
);
24509 if (PyErr_Occurred()) SWIG_fail
;
24511 Py_INCREF(Py_None
); resultobj
= Py_None
;
24518 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24519 PyObject
*resultobj
;
24520 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24521 wxImageList
*arg2
= (wxImageList
*) 0 ;
24522 PyObject
* obj0
= 0 ;
24523 PyObject
* obj1
= 0 ;
24524 char *kwnames
[] = {
24525 (char *) "self",(char *) "imageList", NULL
24528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24535 (arg1
)->SetStateImageList(arg2
);
24537 wxPyEndAllowThreads(__tstate
);
24538 if (PyErr_Occurred()) SWIG_fail
;
24540 Py_INCREF(Py_None
); resultobj
= Py_None
;
24547 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24548 PyObject
*resultobj
;
24549 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24550 wxImageList
*arg2
= (wxImageList
*) 0 ;
24551 PyObject
* obj0
= 0 ;
24552 PyObject
* obj1
= 0 ;
24553 char *kwnames
[] = {
24554 (char *) "self",(char *) "imageList", NULL
24557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24561 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24564 (arg1
)->AssignImageList(arg2
);
24566 wxPyEndAllowThreads(__tstate
);
24567 if (PyErr_Occurred()) SWIG_fail
;
24569 Py_INCREF(Py_None
); resultobj
= Py_None
;
24576 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24577 PyObject
*resultobj
;
24578 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24579 wxImageList
*arg2
= (wxImageList
*) 0 ;
24580 PyObject
* obj0
= 0 ;
24581 PyObject
* obj1
= 0 ;
24582 char *kwnames
[] = {
24583 (char *) "self",(char *) "imageList", NULL
24586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24590 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24593 (arg1
)->AssignStateImageList(arg2
);
24595 wxPyEndAllowThreads(__tstate
);
24596 if (PyErr_Occurred()) SWIG_fail
;
24598 Py_INCREF(Py_None
); resultobj
= Py_None
;
24605 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24606 PyObject
*resultobj
;
24607 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24608 wxTreeItemId
*arg2
= 0 ;
24610 PyObject
* obj0
= 0 ;
24611 PyObject
* obj1
= 0 ;
24612 char *kwnames
[] = {
24613 (char *) "self",(char *) "item", NULL
24616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24620 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24622 if (arg2
== NULL
) {
24623 PyErr_SetString(PyExc_TypeError
,"null reference");
24627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24628 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24635 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24637 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24646 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24647 PyObject
*resultobj
;
24648 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24649 wxTreeItemId
*arg2
= 0 ;
24650 int arg3
= (int) wxTreeItemIcon_Normal
;
24652 PyObject
* obj0
= 0 ;
24653 PyObject
* obj1
= 0 ;
24654 PyObject
* obj2
= 0 ;
24655 char *kwnames
[] = {
24656 (char *) "self",(char *) "item",(char *) "which", NULL
24659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24663 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24665 if (arg2
== NULL
) {
24666 PyErr_SetString(PyExc_TypeError
,"null reference");
24670 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
24671 if (PyErr_Occurred()) SWIG_fail
;
24674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24675 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24677 wxPyEndAllowThreads(__tstate
);
24678 if (PyErr_Occurred()) SWIG_fail
;
24680 resultobj
= SWIG_FromInt((int)result
);
24687 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24688 PyObject
*resultobj
;
24689 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24690 wxTreeItemId
*arg2
= 0 ;
24691 wxPyTreeItemData
*result
;
24692 PyObject
* obj0
= 0 ;
24693 PyObject
* obj1
= 0 ;
24694 char *kwnames
[] = {
24695 (char *) "self",(char *) "item", NULL
24698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24701 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24702 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24704 if (arg2
== NULL
) {
24705 PyErr_SetString(PyExc_TypeError
,"null reference");
24709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24710 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24712 wxPyEndAllowThreads(__tstate
);
24713 if (PyErr_Occurred()) SWIG_fail
;
24715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
24722 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24723 PyObject
*resultobj
;
24724 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24725 wxTreeItemId
*arg2
= 0 ;
24727 PyObject
* obj0
= 0 ;
24728 PyObject
* obj1
= 0 ;
24729 char *kwnames
[] = {
24730 (char *) "self",(char *) "item", NULL
24733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24737 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24739 if (arg2
== NULL
) {
24740 PyErr_SetString(PyExc_TypeError
,"null reference");
24744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24745 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24747 wxPyEndAllowThreads(__tstate
);
24748 if (PyErr_Occurred()) SWIG_fail
;
24750 resultobj
= result
;
24757 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24758 PyObject
*resultobj
;
24759 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24760 wxTreeItemId
*arg2
= 0 ;
24762 PyObject
* obj0
= 0 ;
24763 PyObject
* obj1
= 0 ;
24764 char *kwnames
[] = {
24765 (char *) "self",(char *) "item", NULL
24768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24772 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24774 if (arg2
== NULL
) {
24775 PyErr_SetString(PyExc_TypeError
,"null reference");
24779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24780 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24782 wxPyEndAllowThreads(__tstate
);
24783 if (PyErr_Occurred()) SWIG_fail
;
24786 wxColour
* resultptr
;
24787 resultptr
= new wxColour((wxColour
&) result
);
24788 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24796 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24797 PyObject
*resultobj
;
24798 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24799 wxTreeItemId
*arg2
= 0 ;
24801 PyObject
* obj0
= 0 ;
24802 PyObject
* obj1
= 0 ;
24803 char *kwnames
[] = {
24804 (char *) "self",(char *) "item", NULL
24807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24811 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24813 if (arg2
== NULL
) {
24814 PyErr_SetString(PyExc_TypeError
,"null reference");
24818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24821 wxPyEndAllowThreads(__tstate
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24825 wxColour
* resultptr
;
24826 resultptr
= new wxColour((wxColour
&) result
);
24827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24835 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24836 PyObject
*resultobj
;
24837 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24838 wxTreeItemId
*arg2
= 0 ;
24840 PyObject
* obj0
= 0 ;
24841 PyObject
* obj1
= 0 ;
24842 char *kwnames
[] = {
24843 (char *) "self",(char *) "item", NULL
24846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24852 if (arg2
== NULL
) {
24853 PyErr_SetString(PyExc_TypeError
,"null reference");
24857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24858 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24860 wxPyEndAllowThreads(__tstate
);
24861 if (PyErr_Occurred()) SWIG_fail
;
24864 wxFont
* resultptr
;
24865 resultptr
= new wxFont((wxFont
&) result
);
24866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
24874 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24875 PyObject
*resultobj
;
24876 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24877 wxTreeItemId
*arg2
= 0 ;
24878 wxString
*arg3
= 0 ;
24879 bool temp3
= False
;
24880 PyObject
* obj0
= 0 ;
24881 PyObject
* obj1
= 0 ;
24882 PyObject
* obj2
= 0 ;
24883 char *kwnames
[] = {
24884 (char *) "self",(char *) "item",(char *) "text", NULL
24887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24893 if (arg2
== NULL
) {
24894 PyErr_SetString(PyExc_TypeError
,"null reference");
24898 arg3
= wxString_in_helper(obj2
);
24899 if (arg3
== NULL
) SWIG_fail
;
24903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24904 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24906 wxPyEndAllowThreads(__tstate
);
24907 if (PyErr_Occurred()) SWIG_fail
;
24909 Py_INCREF(Py_None
); resultobj
= Py_None
;
24924 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24925 PyObject
*resultobj
;
24926 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24927 wxTreeItemId
*arg2
= 0 ;
24929 int arg4
= (int) wxTreeItemIcon_Normal
;
24930 PyObject
* obj0
= 0 ;
24931 PyObject
* obj1
= 0 ;
24932 PyObject
* obj2
= 0 ;
24933 PyObject
* obj3
= 0 ;
24934 char *kwnames
[] = {
24935 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24941 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24942 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24944 if (arg2
== NULL
) {
24945 PyErr_SetString(PyExc_TypeError
,"null reference");
24948 arg3
= (int) SWIG_AsInt(obj2
);
24949 if (PyErr_Occurred()) SWIG_fail
;
24951 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
24952 if (PyErr_Occurred()) SWIG_fail
;
24955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24956 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24958 wxPyEndAllowThreads(__tstate
);
24959 if (PyErr_Occurred()) SWIG_fail
;
24961 Py_INCREF(Py_None
); resultobj
= Py_None
;
24968 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24969 PyObject
*resultobj
;
24970 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24971 wxTreeItemId
*arg2
= 0 ;
24972 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24973 PyObject
* obj0
= 0 ;
24974 PyObject
* obj1
= 0 ;
24975 PyObject
* obj2
= 0 ;
24976 char *kwnames
[] = {
24977 (char *) "self",(char *) "item",(char *) "data", NULL
24980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24984 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24986 if (arg2
== NULL
) {
24987 PyErr_SetString(PyExc_TypeError
,"null reference");
24990 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
24991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24994 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24996 wxPyEndAllowThreads(__tstate
);
24997 if (PyErr_Occurred()) SWIG_fail
;
24999 Py_INCREF(Py_None
); resultobj
= Py_None
;
25006 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25007 PyObject
*resultobj
;
25008 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25009 wxTreeItemId
*arg2
= 0 ;
25010 PyObject
*arg3
= (PyObject
*) 0 ;
25011 PyObject
* obj0
= 0 ;
25012 PyObject
* obj1
= 0 ;
25013 PyObject
* obj2
= 0 ;
25014 char *kwnames
[] = {
25015 (char *) "self",(char *) "item",(char *) "obj", NULL
25018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25021 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25024 if (arg2
== NULL
) {
25025 PyErr_SetString(PyExc_TypeError
,"null reference");
25030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25031 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25033 wxPyEndAllowThreads(__tstate
);
25034 if (PyErr_Occurred()) SWIG_fail
;
25036 Py_INCREF(Py_None
); resultobj
= Py_None
;
25043 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25044 PyObject
*resultobj
;
25045 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25046 wxTreeItemId
*arg2
= 0 ;
25047 bool arg3
= (bool) True
;
25048 PyObject
* obj0
= 0 ;
25049 PyObject
* obj1
= 0 ;
25050 PyObject
* obj2
= 0 ;
25051 char *kwnames
[] = {
25052 (char *) "self",(char *) "item",(char *) "has", NULL
25055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25061 if (arg2
== NULL
) {
25062 PyErr_SetString(PyExc_TypeError
,"null reference");
25066 arg3
= (bool) SWIG_AsBool(obj2
);
25067 if (PyErr_Occurred()) SWIG_fail
;
25070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25071 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25073 wxPyEndAllowThreads(__tstate
);
25074 if (PyErr_Occurred()) SWIG_fail
;
25076 Py_INCREF(Py_None
); resultobj
= Py_None
;
25083 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25084 PyObject
*resultobj
;
25085 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25086 wxTreeItemId
*arg2
= 0 ;
25087 bool arg3
= (bool) True
;
25088 PyObject
* obj0
= 0 ;
25089 PyObject
* obj1
= 0 ;
25090 PyObject
* obj2
= 0 ;
25091 char *kwnames
[] = {
25092 (char *) "self",(char *) "item",(char *) "bold", NULL
25095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25099 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25101 if (arg2
== NULL
) {
25102 PyErr_SetString(PyExc_TypeError
,"null reference");
25106 arg3
= (bool) SWIG_AsBool(obj2
);
25107 if (PyErr_Occurred()) SWIG_fail
;
25110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25111 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
25113 wxPyEndAllowThreads(__tstate
);
25114 if (PyErr_Occurred()) SWIG_fail
;
25116 Py_INCREF(Py_None
); resultobj
= Py_None
;
25123 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25124 PyObject
*resultobj
;
25125 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25126 wxTreeItemId
*arg2
= 0 ;
25127 bool arg3
= (bool) True
;
25128 PyObject
* obj0
= 0 ;
25129 PyObject
* obj1
= 0 ;
25130 PyObject
* obj2
= 0 ;
25131 char *kwnames
[] = {
25132 (char *) "self",(char *) "item",(char *) "highlight", NULL
25135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25138 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25139 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25141 if (arg2
== NULL
) {
25142 PyErr_SetString(PyExc_TypeError
,"null reference");
25146 arg3
= (bool) SWIG_AsBool(obj2
);
25147 if (PyErr_Occurred()) SWIG_fail
;
25150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25151 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
25153 wxPyEndAllowThreads(__tstate
);
25154 if (PyErr_Occurred()) SWIG_fail
;
25156 Py_INCREF(Py_None
); resultobj
= Py_None
;
25163 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25164 PyObject
*resultobj
;
25165 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25166 wxTreeItemId
*arg2
= 0 ;
25167 wxColour
*arg3
= 0 ;
25169 PyObject
* obj0
= 0 ;
25170 PyObject
* obj1
= 0 ;
25171 PyObject
* obj2
= 0 ;
25172 char *kwnames
[] = {
25173 (char *) "self",(char *) "item",(char *) "col", NULL
25176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25180 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25182 if (arg2
== NULL
) {
25183 PyErr_SetString(PyExc_TypeError
,"null reference");
25188 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25192 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25194 wxPyEndAllowThreads(__tstate
);
25195 if (PyErr_Occurred()) SWIG_fail
;
25197 Py_INCREF(Py_None
); resultobj
= Py_None
;
25204 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25205 PyObject
*resultobj
;
25206 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25207 wxTreeItemId
*arg2
= 0 ;
25208 wxColour
*arg3
= 0 ;
25210 PyObject
* obj0
= 0 ;
25211 PyObject
* obj1
= 0 ;
25212 PyObject
* obj2
= 0 ;
25213 char *kwnames
[] = {
25214 (char *) "self",(char *) "item",(char *) "col", NULL
25217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25221 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25223 if (arg2
== NULL
) {
25224 PyErr_SetString(PyExc_TypeError
,"null reference");
25229 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25233 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25235 wxPyEndAllowThreads(__tstate
);
25236 if (PyErr_Occurred()) SWIG_fail
;
25238 Py_INCREF(Py_None
); resultobj
= Py_None
;
25245 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25246 PyObject
*resultobj
;
25247 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25248 wxTreeItemId
*arg2
= 0 ;
25250 PyObject
* obj0
= 0 ;
25251 PyObject
* obj1
= 0 ;
25252 PyObject
* obj2
= 0 ;
25253 char *kwnames
[] = {
25254 (char *) "self",(char *) "item",(char *) "font", NULL
25257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25260 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25261 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25263 if (arg2
== NULL
) {
25264 PyErr_SetString(PyExc_TypeError
,"null reference");
25267 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
25268 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25270 if (arg3
== NULL
) {
25271 PyErr_SetString(PyExc_TypeError
,"null reference");
25275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25276 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
25278 wxPyEndAllowThreads(__tstate
);
25279 if (PyErr_Occurred()) SWIG_fail
;
25281 Py_INCREF(Py_None
); resultobj
= Py_None
;
25288 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25289 PyObject
*resultobj
;
25290 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25291 wxTreeItemId
*arg2
= 0 ;
25293 PyObject
* obj0
= 0 ;
25294 PyObject
* obj1
= 0 ;
25295 char *kwnames
[] = {
25296 (char *) "self",(char *) "item", NULL
25299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25302 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25303 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25305 if (arg2
== NULL
) {
25306 PyErr_SetString(PyExc_TypeError
,"null reference");
25310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25311 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
25313 wxPyEndAllowThreads(__tstate
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25325 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25326 PyObject
*resultobj
;
25327 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25328 wxTreeItemId
*arg2
= 0 ;
25330 PyObject
* obj0
= 0 ;
25331 PyObject
* obj1
= 0 ;
25332 char *kwnames
[] = {
25333 (char *) "self",(char *) "item", NULL
25336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25340 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25342 if (arg2
== NULL
) {
25343 PyErr_SetString(PyExc_TypeError
,"null reference");
25347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25348 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
25350 wxPyEndAllowThreads(__tstate
);
25351 if (PyErr_Occurred()) SWIG_fail
;
25354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25362 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25363 PyObject
*resultobj
;
25364 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25365 wxTreeItemId
*arg2
= 0 ;
25367 PyObject
* obj0
= 0 ;
25368 PyObject
* obj1
= 0 ;
25369 char *kwnames
[] = {
25370 (char *) "self",(char *) "item", NULL
25373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
25374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25377 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25379 if (arg2
== NULL
) {
25380 PyErr_SetString(PyExc_TypeError
,"null reference");
25384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25385 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
25387 wxPyEndAllowThreads(__tstate
);
25388 if (PyErr_Occurred()) SWIG_fail
;
25391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25399 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25400 PyObject
*resultobj
;
25401 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25402 wxTreeItemId
*arg2
= 0 ;
25404 PyObject
* obj0
= 0 ;
25405 PyObject
* obj1
= 0 ;
25406 char *kwnames
[] = {
25407 (char *) "self",(char *) "item", NULL
25410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
25411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25414 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25416 if (arg2
== NULL
) {
25417 PyErr_SetString(PyExc_TypeError
,"null reference");
25421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25422 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
25424 wxPyEndAllowThreads(__tstate
);
25425 if (PyErr_Occurred()) SWIG_fail
;
25428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25436 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25437 PyObject
*resultobj
;
25438 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25439 wxTreeItemId
*arg2
= 0 ;
25441 PyObject
* obj0
= 0 ;
25442 PyObject
* obj1
= 0 ;
25443 char *kwnames
[] = {
25444 (char *) "self",(char *) "item", NULL
25447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
25448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25450 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25451 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25453 if (arg2
== NULL
) {
25454 PyErr_SetString(PyExc_TypeError
,"null reference");
25458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25459 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
25461 wxPyEndAllowThreads(__tstate
);
25462 if (PyErr_Occurred()) SWIG_fail
;
25465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25473 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25474 PyObject
*resultobj
;
25475 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25476 wxTreeItemId
*arg2
= 0 ;
25477 bool arg3
= (bool) True
;
25479 PyObject
* obj0
= 0 ;
25480 PyObject
* obj1
= 0 ;
25481 PyObject
* obj2
= 0 ;
25482 char *kwnames
[] = {
25483 (char *) "self",(char *) "item",(char *) "recursively", NULL
25486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25490 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25492 if (arg2
== NULL
) {
25493 PyErr_SetString(PyExc_TypeError
,"null reference");
25497 arg3
= (bool) SWIG_AsBool(obj2
);
25498 if (PyErr_Occurred()) SWIG_fail
;
25501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25502 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
25504 wxPyEndAllowThreads(__tstate
);
25505 if (PyErr_Occurred()) SWIG_fail
;
25507 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25514 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25515 PyObject
*resultobj
;
25516 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25517 wxTreeItemId result
;
25518 PyObject
* obj0
= 0 ;
25519 char *kwnames
[] = {
25520 (char *) "self", NULL
25523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
25524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25528 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
25530 wxPyEndAllowThreads(__tstate
);
25531 if (PyErr_Occurred()) SWIG_fail
;
25534 wxTreeItemId
* resultptr
;
25535 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25544 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25545 PyObject
*resultobj
;
25546 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25547 wxTreeItemId result
;
25548 PyObject
* obj0
= 0 ;
25549 char *kwnames
[] = {
25550 (char *) "self", NULL
25553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
25554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25558 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
25560 wxPyEndAllowThreads(__tstate
);
25561 if (PyErr_Occurred()) SWIG_fail
;
25564 wxTreeItemId
* resultptr
;
25565 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25566 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25574 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25575 PyObject
*resultobj
;
25576 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25578 PyObject
* obj0
= 0 ;
25579 char *kwnames
[] = {
25580 (char *) "self", NULL
25583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
25584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25588 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25590 wxPyEndAllowThreads(__tstate
);
25591 if (PyErr_Occurred()) SWIG_fail
;
25593 resultobj
= result
;
25600 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25601 PyObject
*resultobj
;
25602 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25603 wxTreeItemId
*arg2
= 0 ;
25604 wxTreeItemId result
;
25605 PyObject
* obj0
= 0 ;
25606 PyObject
* obj1
= 0 ;
25607 char *kwnames
[] = {
25608 (char *) "self",(char *) "item", NULL
25611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25615 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25617 if (arg2
== NULL
) {
25618 PyErr_SetString(PyExc_TypeError
,"null reference");
25622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25623 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25625 wxPyEndAllowThreads(__tstate
);
25626 if (PyErr_Occurred()) SWIG_fail
;
25629 wxTreeItemId
* resultptr
;
25630 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25639 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25640 PyObject
*resultobj
;
25641 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25642 wxTreeItemId
*arg2
= 0 ;
25644 PyObject
* obj0
= 0 ;
25645 PyObject
* obj1
= 0 ;
25646 char *kwnames
[] = {
25647 (char *) "self",(char *) "item", NULL
25650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25653 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25654 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25656 if (arg2
== NULL
) {
25657 PyErr_SetString(PyExc_TypeError
,"null reference");
25661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25662 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25664 wxPyEndAllowThreads(__tstate
);
25665 if (PyErr_Occurred()) SWIG_fail
;
25667 resultobj
= result
;
25674 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25675 PyObject
*resultobj
;
25676 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25677 wxTreeItemId
*arg2
= 0 ;
25678 void *arg3
= (void *) 0 ;
25680 PyObject
* obj0
= 0 ;
25681 PyObject
* obj1
= 0 ;
25682 PyObject
* obj2
= 0 ;
25683 char *kwnames
[] = {
25684 (char *) "self",(char *) "item",(char *) "cookie", NULL
25687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25691 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25693 if (arg2
== NULL
) {
25694 PyErr_SetString(PyExc_TypeError
,"null reference");
25697 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25700 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25702 wxPyEndAllowThreads(__tstate
);
25703 if (PyErr_Occurred()) SWIG_fail
;
25705 resultobj
= result
;
25712 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25713 PyObject
*resultobj
;
25714 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25715 wxTreeItemId
*arg2
= 0 ;
25716 wxTreeItemId result
;
25717 PyObject
* obj0
= 0 ;
25718 PyObject
* obj1
= 0 ;
25719 char *kwnames
[] = {
25720 (char *) "self",(char *) "item", NULL
25723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25729 if (arg2
== NULL
) {
25730 PyErr_SetString(PyExc_TypeError
,"null reference");
25734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25735 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25737 wxPyEndAllowThreads(__tstate
);
25738 if (PyErr_Occurred()) SWIG_fail
;
25741 wxTreeItemId
* resultptr
;
25742 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25751 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25752 PyObject
*resultobj
;
25753 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25754 wxTreeItemId
*arg2
= 0 ;
25755 wxTreeItemId result
;
25756 PyObject
* obj0
= 0 ;
25757 PyObject
* obj1
= 0 ;
25758 char *kwnames
[] = {
25759 (char *) "self",(char *) "item", NULL
25762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25768 if (arg2
== NULL
) {
25769 PyErr_SetString(PyExc_TypeError
,"null reference");
25773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25774 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25776 wxPyEndAllowThreads(__tstate
);
25777 if (PyErr_Occurred()) SWIG_fail
;
25780 wxTreeItemId
* resultptr
;
25781 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25782 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25790 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25791 PyObject
*resultobj
;
25792 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25793 wxTreeItemId
*arg2
= 0 ;
25794 wxTreeItemId result
;
25795 PyObject
* obj0
= 0 ;
25796 PyObject
* obj1
= 0 ;
25797 char *kwnames
[] = {
25798 (char *) "self",(char *) "item", NULL
25801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25805 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25807 if (arg2
== NULL
) {
25808 PyErr_SetString(PyExc_TypeError
,"null reference");
25812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25813 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25815 wxPyEndAllowThreads(__tstate
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25819 wxTreeItemId
* resultptr
;
25820 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25829 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25830 PyObject
*resultobj
;
25831 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25832 wxTreeItemId result
;
25833 PyObject
* obj0
= 0 ;
25834 char *kwnames
[] = {
25835 (char *) "self", NULL
25838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25843 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25845 wxPyEndAllowThreads(__tstate
);
25846 if (PyErr_Occurred()) SWIG_fail
;
25849 wxTreeItemId
* resultptr
;
25850 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25859 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25860 PyObject
*resultobj
;
25861 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25862 wxTreeItemId
*arg2
= 0 ;
25863 wxTreeItemId result
;
25864 PyObject
* obj0
= 0 ;
25865 PyObject
* obj1
= 0 ;
25866 char *kwnames
[] = {
25867 (char *) "self",(char *) "item", NULL
25870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25874 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25876 if (arg2
== NULL
) {
25877 PyErr_SetString(PyExc_TypeError
,"null reference");
25881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25882 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25884 wxPyEndAllowThreads(__tstate
);
25885 if (PyErr_Occurred()) SWIG_fail
;
25888 wxTreeItemId
* resultptr
;
25889 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25898 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25899 PyObject
*resultobj
;
25900 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25901 wxTreeItemId
*arg2
= 0 ;
25902 wxTreeItemId result
;
25903 PyObject
* obj0
= 0 ;
25904 PyObject
* obj1
= 0 ;
25905 char *kwnames
[] = {
25906 (char *) "self",(char *) "item", NULL
25909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25912 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25913 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25915 if (arg2
== NULL
) {
25916 PyErr_SetString(PyExc_TypeError
,"null reference");
25920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25921 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25923 wxPyEndAllowThreads(__tstate
);
25924 if (PyErr_Occurred()) SWIG_fail
;
25927 wxTreeItemId
* resultptr
;
25928 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25929 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25937 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25938 PyObject
*resultobj
;
25939 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25940 wxString
*arg2
= 0 ;
25941 int arg3
= (int) -1 ;
25942 int arg4
= (int) -1 ;
25943 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25944 wxTreeItemId result
;
25945 bool temp2
= False
;
25946 PyObject
* obj0
= 0 ;
25947 PyObject
* obj1
= 0 ;
25948 PyObject
* obj2
= 0 ;
25949 PyObject
* obj3
= 0 ;
25950 PyObject
* obj4
= 0 ;
25951 char *kwnames
[] = {
25952 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25959 arg2
= wxString_in_helper(obj1
);
25960 if (arg2
== NULL
) SWIG_fail
;
25964 arg3
= (int) SWIG_AsInt(obj2
);
25965 if (PyErr_Occurred()) SWIG_fail
;
25968 arg4
= (int) SWIG_AsInt(obj3
);
25969 if (PyErr_Occurred()) SWIG_fail
;
25972 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
25973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25977 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25979 wxPyEndAllowThreads(__tstate
);
25980 if (PyErr_Occurred()) SWIG_fail
;
25983 wxTreeItemId
* resultptr
;
25984 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25985 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26001 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26002 PyObject
*resultobj
;
26003 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26004 wxTreeItemId
*arg2
= 0 ;
26005 wxString
*arg3
= 0 ;
26006 int arg4
= (int) -1 ;
26007 int arg5
= (int) -1 ;
26008 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26009 wxTreeItemId result
;
26010 bool temp3
= False
;
26011 PyObject
* obj0
= 0 ;
26012 PyObject
* obj1
= 0 ;
26013 PyObject
* obj2
= 0 ;
26014 PyObject
* obj3
= 0 ;
26015 PyObject
* obj4
= 0 ;
26016 PyObject
* obj5
= 0 ;
26017 char *kwnames
[] = {
26018 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26025 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26027 if (arg2
== NULL
) {
26028 PyErr_SetString(PyExc_TypeError
,"null reference");
26032 arg3
= wxString_in_helper(obj2
);
26033 if (arg3
== NULL
) SWIG_fail
;
26037 arg4
= (int) SWIG_AsInt(obj3
);
26038 if (PyErr_Occurred()) SWIG_fail
;
26041 arg5
= (int) SWIG_AsInt(obj4
);
26042 if (PyErr_Occurred()) SWIG_fail
;
26045 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26050 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26052 wxPyEndAllowThreads(__tstate
);
26053 if (PyErr_Occurred()) SWIG_fail
;
26056 wxTreeItemId
* resultptr
;
26057 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26058 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26074 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26075 PyObject
*resultobj
;
26076 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26077 wxTreeItemId
*arg2
= 0 ;
26078 wxTreeItemId
*arg3
= 0 ;
26079 wxString
*arg4
= 0 ;
26080 int arg5
= (int) -1 ;
26081 int arg6
= (int) -1 ;
26082 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26083 wxTreeItemId result
;
26084 bool temp4
= False
;
26085 PyObject
* obj0
= 0 ;
26086 PyObject
* obj1
= 0 ;
26087 PyObject
* obj2
= 0 ;
26088 PyObject
* obj3
= 0 ;
26089 PyObject
* obj4
= 0 ;
26090 PyObject
* obj5
= 0 ;
26091 PyObject
* obj6
= 0 ;
26092 char *kwnames
[] = {
26093 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26099 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26100 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26102 if (arg2
== NULL
) {
26103 PyErr_SetString(PyExc_TypeError
,"null reference");
26106 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26107 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26109 if (arg3
== NULL
) {
26110 PyErr_SetString(PyExc_TypeError
,"null reference");
26114 arg4
= wxString_in_helper(obj3
);
26115 if (arg4
== NULL
) SWIG_fail
;
26119 arg5
= (int) SWIG_AsInt(obj4
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26123 arg6
= (int) SWIG_AsInt(obj5
);
26124 if (PyErr_Occurred()) SWIG_fail
;
26127 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26132 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26134 wxPyEndAllowThreads(__tstate
);
26135 if (PyErr_Occurred()) SWIG_fail
;
26138 wxTreeItemId
* resultptr
;
26139 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26140 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26156 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26157 PyObject
*resultobj
;
26158 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26159 wxTreeItemId
*arg2
= 0 ;
26161 wxString
*arg4
= 0 ;
26162 int arg5
= (int) -1 ;
26163 int arg6
= (int) -1 ;
26164 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26165 wxTreeItemId result
;
26166 bool temp4
= False
;
26167 PyObject
* obj0
= 0 ;
26168 PyObject
* obj1
= 0 ;
26169 PyObject
* obj2
= 0 ;
26170 PyObject
* obj3
= 0 ;
26171 PyObject
* obj4
= 0 ;
26172 PyObject
* obj5
= 0 ;
26173 PyObject
* obj6
= 0 ;
26174 char *kwnames
[] = {
26175 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26182 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26184 if (arg2
== NULL
) {
26185 PyErr_SetString(PyExc_TypeError
,"null reference");
26188 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
26189 if (PyErr_Occurred()) SWIG_fail
;
26191 arg4
= wxString_in_helper(obj3
);
26192 if (arg4
== NULL
) SWIG_fail
;
26196 arg5
= (int) SWIG_AsInt(obj4
);
26197 if (PyErr_Occurred()) SWIG_fail
;
26200 arg6
= (int) SWIG_AsInt(obj5
);
26201 if (PyErr_Occurred()) SWIG_fail
;
26204 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26209 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26211 wxPyEndAllowThreads(__tstate
);
26212 if (PyErr_Occurred()) SWIG_fail
;
26215 wxTreeItemId
* resultptr
;
26216 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26217 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26233 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26234 PyObject
*resultobj
;
26235 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26236 wxTreeItemId
*arg2
= 0 ;
26237 wxString
*arg3
= 0 ;
26238 int arg4
= (int) -1 ;
26239 int arg5
= (int) -1 ;
26240 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26241 wxTreeItemId result
;
26242 bool temp3
= False
;
26243 PyObject
* obj0
= 0 ;
26244 PyObject
* obj1
= 0 ;
26245 PyObject
* obj2
= 0 ;
26246 PyObject
* obj3
= 0 ;
26247 PyObject
* obj4
= 0 ;
26248 PyObject
* obj5
= 0 ;
26249 char *kwnames
[] = {
26250 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26256 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26257 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26259 if (arg2
== NULL
) {
26260 PyErr_SetString(PyExc_TypeError
,"null reference");
26264 arg3
= wxString_in_helper(obj2
);
26265 if (arg3
== NULL
) SWIG_fail
;
26269 arg4
= (int) SWIG_AsInt(obj3
);
26270 if (PyErr_Occurred()) SWIG_fail
;
26273 arg5
= (int) SWIG_AsInt(obj4
);
26274 if (PyErr_Occurred()) SWIG_fail
;
26277 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26282 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26284 wxPyEndAllowThreads(__tstate
);
26285 if (PyErr_Occurred()) SWIG_fail
;
26288 wxTreeItemId
* resultptr
;
26289 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26306 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26307 PyObject
*resultobj
;
26308 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26309 wxTreeItemId
*arg2
= 0 ;
26310 PyObject
* obj0
= 0 ;
26311 PyObject
* obj1
= 0 ;
26312 char *kwnames
[] = {
26313 (char *) "self",(char *) "item", NULL
26316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
26317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26319 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26320 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26322 if (arg2
== NULL
) {
26323 PyErr_SetString(PyExc_TypeError
,"null reference");
26327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26328 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
26330 wxPyEndAllowThreads(__tstate
);
26331 if (PyErr_Occurred()) SWIG_fail
;
26333 Py_INCREF(Py_None
); resultobj
= Py_None
;
26340 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26341 PyObject
*resultobj
;
26342 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26343 wxTreeItemId
*arg2
= 0 ;
26344 PyObject
* obj0
= 0 ;
26345 PyObject
* obj1
= 0 ;
26346 char *kwnames
[] = {
26347 (char *) "self",(char *) "item", NULL
26350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26354 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26356 if (arg2
== NULL
) {
26357 PyErr_SetString(PyExc_TypeError
,"null reference");
26361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26362 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
26364 wxPyEndAllowThreads(__tstate
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26367 Py_INCREF(Py_None
); resultobj
= Py_None
;
26374 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26375 PyObject
*resultobj
;
26376 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26377 PyObject
* obj0
= 0 ;
26378 char *kwnames
[] = {
26379 (char *) "self", NULL
26382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
26383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26387 (arg1
)->DeleteAllItems();
26389 wxPyEndAllowThreads(__tstate
);
26390 if (PyErr_Occurred()) SWIG_fail
;
26392 Py_INCREF(Py_None
); resultobj
= Py_None
;
26399 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26400 PyObject
*resultobj
;
26401 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26402 wxTreeItemId
*arg2
= 0 ;
26403 PyObject
* obj0
= 0 ;
26404 PyObject
* obj1
= 0 ;
26405 char *kwnames
[] = {
26406 (char *) "self",(char *) "item", NULL
26409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
26410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26413 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26415 if (arg2
== NULL
) {
26416 PyErr_SetString(PyExc_TypeError
,"null reference");
26420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26421 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
26423 wxPyEndAllowThreads(__tstate
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26426 Py_INCREF(Py_None
); resultobj
= Py_None
;
26433 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26434 PyObject
*resultobj
;
26435 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26436 wxTreeItemId
*arg2
= 0 ;
26437 PyObject
* obj0
= 0 ;
26438 PyObject
* obj1
= 0 ;
26439 char *kwnames
[] = {
26440 (char *) "self",(char *) "item", NULL
26443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
26444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26447 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26449 if (arg2
== NULL
) {
26450 PyErr_SetString(PyExc_TypeError
,"null reference");
26454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26455 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
26457 wxPyEndAllowThreads(__tstate
);
26458 if (PyErr_Occurred()) SWIG_fail
;
26460 Py_INCREF(Py_None
); resultobj
= Py_None
;
26467 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26468 PyObject
*resultobj
;
26469 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26470 wxTreeItemId
*arg2
= 0 ;
26471 PyObject
* obj0
= 0 ;
26472 PyObject
* obj1
= 0 ;
26473 char *kwnames
[] = {
26474 (char *) "self",(char *) "item", NULL
26477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
26478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26481 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26483 if (arg2
== NULL
) {
26484 PyErr_SetString(PyExc_TypeError
,"null reference");
26488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26489 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
26491 wxPyEndAllowThreads(__tstate
);
26492 if (PyErr_Occurred()) SWIG_fail
;
26494 Py_INCREF(Py_None
); resultobj
= Py_None
;
26501 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26502 PyObject
*resultobj
;
26503 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26504 wxTreeItemId
*arg2
= 0 ;
26505 PyObject
* obj0
= 0 ;
26506 PyObject
* obj1
= 0 ;
26507 char *kwnames
[] = {
26508 (char *) "self",(char *) "item", NULL
26511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
26512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26515 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26517 if (arg2
== NULL
) {
26518 PyErr_SetString(PyExc_TypeError
,"null reference");
26522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26523 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
26525 wxPyEndAllowThreads(__tstate
);
26526 if (PyErr_Occurred()) SWIG_fail
;
26528 Py_INCREF(Py_None
); resultobj
= Py_None
;
26535 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26536 PyObject
*resultobj
;
26537 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26538 PyObject
* obj0
= 0 ;
26539 char *kwnames
[] = {
26540 (char *) "self", NULL
26543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
26544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26548 (arg1
)->Unselect();
26550 wxPyEndAllowThreads(__tstate
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26553 Py_INCREF(Py_None
); resultobj
= Py_None
;
26560 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26561 PyObject
*resultobj
;
26562 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26563 wxTreeItemId
*arg2
= 0 ;
26564 PyObject
* obj0
= 0 ;
26565 PyObject
* obj1
= 0 ;
26566 char *kwnames
[] = {
26567 (char *) "self",(char *) "item", NULL
26570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26576 if (arg2
== NULL
) {
26577 PyErr_SetString(PyExc_TypeError
,"null reference");
26581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26582 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
26584 wxPyEndAllowThreads(__tstate
);
26585 if (PyErr_Occurred()) SWIG_fail
;
26587 Py_INCREF(Py_None
); resultobj
= Py_None
;
26594 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26595 PyObject
*resultobj
;
26596 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26597 PyObject
* obj0
= 0 ;
26598 char *kwnames
[] = {
26599 (char *) "self", NULL
26602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
26603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26607 (arg1
)->UnselectAll();
26609 wxPyEndAllowThreads(__tstate
);
26610 if (PyErr_Occurred()) SWIG_fail
;
26612 Py_INCREF(Py_None
); resultobj
= Py_None
;
26619 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26620 PyObject
*resultobj
;
26621 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26622 wxTreeItemId
*arg2
= 0 ;
26623 bool arg3
= (bool) True
;
26624 PyObject
* obj0
= 0 ;
26625 PyObject
* obj1
= 0 ;
26626 PyObject
* obj2
= 0 ;
26627 char *kwnames
[] = {
26628 (char *) "self",(char *) "item",(char *) "select", NULL
26631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26635 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26637 if (arg2
== NULL
) {
26638 PyErr_SetString(PyExc_TypeError
,"null reference");
26642 arg3
= (bool) SWIG_AsBool(obj2
);
26643 if (PyErr_Occurred()) SWIG_fail
;
26646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26647 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
26649 wxPyEndAllowThreads(__tstate
);
26650 if (PyErr_Occurred()) SWIG_fail
;
26652 Py_INCREF(Py_None
); resultobj
= Py_None
;
26659 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26660 PyObject
*resultobj
;
26661 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26662 wxTreeItemId
*arg2
= 0 ;
26663 PyObject
* obj0
= 0 ;
26664 PyObject
* obj1
= 0 ;
26665 char *kwnames
[] = {
26666 (char *) "self",(char *) "item", NULL
26669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26673 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26675 if (arg2
== NULL
) {
26676 PyErr_SetString(PyExc_TypeError
,"null reference");
26680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26681 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26683 wxPyEndAllowThreads(__tstate
);
26684 if (PyErr_Occurred()) SWIG_fail
;
26686 Py_INCREF(Py_None
); resultobj
= Py_None
;
26693 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26694 PyObject
*resultobj
;
26695 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26696 wxTreeItemId
*arg2
= 0 ;
26697 PyObject
* obj0
= 0 ;
26698 PyObject
* obj1
= 0 ;
26699 char *kwnames
[] = {
26700 (char *) "self",(char *) "item", NULL
26703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26707 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26709 if (arg2
== NULL
) {
26710 PyErr_SetString(PyExc_TypeError
,"null reference");
26714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26715 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26717 wxPyEndAllowThreads(__tstate
);
26718 if (PyErr_Occurred()) SWIG_fail
;
26720 Py_INCREF(Py_None
); resultobj
= Py_None
;
26727 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26728 PyObject
*resultobj
;
26729 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26730 wxTreeItemId
*arg2
= 0 ;
26731 PyObject
* obj0
= 0 ;
26732 PyObject
* obj1
= 0 ;
26733 char *kwnames
[] = {
26734 (char *) "self",(char *) "item", NULL
26737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26740 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26741 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26743 if (arg2
== NULL
) {
26744 PyErr_SetString(PyExc_TypeError
,"null reference");
26748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26749 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26751 wxPyEndAllowThreads(__tstate
);
26752 if (PyErr_Occurred()) SWIG_fail
;
26754 Py_INCREF(Py_None
); resultobj
= Py_None
;
26761 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26762 PyObject
*resultobj
;
26763 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26764 wxTreeItemId
*arg2
= 0 ;
26765 PyObject
* obj0
= 0 ;
26766 PyObject
* obj1
= 0 ;
26767 char *kwnames
[] = {
26768 (char *) "self",(char *) "item", NULL
26771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26775 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26777 if (arg2
== NULL
) {
26778 PyErr_SetString(PyExc_TypeError
,"null reference");
26782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26783 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26785 wxPyEndAllowThreads(__tstate
);
26786 if (PyErr_Occurred()) SWIG_fail
;
26788 Py_INCREF(Py_None
); resultobj
= Py_None
;
26795 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26796 PyObject
*resultobj
;
26797 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26798 wxTextCtrl
*result
;
26799 PyObject
* obj0
= 0 ;
26800 char *kwnames
[] = {
26801 (char *) "self", NULL
26804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26809 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26811 wxPyEndAllowThreads(__tstate
);
26812 if (PyErr_Occurred()) SWIG_fail
;
26815 resultobj
= wxPyMake_wxObject(result
);
26823 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26824 PyObject
*resultobj
;
26825 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26826 wxTreeItemId
*arg2
= 0 ;
26827 bool arg3
= (bool) False
;
26828 PyObject
* obj0
= 0 ;
26829 PyObject
* obj1
= 0 ;
26830 PyObject
* obj2
= 0 ;
26831 char *kwnames
[] = {
26832 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
26835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26838 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26839 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26841 if (arg2
== NULL
) {
26842 PyErr_SetString(PyExc_TypeError
,"null reference");
26846 arg3
= (bool) SWIG_AsBool(obj2
);
26847 if (PyErr_Occurred()) SWIG_fail
;
26850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26851 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
26853 wxPyEndAllowThreads(__tstate
);
26854 if (PyErr_Occurred()) SWIG_fail
;
26856 Py_INCREF(Py_None
); resultobj
= Py_None
;
26863 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26864 PyObject
*resultobj
;
26865 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26866 wxTreeItemId
*arg2
= 0 ;
26867 PyObject
* obj0
= 0 ;
26868 PyObject
* obj1
= 0 ;
26869 char *kwnames
[] = {
26870 (char *) "self",(char *) "item", NULL
26873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26877 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26879 if (arg2
== NULL
) {
26880 PyErr_SetString(PyExc_TypeError
,"null reference");
26884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26885 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26887 wxPyEndAllowThreads(__tstate
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26890 Py_INCREF(Py_None
); resultobj
= Py_None
;
26897 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26898 PyObject
*resultobj
;
26899 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26900 wxPoint
*arg2
= 0 ;
26902 wxTreeItemId result
;
26905 PyObject
* obj0
= 0 ;
26906 PyObject
* obj1
= 0 ;
26907 char *kwnames
[] = {
26908 (char *) "self",(char *) "point", NULL
26912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26917 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26921 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26923 wxPyEndAllowThreads(__tstate
);
26924 if (PyErr_Occurred()) SWIG_fail
;
26927 wxTreeItemId
* resultptr
;
26928 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26929 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26932 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26933 resultobj
= t_output_helper(resultobj
,o
);
26941 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26942 PyObject
*resultobj
;
26943 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26944 wxTreeItemId
*arg2
= 0 ;
26945 bool arg3
= (bool) False
;
26947 PyObject
* obj0
= 0 ;
26948 PyObject
* obj1
= 0 ;
26949 PyObject
* obj2
= 0 ;
26950 char *kwnames
[] = {
26951 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26957 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26958 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26960 if (arg2
== NULL
) {
26961 PyErr_SetString(PyExc_TypeError
,"null reference");
26965 arg3
= (bool) SWIG_AsBool(obj2
);
26966 if (PyErr_Occurred()) SWIG_fail
;
26969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26970 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26972 wxPyEndAllowThreads(__tstate
);
26973 if (PyErr_Occurred()) SWIG_fail
;
26975 resultobj
= result
;
26982 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26985 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26987 return Py_BuildValue((char *)"");
26989 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
26990 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26995 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27000 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27002 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27009 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27010 PyObject
*resultobj
;
27011 wxWindow
*arg1
= (wxWindow
*) 0 ;
27012 int arg2
= (int) (int)-1 ;
27013 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27014 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27015 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27016 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27017 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27018 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27019 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27020 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27021 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27022 int arg8
= (int) 0 ;
27023 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27024 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27025 wxGenericDirCtrl
*result
;
27026 bool temp3
= False
;
27029 bool temp7
= False
;
27030 bool temp9
= False
;
27031 PyObject
* obj0
= 0 ;
27032 PyObject
* obj1
= 0 ;
27033 PyObject
* obj2
= 0 ;
27034 PyObject
* obj3
= 0 ;
27035 PyObject
* obj4
= 0 ;
27036 PyObject
* obj5
= 0 ;
27037 PyObject
* obj6
= 0 ;
27038 PyObject
* obj7
= 0 ;
27039 PyObject
* obj8
= 0 ;
27040 char *kwnames
[] = {
27041 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
27045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27048 arg2
= (int const) SWIG_AsInt(obj1
);
27049 if (PyErr_Occurred()) SWIG_fail
;
27053 arg3
= wxString_in_helper(obj2
);
27054 if (arg3
== NULL
) SWIG_fail
;
27061 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27067 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27071 arg6
= (long) SWIG_AsLong(obj5
);
27072 if (PyErr_Occurred()) SWIG_fail
;
27076 arg7
= wxString_in_helper(obj6
);
27077 if (arg7
== NULL
) SWIG_fail
;
27082 arg8
= (int) SWIG_AsInt(obj7
);
27083 if (PyErr_Occurred()) SWIG_fail
;
27087 arg9
= wxString_in_helper(obj8
);
27088 if (arg9
== NULL
) SWIG_fail
;
27093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27094 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27096 wxPyEndAllowThreads(__tstate
);
27097 if (PyErr_Occurred()) SWIG_fail
;
27099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27130 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27131 PyObject
*resultobj
;
27132 wxGenericDirCtrl
*result
;
27133 char *kwnames
[] = {
27137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
27139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27140 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
27142 wxPyEndAllowThreads(__tstate
);
27143 if (PyErr_Occurred()) SWIG_fail
;
27145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27152 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27153 PyObject
*resultobj
;
27154 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27155 wxWindow
*arg2
= (wxWindow
*) 0 ;
27156 int arg3
= (int) (int)-1 ;
27157 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
27158 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27159 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
27160 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
27161 wxSize
const &arg6_defvalue
= wxDefaultSize
;
27162 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
27163 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27164 wxString
const &arg8_defvalue
= wxPyEmptyString
;
27165 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27166 int arg9
= (int) 0 ;
27167 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
27168 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
27170 bool temp4
= False
;
27173 bool temp8
= False
;
27174 bool temp10
= False
;
27175 PyObject
* obj0
= 0 ;
27176 PyObject
* obj1
= 0 ;
27177 PyObject
* obj2
= 0 ;
27178 PyObject
* obj3
= 0 ;
27179 PyObject
* obj4
= 0 ;
27180 PyObject
* obj5
= 0 ;
27181 PyObject
* obj6
= 0 ;
27182 PyObject
* obj7
= 0 ;
27183 PyObject
* obj8
= 0 ;
27184 PyObject
* obj9
= 0 ;
27185 char *kwnames
[] = {
27186 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
27190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27195 arg3
= (int const) SWIG_AsInt(obj2
);
27196 if (PyErr_Occurred()) SWIG_fail
;
27200 arg4
= wxString_in_helper(obj3
);
27201 if (arg4
== NULL
) SWIG_fail
;
27208 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
27214 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
27218 arg7
= (long) SWIG_AsLong(obj6
);
27219 if (PyErr_Occurred()) SWIG_fail
;
27223 arg8
= wxString_in_helper(obj7
);
27224 if (arg8
== NULL
) SWIG_fail
;
27229 arg9
= (int) SWIG_AsInt(obj8
);
27230 if (PyErr_Occurred()) SWIG_fail
;
27234 arg10
= wxString_in_helper(obj9
);
27235 if (arg10
== NULL
) SWIG_fail
;
27240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27241 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
27243 wxPyEndAllowThreads(__tstate
);
27244 if (PyErr_Occurred()) SWIG_fail
;
27247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27279 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27280 PyObject
*resultobj
;
27281 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27282 wxString
*arg2
= 0 ;
27284 bool temp2
= False
;
27285 PyObject
* obj0
= 0 ;
27286 PyObject
* obj1
= 0 ;
27287 char *kwnames
[] = {
27288 (char *) "self",(char *) "path", NULL
27291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27295 arg2
= wxString_in_helper(obj1
);
27296 if (arg2
== NULL
) SWIG_fail
;
27300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27301 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
27303 wxPyEndAllowThreads(__tstate
);
27304 if (PyErr_Occurred()) SWIG_fail
;
27307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27323 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27324 PyObject
*resultobj
;
27325 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27327 PyObject
* obj0
= 0 ;
27328 char *kwnames
[] = {
27329 (char *) "self", NULL
27332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
27333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27337 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
27339 wxPyEndAllowThreads(__tstate
);
27340 if (PyErr_Occurred()) SWIG_fail
;
27344 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27346 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27355 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27356 PyObject
*resultobj
;
27357 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27358 wxString
*arg2
= 0 ;
27359 bool temp2
= False
;
27360 PyObject
* obj0
= 0 ;
27361 PyObject
* obj1
= 0 ;
27362 char *kwnames
[] = {
27363 (char *) "self",(char *) "path", NULL
27366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27370 arg2
= wxString_in_helper(obj1
);
27371 if (arg2
== NULL
) SWIG_fail
;
27375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27376 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
27378 wxPyEndAllowThreads(__tstate
);
27379 if (PyErr_Occurred()) SWIG_fail
;
27381 Py_INCREF(Py_None
); resultobj
= Py_None
;
27396 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27397 PyObject
*resultobj
;
27398 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27400 PyObject
* obj0
= 0 ;
27401 char *kwnames
[] = {
27402 (char *) "self", NULL
27405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
27406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27410 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
27412 wxPyEndAllowThreads(__tstate
);
27413 if (PyErr_Occurred()) SWIG_fail
;
27417 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27419 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27428 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27429 PyObject
*resultobj
;
27430 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27432 PyObject
* obj0
= 0 ;
27433 char *kwnames
[] = {
27434 (char *) "self", NULL
27437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
27438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27442 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
27444 wxPyEndAllowThreads(__tstate
);
27445 if (PyErr_Occurred()) SWIG_fail
;
27449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27460 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27461 PyObject
*resultobj
;
27462 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27463 wxString
*arg2
= 0 ;
27464 bool temp2
= False
;
27465 PyObject
* obj0
= 0 ;
27466 PyObject
* obj1
= 0 ;
27467 char *kwnames
[] = {
27468 (char *) "self",(char *) "path", NULL
27471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27475 arg2
= wxString_in_helper(obj1
);
27476 if (arg2
== NULL
) SWIG_fail
;
27480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27481 (arg1
)->SetPath((wxString
const &)*arg2
);
27483 wxPyEndAllowThreads(__tstate
);
27484 if (PyErr_Occurred()) SWIG_fail
;
27486 Py_INCREF(Py_None
); resultobj
= Py_None
;
27501 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27502 PyObject
*resultobj
;
27503 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27505 PyObject
* obj0
= 0 ;
27506 PyObject
* obj1
= 0 ;
27507 char *kwnames
[] = {
27508 (char *) "self",(char *) "show", NULL
27511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
27512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27514 arg2
= (bool) SWIG_AsBool(obj1
);
27515 if (PyErr_Occurred()) SWIG_fail
;
27517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27518 (arg1
)->ShowHidden(arg2
);
27520 wxPyEndAllowThreads(__tstate
);
27521 if (PyErr_Occurred()) SWIG_fail
;
27523 Py_INCREF(Py_None
); resultobj
= Py_None
;
27530 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27531 PyObject
*resultobj
;
27532 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27534 PyObject
* obj0
= 0 ;
27535 char *kwnames
[] = {
27536 (char *) "self", NULL
27539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
27540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27544 result
= (bool)(arg1
)->GetShowHidden();
27546 wxPyEndAllowThreads(__tstate
);
27547 if (PyErr_Occurred()) SWIG_fail
;
27550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27558 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27559 PyObject
*resultobj
;
27560 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27562 PyObject
* obj0
= 0 ;
27563 char *kwnames
[] = {
27564 (char *) "self", NULL
27567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
27568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27572 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
27574 wxPyEndAllowThreads(__tstate
);
27575 if (PyErr_Occurred()) SWIG_fail
;
27579 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27581 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27590 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27591 PyObject
*resultobj
;
27592 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27593 wxString
*arg2
= 0 ;
27594 bool temp2
= False
;
27595 PyObject
* obj0
= 0 ;
27596 PyObject
* obj1
= 0 ;
27597 char *kwnames
[] = {
27598 (char *) "self",(char *) "filter", NULL
27601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
27602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27605 arg2
= wxString_in_helper(obj1
);
27606 if (arg2
== NULL
) SWIG_fail
;
27610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27611 (arg1
)->SetFilter((wxString
const &)*arg2
);
27613 wxPyEndAllowThreads(__tstate
);
27614 if (PyErr_Occurred()) SWIG_fail
;
27616 Py_INCREF(Py_None
); resultobj
= Py_None
;
27631 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27632 PyObject
*resultobj
;
27633 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27635 PyObject
* obj0
= 0 ;
27636 char *kwnames
[] = {
27637 (char *) "self", NULL
27640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
27641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27645 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
27647 wxPyEndAllowThreads(__tstate
);
27648 if (PyErr_Occurred()) SWIG_fail
;
27650 resultobj
= SWIG_FromInt((int)result
);
27657 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27658 PyObject
*resultobj
;
27659 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27661 PyObject
* obj0
= 0 ;
27662 PyObject
* obj1
= 0 ;
27663 char *kwnames
[] = {
27664 (char *) "self",(char *) "n", NULL
27667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
27668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27670 arg2
= (int) SWIG_AsInt(obj1
);
27671 if (PyErr_Occurred()) SWIG_fail
;
27673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27674 (arg1
)->SetFilterIndex(arg2
);
27676 wxPyEndAllowThreads(__tstate
);
27677 if (PyErr_Occurred()) SWIG_fail
;
27679 Py_INCREF(Py_None
); resultobj
= Py_None
;
27686 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27687 PyObject
*resultobj
;
27688 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27689 wxTreeItemId result
;
27690 PyObject
* obj0
= 0 ;
27691 char *kwnames
[] = {
27692 (char *) "self", NULL
27695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27700 result
= (arg1
)->GetRootId();
27702 wxPyEndAllowThreads(__tstate
);
27703 if (PyErr_Occurred()) SWIG_fail
;
27706 wxTreeItemId
* resultptr
;
27707 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27716 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27717 PyObject
*resultobj
;
27718 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27719 wxPyTreeCtrl
*result
;
27720 PyObject
* obj0
= 0 ;
27721 char *kwnames
[] = {
27722 (char *) "self", NULL
27725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
27726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27730 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27732 wxPyEndAllowThreads(__tstate
);
27733 if (PyErr_Occurred()) SWIG_fail
;
27736 resultobj
= wxPyMake_wxObject(result
);
27744 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27745 PyObject
*resultobj
;
27746 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27747 wxDirFilterListCtrl
*result
;
27748 PyObject
* obj0
= 0 ;
27749 char *kwnames
[] = {
27750 (char *) "self", NULL
27753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27758 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27760 wxPyEndAllowThreads(__tstate
);
27761 if (PyErr_Occurred()) SWIG_fail
;
27763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27770 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27771 PyObject
*resultobj
;
27772 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27773 wxTreeItemId arg2
;
27774 wxString
*arg3
= 0 ;
27776 wxTreeItemId result
;
27777 wxTreeItemId
*argp2
;
27778 bool temp3
= False
;
27780 PyObject
* obj0
= 0 ;
27781 PyObject
* obj1
= 0 ;
27782 PyObject
* obj2
= 0 ;
27783 char *kwnames
[] = {
27784 (char *) "self",(char *) "parentId",(char *) "path", NULL
27788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27791 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
27792 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27795 arg3
= wxString_in_helper(obj2
);
27796 if (arg3
== NULL
) SWIG_fail
;
27800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27801 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27803 wxPyEndAllowThreads(__tstate
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27807 wxTreeItemId
* resultptr
;
27808 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27809 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27812 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27813 resultobj
= t_output_helper(resultobj
,o
);
27829 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27830 PyObject
*resultobj
;
27831 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27832 PyObject
* obj0
= 0 ;
27833 char *kwnames
[] = {
27834 (char *) "self", NULL
27837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27842 (arg1
)->DoResize();
27844 wxPyEndAllowThreads(__tstate
);
27845 if (PyErr_Occurred()) SWIG_fail
;
27847 Py_INCREF(Py_None
); resultobj
= Py_None
;
27854 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27855 PyObject
*resultobj
;
27856 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27857 PyObject
* obj0
= 0 ;
27858 char *kwnames
[] = {
27859 (char *) "self", NULL
27862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27867 (arg1
)->ReCreateTree();
27869 wxPyEndAllowThreads(__tstate
);
27870 if (PyErr_Occurred()) SWIG_fail
;
27872 Py_INCREF(Py_None
); resultobj
= Py_None
;
27879 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27882 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27884 return Py_BuildValue((char *)"");
27886 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27887 PyObject
*resultobj
;
27888 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27889 int arg2
= (int) (int)-1 ;
27890 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27891 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27892 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27893 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27894 long arg5
= (long) 0 ;
27895 wxDirFilterListCtrl
*result
;
27898 PyObject
* obj0
= 0 ;
27899 PyObject
* obj1
= 0 ;
27900 PyObject
* obj2
= 0 ;
27901 PyObject
* obj3
= 0 ;
27902 PyObject
* obj4
= 0 ;
27903 char *kwnames
[] = {
27904 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27911 arg2
= (int const) SWIG_AsInt(obj1
);
27912 if (PyErr_Occurred()) SWIG_fail
;
27917 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27923 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27927 arg5
= (long) SWIG_AsLong(obj4
);
27928 if (PyErr_Occurred()) SWIG_fail
;
27931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27932 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27934 wxPyEndAllowThreads(__tstate
);
27935 if (PyErr_Occurred()) SWIG_fail
;
27937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27944 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27945 PyObject
*resultobj
;
27946 wxDirFilterListCtrl
*result
;
27947 char *kwnames
[] = {
27951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27954 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27956 wxPyEndAllowThreads(__tstate
);
27957 if (PyErr_Occurred()) SWIG_fail
;
27959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27966 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27967 PyObject
*resultobj
;
27968 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27969 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27970 int arg3
= (int) (int)-1 ;
27971 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27972 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27973 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27974 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27975 long arg6
= (long) 0 ;
27979 PyObject
* obj0
= 0 ;
27980 PyObject
* obj1
= 0 ;
27981 PyObject
* obj2
= 0 ;
27982 PyObject
* obj3
= 0 ;
27983 PyObject
* obj4
= 0 ;
27984 PyObject
* obj5
= 0 ;
27985 char *kwnames
[] = {
27986 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27992 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
27993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27995 arg3
= (int const) SWIG_AsInt(obj2
);
27996 if (PyErr_Occurred()) SWIG_fail
;
28001 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28007 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28011 arg6
= (long) SWIG_AsLong(obj5
);
28012 if (PyErr_Occurred()) SWIG_fail
;
28015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28016 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28018 wxPyEndAllowThreads(__tstate
);
28019 if (PyErr_Occurred()) SWIG_fail
;
28022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28030 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28031 PyObject
*resultobj
;
28032 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28033 wxString
*arg2
= 0 ;
28035 bool temp2
= False
;
28036 PyObject
* obj0
= 0 ;
28037 PyObject
* obj1
= 0 ;
28038 PyObject
* obj2
= 0 ;
28039 char *kwnames
[] = {
28040 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28047 arg2
= wxString_in_helper(obj1
);
28048 if (arg2
== NULL
) SWIG_fail
;
28051 arg3
= (int) SWIG_AsInt(obj2
);
28052 if (PyErr_Occurred()) SWIG_fail
;
28054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28055 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
28057 wxPyEndAllowThreads(__tstate
);
28058 if (PyErr_Occurred()) SWIG_fail
;
28060 Py_INCREF(Py_None
); resultobj
= Py_None
;
28075 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28078 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28080 return Py_BuildValue((char *)"");
28082 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28083 PyObject
*resultobj
;
28084 wxWindow
*arg1
= (wxWindow
*) 0 ;
28086 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28087 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28088 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28089 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28090 long arg5
= (long) 0 ;
28091 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28092 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28093 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28094 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28095 wxPyControl
*result
;
28098 bool temp7
= False
;
28099 PyObject
* obj0
= 0 ;
28100 PyObject
* obj1
= 0 ;
28101 PyObject
* obj2
= 0 ;
28102 PyObject
* obj3
= 0 ;
28103 PyObject
* obj4
= 0 ;
28104 PyObject
* obj5
= 0 ;
28105 PyObject
* obj6
= 0 ;
28106 char *kwnames
[] = {
28107 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28113 arg2
= (int const) SWIG_AsInt(obj1
);
28114 if (PyErr_Occurred()) SWIG_fail
;
28118 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28124 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28128 arg5
= (long) SWIG_AsLong(obj4
);
28129 if (PyErr_Occurred()) SWIG_fail
;
28132 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
28133 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28135 if (arg6
== NULL
) {
28136 PyErr_SetString(PyExc_TypeError
,"null reference");
28142 arg7
= wxString_in_helper(obj6
);
28143 if (arg7
== NULL
) SWIG_fail
;
28148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28149 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28151 wxPyEndAllowThreads(__tstate
);
28152 if (PyErr_Occurred()) SWIG_fail
;
28154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28169 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28170 PyObject
*resultobj
;
28171 wxPyControl
*result
;
28172 char *kwnames
[] = {
28176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
28178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28179 result
= (wxPyControl
*)new wxPyControl();
28181 wxPyEndAllowThreads(__tstate
);
28182 if (PyErr_Occurred()) SWIG_fail
;
28184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28191 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28192 PyObject
*resultobj
;
28193 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28194 PyObject
*arg2
= (PyObject
*) 0 ;
28195 PyObject
*arg3
= (PyObject
*) 0 ;
28196 PyObject
* obj0
= 0 ;
28197 PyObject
* obj1
= 0 ;
28198 PyObject
* obj2
= 0 ;
28199 char *kwnames
[] = {
28200 (char *) "self",(char *) "self",(char *) "_class", NULL
28203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28210 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28212 wxPyEndAllowThreads(__tstate
);
28213 if (PyErr_Occurred()) SWIG_fail
;
28215 Py_INCREF(Py_None
); resultobj
= Py_None
;
28222 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28223 PyObject
*resultobj
;
28224 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28229 PyObject
* obj0
= 0 ;
28230 PyObject
* obj1
= 0 ;
28231 PyObject
* obj2
= 0 ;
28232 PyObject
* obj3
= 0 ;
28233 PyObject
* obj4
= 0 ;
28234 char *kwnames
[] = {
28235 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28241 arg2
= (int) SWIG_AsInt(obj1
);
28242 if (PyErr_Occurred()) SWIG_fail
;
28243 arg3
= (int) SWIG_AsInt(obj2
);
28244 if (PyErr_Occurred()) SWIG_fail
;
28245 arg4
= (int) SWIG_AsInt(obj3
);
28246 if (PyErr_Occurred()) SWIG_fail
;
28247 arg5
= (int) SWIG_AsInt(obj4
);
28248 if (PyErr_Occurred()) SWIG_fail
;
28250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28251 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
28253 wxPyEndAllowThreads(__tstate
);
28254 if (PyErr_Occurred()) SWIG_fail
;
28256 Py_INCREF(Py_None
); resultobj
= Py_None
;
28263 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28264 PyObject
*resultobj
;
28265 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28270 int arg6
= (int) wxSIZE_AUTO
;
28271 PyObject
* obj0
= 0 ;
28272 PyObject
* obj1
= 0 ;
28273 PyObject
* obj2
= 0 ;
28274 PyObject
* obj3
= 0 ;
28275 PyObject
* obj4
= 0 ;
28276 PyObject
* obj5
= 0 ;
28277 char *kwnames
[] = {
28278 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
28281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28284 arg2
= (int) SWIG_AsInt(obj1
);
28285 if (PyErr_Occurred()) SWIG_fail
;
28286 arg3
= (int) SWIG_AsInt(obj2
);
28287 if (PyErr_Occurred()) SWIG_fail
;
28288 arg4
= (int) SWIG_AsInt(obj3
);
28289 if (PyErr_Occurred()) SWIG_fail
;
28290 arg5
= (int) SWIG_AsInt(obj4
);
28291 if (PyErr_Occurred()) SWIG_fail
;
28293 arg6
= (int) SWIG_AsInt(obj5
);
28294 if (PyErr_Occurred()) SWIG_fail
;
28297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28298 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
28300 wxPyEndAllowThreads(__tstate
);
28301 if (PyErr_Occurred()) SWIG_fail
;
28303 Py_INCREF(Py_None
); resultobj
= Py_None
;
28310 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28311 PyObject
*resultobj
;
28312 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28315 PyObject
* obj0
= 0 ;
28316 PyObject
* obj1
= 0 ;
28317 PyObject
* obj2
= 0 ;
28318 char *kwnames
[] = {
28319 (char *) "self",(char *) "width",(char *) "height", NULL
28322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28325 arg2
= (int) SWIG_AsInt(obj1
);
28326 if (PyErr_Occurred()) SWIG_fail
;
28327 arg3
= (int) SWIG_AsInt(obj2
);
28328 if (PyErr_Occurred()) SWIG_fail
;
28330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28331 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
28333 wxPyEndAllowThreads(__tstate
);
28334 if (PyErr_Occurred()) SWIG_fail
;
28336 Py_INCREF(Py_None
); resultobj
= Py_None
;
28343 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28344 PyObject
*resultobj
;
28345 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28348 PyObject
* obj0
= 0 ;
28349 PyObject
* obj1
= 0 ;
28350 PyObject
* obj2
= 0 ;
28351 char *kwnames
[] = {
28352 (char *) "self",(char *) "x",(char *) "y", NULL
28355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28358 arg2
= (int) SWIG_AsInt(obj1
);
28359 if (PyErr_Occurred()) SWIG_fail
;
28360 arg3
= (int) SWIG_AsInt(obj2
);
28361 if (PyErr_Occurred()) SWIG_fail
;
28363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28364 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
28366 wxPyEndAllowThreads(__tstate
);
28367 if (PyErr_Occurred()) SWIG_fail
;
28369 Py_INCREF(Py_None
); resultobj
= Py_None
;
28376 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28377 PyObject
*resultobj
;
28378 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28379 int *arg2
= (int *) 0 ;
28380 int *arg3
= (int *) 0 ;
28383 PyObject
* obj0
= 0 ;
28384 char *kwnames
[] = {
28385 (char *) "self", NULL
28390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
28391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28395 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
28397 wxPyEndAllowThreads(__tstate
);
28398 if (PyErr_Occurred()) SWIG_fail
;
28400 Py_INCREF(Py_None
); resultobj
= Py_None
;
28402 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28403 resultobj
= t_output_helper(resultobj
,o
);
28406 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28407 resultobj
= t_output_helper(resultobj
,o
);
28415 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28416 PyObject
*resultobj
;
28417 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28418 int *arg2
= (int *) 0 ;
28419 int *arg3
= (int *) 0 ;
28422 PyObject
* obj0
= 0 ;
28423 char *kwnames
[] = {
28424 (char *) "self", NULL
28429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
28430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28434 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
28436 wxPyEndAllowThreads(__tstate
);
28437 if (PyErr_Occurred()) SWIG_fail
;
28439 Py_INCREF(Py_None
); resultobj
= Py_None
;
28441 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28442 resultobj
= t_output_helper(resultobj
,o
);
28445 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28446 resultobj
= t_output_helper(resultobj
,o
);
28454 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28455 PyObject
*resultobj
;
28456 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28457 int *arg2
= (int *) 0 ;
28458 int *arg3
= (int *) 0 ;
28461 PyObject
* obj0
= 0 ;
28462 char *kwnames
[] = {
28463 (char *) "self", NULL
28468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
28469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28473 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
28475 wxPyEndAllowThreads(__tstate
);
28476 if (PyErr_Occurred()) SWIG_fail
;
28478 Py_INCREF(Py_None
); resultobj
= Py_None
;
28480 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28481 resultobj
= t_output_helper(resultobj
,o
);
28484 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28485 resultobj
= t_output_helper(resultobj
,o
);
28493 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28494 PyObject
*resultobj
;
28495 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28497 PyObject
* obj0
= 0 ;
28498 char *kwnames
[] = {
28499 (char *) "self", NULL
28502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
28503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28507 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
28509 wxPyEndAllowThreads(__tstate
);
28510 if (PyErr_Occurred()) SWIG_fail
;
28513 wxSize
* resultptr
;
28514 resultptr
= new wxSize((wxSize
&) result
);
28515 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28523 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28524 PyObject
*resultobj
;
28525 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28527 PyObject
* obj0
= 0 ;
28528 char *kwnames
[] = {
28529 (char *) "self", NULL
28532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
28533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28537 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
28539 wxPyEndAllowThreads(__tstate
);
28540 if (PyErr_Occurred()) SWIG_fail
;
28543 wxSize
* resultptr
;
28544 resultptr
= new wxSize((wxSize
&) result
);
28545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28553 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28554 PyObject
*resultobj
;
28555 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28556 PyObject
* obj0
= 0 ;
28557 char *kwnames
[] = {
28558 (char *) "self", NULL
28561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
28562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28566 (arg1
)->base_InitDialog();
28568 wxPyEndAllowThreads(__tstate
);
28569 if (PyErr_Occurred()) SWIG_fail
;
28571 Py_INCREF(Py_None
); resultobj
= Py_None
;
28578 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28579 PyObject
*resultobj
;
28580 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28582 PyObject
* obj0
= 0 ;
28583 char *kwnames
[] = {
28584 (char *) "self", NULL
28587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28592 result
= (bool)(arg1
)->base_TransferDataToWindow();
28594 wxPyEndAllowThreads(__tstate
);
28595 if (PyErr_Occurred()) SWIG_fail
;
28598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28606 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28607 PyObject
*resultobj
;
28608 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28610 PyObject
* obj0
= 0 ;
28611 char *kwnames
[] = {
28612 (char *) "self", NULL
28615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28620 result
= (bool)(arg1
)->base_TransferDataFromWindow();
28622 wxPyEndAllowThreads(__tstate
);
28623 if (PyErr_Occurred()) SWIG_fail
;
28626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28634 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28635 PyObject
*resultobj
;
28636 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28638 PyObject
* obj0
= 0 ;
28639 char *kwnames
[] = {
28640 (char *) "self", NULL
28643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
28644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28648 result
= (bool)(arg1
)->base_Validate();
28650 wxPyEndAllowThreads(__tstate
);
28651 if (PyErr_Occurred()) SWIG_fail
;
28654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28662 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28663 PyObject
*resultobj
;
28664 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28666 PyObject
* obj0
= 0 ;
28667 char *kwnames
[] = {
28668 (char *) "self", NULL
28671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28676 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
28678 wxPyEndAllowThreads(__tstate
);
28679 if (PyErr_Occurred()) SWIG_fail
;
28682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28690 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28691 PyObject
*resultobj
;
28692 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28694 PyObject
* obj0
= 0 ;
28695 char *kwnames
[] = {
28696 (char *) "self", NULL
28699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28704 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
28706 wxPyEndAllowThreads(__tstate
);
28707 if (PyErr_Occurred()) SWIG_fail
;
28710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28718 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28719 PyObject
*resultobj
;
28720 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28722 PyObject
* obj0
= 0 ;
28723 char *kwnames
[] = {
28724 (char *) "self", NULL
28727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28732 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28734 wxPyEndAllowThreads(__tstate
);
28735 if (PyErr_Occurred()) SWIG_fail
;
28738 wxSize
* resultptr
;
28739 resultptr
= new wxSize((wxSize
&) result
);
28740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28748 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28749 PyObject
*resultobj
;
28750 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28751 wxWindow
*arg2
= (wxWindow
*) 0 ;
28752 PyObject
* obj0
= 0 ;
28753 PyObject
* obj1
= 0 ;
28754 char *kwnames
[] = {
28755 (char *) "self",(char *) "child", NULL
28758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28765 (arg1
)->base_AddChild(arg2
);
28767 wxPyEndAllowThreads(__tstate
);
28768 if (PyErr_Occurred()) SWIG_fail
;
28770 Py_INCREF(Py_None
); resultobj
= Py_None
;
28777 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28778 PyObject
*resultobj
;
28779 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28780 wxWindow
*arg2
= (wxWindow
*) 0 ;
28781 PyObject
* obj0
= 0 ;
28782 PyObject
* obj1
= 0 ;
28783 char *kwnames
[] = {
28784 (char *) "self",(char *) "child", NULL
28787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28790 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28794 (arg1
)->base_RemoveChild(arg2
);
28796 wxPyEndAllowThreads(__tstate
);
28797 if (PyErr_Occurred()) SWIG_fail
;
28799 Py_INCREF(Py_None
); resultobj
= Py_None
;
28806 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28807 PyObject
*resultobj
;
28808 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28810 PyObject
* obj0
= 0 ;
28811 char *kwnames
[] = {
28812 (char *) "self", NULL
28815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28820 result
= (bool)(arg1
)->base_ShouldInheritColours();
28822 wxPyEndAllowThreads(__tstate
);
28823 if (PyErr_Occurred()) SWIG_fail
;
28826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28834 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28835 PyObject
*resultobj
;
28836 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28837 wxColour
*arg2
= 0 ;
28839 PyObject
* obj0
= 0 ;
28840 PyObject
* obj1
= 0 ;
28841 char *kwnames
[] = {
28842 (char *) "self",(char *) "c", NULL
28845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
28846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28850 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28854 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
28856 wxPyEndAllowThreads(__tstate
);
28857 if (PyErr_Occurred()) SWIG_fail
;
28859 Py_INCREF(Py_None
); resultobj
= Py_None
;
28866 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
28868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28869 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28871 return Py_BuildValue((char *)"");
28873 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28874 PyObject
*resultobj
;
28875 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28876 int arg2
= (int) 0 ;
28877 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28878 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28879 wxHelpEvent
*result
;
28881 PyObject
* obj0
= 0 ;
28882 PyObject
* obj1
= 0 ;
28883 PyObject
* obj2
= 0 ;
28884 char *kwnames
[] = {
28885 (char *) "type",(char *) "winid",(char *) "pt", NULL
28888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28890 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
28891 if (PyErr_Occurred()) SWIG_fail
;
28894 arg2
= (int) SWIG_AsInt(obj1
);
28895 if (PyErr_Occurred()) SWIG_fail
;
28900 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28905 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28907 wxPyEndAllowThreads(__tstate
);
28908 if (PyErr_Occurred()) SWIG_fail
;
28910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
28917 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28918 PyObject
*resultobj
;
28919 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28921 PyObject
* obj0
= 0 ;
28922 char *kwnames
[] = {
28923 (char *) "self", NULL
28926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28931 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28933 wxPyEndAllowThreads(__tstate
);
28934 if (PyErr_Occurred()) SWIG_fail
;
28937 wxPoint
* resultptr
;
28938 resultptr
= new wxPoint((wxPoint
&) result
);
28939 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28947 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28948 PyObject
*resultobj
;
28949 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28950 wxPoint
*arg2
= 0 ;
28952 PyObject
* obj0
= 0 ;
28953 PyObject
* obj1
= 0 ;
28954 char *kwnames
[] = {
28955 (char *) "self",(char *) "pos", NULL
28958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28963 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28967 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28969 wxPyEndAllowThreads(__tstate
);
28970 if (PyErr_Occurred()) SWIG_fail
;
28972 Py_INCREF(Py_None
); resultobj
= Py_None
;
28979 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28980 PyObject
*resultobj
;
28981 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28983 PyObject
* obj0
= 0 ;
28984 char *kwnames
[] = {
28985 (char *) "self", NULL
28988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28994 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
28995 result
= (wxString
*) &_result_ref
;
28998 wxPyEndAllowThreads(__tstate
);
28999 if (PyErr_Occurred()) SWIG_fail
;
29003 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29005 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29014 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29015 PyObject
*resultobj
;
29016 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29017 wxString
*arg2
= 0 ;
29018 bool temp2
= False
;
29019 PyObject
* obj0
= 0 ;
29020 PyObject
* obj1
= 0 ;
29021 char *kwnames
[] = {
29022 (char *) "self",(char *) "link", NULL
29025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
29026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29029 arg2
= wxString_in_helper(obj1
);
29030 if (arg2
== NULL
) SWIG_fail
;
29034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29035 (arg1
)->SetLink((wxString
const &)*arg2
);
29037 wxPyEndAllowThreads(__tstate
);
29038 if (PyErr_Occurred()) SWIG_fail
;
29040 Py_INCREF(Py_None
); resultobj
= Py_None
;
29055 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29056 PyObject
*resultobj
;
29057 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29059 PyObject
* obj0
= 0 ;
29060 char *kwnames
[] = {
29061 (char *) "self", NULL
29064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
29065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29070 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
29071 result
= (wxString
*) &_result_ref
;
29074 wxPyEndAllowThreads(__tstate
);
29075 if (PyErr_Occurred()) SWIG_fail
;
29079 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29081 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29090 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29091 PyObject
*resultobj
;
29092 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29093 wxString
*arg2
= 0 ;
29094 bool temp2
= False
;
29095 PyObject
* obj0
= 0 ;
29096 PyObject
* obj1
= 0 ;
29097 char *kwnames
[] = {
29098 (char *) "self",(char *) "target", NULL
29101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
29102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29105 arg2
= wxString_in_helper(obj1
);
29106 if (arg2
== NULL
) SWIG_fail
;
29110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29111 (arg1
)->SetTarget((wxString
const &)*arg2
);
29113 wxPyEndAllowThreads(__tstate
);
29114 if (PyErr_Occurred()) SWIG_fail
;
29116 Py_INCREF(Py_None
); resultobj
= Py_None
;
29131 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
29133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29134 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
29136 return Py_BuildValue((char *)"");
29138 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29139 PyObject
*resultobj
;
29140 wxWindow
*arg1
= (wxWindow
*) NULL
;
29141 bool arg2
= (bool) True
;
29142 wxContextHelp
*result
;
29143 PyObject
* obj0
= 0 ;
29144 PyObject
* obj1
= 0 ;
29145 char *kwnames
[] = {
29146 (char *) "window",(char *) "doNow", NULL
29149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29155 arg2
= (bool) SWIG_AsBool(obj1
);
29156 if (PyErr_Occurred()) SWIG_fail
;
29159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29160 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
29162 wxPyEndAllowThreads(__tstate
);
29163 if (PyErr_Occurred()) SWIG_fail
;
29165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
29172 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29173 PyObject
*resultobj
;
29174 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29175 PyObject
* obj0
= 0 ;
29176 char *kwnames
[] = {
29177 (char *) "self", NULL
29180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
29181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29187 wxPyEndAllowThreads(__tstate
);
29188 if (PyErr_Occurred()) SWIG_fail
;
29190 Py_INCREF(Py_None
); resultobj
= Py_None
;
29197 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29198 PyObject
*resultobj
;
29199 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29200 wxWindow
*arg2
= (wxWindow
*) NULL
;
29202 PyObject
* obj0
= 0 ;
29203 PyObject
* obj1
= 0 ;
29204 char *kwnames
[] = {
29205 (char *) "self",(char *) "window", NULL
29208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29217 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
29219 wxPyEndAllowThreads(__tstate
);
29220 if (PyErr_Occurred()) SWIG_fail
;
29223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29231 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29232 PyObject
*resultobj
;
29233 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29235 PyObject
* obj0
= 0 ;
29236 char *kwnames
[] = {
29237 (char *) "self", NULL
29240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
29241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29245 result
= (bool)(arg1
)->EndContextHelp();
29247 wxPyEndAllowThreads(__tstate
);
29248 if (PyErr_Occurred()) SWIG_fail
;
29251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29259 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
29261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29262 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
29264 return Py_BuildValue((char *)"");
29266 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29267 PyObject
*resultobj
;
29268 wxWindow
*arg1
= (wxWindow
*) 0 ;
29269 int arg2
= (int) wxID_CONTEXT_HELP
;
29270 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29271 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29272 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29273 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29274 long arg5
= (long) wxBU_AUTODRAW
;
29275 wxContextHelpButton
*result
;
29278 PyObject
* obj0
= 0 ;
29279 PyObject
* obj1
= 0 ;
29280 PyObject
* obj2
= 0 ;
29281 PyObject
* obj3
= 0 ;
29282 PyObject
* obj4
= 0 ;
29283 char *kwnames
[] = {
29284 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29291 arg2
= (int) SWIG_AsInt(obj1
);
29292 if (PyErr_Occurred()) SWIG_fail
;
29297 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29303 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29307 arg5
= (long) SWIG_AsLong(obj4
);
29308 if (PyErr_Occurred()) SWIG_fail
;
29311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29312 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29314 wxPyEndAllowThreads(__tstate
);
29315 if (PyErr_Occurred()) SWIG_fail
;
29317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
29324 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
29326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29327 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
29329 return Py_BuildValue((char *)"");
29331 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29332 PyObject
*resultobj
;
29333 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29334 wxHelpProvider
*result
;
29335 PyObject
* obj0
= 0 ;
29336 char *kwnames
[] = {
29337 (char *) "helpProvider", NULL
29340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
29341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29345 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
29347 wxPyEndAllowThreads(__tstate
);
29348 if (PyErr_Occurred()) SWIG_fail
;
29350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29357 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29358 PyObject
*resultobj
;
29359 wxHelpProvider
*result
;
29360 char *kwnames
[] = {
29364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
29366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29367 result
= (wxHelpProvider
*)wxHelpProvider::Get();
29369 wxPyEndAllowThreads(__tstate
);
29370 if (PyErr_Occurred()) SWIG_fail
;
29372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29379 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29380 PyObject
*resultobj
;
29381 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29382 wxWindow
*arg2
= (wxWindow
*) 0 ;
29384 PyObject
* obj0
= 0 ;
29385 PyObject
* obj1
= 0 ;
29386 char *kwnames
[] = {
29387 (char *) "self",(char *) "window", NULL
29390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29393 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29397 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
29399 wxPyEndAllowThreads(__tstate
);
29400 if (PyErr_Occurred()) SWIG_fail
;
29404 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29406 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29415 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29416 PyObject
*resultobj
;
29417 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29418 wxWindow
*arg2
= (wxWindow
*) 0 ;
29420 PyObject
* obj0
= 0 ;
29421 PyObject
* obj1
= 0 ;
29422 char *kwnames
[] = {
29423 (char *) "self",(char *) "window", NULL
29426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29433 result
= (bool)(arg1
)->ShowHelp(arg2
);
29435 wxPyEndAllowThreads(__tstate
);
29436 if (PyErr_Occurred()) SWIG_fail
;
29439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29447 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29448 PyObject
*resultobj
;
29449 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29450 wxWindow
*arg2
= (wxWindow
*) 0 ;
29451 wxString
*arg3
= 0 ;
29452 bool temp3
= False
;
29453 PyObject
* obj0
= 0 ;
29454 PyObject
* obj1
= 0 ;
29455 PyObject
* obj2
= 0 ;
29456 char *kwnames
[] = {
29457 (char *) "self",(char *) "window",(char *) "text", NULL
29460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29466 arg3
= wxString_in_helper(obj2
);
29467 if (arg3
== NULL
) SWIG_fail
;
29471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29472 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29474 wxPyEndAllowThreads(__tstate
);
29475 if (PyErr_Occurred()) SWIG_fail
;
29477 Py_INCREF(Py_None
); resultobj
= Py_None
;
29492 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29493 PyObject
*resultobj
;
29494 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29496 wxString
*arg3
= 0 ;
29497 bool temp3
= False
;
29498 PyObject
* obj0
= 0 ;
29499 PyObject
* obj1
= 0 ;
29500 PyObject
* obj2
= 0 ;
29501 char *kwnames
[] = {
29502 (char *) "self",(char *) "id",(char *) "text", NULL
29505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29508 arg2
= (int) SWIG_AsInt(obj1
);
29509 if (PyErr_Occurred()) SWIG_fail
;
29511 arg3
= wxString_in_helper(obj2
);
29512 if (arg3
== NULL
) SWIG_fail
;
29516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29517 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29519 wxPyEndAllowThreads(__tstate
);
29520 if (PyErr_Occurred()) SWIG_fail
;
29522 Py_INCREF(Py_None
); resultobj
= Py_None
;
29537 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29538 PyObject
*resultobj
;
29539 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29540 wxWindow
*arg2
= (wxWindow
*) 0 ;
29541 PyObject
* obj0
= 0 ;
29542 PyObject
* obj1
= 0 ;
29543 char *kwnames
[] = {
29544 (char *) "self",(char *) "window", NULL
29547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29554 (arg1
)->RemoveHelp(arg2
);
29556 wxPyEndAllowThreads(__tstate
);
29557 if (PyErr_Occurred()) SWIG_fail
;
29559 Py_INCREF(Py_None
); resultobj
= Py_None
;
29566 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29567 PyObject
*resultobj
;
29568 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29569 PyObject
* obj0
= 0 ;
29570 char *kwnames
[] = {
29571 (char *) "self", NULL
29574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
29575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29579 wxHelpProvider_Destroy(arg1
);
29581 wxPyEndAllowThreads(__tstate
);
29582 if (PyErr_Occurred()) SWIG_fail
;
29584 Py_INCREF(Py_None
); resultobj
= Py_None
;
29591 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29594 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
29596 return Py_BuildValue((char *)"");
29598 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29599 PyObject
*resultobj
;
29600 wxSimpleHelpProvider
*result
;
29601 char *kwnames
[] = {
29605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
29607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29608 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
29610 wxPyEndAllowThreads(__tstate
);
29611 if (PyErr_Occurred()) SWIG_fail
;
29613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
29620 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29623 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
29625 return Py_BuildValue((char *)"");
29627 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29628 PyObject
*resultobj
;
29629 wxBitmap
*arg1
= 0 ;
29630 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29631 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29632 wxGenericDragImage
*result
;
29633 PyObject
* obj0
= 0 ;
29634 PyObject
* obj1
= 0 ;
29635 char *kwnames
[] = {
29636 (char *) "image",(char *) "cursor", NULL
29639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
29640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
29641 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29643 if (arg1
== NULL
) {
29644 PyErr_SetString(PyExc_TypeError
,"null reference");
29648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29649 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29651 if (arg2
== NULL
) {
29652 PyErr_SetString(PyExc_TypeError
,"null reference");
29657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29658 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
29660 wxPyEndAllowThreads(__tstate
);
29661 if (PyErr_Occurred()) SWIG_fail
;
29663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29670 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29671 PyObject
*resultobj
;
29673 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29674 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29675 wxGenericDragImage
*result
;
29676 PyObject
* obj0
= 0 ;
29677 PyObject
* obj1
= 0 ;
29678 char *kwnames
[] = {
29679 (char *) "image",(char *) "cursor", NULL
29682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
29683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
29684 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29686 if (arg1
== NULL
) {
29687 PyErr_SetString(PyExc_TypeError
,"null reference");
29691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29692 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29694 if (arg2
== NULL
) {
29695 PyErr_SetString(PyExc_TypeError
,"null reference");
29700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29701 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
29703 wxPyEndAllowThreads(__tstate
);
29704 if (PyErr_Occurred()) SWIG_fail
;
29706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29713 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29714 PyObject
*resultobj
;
29715 wxString
*arg1
= 0 ;
29716 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29717 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29718 wxGenericDragImage
*result
;
29719 bool temp1
= False
;
29720 PyObject
* obj0
= 0 ;
29721 PyObject
* obj1
= 0 ;
29722 char *kwnames
[] = {
29723 (char *) "str",(char *) "cursor", NULL
29726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
29728 arg1
= wxString_in_helper(obj0
);
29729 if (arg1
== NULL
) SWIG_fail
;
29733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29734 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29736 if (arg2
== NULL
) {
29737 PyErr_SetString(PyExc_TypeError
,"null reference");
29742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29743 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
29745 wxPyEndAllowThreads(__tstate
);
29746 if (PyErr_Occurred()) SWIG_fail
;
29748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29763 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29764 PyObject
*resultobj
;
29765 wxPyTreeCtrl
*arg1
= 0 ;
29766 wxTreeItemId
*arg2
= 0 ;
29767 wxGenericDragImage
*result
;
29768 PyObject
* obj0
= 0 ;
29769 PyObject
* obj1
= 0 ;
29770 char *kwnames
[] = {
29771 (char *) "treeCtrl",(char *) "id", NULL
29774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
29776 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29778 if (arg1
== NULL
) {
29779 PyErr_SetString(PyExc_TypeError
,"null reference");
29782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
29783 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29785 if (arg2
== NULL
) {
29786 PyErr_SetString(PyExc_TypeError
,"null reference");
29790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29791 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
29793 wxPyEndAllowThreads(__tstate
);
29794 if (PyErr_Occurred()) SWIG_fail
;
29796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29803 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29804 PyObject
*resultobj
;
29805 wxPyListCtrl
*arg1
= 0 ;
29807 wxGenericDragImage
*result
;
29808 PyObject
* obj0
= 0 ;
29809 PyObject
* obj1
= 0 ;
29810 char *kwnames
[] = {
29811 (char *) "listCtrl",(char *) "id", NULL
29814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
29816 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29818 if (arg1
== NULL
) {
29819 PyErr_SetString(PyExc_TypeError
,"null reference");
29822 arg2
= (long) SWIG_AsLong(obj1
);
29823 if (PyErr_Occurred()) SWIG_fail
;
29825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29826 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
29828 wxPyEndAllowThreads(__tstate
);
29829 if (PyErr_Occurred()) SWIG_fail
;
29831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29838 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29839 PyObject
*resultobj
;
29840 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29841 PyObject
* obj0
= 0 ;
29842 char *kwnames
[] = {
29843 (char *) "self", NULL
29846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
29847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29853 wxPyEndAllowThreads(__tstate
);
29854 if (PyErr_Occurred()) SWIG_fail
;
29856 Py_INCREF(Py_None
); resultobj
= Py_None
;
29863 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29864 PyObject
*resultobj
;
29865 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29866 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29867 PyObject
* obj0
= 0 ;
29868 PyObject
* obj1
= 0 ;
29869 char *kwnames
[] = {
29870 (char *) "self",(char *) "bitmap", NULL
29873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
29877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29880 (arg1
)->SetBackingBitmap(arg2
);
29882 wxPyEndAllowThreads(__tstate
);
29883 if (PyErr_Occurred()) SWIG_fail
;
29885 Py_INCREF(Py_None
); resultobj
= Py_None
;
29892 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29893 PyObject
*resultobj
;
29894 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29895 wxPoint
*arg2
= 0 ;
29896 wxWindow
*arg3
= (wxWindow
*) 0 ;
29897 bool arg4
= (bool) False
;
29898 wxRect
*arg5
= (wxRect
*) NULL
;
29901 PyObject
* obj0
= 0 ;
29902 PyObject
* obj1
= 0 ;
29903 PyObject
* obj2
= 0 ;
29904 PyObject
* obj3
= 0 ;
29905 PyObject
* obj4
= 0 ;
29906 char *kwnames
[] = {
29907 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29915 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29917 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29920 arg4
= (bool) SWIG_AsBool(obj3
);
29921 if (PyErr_Occurred()) SWIG_fail
;
29924 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
29925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29929 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
29931 wxPyEndAllowThreads(__tstate
);
29932 if (PyErr_Occurred()) SWIG_fail
;
29935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29943 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29944 PyObject
*resultobj
;
29945 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29946 wxPoint
*arg2
= 0 ;
29947 wxWindow
*arg3
= (wxWindow
*) 0 ;
29948 wxWindow
*arg4
= (wxWindow
*) 0 ;
29951 PyObject
* obj0
= 0 ;
29952 PyObject
* obj1
= 0 ;
29953 PyObject
* obj2
= 0 ;
29954 PyObject
* obj3
= 0 ;
29955 char *kwnames
[] = {
29956 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29964 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29966 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29968 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
29969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29972 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29974 wxPyEndAllowThreads(__tstate
);
29975 if (PyErr_Occurred()) SWIG_fail
;
29978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29986 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29987 PyObject
*resultobj
;
29988 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29990 PyObject
* obj0
= 0 ;
29991 char *kwnames
[] = {
29992 (char *) "self", NULL
29995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
29996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30000 result
= (bool)(arg1
)->EndDrag();
30002 wxPyEndAllowThreads(__tstate
);
30003 if (PyErr_Occurred()) SWIG_fail
;
30006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30014 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30015 PyObject
*resultobj
;
30016 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30017 wxPoint
*arg2
= 0 ;
30020 PyObject
* obj0
= 0 ;
30021 PyObject
* obj1
= 0 ;
30022 char *kwnames
[] = {
30023 (char *) "self",(char *) "pt", NULL
30026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
30027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30031 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30035 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
30037 wxPyEndAllowThreads(__tstate
);
30038 if (PyErr_Occurred()) SWIG_fail
;
30041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30049 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30050 PyObject
*resultobj
;
30051 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30053 PyObject
* obj0
= 0 ;
30054 char *kwnames
[] = {
30055 (char *) "self", NULL
30058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
30059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30063 result
= (bool)(arg1
)->Show();
30065 wxPyEndAllowThreads(__tstate
);
30066 if (PyErr_Occurred()) SWIG_fail
;
30069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30077 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30078 PyObject
*resultobj
;
30079 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30081 PyObject
* obj0
= 0 ;
30082 char *kwnames
[] = {
30083 (char *) "self", NULL
30086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
30087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30091 result
= (bool)(arg1
)->Hide();
30093 wxPyEndAllowThreads(__tstate
);
30094 if (PyErr_Occurred()) SWIG_fail
;
30097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30105 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30106 PyObject
*resultobj
;
30107 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30108 wxPoint
*arg2
= 0 ;
30111 PyObject
* obj0
= 0 ;
30112 PyObject
* obj1
= 0 ;
30113 char *kwnames
[] = {
30114 (char *) "self",(char *) "pos", NULL
30117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
30118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30122 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30126 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
30128 wxPyEndAllowThreads(__tstate
);
30129 if (PyErr_Occurred()) SWIG_fail
;
30132 wxRect
* resultptr
;
30133 resultptr
= new wxRect((wxRect
&) result
);
30134 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30142 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30143 PyObject
*resultobj
;
30144 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30146 wxPoint
*arg3
= 0 ;
30149 PyObject
* obj0
= 0 ;
30150 PyObject
* obj1
= 0 ;
30151 PyObject
* obj2
= 0 ;
30152 char *kwnames
[] = {
30153 (char *) "self",(char *) "dc",(char *) "pos", NULL
30156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30159 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30160 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30162 if (arg2
== NULL
) {
30163 PyErr_SetString(PyExc_TypeError
,"null reference");
30168 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30172 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
30174 wxPyEndAllowThreads(__tstate
);
30175 if (PyErr_Occurred()) SWIG_fail
;
30178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30186 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30187 PyObject
*resultobj
;
30188 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30190 wxMemoryDC
*arg3
= 0 ;
30196 PyObject
* obj0
= 0 ;
30197 PyObject
* obj1
= 0 ;
30198 PyObject
* obj2
= 0 ;
30199 PyObject
* obj3
= 0 ;
30200 PyObject
* obj4
= 0 ;
30201 char *kwnames
[] = {
30202 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
30205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30208 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30209 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30211 if (arg2
== NULL
) {
30212 PyErr_SetString(PyExc_TypeError
,"null reference");
30215 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
30216 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30218 if (arg3
== NULL
) {
30219 PyErr_SetString(PyExc_TypeError
,"null reference");
30224 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30228 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
30231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30232 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
30234 wxPyEndAllowThreads(__tstate
);
30235 if (PyErr_Occurred()) SWIG_fail
;
30238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30246 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30247 PyObject
*resultobj
;
30248 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30249 wxPoint
*arg2
= 0 ;
30250 wxPoint
*arg3
= 0 ;
30256 PyObject
* obj0
= 0 ;
30257 PyObject
* obj1
= 0 ;
30258 PyObject
* obj2
= 0 ;
30259 PyObject
* obj3
= 0 ;
30260 PyObject
* obj4
= 0 ;
30261 char *kwnames
[] = {
30262 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
30265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30270 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30274 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30276 arg4
= (bool) SWIG_AsBool(obj3
);
30277 if (PyErr_Occurred()) SWIG_fail
;
30278 arg5
= (bool) SWIG_AsBool(obj4
);
30279 if (PyErr_Occurred()) SWIG_fail
;
30281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30282 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
30284 wxPyEndAllowThreads(__tstate
);
30285 if (PyErr_Occurred()) SWIG_fail
;
30288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30296 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
30298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30299 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
30301 return Py_BuildValue((char *)"");
30303 static PyMethodDef SwigMethods
[] = {
30304 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
30305 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
30306 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
30307 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
30308 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30309 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
30310 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30311 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30312 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30313 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30314 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30315 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30316 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30317 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30318 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30319 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30320 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30321 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30322 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
30323 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
30324 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
30325 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30326 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30327 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30328 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30329 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30330 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30331 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30332 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30333 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
30334 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
30335 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
30336 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
30337 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
30338 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
30339 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30340 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30341 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30342 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
30343 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30344 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30345 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30346 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30347 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30348 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30349 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30350 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30351 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30352 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30353 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30354 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30355 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30356 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
30357 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30358 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30359 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30360 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
30361 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
30362 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
30363 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
30364 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30365 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30366 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30367 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30368 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30369 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
30370 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
30371 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
30372 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
30373 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
30374 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30375 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30376 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30377 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
30378 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30379 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30380 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
30381 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30382 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30383 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
30384 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
30385 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
30386 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
30387 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
30388 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30389 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30390 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
30391 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30392 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30393 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
30394 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
30395 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
30396 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
30397 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30398 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
30399 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
30400 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
30401 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30402 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30403 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
30404 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
30405 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30406 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30407 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30408 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
30409 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
30410 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30411 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30412 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
30413 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30414 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30415 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30416 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
30417 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30418 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30419 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30420 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30421 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
30422 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
30423 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30424 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
30425 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
30426 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
30427 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
30428 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
30429 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30430 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30431 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30432 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30433 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30434 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30435 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30436 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30437 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30438 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30439 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30440 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30441 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
30442 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30443 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30444 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
30445 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30446 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30447 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30448 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30449 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30450 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30451 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30452 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30453 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
30454 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
30455 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
30456 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30457 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30458 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30459 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30460 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30461 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30462 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
30463 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
30464 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
30465 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
30466 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
30467 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
30468 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
30469 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30470 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30471 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30472 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30473 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30474 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
30475 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
30476 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
30477 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
30478 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
30479 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
30480 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
30481 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
30482 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30483 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30484 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30485 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30486 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
30487 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
30488 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
30489 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30490 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30491 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30492 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30493 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
30494 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
30495 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
30496 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
30497 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
30498 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
30499 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
30500 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30501 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30502 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30503 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30504 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30505 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
30506 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30507 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
30508 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
30509 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
30510 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30511 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
30512 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30513 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
30514 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
30515 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
30516 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
30517 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30518 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30519 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30520 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30521 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
30522 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30523 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30524 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30525 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30526 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
30527 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
30528 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30529 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30530 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30531 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30532 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30533 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30534 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30535 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30536 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30537 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30538 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30539 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
30540 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30541 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30542 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30543 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30544 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30545 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
30546 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30547 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30548 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30549 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30550 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
30551 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
30552 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30553 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30554 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
30555 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30556 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30557 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30558 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30559 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30560 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30561 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30562 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30563 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
30564 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30565 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30566 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
30567 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
30568 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30569 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30570 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30571 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
30572 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30573 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30574 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30575 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30576 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30577 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
30578 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
30579 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
30580 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
30581 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30582 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30583 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30584 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30585 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30586 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30587 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30588 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30589 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30590 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30591 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30592 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30593 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30594 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30595 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30596 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
30597 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
30598 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
30599 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
30600 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
30601 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30602 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
30603 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30604 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30605 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30606 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30607 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30608 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30609 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
30610 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
30611 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
30612 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30613 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30614 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30615 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30616 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30617 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30618 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30619 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30620 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30621 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30622 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
30623 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
30624 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
30625 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
30626 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
30627 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30628 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
30629 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
30630 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30631 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30632 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30633 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30634 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30635 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
30636 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
30637 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30638 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30639 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30640 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
30641 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
30642 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30643 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30644 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
30645 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
30646 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30647 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
30648 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
30649 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
30650 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30651 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30652 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
30653 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30654 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
30655 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
30656 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30657 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30658 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30659 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
30660 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
30661 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30662 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30663 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30664 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
30665 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30666 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30667 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30668 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
30669 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
30670 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30671 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30672 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
30673 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30674 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
30675 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
30676 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30677 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30678 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30679 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30680 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30681 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30682 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
30683 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30684 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30685 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30686 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30687 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30688 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30689 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30690 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
30691 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
30692 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30693 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30694 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
30695 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
30696 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
30697 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30698 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30699 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
30700 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
30701 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
30702 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30703 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30704 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
30705 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
30706 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
30707 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
30708 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
30709 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
30710 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
30711 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30712 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30713 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30714 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
30715 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
30716 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30717 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30718 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30719 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30720 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30721 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
30722 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30723 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30724 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30725 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
30726 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30727 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30728 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30729 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
30730 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
30731 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
30732 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
30733 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30734 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30735 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
30736 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30737 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
30738 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30739 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
30740 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30741 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30742 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30743 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30744 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
30745 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
30746 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30747 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30748 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30749 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30750 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30751 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30752 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30753 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30754 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30755 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30756 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
30757 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30758 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30759 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30760 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30761 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
30762 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30763 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30764 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
30765 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
30766 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
30767 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
30768 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30769 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30770 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30771 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30772 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30773 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30774 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30775 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30776 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30777 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
30778 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30779 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30780 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30781 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30782 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30783 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30784 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30785 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30786 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30787 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30788 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
30789 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
30790 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
30791 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
30792 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30793 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30794 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
30795 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
30796 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
30797 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
30798 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
30799 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
30800 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
30801 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
30802 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
30803 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
30804 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
30805 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
30806 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
30807 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
30808 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
30809 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
30810 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
30811 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
30812 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30813 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30814 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30815 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30816 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30817 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30818 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
30819 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
30820 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
30821 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30822 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
30823 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30824 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30825 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30826 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30827 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30828 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30829 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30830 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30831 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
30832 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
30833 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30834 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30835 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
30836 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30837 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30838 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30839 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30840 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30841 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30842 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30843 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30844 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30845 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30846 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
30847 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
30848 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30849 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30850 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30851 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30852 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30853 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30854 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30855 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30856 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30857 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30858 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30859 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30860 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
30861 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30862 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30863 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30864 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30865 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30866 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30867 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30868 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
30869 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
30870 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
30871 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30872 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30873 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30874 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30875 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
30876 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
30877 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
30878 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
30879 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
30880 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
30881 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30882 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
30883 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
30884 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
30885 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30886 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30887 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30888 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
30889 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
30890 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
30891 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30892 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30893 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30894 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
30895 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30896 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
30897 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
30898 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30899 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
30900 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30901 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30902 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30903 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30904 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
30905 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
30906 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
30907 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
30908 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
30909 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
30910 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
30911 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
30912 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
30913 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
30914 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
30915 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30916 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30917 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30918 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
30919 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30920 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30921 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
30922 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
30923 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
30924 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
30925 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
30926 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
30927 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
30928 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30929 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30930 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30931 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30932 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30933 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
30934 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
30935 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30936 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30937 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30938 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30939 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30940 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30941 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30942 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30943 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30944 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30945 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30946 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30947 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30948 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
30949 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
30950 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30951 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30952 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30953 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30954 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30955 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30956 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30957 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30958 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30959 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30960 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30961 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30962 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30963 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30964 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30965 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30966 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30967 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30968 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30969 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30970 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30971 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30972 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30973 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30974 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30975 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30976 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30977 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
30978 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
30979 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30980 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30981 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30982 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
30983 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30984 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
30985 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30986 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
30987 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
30988 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
30989 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30990 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30991 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
30992 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
30993 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
30994 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
30995 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
30996 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
30997 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
30998 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
30999 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
31000 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
31001 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
31002 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31003 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
31004 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
31005 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
31006 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
31007 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31008 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
31009 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
31010 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
31011 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31012 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
31013 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
31014 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31015 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
31016 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
31017 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31018 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
31019 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31020 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31021 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31022 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
31023 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31024 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
31025 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
31026 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31027 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31028 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31029 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
31030 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31031 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31032 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
31033 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
31034 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
31035 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31036 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31037 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31038 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31039 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31040 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31041 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
31042 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31043 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31044 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
31045 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
31046 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
31047 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
31048 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31049 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31050 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31051 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
31052 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
31053 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
31054 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
31055 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31056 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
31057 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
31058 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31059 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31060 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
31061 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31062 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31063 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31064 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31065 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
31066 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
31067 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31068 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
31069 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
31070 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
31071 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
31072 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
31073 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
31074 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
31075 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
31076 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
31077 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
31078 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31079 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31080 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
31081 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
31082 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31083 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31084 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
31085 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31086 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31087 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31088 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31089 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
31090 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
31091 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
31092 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
31093 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
31094 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
31095 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
31096 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
31097 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
31098 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
31099 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31100 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
31101 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
31102 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
31103 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31104 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
31105 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
31106 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
31107 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
31108 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31109 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31110 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
31111 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
31112 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
31113 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
31114 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
31115 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
31116 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
31117 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31118 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31119 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31120 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
31125 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31127 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
31128 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31130 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
31131 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31133 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
31134 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
31136 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
31137 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31139 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
31140 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31142 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
31143 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
31145 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
31146 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31148 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
31149 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
31151 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
31152 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
31154 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
31155 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
31157 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31158 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31160 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31161 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31163 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31164 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31166 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31167 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31169 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31170 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31172 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
31173 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31175 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31176 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31178 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31179 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31181 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31182 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31184 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
31185 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31187 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
31188 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31190 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31191 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31193 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31194 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31196 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
31197 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31199 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
31200 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31202 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
31203 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31205 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
31206 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
31208 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31209 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31211 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31212 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31214 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31215 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31217 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31218 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31220 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31221 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31223 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31224 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31226 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31227 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31229 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31230 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31232 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31233 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31235 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31236 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31238 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31239 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31241 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31242 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31244 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31245 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31247 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31248 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31250 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31251 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31253 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31254 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31256 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31257 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31259 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31260 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31262 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31263 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31265 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31266 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31268 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31269 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31271 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31272 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31274 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31275 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31277 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31278 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31280 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31281 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31283 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
31284 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31286 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
31287 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31289 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
31290 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31292 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
31293 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31295 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
31296 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
31298 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
31299 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31301 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
31302 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31304 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
31305 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
31307 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
31308 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31310 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
31311 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31313 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
31314 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31316 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
31317 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
31319 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
31320 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
31322 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
31323 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31325 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
31326 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
31328 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
31329 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
31331 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
31332 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
31334 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
31335 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
31337 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
31338 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31340 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
31341 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
31343 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
31344 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
31346 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
31347 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
31349 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
31350 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
31352 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
31353 return (void *)((wxControl
*) ((wxGauge
*) x
));
31355 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
31356 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
31358 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
31359 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
31361 static void *_p_wxButtonTo_p_wxControl(void *x
) {
31362 return (void *)((wxControl
*) ((wxButton
*) x
));
31364 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
31365 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
31367 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
31368 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31370 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
31371 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
31373 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
31374 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
31376 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
31377 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
31379 static void *_p_wxListbookTo_p_wxControl(void *x
) {
31380 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
31382 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
31383 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
31385 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
31386 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
31388 static void *_p_wxListViewTo_p_wxControl(void *x
) {
31389 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
31391 static void *_p_wxSliderTo_p_wxControl(void *x
) {
31392 return (void *)((wxControl
*) ((wxSlider
*) x
));
31394 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
31395 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
31397 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
31398 return (void *)((wxControl
*) ((wxPyControl
*) x
));
31400 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
31401 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
31403 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
31404 return (void *)((wxControl
*) ((wxStaticText
*) x
));
31406 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
31407 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
31409 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
31410 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
31412 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
31413 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31415 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
31416 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31418 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
31419 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31421 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
31422 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
31424 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
31425 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31427 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
31428 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31430 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
31431 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31433 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
31434 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31436 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31437 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31439 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31440 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31442 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31443 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31445 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
31446 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31448 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31449 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31451 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
31452 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31454 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
31455 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31457 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31458 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31460 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31461 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31463 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
31464 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31466 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
31467 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31469 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
31470 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31472 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
31473 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31475 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
31476 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31478 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31479 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31481 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
31482 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31484 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
31485 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31487 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31488 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31490 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
31491 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31493 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
31494 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31496 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
31497 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31499 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
31500 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31502 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
31503 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31505 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
31506 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31508 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
31509 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31511 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
31512 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31514 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
31515 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31517 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
31518 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31520 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
31521 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31523 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
31524 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31526 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
31527 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31529 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
31530 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31532 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
31533 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31535 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
31536 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31538 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
31539 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31541 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
31542 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31544 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
31545 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31547 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
31548 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31550 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
31551 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31553 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
31554 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
31556 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
31557 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
31559 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
31560 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
31562 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
31563 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
31565 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
31566 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31568 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
31569 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31571 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
31572 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
31574 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31575 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31577 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31578 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31580 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31581 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31583 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31584 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31586 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31587 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31589 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
31590 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31592 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
31593 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31595 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31596 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31598 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31599 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31601 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31602 return (void *)((wxObject
*) ((wxSizer
*) x
));
31604 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31605 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31607 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
31608 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31610 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
31611 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31613 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31614 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31616 static void *_p_wxEventTo_p_wxObject(void *x
) {
31617 return (void *)((wxObject
*) ((wxEvent
*) x
));
31619 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31620 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31622 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31623 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31625 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31626 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31628 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
31629 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31631 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
31632 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31634 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
31635 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31637 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31638 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31640 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31641 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31643 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31644 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31646 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31647 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31649 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31650 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31652 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31653 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31655 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
31656 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31658 static void *_p_wxControlTo_p_wxObject(void *x
) {
31659 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31661 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
31662 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31664 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
31665 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31667 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
31668 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31670 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
31671 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31673 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
31674 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31676 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31677 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31679 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
31680 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31682 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31683 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31685 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31686 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31688 static void *_p_wxListViewTo_p_wxObject(void *x
) {
31689 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31691 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
31692 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31694 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
31695 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31697 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31698 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31700 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31701 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31703 static void *_p_wxListbookTo_p_wxObject(void *x
) {
31704 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31706 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31707 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31709 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
31710 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31712 static void *_p_wxSliderTo_p_wxObject(void *x
) {
31713 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31715 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31716 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31718 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31719 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31721 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31722 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31724 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31725 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31727 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31728 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31730 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31731 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31733 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31734 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31736 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31737 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31739 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31740 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31742 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
31743 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31745 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
31746 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
31748 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31749 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31751 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31752 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31754 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31755 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31757 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31758 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31760 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31761 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31763 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31764 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31766 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31767 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31769 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31770 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31772 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31773 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31775 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31776 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31778 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31779 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31781 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31782 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31784 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31785 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31787 static void *_p_wxListEventTo_p_wxObject(void *x
) {
31788 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31790 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
31791 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31793 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
31794 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31796 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
31797 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31799 static void *_p_wxButtonTo_p_wxObject(void *x
) {
31800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31802 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
31803 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31805 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
31806 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31808 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
31809 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31811 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31812 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31814 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
31815 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31817 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
31818 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31820 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
31821 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31823 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
31824 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
31826 static void *_p_wxListItemTo_p_wxObject(void *x
) {
31827 return (void *)((wxObject
*) ((wxListItem
*) x
));
31829 static void *_p_wxImageTo_p_wxObject(void *x
) {
31830 return (void *)((wxObject
*) ((wxImage
*) x
));
31832 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
31833 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
31835 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31836 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31838 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
31839 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31841 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
31842 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
31844 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
31845 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31847 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
31848 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31850 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
31851 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31853 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31854 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31856 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31857 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31859 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31860 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31862 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31863 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31865 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31866 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31868 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31871 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31872 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31874 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31875 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31877 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31878 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31880 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31881 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31883 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31884 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31886 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31887 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31889 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31890 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31892 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
31893 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31895 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31896 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31898 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31899 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31901 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
31902 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31904 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31905 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31907 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31908 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31910 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31911 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31913 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31914 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31916 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
31917 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
31919 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
31920 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31922 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31923 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31925 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31926 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31928 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
31929 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
31931 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
31932 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
31934 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31935 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31937 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
31938 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31940 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
31941 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
31943 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
31944 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
31946 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
31947 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
31949 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31950 return (void *)((wxWindow
*) ((wxControl
*) x
));
31952 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
31953 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
31955 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
31956 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31958 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
31959 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
31961 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
31962 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31964 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
31965 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
31967 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
31968 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
31970 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31971 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31973 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
31974 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
31976 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
31977 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
31979 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
31980 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31982 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
31983 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
31985 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
31986 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
31988 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
31989 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
31991 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
31992 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31994 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
31995 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31997 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
31998 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32000 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
32001 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32003 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
32004 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32006 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
32007 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
32009 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
32010 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
32012 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
32013 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
32015 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
32016 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
32018 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
32019 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
32021 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
32022 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
32024 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
32025 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
32027 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
32028 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32030 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
32031 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32033 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
32034 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
32036 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32037 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32039 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
32040 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32042 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
32043 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32045 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32046 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32048 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32049 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32051 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32052 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32054 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32055 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32057 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
32058 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32060 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
32061 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32063 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
32064 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
32066 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32067 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32069 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
32070 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32072 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
32073 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32075 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
32076 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
32078 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32079 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32081 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32082 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32084 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
32085 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
32087 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
32088 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32090 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
32091 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
32093 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
32094 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
32096 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
32097 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
32099 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
32100 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
32102 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}};
32103 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}};
32104 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}};
32105 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}};
32106 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}};
32107 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}};
32108 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}};
32109 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}};
32110 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}};
32111 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}};
32112 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}};
32113 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}};
32114 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}};
32115 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}};
32116 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}};
32117 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}};
32118 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}};
32119 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}};
32120 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}};
32121 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}};
32122 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32123 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}};
32124 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}};
32125 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}};
32126 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}};
32127 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}};
32128 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}};
32129 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}};
32130 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}};
32131 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}};
32132 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}};
32133 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}};
32134 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}};
32135 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}};
32136 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}};
32137 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}};
32138 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}};
32139 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}};
32140 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}};
32141 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}};
32142 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}};
32143 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}};
32144 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}};
32145 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}};
32146 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}};
32147 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}};
32148 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}};
32149 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}};
32150 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}};
32151 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}};
32152 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}};
32153 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}};
32154 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}};
32155 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}};
32156 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}};
32157 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}};
32158 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}};
32159 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}};
32160 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}};
32161 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}};
32162 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}};
32163 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}};
32164 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}};
32165 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}};
32166 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}};
32167 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}};
32168 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}};
32169 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}};
32170 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}};
32171 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}};
32172 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}};
32173 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}};
32174 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}};
32175 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}};
32176 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}};
32177 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}};
32178 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}};
32179 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}};
32180 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32181 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}};
32182 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}};
32183 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}};
32184 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}};
32185 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}};
32187 static swig_type_info
*swig_types_initial
[] = {
32188 _swigt__p_wxTextUrlEvent
,
32189 _swigt__p_wxBookCtrlEvent
,
32191 _swigt__p_wxCheckBox
,
32192 _swigt__p_wxPyTreeCtrl
,
32194 _swigt__p_wxGenericDirCtrl
,
32196 _swigt__p_wxPyTreeItemData
,
32197 _swigt__p_wxItemContainer
,
32198 _swigt__p_wxDirFilterListCtrl
,
32199 _swigt__p_wxPyListCtrl
,
32200 _swigt__p_wxStaticLine
,
32201 _swigt__p_wxControl
,
32202 _swigt__p_wxPyControl
,
32204 _swigt__p_wxToolBarBase
,
32206 _swigt__p_wxToggleButton
,
32207 _swigt__p_wxRadioButton
,
32208 _swigt__p_wxChoice
,
32209 _swigt__p_wxMemoryDC
,
32210 _swigt__p_wxListItemAttr
,
32215 _swigt__p_wxListView
,
32217 _swigt__p_wxTextCtrl
,
32218 _swigt__p_wxNotebook
,
32219 _swigt__p_wxNotifyEvent
,
32220 _swigt__p_wxArrayString
,
32221 _swigt__p_wxListbook
,
32222 _swigt__p_wxStaticBitmap
,
32223 _swigt__p_wxSlider
,
32224 _swigt__p_wxStaticBox
,
32225 _swigt__p_wxArrayInt
,
32226 _swigt__p_wxContextHelp
,
32228 _swigt__p_wxEvtHandler
,
32229 _swigt__p_wxListEvent
,
32230 _swigt__p_wxListBox
,
32231 _swigt__p_wxCheckListBox
,
32232 _swigt__p_wxBookCtrl
,
32233 _swigt__p_wxSpinButton
,
32234 _swigt__p_wxButton
,
32235 _swigt__p_wxBitmapButton
,
32237 _swigt__p_wxContextHelpButton
,
32238 _swigt__p_wxRadioBox
,
32239 _swigt__p_wxScrollBar
,
32241 _swigt__p_wxTreeItemId
,
32242 _swigt__p_wxComboBox
,
32243 _swigt__p_wxHelpEvent
,
32244 _swigt__p_wxListItem
,
32245 _swigt__p_wxNotebookSizer
,
32246 _swigt__p_wxSpinEvent
,
32247 _swigt__p_wxGenericDragImage
,
32248 _swigt__p_wxSpinCtrl
,
32249 _swigt__p_wxImageList
,
32250 _swigt__p_wxHelpProvider
,
32251 _swigt__p_wxTextAttr
,
32252 _swigt__p_wxSimpleHelpProvider
,
32254 _swigt__p_wxListbookEvent
,
32255 _swigt__p_wxNotebookEvent
,
32256 _swigt__p_wxObject
,
32257 _swigt__p_wxCursor
,
32258 _swigt__p_wxKeyEvent
,
32259 _swigt__p_wxWindow
,
32260 _swigt__p_wxString
,
32261 _swigt__p_wxBitmap
,
32262 _swigt__p_wxTreeEvent
,
32263 _swigt__p_wxMouseEvent
,
32264 _swigt__p_wxCommandEvent
,
32265 _swigt__p_wxStaticText
,
32266 _swigt__p_wxControlWithItems
,
32267 _swigt__p_wxToolBarToolBase
,
32268 _swigt__p_wxColour
,
32269 _swigt__p_wxToolBar
,
32270 _swigt__p_wxBookCtrlSizer
,
32271 _swigt__p_wxValidator
,
32276 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32278 static swig_const_info swig_const_table
[] = {
32288 SWIGEXPORT(void) SWIG_init(void) {
32289 static PyObject
*SWIG_globals
= 0;
32290 static int typeinit
= 0;
32293 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
32294 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
32295 d
= PyModule_GetDict(m
);
32298 for (i
= 0; swig_types_initial
[i
]; i
++) {
32299 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
32303 SWIG_InstallConstants(d
,swig_const_table
);
32305 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
32306 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
32307 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
32308 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
32309 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
32310 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
32311 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
32312 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
32313 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
32314 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
32315 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
32316 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
32317 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
32318 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
32319 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
32320 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
32321 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
32322 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
32323 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
32324 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
32325 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
32326 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
32327 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
32328 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
32329 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
32330 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
32331 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
32332 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
32333 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
32334 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
32335 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
32336 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
32337 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
32338 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
32339 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
32340 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
32341 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
32342 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
32343 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
32344 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
32345 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
32346 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
32347 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
32348 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
32349 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
32350 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
32351 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
32352 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
32353 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
32354 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
32355 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
32356 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
32357 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
32358 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
32359 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
32360 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
32361 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
32362 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
32363 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
32364 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
32365 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
32366 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
32367 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
32368 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
32369 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
32370 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
32371 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
32372 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
32373 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
32374 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
32375 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
32376 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
32377 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
32378 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
32379 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
32380 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
32381 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
32382 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
32383 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
32384 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
32385 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
32386 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
32387 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
32388 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
32389 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
32390 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
32391 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
32392 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
32393 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
32394 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
32395 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
32396 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
32397 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
32398 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
32399 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
32400 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
32401 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
32402 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
32403 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
32404 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
32405 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
32406 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
32407 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
32408 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
32409 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
32410 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
32411 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
32412 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
32413 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
32414 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
32415 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
32416 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
32417 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
32418 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
32419 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
32420 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
32421 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
32422 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
32423 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
32424 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
32425 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
32426 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
32427 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
32428 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
32429 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
32430 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
32431 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
32432 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
32433 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
32434 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
32435 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
32436 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
32437 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
32438 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
32439 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
32440 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
32441 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
32442 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
32443 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
32444 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
32445 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
32446 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
32447 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
32448 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
32449 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
32450 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
32451 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
32452 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
32453 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
32454 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
32455 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
32456 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
32457 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
32458 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
32459 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
32460 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
32461 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
32462 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
32463 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
32464 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
32465 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
32466 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
32467 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
32468 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
32469 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
32470 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
32471 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
32472 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
32473 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
32474 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
32475 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
32476 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
32477 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
32478 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
32479 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
32480 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
32481 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
32482 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
32483 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
32484 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
32485 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
32486 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
32487 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
32488 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
32489 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
32490 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
32491 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
32492 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
32493 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
32494 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
32495 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
32496 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
32497 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
32498 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
32499 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
32500 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
32501 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
32502 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
32503 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
32504 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
32505 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
32506 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
32507 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
32508 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
32509 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
32510 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
32511 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
32512 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
32513 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
32514 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
32515 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
32517 // Map renamed classes back to their common name for OOR
32518 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32520 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
32521 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
32522 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
32523 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
32524 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
32525 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
32526 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
32527 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
32528 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
32529 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
32530 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
32531 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
32532 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
32533 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
32534 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
32535 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
32536 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
32537 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
32538 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
32539 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
32540 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
32541 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
32542 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
32543 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
32544 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
32545 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
32546 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
32547 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
32548 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
32549 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
32550 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
32551 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
32552 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
32553 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
32554 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
32555 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
32556 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
32557 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
32558 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
32559 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
32560 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
32561 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
32562 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
32563 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
32564 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
32565 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
32566 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
32567 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
32568 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
32569 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
32570 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
32571 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
32572 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
32573 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
32574 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
32575 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
32577 // Map renamed classes back to their common name for OOR
32578 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32579 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32581 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
32582 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
32583 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
32584 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
32585 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
32586 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
32587 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
32588 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
32589 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
32590 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
32592 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");