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
);
564 int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
565 int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
566 int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
568 #include <wx/slider.h>
571 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
572 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
575 // implement dummy items for platforms that don't have this class
577 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
579 class wxToggleButton
: public wxControl
582 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
583 const wxPoint
&, const wxSize
&, long,
584 const wxValidator
&, const wxString
&)
585 { wxPyRaiseNotImplemented(); }
588 { wxPyRaiseNotImplemented(); }
592 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
594 SWIGSTATICINLINE(PyObject
* )
595 SWIG_FromUnsignedLong(unsigned long value
)
597 return (value
> LONG_MAX
) ?
598 PyLong_FromUnsignedLong(value
)
599 : PyInt_FromLong(swig_numeric_cast(long,value
));
602 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
603 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
604 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
606 Py_INCREF(udata
->m_obj
);
613 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
614 self
->SetClientData(new wxPyUserData(clientData
));
616 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
){
617 wxPyUserData
* udata
= NULL
;
618 if (clientData
&& clientData
!= Py_None
)
619 udata
= new wxPyUserData(clientData
);
620 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
621 shortHelp
, longHelp
, udata
);
623 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
){
624 wxPyUserData
* udata
= NULL
;
625 if (clientData
&& clientData
!= Py_None
)
626 udata
= new wxPyUserData(clientData
);
627 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
628 shortHelp
, longHelp
, udata
);
630 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
631 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
633 Py_INCREF(udata
->m_obj
);
640 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
641 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
644 #include <wx/listctrl.h>
647 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
648 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
649 // Python aware sorting function for wxPyListCtrl
650 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
652 PyObject
* func
= (PyObject
*)funcPtr
;
653 wxPyBeginBlockThreads();
655 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
656 PyObject
* result
= PyEval_CallObject(func
, args
);
659 retval
= PyInt_AsLong(result
);
663 wxPyEndBlockThreads();
667 // C++ Version of a Python aware class
668 class wxPyListCtrl
: public wxListCtrl
{
669 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
671 wxPyListCtrl() : wxListCtrl() {}
672 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
676 const wxValidator
& validator
,
677 const wxString
& name
) :
678 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
680 bool Create(wxWindow
* parent
, wxWindowID id
,
684 const wxValidator
& validator
,
685 const wxString
& name
) {
686 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
689 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
690 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
691 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
696 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
698 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
699 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
700 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
702 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
704 item
.SetMask( wxLIST_MASK_STATE
|
712 if (self
->GetColumn(col
, item
))
713 return new wxListItem(item
);
717 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
718 wxListItem
* info
= new wxListItem
;
719 info
->m_itemId
= itemId
;
721 info
->m_mask
= 0xFFFF;
722 self
->GetItem(*info
);
725 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
727 self
->GetItemPosition(item
, pos
);
730 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
732 self
->GetItemRect(item
, rect
, code
);
735 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
736 if (!PyCallable_Check(func
))
738 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
740 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
744 return (wxWindow
*)self
->m_mainWin
;
748 #include <wx/treectrl.h>
749 #include "wx/wxPython/pytree.h"
751 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
752 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
753 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
754 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
755 // C++ version of Python aware wxTreeCtrl
756 class wxPyTreeCtrl
: public wxTreeCtrl
{
757 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
759 wxPyTreeCtrl() : wxTreeCtrl() {}
760 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
764 const wxValidator
& validator
,
765 const wxString
& name
) :
766 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
768 bool Create(wxWindow
*parent
, wxWindowID id
,
772 const wxValidator
& validator
,
773 const wxString
& name
) {
774 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
778 int OnCompareItems(const wxTreeItemId
& item1
,
779 const wxTreeItemId
& item2
) {
782 wxPyBeginBlockThreads();
783 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
784 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
785 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
786 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
790 wxPyEndBlockThreads();
792 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
798 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
802 #if UINT_MAX < LONG_MAX
803 #define SWIG_FromUnsignedInt SWIG_FromLong
805 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
809 SWIGSTATICINLINE(unsigned long)
810 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
811 unsigned long max_value
)
813 if (!PyErr_Occurred()) {
814 if (value
> max_value
) {
816 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
817 value
, type
, max_value
);
818 PyErr_SetObject(PyExc_OverflowError
, err
);
826 #if UINT_MAX != ULONG_MAX
827 SWIGSTATICINLINE(unsigned int)
828 SWIG_AsUnsignedInt(PyObject
*obj
)
830 return swig_numeric_cast(unsigned int,
831 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
832 "unsigned int", UINT_MAX
));
835 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
839 SWIGSTATICINLINE(int)
840 SWIG_CheckUnsignedInt(PyObject
* obj
)
842 SWIG_AsUnsignedInt(obj
);
843 if (PyErr_Occurred()) {
851 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
852 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
854 data
= new wxPyTreeItemData();
855 data
->SetId(item
); // set the id
856 self
->SetItemData(item
, data
);
860 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
861 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
863 data
= new wxPyTreeItemData();
864 data
->SetId(item
); // set the id
865 self
->SetItemData(item
, data
);
867 return data
->GetData();
869 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
870 data
->SetId(item
); // set the id
871 self
->SetItemData(item
, data
);
873 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
874 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
876 data
= new wxPyTreeItemData(obj
);
877 data
->SetId(item
); // set the id
878 self
->SetItemData(item
, data
);
882 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
883 wxPyBeginBlockThreads();
884 PyObject
* rval
= PyList_New(0);
885 wxArrayTreeItemIds array
;
887 num
= self
->GetSelections(array
);
888 for (x
=0; x
< num
; x
++) {
889 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
890 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
891 PyList_Append(rval
, item
);
893 wxPyEndBlockThreads();
896 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
898 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
899 wxPyBeginBlockThreads();
900 PyObject
* tup
= PyTuple_New(2);
901 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
902 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
903 wxPyEndBlockThreads();
906 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
907 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
908 wxPyBeginBlockThreads();
909 PyObject
* tup
= PyTuple_New(2);
910 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
911 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
912 wxPyEndBlockThreads();
915 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
917 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
918 wxPyBeginBlockThreads();
919 wxRect
* r
= new wxRect(rect
);
920 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
921 wxPyEndBlockThreads();
927 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
928 // C++ version of Python aware wxControl
929 class wxPyControl
: public wxControl
931 DECLARE_DYNAMIC_CLASS(wxPyControl
)
933 wxPyControl() : wxControl() {}
934 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
935 const wxPoint
& pos
= wxDefaultPosition
,
936 const wxSize
& size
= wxDefaultSize
,
938 const wxValidator
& validator
=wxDefaultValidator
,
939 const wxString
& name
= wxPyControlNameStr
)
940 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
943 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
944 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
945 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
946 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
948 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
949 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
950 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
952 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
953 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
955 DEC_PYCALLBACK__(InitDialog
);
956 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
957 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
958 DEC_PYCALLBACK_BOOL_(Validate
);
960 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
961 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
962 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
964 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
965 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
967 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
972 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
974 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
975 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
976 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
977 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
979 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
980 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
981 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
983 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
984 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
986 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
987 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
988 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
989 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
991 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
992 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
993 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
995 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
996 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
998 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, ShouldInheritColours
);
1002 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1004 #include <wx/generic/dragimgg.h>
1009 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1010 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1015 static PyObject
*_wrap_ButtonNameStr_get() {
1020 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1022 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1029 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1030 PyObject
*resultobj
;
1031 wxWindow
*arg1
= (wxWindow
*) 0 ;
1033 wxString
*arg3
= 0 ;
1034 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1035 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1036 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1037 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1038 long arg6
= (long) 0 ;
1039 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1040 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1041 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1042 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1044 bool temp3
= False
;
1047 bool temp8
= False
;
1048 PyObject
* obj0
= 0 ;
1049 PyObject
* obj1
= 0 ;
1050 PyObject
* obj2
= 0 ;
1051 PyObject
* obj3
= 0 ;
1052 PyObject
* obj4
= 0 ;
1053 PyObject
* obj5
= 0 ;
1054 PyObject
* obj6
= 0 ;
1055 PyObject
* obj7
= 0 ;
1057 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1063 arg2
= (int) SWIG_AsInt(obj1
);
1064 if (PyErr_Occurred()) SWIG_fail
;
1066 arg3
= wxString_in_helper(obj2
);
1067 if (arg3
== NULL
) SWIG_fail
;
1073 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1079 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1083 arg6
= (long) SWIG_AsLong(obj5
);
1084 if (PyErr_Occurred()) SWIG_fail
;
1087 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1088 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1091 PyErr_SetString(PyExc_TypeError
,"null reference");
1097 arg8
= wxString_in_helper(obj7
);
1098 if (arg8
== NULL
) SWIG_fail
;
1103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1104 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1106 wxPyEndAllowThreads(__tstate
);
1107 if (PyErr_Occurred()) SWIG_fail
;
1110 resultobj
= wxPyMake_wxObject(result
);
1134 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1135 PyObject
*resultobj
;
1141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1144 result
= (wxButton
*)new wxButton();
1146 wxPyEndAllowThreads(__tstate
);
1147 if (PyErr_Occurred()) SWIG_fail
;
1150 resultobj
= wxPyMake_wxObject(result
);
1158 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1159 PyObject
*resultobj
;
1160 wxButton
*arg1
= (wxButton
*) 0 ;
1161 wxWindow
*arg2
= (wxWindow
*) 0 ;
1163 wxString
*arg4
= 0 ;
1164 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1165 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1166 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1167 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1168 long arg7
= (long) 0 ;
1169 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1170 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1171 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1172 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1174 bool temp4
= False
;
1177 bool temp9
= False
;
1178 PyObject
* obj0
= 0 ;
1179 PyObject
* obj1
= 0 ;
1180 PyObject
* obj2
= 0 ;
1181 PyObject
* obj3
= 0 ;
1182 PyObject
* obj4
= 0 ;
1183 PyObject
* obj5
= 0 ;
1184 PyObject
* obj6
= 0 ;
1185 PyObject
* obj7
= 0 ;
1186 PyObject
* obj8
= 0 ;
1188 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1196 arg3
= (int) SWIG_AsInt(obj2
);
1197 if (PyErr_Occurred()) SWIG_fail
;
1199 arg4
= wxString_in_helper(obj3
);
1200 if (arg4
== NULL
) SWIG_fail
;
1206 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1212 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1216 arg7
= (long) SWIG_AsLong(obj6
);
1217 if (PyErr_Occurred()) SWIG_fail
;
1220 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1221 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1224 PyErr_SetString(PyExc_TypeError
,"null reference");
1230 arg9
= wxString_in_helper(obj8
);
1231 if (arg9
== NULL
) SWIG_fail
;
1236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1237 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1239 wxPyEndAllowThreads(__tstate
);
1240 if (PyErr_Occurred()) SWIG_fail
;
1242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1265 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1266 PyObject
*resultobj
;
1267 wxButton
*arg1
= (wxButton
*) 0 ;
1268 PyObject
* obj0
= 0 ;
1270 (char *) "self", NULL
1273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1278 (arg1
)->SetDefault();
1280 wxPyEndAllowThreads(__tstate
);
1281 if (PyErr_Occurred()) SWIG_fail
;
1283 Py_INCREF(Py_None
); resultobj
= Py_None
;
1290 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1291 PyObject
*resultobj
;
1297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1300 result
= wxButton::GetDefaultSize();
1302 wxPyEndAllowThreads(__tstate
);
1303 if (PyErr_Occurred()) SWIG_fail
;
1307 resultptr
= new wxSize((wxSize
&) result
);
1308 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1316 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1319 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1321 return Py_BuildValue((char *)"");
1323 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1324 PyObject
*resultobj
;
1325 wxWindow
*arg1
= (wxWindow
*) 0 ;
1327 wxBitmap
*arg3
= 0 ;
1328 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1329 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1330 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1331 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1332 long arg6
= (long) wxBU_AUTODRAW
;
1333 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1334 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1335 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1336 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1337 wxBitmapButton
*result
;
1340 bool temp8
= False
;
1341 PyObject
* obj0
= 0 ;
1342 PyObject
* obj1
= 0 ;
1343 PyObject
* obj2
= 0 ;
1344 PyObject
* obj3
= 0 ;
1345 PyObject
* obj4
= 0 ;
1346 PyObject
* obj5
= 0 ;
1347 PyObject
* obj6
= 0 ;
1348 PyObject
* obj7
= 0 ;
1350 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1356 arg2
= (int) SWIG_AsInt(obj1
);
1357 if (PyErr_Occurred()) SWIG_fail
;
1358 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1359 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1362 PyErr_SetString(PyExc_TypeError
,"null reference");
1368 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1374 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1378 arg6
= (long) SWIG_AsLong(obj5
);
1379 if (PyErr_Occurred()) SWIG_fail
;
1382 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1383 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1386 PyErr_SetString(PyExc_TypeError
,"null reference");
1392 arg8
= wxString_in_helper(obj7
);
1393 if (arg8
== NULL
) SWIG_fail
;
1398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1399 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1401 wxPyEndAllowThreads(__tstate
);
1402 if (PyErr_Occurred()) SWIG_fail
;
1405 resultobj
= wxPyMake_wxObject(result
);
1421 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1422 PyObject
*resultobj
;
1423 wxBitmapButton
*result
;
1428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1431 result
= (wxBitmapButton
*)new wxBitmapButton();
1433 wxPyEndAllowThreads(__tstate
);
1434 if (PyErr_Occurred()) SWIG_fail
;
1437 resultobj
= wxPyMake_wxObject(result
);
1445 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
*resultobj
;
1447 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1448 wxWindow
*arg2
= (wxWindow
*) 0 ;
1450 wxBitmap
*arg4
= 0 ;
1451 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1452 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1453 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1454 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1455 long arg7
= (long) wxBU_AUTODRAW
;
1456 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1457 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1458 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1459 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1463 bool temp9
= False
;
1464 PyObject
* obj0
= 0 ;
1465 PyObject
* obj1
= 0 ;
1466 PyObject
* obj2
= 0 ;
1467 PyObject
* obj3
= 0 ;
1468 PyObject
* obj4
= 0 ;
1469 PyObject
* obj5
= 0 ;
1470 PyObject
* obj6
= 0 ;
1471 PyObject
* obj7
= 0 ;
1472 PyObject
* obj8
= 0 ;
1474 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1482 arg3
= (int) SWIG_AsInt(obj2
);
1483 if (PyErr_Occurred()) SWIG_fail
;
1484 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1485 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1488 PyErr_SetString(PyExc_TypeError
,"null reference");
1494 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1500 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1504 arg7
= (long) SWIG_AsLong(obj6
);
1505 if (PyErr_Occurred()) SWIG_fail
;
1508 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1509 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1512 PyErr_SetString(PyExc_TypeError
,"null reference");
1518 arg9
= wxString_in_helper(obj8
);
1519 if (arg9
== NULL
) SWIG_fail
;
1524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1525 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1527 wxPyEndAllowThreads(__tstate
);
1528 if (PyErr_Occurred()) SWIG_fail
;
1530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1545 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1546 PyObject
*resultobj
;
1547 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1549 PyObject
* obj0
= 0 ;
1551 (char *) "self", NULL
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1559 result
= (arg1
)->GetBitmapLabel();
1561 wxPyEndAllowThreads(__tstate
);
1562 if (PyErr_Occurred()) SWIG_fail
;
1565 wxBitmap
* resultptr
;
1566 resultptr
= new wxBitmap((wxBitmap
&) result
);
1567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1575 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1576 PyObject
*resultobj
;
1577 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1579 PyObject
* obj0
= 0 ;
1581 (char *) "self", NULL
1584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1589 result
= (arg1
)->GetBitmapDisabled();
1591 wxPyEndAllowThreads(__tstate
);
1592 if (PyErr_Occurred()) SWIG_fail
;
1595 wxBitmap
* resultptr
;
1596 resultptr
= new wxBitmap((wxBitmap
&) result
);
1597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1605 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1606 PyObject
*resultobj
;
1607 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1609 PyObject
* obj0
= 0 ;
1611 (char *) "self", NULL
1614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1619 result
= (arg1
)->GetBitmapFocus();
1621 wxPyEndAllowThreads(__tstate
);
1622 if (PyErr_Occurred()) SWIG_fail
;
1625 wxBitmap
* resultptr
;
1626 resultptr
= new wxBitmap((wxBitmap
&) result
);
1627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1635 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1636 PyObject
*resultobj
;
1637 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1639 PyObject
* obj0
= 0 ;
1641 (char *) "self", NULL
1644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1649 result
= (arg1
)->GetBitmapSelected();
1651 wxPyEndAllowThreads(__tstate
);
1652 if (PyErr_Occurred()) SWIG_fail
;
1655 wxBitmap
* resultptr
;
1656 resultptr
= new wxBitmap((wxBitmap
&) result
);
1657 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1665 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1666 PyObject
*resultobj
;
1667 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1668 wxBitmap
*arg2
= 0 ;
1669 PyObject
* obj0
= 0 ;
1670 PyObject
* obj1
= 0 ;
1672 (char *) "self",(char *) "bitmap", NULL
1675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1678 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1679 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1682 PyErr_SetString(PyExc_TypeError
,"null reference");
1686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1687 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1689 wxPyEndAllowThreads(__tstate
);
1690 if (PyErr_Occurred()) SWIG_fail
;
1692 Py_INCREF(Py_None
); resultobj
= Py_None
;
1699 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1700 PyObject
*resultobj
;
1701 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1702 wxBitmap
*arg2
= 0 ;
1703 PyObject
* obj0
= 0 ;
1704 PyObject
* obj1
= 0 ;
1706 (char *) "self",(char *) "bitmap", NULL
1709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1713 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1716 PyErr_SetString(PyExc_TypeError
,"null reference");
1720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1721 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1723 wxPyEndAllowThreads(__tstate
);
1724 if (PyErr_Occurred()) SWIG_fail
;
1726 Py_INCREF(Py_None
); resultobj
= Py_None
;
1733 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1734 PyObject
*resultobj
;
1735 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1736 wxBitmap
*arg2
= 0 ;
1737 PyObject
* obj0
= 0 ;
1738 PyObject
* obj1
= 0 ;
1740 (char *) "self",(char *) "bitmap", NULL
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1747 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1750 PyErr_SetString(PyExc_TypeError
,"null reference");
1754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1755 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1757 wxPyEndAllowThreads(__tstate
);
1758 if (PyErr_Occurred()) SWIG_fail
;
1760 Py_INCREF(Py_None
); resultobj
= Py_None
;
1767 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1768 PyObject
*resultobj
;
1769 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1770 wxBitmap
*arg2
= 0 ;
1771 PyObject
* obj0
= 0 ;
1772 PyObject
* obj1
= 0 ;
1774 (char *) "self",(char *) "bitmap", NULL
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1780 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1784 PyErr_SetString(PyExc_TypeError
,"null reference");
1788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1789 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1791 wxPyEndAllowThreads(__tstate
);
1792 if (PyErr_Occurred()) SWIG_fail
;
1794 Py_INCREF(Py_None
); resultobj
= Py_None
;
1801 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1802 PyObject
*resultobj
;
1803 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1806 PyObject
* obj0
= 0 ;
1807 PyObject
* obj1
= 0 ;
1808 PyObject
* obj2
= 0 ;
1810 (char *) "self",(char *) "x",(char *) "y", NULL
1813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1816 arg2
= (int) SWIG_AsInt(obj1
);
1817 if (PyErr_Occurred()) SWIG_fail
;
1818 arg3
= (int) SWIG_AsInt(obj2
);
1819 if (PyErr_Occurred()) SWIG_fail
;
1821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1822 (arg1
)->SetMargins(arg2
,arg3
);
1824 wxPyEndAllowThreads(__tstate
);
1825 if (PyErr_Occurred()) SWIG_fail
;
1827 Py_INCREF(Py_None
); resultobj
= Py_None
;
1834 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
*resultobj
;
1836 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1838 PyObject
* obj0
= 0 ;
1840 (char *) "self", NULL
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1848 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1850 wxPyEndAllowThreads(__tstate
);
1851 if (PyErr_Occurred()) SWIG_fail
;
1853 resultobj
= SWIG_FromInt((int)result
);
1860 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
*resultobj
;
1862 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1864 PyObject
* obj0
= 0 ;
1866 (char *) "self", NULL
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1874 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1876 wxPyEndAllowThreads(__tstate
);
1877 if (PyErr_Occurred()) SWIG_fail
;
1879 resultobj
= SWIG_FromInt((int)result
);
1886 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1889 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1891 return Py_BuildValue((char *)"");
1893 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1894 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1899 static PyObject
*_wrap_CheckBoxNameStr_get() {
1904 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1906 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1913 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
*resultobj
;
1915 wxWindow
*arg1
= (wxWindow
*) 0 ;
1917 wxString
*arg3
= 0 ;
1918 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1919 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1920 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1921 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1922 long arg6
= (long) 0 ;
1923 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1924 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1925 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1926 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1928 bool temp3
= False
;
1931 bool temp8
= False
;
1932 PyObject
* obj0
= 0 ;
1933 PyObject
* obj1
= 0 ;
1934 PyObject
* obj2
= 0 ;
1935 PyObject
* obj3
= 0 ;
1936 PyObject
* obj4
= 0 ;
1937 PyObject
* obj5
= 0 ;
1938 PyObject
* obj6
= 0 ;
1939 PyObject
* obj7
= 0 ;
1941 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1947 arg2
= (int) SWIG_AsInt(obj1
);
1948 if (PyErr_Occurred()) SWIG_fail
;
1950 arg3
= wxString_in_helper(obj2
);
1951 if (arg3
== NULL
) SWIG_fail
;
1957 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1963 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1967 arg6
= (long) SWIG_AsLong(obj5
);
1968 if (PyErr_Occurred()) SWIG_fail
;
1971 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1972 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1975 PyErr_SetString(PyExc_TypeError
,"null reference");
1981 arg8
= wxString_in_helper(obj7
);
1982 if (arg8
== NULL
) SWIG_fail
;
1987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1988 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1990 wxPyEndAllowThreads(__tstate
);
1991 if (PyErr_Occurred()) SWIG_fail
;
1993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2016 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2017 PyObject
*resultobj
;
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2026 result
= (wxCheckBox
*)new wxCheckBox();
2028 wxPyEndAllowThreads(__tstate
);
2029 if (PyErr_Occurred()) SWIG_fail
;
2031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2038 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2039 PyObject
*resultobj
;
2040 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2041 wxWindow
*arg2
= (wxWindow
*) 0 ;
2043 wxString
*arg4
= 0 ;
2044 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2045 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2046 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2047 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2048 long arg7
= (long) 0 ;
2049 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2050 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2051 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2052 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2054 bool temp4
= False
;
2057 bool temp9
= False
;
2058 PyObject
* obj0
= 0 ;
2059 PyObject
* obj1
= 0 ;
2060 PyObject
* obj2
= 0 ;
2061 PyObject
* obj3
= 0 ;
2062 PyObject
* obj4
= 0 ;
2063 PyObject
* obj5
= 0 ;
2064 PyObject
* obj6
= 0 ;
2065 PyObject
* obj7
= 0 ;
2066 PyObject
* obj8
= 0 ;
2068 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2076 arg3
= (int) SWIG_AsInt(obj2
);
2077 if (PyErr_Occurred()) SWIG_fail
;
2079 arg4
= wxString_in_helper(obj3
);
2080 if (arg4
== NULL
) SWIG_fail
;
2086 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2092 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2096 arg7
= (long) SWIG_AsLong(obj6
);
2097 if (PyErr_Occurred()) SWIG_fail
;
2100 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2101 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2104 PyErr_SetString(PyExc_TypeError
,"null reference");
2110 arg9
= wxString_in_helper(obj8
);
2111 if (arg9
== NULL
) SWIG_fail
;
2116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2117 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2119 wxPyEndAllowThreads(__tstate
);
2120 if (PyErr_Occurred()) SWIG_fail
;
2122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2145 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2146 PyObject
*resultobj
;
2147 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2149 PyObject
* obj0
= 0 ;
2151 (char *) "self", NULL
2154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2159 result
= (bool)(arg1
)->GetValue();
2161 wxPyEndAllowThreads(__tstate
);
2162 if (PyErr_Occurred()) SWIG_fail
;
2164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2171 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2172 PyObject
*resultobj
;
2173 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2175 PyObject
* obj0
= 0 ;
2177 (char *) "self", NULL
2180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2185 result
= (bool)(arg1
)->IsChecked();
2187 wxPyEndAllowThreads(__tstate
);
2188 if (PyErr_Occurred()) SWIG_fail
;
2190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2197 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
*resultobj
;
2199 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2201 PyObject
* obj0
= 0 ;
2202 PyObject
* obj1
= 0 ;
2204 (char *) "self",(char *) "state", NULL
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2210 arg2
= (bool const) SWIG_AsBool(obj1
);
2211 if (PyErr_Occurred()) SWIG_fail
;
2213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2214 (arg1
)->SetValue(arg2
);
2216 wxPyEndAllowThreads(__tstate
);
2217 if (PyErr_Occurred()) SWIG_fail
;
2219 Py_INCREF(Py_None
); resultobj
= Py_None
;
2226 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2227 PyObject
*resultobj
;
2228 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2230 PyObject
* obj0
= 0 ;
2232 (char *) "self", NULL
2235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2240 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2242 wxPyEndAllowThreads(__tstate
);
2243 if (PyErr_Occurred()) SWIG_fail
;
2245 resultobj
= SWIG_FromInt((int)result
);
2252 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2253 PyObject
*resultobj
;
2254 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2256 PyObject
* obj0
= 0 ;
2257 PyObject
* obj1
= 0 ;
2259 (char *) "self",(char *) "state", NULL
2262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2265 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2266 if (PyErr_Occurred()) SWIG_fail
;
2268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2269 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2271 wxPyEndAllowThreads(__tstate
);
2272 if (PyErr_Occurred()) SWIG_fail
;
2274 Py_INCREF(Py_None
); resultobj
= Py_None
;
2281 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2282 PyObject
*resultobj
;
2283 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2285 PyObject
* obj0
= 0 ;
2287 (char *) "self", NULL
2290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2295 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2297 wxPyEndAllowThreads(__tstate
);
2298 if (PyErr_Occurred()) SWIG_fail
;
2300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2307 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
*resultobj
;
2309 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2311 PyObject
* obj0
= 0 ;
2313 (char *) "self", NULL
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2321 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2323 wxPyEndAllowThreads(__tstate
);
2324 if (PyErr_Occurred()) SWIG_fail
;
2326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2333 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2336 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2338 return Py_BuildValue((char *)"");
2340 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2341 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2346 static PyObject
*_wrap_ChoiceNameStr_get() {
2351 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2353 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2360 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2361 PyObject
*resultobj
;
2362 wxWindow
*arg1
= (wxWindow
*) 0 ;
2364 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2365 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2366 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2367 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2368 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2369 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2370 long arg6
= (long) 0 ;
2371 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2372 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2373 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2374 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2378 bool temp5
= False
;
2379 bool temp8
= False
;
2380 PyObject
* obj0
= 0 ;
2381 PyObject
* obj1
= 0 ;
2382 PyObject
* obj2
= 0 ;
2383 PyObject
* obj3
= 0 ;
2384 PyObject
* obj4
= 0 ;
2385 PyObject
* obj5
= 0 ;
2386 PyObject
* obj6
= 0 ;
2387 PyObject
* obj7
= 0 ;
2389 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2395 arg2
= (int) SWIG_AsInt(obj1
);
2396 if (PyErr_Occurred()) SWIG_fail
;
2400 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2406 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2411 if (! PySequence_Check(obj4
)) {
2412 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2415 arg5
= new wxArrayString
;
2417 int i
, len
=PySequence_Length(obj4
);
2418 for (i
=0; i
<len
; i
++) {
2419 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2421 PyObject
* str
= PyObject_Unicode(item
);
2423 PyObject
* str
= PyObject_Str(item
);
2425 arg5
->Add(Py2wxString(str
));
2432 arg6
= (long) SWIG_AsLong(obj5
);
2433 if (PyErr_Occurred()) SWIG_fail
;
2436 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2437 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2440 PyErr_SetString(PyExc_TypeError
,"null reference");
2446 arg8
= wxString_in_helper(obj7
);
2447 if (arg8
== NULL
) SWIG_fail
;
2452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2453 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2455 wxPyEndAllowThreads(__tstate
);
2456 if (PyErr_Occurred()) SWIG_fail
;
2458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2460 if (temp5
) delete arg5
;
2469 if (temp5
) delete arg5
;
2479 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
*resultobj
;
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2489 result
= (wxChoice
*)new wxChoice();
2491 wxPyEndAllowThreads(__tstate
);
2492 if (PyErr_Occurred()) SWIG_fail
;
2494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2501 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2502 PyObject
*resultobj
;
2503 wxChoice
*arg1
= (wxChoice
*) 0 ;
2504 wxWindow
*arg2
= (wxWindow
*) 0 ;
2506 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2507 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2508 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2509 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2510 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2511 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2512 long arg7
= (long) 0 ;
2513 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2514 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2515 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2516 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2520 bool temp6
= False
;
2521 bool temp9
= False
;
2522 PyObject
* obj0
= 0 ;
2523 PyObject
* obj1
= 0 ;
2524 PyObject
* obj2
= 0 ;
2525 PyObject
* obj3
= 0 ;
2526 PyObject
* obj4
= 0 ;
2527 PyObject
* obj5
= 0 ;
2528 PyObject
* obj6
= 0 ;
2529 PyObject
* obj7
= 0 ;
2530 PyObject
* obj8
= 0 ;
2532 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2540 arg3
= (int) SWIG_AsInt(obj2
);
2541 if (PyErr_Occurred()) SWIG_fail
;
2545 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2551 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2556 if (! PySequence_Check(obj5
)) {
2557 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2560 arg6
= new wxArrayString
;
2562 int i
, len
=PySequence_Length(obj5
);
2563 for (i
=0; i
<len
; i
++) {
2564 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2566 PyObject
* str
= PyObject_Unicode(item
);
2568 PyObject
* str
= PyObject_Str(item
);
2570 arg6
->Add(Py2wxString(str
));
2577 arg7
= (long) SWIG_AsLong(obj6
);
2578 if (PyErr_Occurred()) SWIG_fail
;
2581 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2585 PyErr_SetString(PyExc_TypeError
,"null reference");
2591 arg9
= wxString_in_helper(obj8
);
2592 if (arg9
== NULL
) SWIG_fail
;
2597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2598 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2600 wxPyEndAllowThreads(__tstate
);
2601 if (PyErr_Occurred()) SWIG_fail
;
2603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2605 if (temp6
) delete arg6
;
2614 if (temp6
) delete arg6
;
2624 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2625 PyObject
*resultobj
;
2626 wxChoice
*arg1
= (wxChoice
*) 0 ;
2628 PyObject
* obj0
= 0 ;
2629 PyObject
* obj1
= 0 ;
2631 (char *) "self",(char *) "n", NULL
2634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2637 arg2
= (int const) SWIG_AsInt(obj1
);
2638 if (PyErr_Occurred()) SWIG_fail
;
2640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2641 (arg1
)->SetSelection(arg2
);
2643 wxPyEndAllowThreads(__tstate
);
2644 if (PyErr_Occurred()) SWIG_fail
;
2646 Py_INCREF(Py_None
); resultobj
= Py_None
;
2653 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2654 PyObject
*resultobj
;
2655 wxChoice
*arg1
= (wxChoice
*) 0 ;
2656 wxString
*arg2
= 0 ;
2657 bool temp2
= False
;
2658 PyObject
* obj0
= 0 ;
2659 PyObject
* obj1
= 0 ;
2661 (char *) "self",(char *) "string", NULL
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2668 arg2
= wxString_in_helper(obj1
);
2669 if (arg2
== NULL
) SWIG_fail
;
2673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2674 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2676 wxPyEndAllowThreads(__tstate
);
2677 if (PyErr_Occurred()) SWIG_fail
;
2679 Py_INCREF(Py_None
); resultobj
= Py_None
;
2694 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2695 PyObject
*resultobj
;
2696 wxChoice
*arg1
= (wxChoice
*) 0 ;
2698 wxString
*arg3
= 0 ;
2699 bool temp3
= False
;
2700 PyObject
* obj0
= 0 ;
2701 PyObject
* obj1
= 0 ;
2702 PyObject
* obj2
= 0 ;
2704 (char *) "self",(char *) "n",(char *) "string", NULL
2707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2710 arg2
= (int) SWIG_AsInt(obj1
);
2711 if (PyErr_Occurred()) SWIG_fail
;
2713 arg3
= wxString_in_helper(obj2
);
2714 if (arg3
== NULL
) SWIG_fail
;
2718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2719 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2721 wxPyEndAllowThreads(__tstate
);
2722 if (PyErr_Occurred()) SWIG_fail
;
2724 Py_INCREF(Py_None
); resultobj
= Py_None
;
2739 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2742 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2744 return Py_BuildValue((char *)"");
2746 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2747 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2752 static PyObject
*_wrap_ComboBoxNameStr_get() {
2757 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2759 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2766 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
*resultobj
;
2768 wxWindow
*arg1
= (wxWindow
*) 0 ;
2770 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2771 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2772 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2773 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2774 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2775 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2776 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2777 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2778 long arg7
= (long) 0 ;
2779 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2780 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2781 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2782 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2784 bool temp3
= False
;
2787 bool temp6
= False
;
2788 bool temp9
= False
;
2789 PyObject
* obj0
= 0 ;
2790 PyObject
* obj1
= 0 ;
2791 PyObject
* obj2
= 0 ;
2792 PyObject
* obj3
= 0 ;
2793 PyObject
* obj4
= 0 ;
2794 PyObject
* obj5
= 0 ;
2795 PyObject
* obj6
= 0 ;
2796 PyObject
* obj7
= 0 ;
2797 PyObject
* obj8
= 0 ;
2799 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2805 arg2
= (int) SWIG_AsInt(obj1
);
2806 if (PyErr_Occurred()) SWIG_fail
;
2809 arg3
= wxString_in_helper(obj2
);
2810 if (arg3
== NULL
) SWIG_fail
;
2817 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2823 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2828 if (! PySequence_Check(obj5
)) {
2829 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2832 arg6
= new wxArrayString
;
2834 int i
, len
=PySequence_Length(obj5
);
2835 for (i
=0; i
<len
; i
++) {
2836 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2838 PyObject
* str
= PyObject_Unicode(item
);
2840 PyObject
* str
= PyObject_Str(item
);
2842 arg6
->Add(Py2wxString(str
));
2849 arg7
= (long) SWIG_AsLong(obj6
);
2850 if (PyErr_Occurred()) SWIG_fail
;
2853 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2854 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2857 PyErr_SetString(PyExc_TypeError
,"null reference");
2863 arg9
= wxString_in_helper(obj8
);
2864 if (arg9
== NULL
) SWIG_fail
;
2869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2870 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
);
2872 wxPyEndAllowThreads(__tstate
);
2873 if (PyErr_Occurred()) SWIG_fail
;
2875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2881 if (temp6
) delete arg6
;
2894 if (temp6
) delete arg6
;
2904 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2905 PyObject
*resultobj
;
2911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2914 result
= (wxComboBox
*)new wxComboBox();
2916 wxPyEndAllowThreads(__tstate
);
2917 if (PyErr_Occurred()) SWIG_fail
;
2919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2926 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2927 PyObject
*resultobj
;
2928 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2929 wxWindow
*arg2
= (wxWindow
*) 0 ;
2931 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2932 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2933 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2934 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2935 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2936 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2937 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2938 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2939 long arg8
= (long) 0 ;
2940 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2941 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2942 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2943 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2945 bool temp4
= False
;
2948 bool temp7
= False
;
2949 bool temp10
= False
;
2950 PyObject
* obj0
= 0 ;
2951 PyObject
* obj1
= 0 ;
2952 PyObject
* obj2
= 0 ;
2953 PyObject
* obj3
= 0 ;
2954 PyObject
* obj4
= 0 ;
2955 PyObject
* obj5
= 0 ;
2956 PyObject
* obj6
= 0 ;
2957 PyObject
* obj7
= 0 ;
2958 PyObject
* obj8
= 0 ;
2959 PyObject
* obj9
= 0 ;
2961 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
2966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2967 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2969 arg3
= (int) SWIG_AsInt(obj2
);
2970 if (PyErr_Occurred()) SWIG_fail
;
2973 arg4
= wxString_in_helper(obj3
);
2974 if (arg4
== NULL
) SWIG_fail
;
2981 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2987 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2992 if (! PySequence_Check(obj6
)) {
2993 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2996 arg7
= new wxArrayString
;
2998 int i
, len
=PySequence_Length(obj6
);
2999 for (i
=0; i
<len
; i
++) {
3000 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3002 PyObject
* str
= PyObject_Unicode(item
);
3004 PyObject
* str
= PyObject_Str(item
);
3006 arg7
->Add(Py2wxString(str
));
3013 arg8
= (long) SWIG_AsLong(obj7
);
3014 if (PyErr_Occurred()) SWIG_fail
;
3017 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3018 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3021 PyErr_SetString(PyExc_TypeError
,"null reference");
3027 arg10
= wxString_in_helper(obj9
);
3028 if (arg10
== NULL
) SWIG_fail
;
3033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3034 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
);
3036 wxPyEndAllowThreads(__tstate
);
3037 if (PyErr_Occurred()) SWIG_fail
;
3039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3045 if (temp7
) delete arg7
;
3058 if (temp7
) delete arg7
;
3068 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
*resultobj
;
3070 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3072 PyObject
* obj0
= 0 ;
3074 (char *) "self", NULL
3077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3082 result
= ((wxComboBox
const *)arg1
)->GetValue();
3084 wxPyEndAllowThreads(__tstate
);
3085 if (PyErr_Occurred()) SWIG_fail
;
3089 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3091 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3100 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
*resultobj
;
3102 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3103 wxString
*arg2
= 0 ;
3104 bool temp2
= False
;
3105 PyObject
* obj0
= 0 ;
3106 PyObject
* obj1
= 0 ;
3108 (char *) "self",(char *) "value", NULL
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3115 arg2
= wxString_in_helper(obj1
);
3116 if (arg2
== NULL
) SWIG_fail
;
3120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3121 (arg1
)->SetValue((wxString
const &)*arg2
);
3123 wxPyEndAllowThreads(__tstate
);
3124 if (PyErr_Occurred()) SWIG_fail
;
3126 Py_INCREF(Py_None
); resultobj
= Py_None
;
3141 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
*resultobj
;
3143 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3144 PyObject
* obj0
= 0 ;
3146 (char *) "self", NULL
3149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3156 wxPyEndAllowThreads(__tstate
);
3157 if (PyErr_Occurred()) SWIG_fail
;
3159 Py_INCREF(Py_None
); resultobj
= Py_None
;
3166 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
*resultobj
;
3168 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3169 PyObject
* obj0
= 0 ;
3171 (char *) "self", NULL
3174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) SWIG_fail
;
3184 Py_INCREF(Py_None
); resultobj
= Py_None
;
3191 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
*resultobj
;
3193 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3194 PyObject
* obj0
= 0 ;
3196 (char *) "self", NULL
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3206 wxPyEndAllowThreads(__tstate
);
3207 if (PyErr_Occurred()) SWIG_fail
;
3209 Py_INCREF(Py_None
); resultobj
= Py_None
;
3216 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3217 PyObject
*resultobj
;
3218 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3220 PyObject
* obj0
= 0 ;
3221 PyObject
* obj1
= 0 ;
3223 (char *) "self",(char *) "pos", NULL
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3229 arg2
= (long) SWIG_AsLong(obj1
);
3230 if (PyErr_Occurred()) SWIG_fail
;
3232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3233 (arg1
)->SetInsertionPoint(arg2
);
3235 wxPyEndAllowThreads(__tstate
);
3236 if (PyErr_Occurred()) SWIG_fail
;
3238 Py_INCREF(Py_None
); resultobj
= Py_None
;
3245 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
*resultobj
;
3247 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3249 PyObject
* obj0
= 0 ;
3251 (char *) "self", NULL
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3259 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3261 wxPyEndAllowThreads(__tstate
);
3262 if (PyErr_Occurred()) SWIG_fail
;
3264 resultobj
= SWIG_FromLong((long)result
);
3271 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
*resultobj
;
3273 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3275 PyObject
* obj0
= 0 ;
3277 (char *) "self", NULL
3280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3285 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3287 wxPyEndAllowThreads(__tstate
);
3288 if (PyErr_Occurred()) SWIG_fail
;
3290 resultobj
= SWIG_FromLong((long)result
);
3297 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3298 PyObject
*resultobj
;
3299 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3302 wxString
*arg4
= 0 ;
3303 bool temp4
= False
;
3304 PyObject
* obj0
= 0 ;
3305 PyObject
* obj1
= 0 ;
3306 PyObject
* obj2
= 0 ;
3307 PyObject
* obj3
= 0 ;
3309 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3315 arg2
= (long) SWIG_AsLong(obj1
);
3316 if (PyErr_Occurred()) SWIG_fail
;
3317 arg3
= (long) SWIG_AsLong(obj2
);
3318 if (PyErr_Occurred()) SWIG_fail
;
3320 arg4
= wxString_in_helper(obj3
);
3321 if (arg4
== NULL
) SWIG_fail
;
3325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3326 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3328 wxPyEndAllowThreads(__tstate
);
3329 if (PyErr_Occurred()) SWIG_fail
;
3331 Py_INCREF(Py_None
); resultobj
= Py_None
;
3346 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3347 PyObject
*resultobj
;
3348 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3350 PyObject
* obj0
= 0 ;
3351 PyObject
* obj1
= 0 ;
3353 (char *) "self",(char *) "n", NULL
3356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3359 arg2
= (int) SWIG_AsInt(obj1
);
3360 if (PyErr_Occurred()) SWIG_fail
;
3362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3363 (arg1
)->SetSelection(arg2
);
3365 wxPyEndAllowThreads(__tstate
);
3366 if (PyErr_Occurred()) SWIG_fail
;
3368 Py_INCREF(Py_None
); resultobj
= Py_None
;
3375 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3376 PyObject
*resultobj
;
3377 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3380 PyObject
* obj0
= 0 ;
3381 PyObject
* obj1
= 0 ;
3382 PyObject
* obj2
= 0 ;
3384 (char *) "self",(char *) "from",(char *) "to", NULL
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3390 arg2
= (long) SWIG_AsLong(obj1
);
3391 if (PyErr_Occurred()) SWIG_fail
;
3392 arg3
= (long) SWIG_AsLong(obj2
);
3393 if (PyErr_Occurred()) SWIG_fail
;
3395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3396 (arg1
)->SetSelection(arg2
,arg3
);
3398 wxPyEndAllowThreads(__tstate
);
3399 if (PyErr_Occurred()) SWIG_fail
;
3401 Py_INCREF(Py_None
); resultobj
= Py_None
;
3408 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
*resultobj
;
3410 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3412 PyObject
* obj0
= 0 ;
3413 PyObject
* obj1
= 0 ;
3415 (char *) "self",(char *) "editable", NULL
3418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3421 arg2
= (bool) SWIG_AsBool(obj1
);
3422 if (PyErr_Occurred()) SWIG_fail
;
3424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3425 (arg1
)->SetEditable(arg2
);
3427 wxPyEndAllowThreads(__tstate
);
3428 if (PyErr_Occurred()) SWIG_fail
;
3430 Py_INCREF(Py_None
); resultobj
= Py_None
;
3437 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3438 PyObject
*resultobj
;
3439 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3440 PyObject
* obj0
= 0 ;
3442 (char *) "self", NULL
3445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3450 (arg1
)->SetInsertionPointEnd();
3452 wxPyEndAllowThreads(__tstate
);
3453 if (PyErr_Occurred()) SWIG_fail
;
3455 Py_INCREF(Py_None
); resultobj
= Py_None
;
3462 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3463 PyObject
*resultobj
;
3464 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3467 PyObject
* obj0
= 0 ;
3468 PyObject
* obj1
= 0 ;
3469 PyObject
* obj2
= 0 ;
3471 (char *) "self",(char *) "from",(char *) "to", NULL
3474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3477 arg2
= (long) SWIG_AsLong(obj1
);
3478 if (PyErr_Occurred()) SWIG_fail
;
3479 arg3
= (long) SWIG_AsLong(obj2
);
3480 if (PyErr_Occurred()) SWIG_fail
;
3482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3483 (arg1
)->Remove(arg2
,arg3
);
3485 wxPyEndAllowThreads(__tstate
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3488 Py_INCREF(Py_None
); resultobj
= Py_None
;
3495 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3498 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3500 return Py_BuildValue((char *)"");
3502 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3503 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3508 static PyObject
*_wrap_GaugeNameStr_get() {
3513 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3515 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3522 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3523 PyObject
*resultobj
;
3524 wxWindow
*arg1
= (wxWindow
*) 0 ;
3527 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3528 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3529 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3530 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3531 long arg6
= (long) wxGA_HORIZONTAL
;
3532 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3533 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3534 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3535 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3539 bool temp8
= False
;
3540 PyObject
* obj0
= 0 ;
3541 PyObject
* obj1
= 0 ;
3542 PyObject
* obj2
= 0 ;
3543 PyObject
* obj3
= 0 ;
3544 PyObject
* obj4
= 0 ;
3545 PyObject
* obj5
= 0 ;
3546 PyObject
* obj6
= 0 ;
3547 PyObject
* obj7
= 0 ;
3549 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3555 arg2
= (int) SWIG_AsInt(obj1
);
3556 if (PyErr_Occurred()) SWIG_fail
;
3557 arg3
= (int) SWIG_AsInt(obj2
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3562 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3568 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3572 arg6
= (long) SWIG_AsLong(obj5
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3576 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3577 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3580 PyErr_SetString(PyExc_TypeError
,"null reference");
3586 arg8
= wxString_in_helper(obj7
);
3587 if (arg8
== NULL
) SWIG_fail
;
3592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3593 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3595 wxPyEndAllowThreads(__tstate
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3613 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
*resultobj
;
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3623 result
= (wxGauge
*)new wxGauge();
3625 wxPyEndAllowThreads(__tstate
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3635 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3636 PyObject
*resultobj
;
3637 wxGauge
*arg1
= (wxGauge
*) 0 ;
3638 wxWindow
*arg2
= (wxWindow
*) 0 ;
3641 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3642 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3643 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3644 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3645 long arg7
= (long) wxGA_HORIZONTAL
;
3646 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3647 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3648 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3649 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3653 bool temp9
= False
;
3654 PyObject
* obj0
= 0 ;
3655 PyObject
* obj1
= 0 ;
3656 PyObject
* obj2
= 0 ;
3657 PyObject
* obj3
= 0 ;
3658 PyObject
* obj4
= 0 ;
3659 PyObject
* obj5
= 0 ;
3660 PyObject
* obj6
= 0 ;
3661 PyObject
* obj7
= 0 ;
3662 PyObject
* obj8
= 0 ;
3664 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3672 arg3
= (int) SWIG_AsInt(obj2
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3674 arg4
= (int) SWIG_AsInt(obj3
);
3675 if (PyErr_Occurred()) SWIG_fail
;
3679 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3685 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3689 arg7
= (long) SWIG_AsLong(obj6
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3693 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3694 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3697 PyErr_SetString(PyExc_TypeError
,"null reference");
3703 arg9
= wxString_in_helper(obj8
);
3704 if (arg9
== NULL
) SWIG_fail
;
3709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3710 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3712 wxPyEndAllowThreads(__tstate
);
3713 if (PyErr_Occurred()) SWIG_fail
;
3715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3730 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3731 PyObject
*resultobj
;
3732 wxGauge
*arg1
= (wxGauge
*) 0 ;
3734 PyObject
* obj0
= 0 ;
3735 PyObject
* obj1
= 0 ;
3737 (char *) "self",(char *) "range", NULL
3740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3743 arg2
= (int) SWIG_AsInt(obj1
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3747 (arg1
)->SetRange(arg2
);
3749 wxPyEndAllowThreads(__tstate
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3752 Py_INCREF(Py_None
); resultobj
= Py_None
;
3759 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
*resultobj
;
3761 wxGauge
*arg1
= (wxGauge
*) 0 ;
3763 PyObject
* obj0
= 0 ;
3765 (char *) "self", NULL
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3773 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3775 wxPyEndAllowThreads(__tstate
);
3776 if (PyErr_Occurred()) SWIG_fail
;
3778 resultobj
= SWIG_FromInt((int)result
);
3785 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
*resultobj
;
3787 wxGauge
*arg1
= (wxGauge
*) 0 ;
3789 PyObject
* obj0
= 0 ;
3790 PyObject
* obj1
= 0 ;
3792 (char *) "self",(char *) "pos", NULL
3795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3798 arg2
= (int) SWIG_AsInt(obj1
);
3799 if (PyErr_Occurred()) SWIG_fail
;
3801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3802 (arg1
)->SetValue(arg2
);
3804 wxPyEndAllowThreads(__tstate
);
3805 if (PyErr_Occurred()) SWIG_fail
;
3807 Py_INCREF(Py_None
); resultobj
= Py_None
;
3814 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3815 PyObject
*resultobj
;
3816 wxGauge
*arg1
= (wxGauge
*) 0 ;
3818 PyObject
* obj0
= 0 ;
3820 (char *) "self", NULL
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3828 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3830 wxPyEndAllowThreads(__tstate
);
3831 if (PyErr_Occurred()) SWIG_fail
;
3833 resultobj
= SWIG_FromInt((int)result
);
3840 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3841 PyObject
*resultobj
;
3842 wxGauge
*arg1
= (wxGauge
*) 0 ;
3844 PyObject
* obj0
= 0 ;
3846 (char *) "self", NULL
3849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3856 wxPyEndAllowThreads(__tstate
);
3857 if (PyErr_Occurred()) SWIG_fail
;
3859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3866 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3867 PyObject
*resultobj
;
3868 wxGauge
*arg1
= (wxGauge
*) 0 ;
3870 PyObject
* obj0
= 0 ;
3871 PyObject
* obj1
= 0 ;
3873 (char *) "self",(char *) "w", NULL
3876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3879 arg2
= (int) SWIG_AsInt(obj1
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3883 (arg1
)->SetShadowWidth(arg2
);
3885 wxPyEndAllowThreads(__tstate
);
3886 if (PyErr_Occurred()) SWIG_fail
;
3888 Py_INCREF(Py_None
); resultobj
= Py_None
;
3895 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
*resultobj
;
3897 wxGauge
*arg1
= (wxGauge
*) 0 ;
3899 PyObject
* obj0
= 0 ;
3901 (char *) "self", NULL
3904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3909 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3911 wxPyEndAllowThreads(__tstate
);
3912 if (PyErr_Occurred()) SWIG_fail
;
3914 resultobj
= SWIG_FromInt((int)result
);
3921 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3922 PyObject
*resultobj
;
3923 wxGauge
*arg1
= (wxGauge
*) 0 ;
3925 PyObject
* obj0
= 0 ;
3926 PyObject
* obj1
= 0 ;
3928 (char *) "self",(char *) "w", NULL
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3934 arg2
= (int) SWIG_AsInt(obj1
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 (arg1
)->SetBezelFace(arg2
);
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3943 Py_INCREF(Py_None
); resultobj
= Py_None
;
3950 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3951 PyObject
*resultobj
;
3952 wxGauge
*arg1
= (wxGauge
*) 0 ;
3954 PyObject
* obj0
= 0 ;
3956 (char *) "self", NULL
3959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3964 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3966 wxPyEndAllowThreads(__tstate
);
3967 if (PyErr_Occurred()) SWIG_fail
;
3969 resultobj
= SWIG_FromInt((int)result
);
3976 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3979 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3981 return Py_BuildValue((char *)"");
3983 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
3984 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
3989 static PyObject
*_wrap_StaticBitmapNameStr_get() {
3994 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3996 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4003 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4004 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4009 static PyObject
*_wrap_StaticBoxNameStr_get() {
4014 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4016 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4023 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4024 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4029 static PyObject
*_wrap_StaticTextNameStr_get() {
4034 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4036 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4043 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
*resultobj
;
4045 wxWindow
*arg1
= (wxWindow
*) 0 ;
4047 wxString
*arg3
= 0 ;
4048 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4049 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4050 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4051 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4052 long arg6
= (long) 0 ;
4053 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4054 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4055 wxStaticBox
*result
;
4056 bool temp3
= False
;
4059 bool temp7
= False
;
4060 PyObject
* obj0
= 0 ;
4061 PyObject
* obj1
= 0 ;
4062 PyObject
* obj2
= 0 ;
4063 PyObject
* obj3
= 0 ;
4064 PyObject
* obj4
= 0 ;
4065 PyObject
* obj5
= 0 ;
4066 PyObject
* obj6
= 0 ;
4068 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4074 arg2
= (int) SWIG_AsInt(obj1
);
4075 if (PyErr_Occurred()) SWIG_fail
;
4077 arg3
= wxString_in_helper(obj2
);
4078 if (arg3
== NULL
) SWIG_fail
;
4084 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4090 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4094 arg6
= (long) SWIG_AsLong(obj5
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4099 arg7
= wxString_in_helper(obj6
);
4100 if (arg7
== NULL
) SWIG_fail
;
4105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4106 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4108 wxPyEndAllowThreads(__tstate
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4112 resultobj
= wxPyMake_wxObject(result
);
4136 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
*resultobj
;
4138 wxStaticBox
*result
;
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 result
= (wxStaticBox
*)new wxStaticBox();
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4152 resultobj
= wxPyMake_wxObject(result
);
4160 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
*resultobj
;
4162 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4163 wxWindow
*arg2
= (wxWindow
*) 0 ;
4165 wxString
*arg4
= 0 ;
4166 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4167 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4168 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4169 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4170 long arg7
= (long) 0 ;
4171 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4172 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4174 bool temp4
= False
;
4177 bool temp8
= False
;
4178 PyObject
* obj0
= 0 ;
4179 PyObject
* obj1
= 0 ;
4180 PyObject
* obj2
= 0 ;
4181 PyObject
* obj3
= 0 ;
4182 PyObject
* obj4
= 0 ;
4183 PyObject
* obj5
= 0 ;
4184 PyObject
* obj6
= 0 ;
4185 PyObject
* obj7
= 0 ;
4187 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4195 arg3
= (int) SWIG_AsInt(obj2
);
4196 if (PyErr_Occurred()) SWIG_fail
;
4198 arg4
= wxString_in_helper(obj3
);
4199 if (arg4
== NULL
) SWIG_fail
;
4205 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4211 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4215 arg7
= (long) SWIG_AsLong(obj6
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4220 arg8
= wxString_in_helper(obj7
);
4221 if (arg8
== NULL
) SWIG_fail
;
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4229 wxPyEndAllowThreads(__tstate
);
4230 if (PyErr_Occurred()) SWIG_fail
;
4232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4255 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4258 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4260 return Py_BuildValue((char *)"");
4262 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
;
4264 wxWindow
*arg1
= (wxWindow
*) 0 ;
4266 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4267 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4268 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4269 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4270 long arg5
= (long) wxLI_HORIZONTAL
;
4271 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4272 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4273 wxStaticLine
*result
;
4276 bool temp6
= False
;
4277 PyObject
* obj0
= 0 ;
4278 PyObject
* obj1
= 0 ;
4279 PyObject
* obj2
= 0 ;
4280 PyObject
* obj3
= 0 ;
4281 PyObject
* obj4
= 0 ;
4282 PyObject
* obj5
= 0 ;
4284 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4290 arg2
= (int) SWIG_AsInt(obj1
);
4291 if (PyErr_Occurred()) SWIG_fail
;
4295 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4301 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4305 arg5
= (long) SWIG_AsLong(obj4
);
4306 if (PyErr_Occurred()) SWIG_fail
;
4310 arg6
= wxString_in_helper(obj5
);
4311 if (arg6
== NULL
) SWIG_fail
;
4316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4317 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4319 wxPyEndAllowThreads(__tstate
);
4320 if (PyErr_Occurred()) SWIG_fail
;
4322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4337 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
*resultobj
;
4339 wxStaticLine
*result
;
4344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4347 result
= (wxStaticLine
*)new wxStaticLine();
4349 wxPyEndAllowThreads(__tstate
);
4350 if (PyErr_Occurred()) SWIG_fail
;
4352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4359 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
*resultobj
;
4361 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4362 wxWindow
*arg2
= (wxWindow
*) 0 ;
4364 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4365 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4366 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4367 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4368 long arg6
= (long) wxLI_HORIZONTAL
;
4369 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4370 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4374 bool temp7
= False
;
4375 PyObject
* obj0
= 0 ;
4376 PyObject
* obj1
= 0 ;
4377 PyObject
* obj2
= 0 ;
4378 PyObject
* obj3
= 0 ;
4379 PyObject
* obj4
= 0 ;
4380 PyObject
* obj5
= 0 ;
4381 PyObject
* obj6
= 0 ;
4383 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4391 arg3
= (int) SWIG_AsInt(obj2
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4396 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4402 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4406 arg6
= (long) SWIG_AsLong(obj5
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4411 arg7
= wxString_in_helper(obj6
);
4412 if (arg7
== NULL
) SWIG_fail
;
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4438 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
*resultobj
;
4440 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4442 PyObject
* obj0
= 0 ;
4444 (char *) "self", NULL
4447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4464 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
;
4471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 result
= (int)wxStaticLine::GetDefaultSize();
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4479 resultobj
= SWIG_FromInt((int)result
);
4486 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4489 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4491 return Py_BuildValue((char *)"");
4493 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
*resultobj
;
4495 wxWindow
*arg1
= (wxWindow
*) 0 ;
4497 wxString
*arg3
= 0 ;
4498 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4499 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4500 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4501 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4502 long arg6
= (long) 0 ;
4503 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4504 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4505 wxStaticText
*result
;
4506 bool temp3
= False
;
4509 bool temp7
= False
;
4510 PyObject
* obj0
= 0 ;
4511 PyObject
* obj1
= 0 ;
4512 PyObject
* obj2
= 0 ;
4513 PyObject
* obj3
= 0 ;
4514 PyObject
* obj4
= 0 ;
4515 PyObject
* obj5
= 0 ;
4516 PyObject
* obj6
= 0 ;
4518 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4524 arg2
= (int) SWIG_AsInt(obj1
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4527 arg3
= wxString_in_helper(obj2
);
4528 if (arg3
== NULL
) SWIG_fail
;
4534 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4540 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4544 arg6
= (long) SWIG_AsLong(obj5
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4549 arg7
= wxString_in_helper(obj6
);
4550 if (arg7
== NULL
) SWIG_fail
;
4555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4556 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4558 wxPyEndAllowThreads(__tstate
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4584 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4585 PyObject
*resultobj
;
4586 wxStaticText
*result
;
4591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4594 result
= (wxStaticText
*)new wxStaticText();
4596 wxPyEndAllowThreads(__tstate
);
4597 if (PyErr_Occurred()) SWIG_fail
;
4599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4606 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4607 PyObject
*resultobj
;
4608 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4609 wxWindow
*arg2
= (wxWindow
*) 0 ;
4611 wxString
*arg4
= 0 ;
4612 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4613 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4614 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4615 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4616 long arg7
= (long) 0 ;
4617 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4618 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4620 bool temp4
= False
;
4623 bool temp8
= False
;
4624 PyObject
* obj0
= 0 ;
4625 PyObject
* obj1
= 0 ;
4626 PyObject
* obj2
= 0 ;
4627 PyObject
* obj3
= 0 ;
4628 PyObject
* obj4
= 0 ;
4629 PyObject
* obj5
= 0 ;
4630 PyObject
* obj6
= 0 ;
4631 PyObject
* obj7
= 0 ;
4633 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
4638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4641 arg3
= (int) SWIG_AsInt(obj2
);
4642 if (PyErr_Occurred()) SWIG_fail
;
4644 arg4
= wxString_in_helper(obj3
);
4645 if (arg4
== NULL
) SWIG_fail
;
4651 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4657 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4661 arg7
= (long) SWIG_AsLong(obj6
);
4662 if (PyErr_Occurred()) SWIG_fail
;
4666 arg8
= wxString_in_helper(obj7
);
4667 if (arg8
== NULL
) SWIG_fail
;
4672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4673 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4675 wxPyEndAllowThreads(__tstate
);
4676 if (PyErr_Occurred()) SWIG_fail
;
4678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4701 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4704 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4706 return Py_BuildValue((char *)"");
4708 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4709 PyObject
*resultobj
;
4710 wxWindow
*arg1
= (wxWindow
*) 0 ;
4712 wxBitmap
*arg3
= 0 ;
4713 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4714 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4715 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4716 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4717 long arg6
= (long) 0 ;
4718 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4719 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4720 wxStaticBitmap
*result
;
4723 bool temp7
= False
;
4724 PyObject
* obj0
= 0 ;
4725 PyObject
* obj1
= 0 ;
4726 PyObject
* obj2
= 0 ;
4727 PyObject
* obj3
= 0 ;
4728 PyObject
* obj4
= 0 ;
4729 PyObject
* obj5
= 0 ;
4730 PyObject
* obj6
= 0 ;
4732 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4738 arg2
= (int) SWIG_AsInt(obj1
);
4739 if (PyErr_Occurred()) SWIG_fail
;
4740 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
4741 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4744 PyErr_SetString(PyExc_TypeError
,"null reference");
4750 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4756 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4760 arg6
= (long) SWIG_AsLong(obj5
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4765 arg7
= wxString_in_helper(obj6
);
4766 if (arg7
== NULL
) SWIG_fail
;
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4774 wxPyEndAllowThreads(__tstate
);
4775 if (PyErr_Occurred()) SWIG_fail
;
4777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4792 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4793 PyObject
*resultobj
;
4794 wxStaticBitmap
*result
;
4799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4814 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4815 PyObject
*resultobj
;
4816 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4817 wxWindow
*arg2
= (wxWindow
*) 0 ;
4819 wxBitmap
*arg4
= 0 ;
4820 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4821 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4822 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4823 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4824 long arg7
= (long) 0 ;
4825 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4826 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4830 bool temp8
= False
;
4831 PyObject
* obj0
= 0 ;
4832 PyObject
* obj1
= 0 ;
4833 PyObject
* obj2
= 0 ;
4834 PyObject
* obj3
= 0 ;
4835 PyObject
* obj4
= 0 ;
4836 PyObject
* obj5
= 0 ;
4837 PyObject
* obj6
= 0 ;
4838 PyObject
* obj7
= 0 ;
4840 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4848 arg3
= (int) SWIG_AsInt(obj2
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4850 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
4851 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4854 PyErr_SetString(PyExc_TypeError
,"null reference");
4860 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4866 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4870 arg7
= (long) SWIG_AsLong(obj6
);
4871 if (PyErr_Occurred()) SWIG_fail
;
4875 arg8
= wxString_in_helper(obj7
);
4876 if (arg8
== NULL
) SWIG_fail
;
4881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4882 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4884 wxPyEndAllowThreads(__tstate
);
4885 if (PyErr_Occurred()) SWIG_fail
;
4887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4902 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
*resultobj
;
4904 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4906 PyObject
* obj0
= 0 ;
4908 (char *) "self", NULL
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 result
= (arg1
)->GetBitmap();
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4922 wxBitmap
* resultptr
;
4923 resultptr
= new wxBitmap((wxBitmap
&) result
);
4924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4932 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4933 PyObject
*resultobj
;
4934 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4935 wxBitmap
*arg2
= 0 ;
4936 PyObject
* obj0
= 0 ;
4937 PyObject
* obj1
= 0 ;
4939 (char *) "self",(char *) "bitmap", NULL
4942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4945 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4946 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4949 PyErr_SetString(PyExc_TypeError
,"null reference");
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4956 wxPyEndAllowThreads(__tstate
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4959 Py_INCREF(Py_None
); resultobj
= Py_None
;
4966 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
*resultobj
;
4968 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4970 PyObject
* obj0
= 0 ;
4971 PyObject
* obj1
= 0 ;
4973 (char *) "self",(char *) "icon", NULL
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4983 PyErr_SetString(PyExc_TypeError
,"null reference");
4987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4988 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4990 wxPyEndAllowThreads(__tstate
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4993 Py_INCREF(Py_None
); resultobj
= Py_None
;
5000 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5003 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5005 return Py_BuildValue((char *)"");
5007 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5008 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5013 static PyObject
*_wrap_ListBoxNameStr_get() {
5018 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5020 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5027 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
*resultobj
;
5029 wxWindow
*arg1
= (wxWindow
*) 0 ;
5031 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5032 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5033 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5034 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5035 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5036 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5037 long arg6
= (long) 0 ;
5038 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5039 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5040 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5041 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5045 bool temp5
= False
;
5046 bool temp8
= False
;
5047 PyObject
* obj0
= 0 ;
5048 PyObject
* obj1
= 0 ;
5049 PyObject
* obj2
= 0 ;
5050 PyObject
* obj3
= 0 ;
5051 PyObject
* obj4
= 0 ;
5052 PyObject
* obj5
= 0 ;
5053 PyObject
* obj6
= 0 ;
5054 PyObject
* obj7
= 0 ;
5056 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5062 arg2
= (int) SWIG_AsInt(obj1
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5067 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5073 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5078 if (! PySequence_Check(obj4
)) {
5079 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5082 arg5
= new wxArrayString
;
5084 int i
, len
=PySequence_Length(obj4
);
5085 for (i
=0; i
<len
; i
++) {
5086 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5088 PyObject
* str
= PyObject_Unicode(item
);
5090 PyObject
* str
= PyObject_Str(item
);
5092 arg5
->Add(Py2wxString(str
));
5099 arg6
= (long) SWIG_AsLong(obj5
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5103 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5104 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5107 PyErr_SetString(PyExc_TypeError
,"null reference");
5113 arg8
= wxString_in_helper(obj7
);
5114 if (arg8
== NULL
) SWIG_fail
;
5119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5120 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5122 wxPyEndAllowThreads(__tstate
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5127 if (temp5
) delete arg5
;
5136 if (temp5
) delete arg5
;
5146 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
*resultobj
;
5153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5156 result
= (wxListBox
*)new wxListBox();
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5168 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5169 PyObject
*resultobj
;
5170 wxListBox
*arg1
= (wxListBox
*) 0 ;
5171 wxWindow
*arg2
= (wxWindow
*) 0 ;
5173 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5174 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5175 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5176 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5177 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5178 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5179 long arg7
= (long) 0 ;
5180 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5181 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5182 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5183 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5187 bool temp6
= False
;
5188 bool temp9
= False
;
5189 PyObject
* obj0
= 0 ;
5190 PyObject
* obj1
= 0 ;
5191 PyObject
* obj2
= 0 ;
5192 PyObject
* obj3
= 0 ;
5193 PyObject
* obj4
= 0 ;
5194 PyObject
* obj5
= 0 ;
5195 PyObject
* obj6
= 0 ;
5196 PyObject
* obj7
= 0 ;
5197 PyObject
* obj8
= 0 ;
5199 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5207 arg3
= (int) SWIG_AsInt(obj2
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5212 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5218 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5223 if (! PySequence_Check(obj5
)) {
5224 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5227 arg6
= new wxArrayString
;
5229 int i
, len
=PySequence_Length(obj5
);
5230 for (i
=0; i
<len
; i
++) {
5231 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5233 PyObject
* str
= PyObject_Unicode(item
);
5235 PyObject
* str
= PyObject_Str(item
);
5237 arg6
->Add(Py2wxString(str
));
5244 arg7
= (long) SWIG_AsLong(obj6
);
5245 if (PyErr_Occurred()) SWIG_fail
;
5248 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5249 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5252 PyErr_SetString(PyExc_TypeError
,"null reference");
5258 arg9
= wxString_in_helper(obj8
);
5259 if (arg9
== NULL
) SWIG_fail
;
5264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5265 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) SWIG_fail
;
5270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5272 if (temp6
) delete arg6
;
5281 if (temp6
) delete arg6
;
5291 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
*resultobj
;
5293 wxListBox
*arg1
= (wxListBox
*) 0 ;
5294 wxString
*arg2
= 0 ;
5296 PyObject
*arg4
= (PyObject
*) NULL
;
5297 bool temp2
= False
;
5298 PyObject
* obj0
= 0 ;
5299 PyObject
* obj1
= 0 ;
5300 PyObject
* obj2
= 0 ;
5301 PyObject
* obj3
= 0 ;
5303 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5310 arg2
= wxString_in_helper(obj1
);
5311 if (arg2
== NULL
) SWIG_fail
;
5314 arg3
= (int) SWIG_AsInt(obj2
);
5315 if (PyErr_Occurred()) SWIG_fail
;
5320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5321 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5323 wxPyEndAllowThreads(__tstate
);
5324 if (PyErr_Occurred()) SWIG_fail
;
5326 Py_INCREF(Py_None
); resultobj
= Py_None
;
5341 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
*resultobj
;
5343 wxListBox
*arg1
= (wxListBox
*) 0 ;
5344 wxArrayString
*arg2
= 0 ;
5346 bool temp2
= False
;
5347 PyObject
* obj0
= 0 ;
5348 PyObject
* obj1
= 0 ;
5349 PyObject
* obj2
= 0 ;
5351 (char *) "self",(char *) "items",(char *) "pos", NULL
5354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5358 if (! PySequence_Check(obj1
)) {
5359 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5362 arg2
= new wxArrayString
;
5364 int i
, len
=PySequence_Length(obj1
);
5365 for (i
=0; i
<len
; i
++) {
5366 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5368 PyObject
* str
= PyObject_Unicode(item
);
5370 PyObject
* str
= PyObject_Str(item
);
5372 arg2
->Add(Py2wxString(str
));
5377 arg3
= (int) SWIG_AsInt(obj2
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5383 wxPyEndAllowThreads(__tstate
);
5384 if (PyErr_Occurred()) SWIG_fail
;
5386 Py_INCREF(Py_None
); resultobj
= Py_None
;
5388 if (temp2
) delete arg2
;
5393 if (temp2
) delete arg2
;
5399 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5400 PyObject
*resultobj
;
5401 wxListBox
*arg1
= (wxListBox
*) 0 ;
5402 wxArrayString
*arg2
= 0 ;
5403 bool temp2
= False
;
5404 PyObject
* obj0
= 0 ;
5405 PyObject
* obj1
= 0 ;
5407 (char *) "self",(char *) "items", NULL
5410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5414 if (! PySequence_Check(obj1
)) {
5415 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5418 arg2
= new wxArrayString
;
5420 int i
, len
=PySequence_Length(obj1
);
5421 for (i
=0; i
<len
; i
++) {
5422 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5424 PyObject
* str
= PyObject_Unicode(item
);
5426 PyObject
* str
= PyObject_Str(item
);
5428 arg2
->Add(Py2wxString(str
));
5434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5435 (arg1
)->Set((wxArrayString
const &)*arg2
);
5437 wxPyEndAllowThreads(__tstate
);
5438 if (PyErr_Occurred()) SWIG_fail
;
5440 Py_INCREF(Py_None
); resultobj
= Py_None
;
5442 if (temp2
) delete arg2
;
5447 if (temp2
) delete arg2
;
5453 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5454 PyObject
*resultobj
;
5455 wxListBox
*arg1
= (wxListBox
*) 0 ;
5458 PyObject
* obj0
= 0 ;
5459 PyObject
* obj1
= 0 ;
5461 (char *) "self",(char *) "n", NULL
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5467 arg2
= (int) SWIG_AsInt(obj1
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5471 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5473 wxPyEndAllowThreads(__tstate
);
5474 if (PyErr_Occurred()) SWIG_fail
;
5476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5483 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
*resultobj
;
5485 wxListBox
*arg1
= (wxListBox
*) 0 ;
5487 bool arg3
= (bool) True
;
5488 PyObject
* obj0
= 0 ;
5489 PyObject
* obj1
= 0 ;
5490 PyObject
* obj2
= 0 ;
5492 (char *) "self",(char *) "n",(char *) "select", NULL
5495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5498 arg2
= (int) SWIG_AsInt(obj1
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5501 arg3
= (bool) SWIG_AsBool(obj2
);
5502 if (PyErr_Occurred()) SWIG_fail
;
5505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5506 (arg1
)->SetSelection(arg2
,arg3
);
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) SWIG_fail
;
5511 Py_INCREF(Py_None
); resultobj
= Py_None
;
5518 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
*resultobj
;
5520 wxListBox
*arg1
= (wxListBox
*) 0 ;
5522 PyObject
* obj0
= 0 ;
5523 PyObject
* obj1
= 0 ;
5525 (char *) "self",(char *) "n", NULL
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5531 arg2
= (int) SWIG_AsInt(obj1
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5535 (arg1
)->Select(arg2
);
5537 wxPyEndAllowThreads(__tstate
);
5538 if (PyErr_Occurred()) SWIG_fail
;
5540 Py_INCREF(Py_None
); resultobj
= Py_None
;
5547 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5548 PyObject
*resultobj
;
5549 wxListBox
*arg1
= (wxListBox
*) 0 ;
5551 PyObject
* obj0
= 0 ;
5552 PyObject
* obj1
= 0 ;
5554 (char *) "self",(char *) "n", NULL
5557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5560 arg2
= (int) SWIG_AsInt(obj1
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 (arg1
)->Deselect(arg2
);
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5569 Py_INCREF(Py_None
); resultobj
= Py_None
;
5576 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
*resultobj
;
5578 wxListBox
*arg1
= (wxListBox
*) 0 ;
5579 int arg2
= (int) -1 ;
5580 PyObject
* obj0
= 0 ;
5581 PyObject
* obj1
= 0 ;
5583 (char *) "self",(char *) "itemToLeaveSelected", NULL
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5590 arg2
= (int) SWIG_AsInt(obj1
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5595 (arg1
)->DeselectAll(arg2
);
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5600 Py_INCREF(Py_None
); resultobj
= Py_None
;
5607 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
*resultobj
;
5609 wxListBox
*arg1
= (wxListBox
*) 0 ;
5610 wxString
*arg2
= 0 ;
5611 bool arg3
= (bool) True
;
5613 bool temp2
= False
;
5614 PyObject
* obj0
= 0 ;
5615 PyObject
* obj1
= 0 ;
5616 PyObject
* obj2
= 0 ;
5618 (char *) "self",(char *) "s",(char *) "select", NULL
5621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5625 arg2
= wxString_in_helper(obj1
);
5626 if (arg2
== NULL
) SWIG_fail
;
5630 arg3
= (bool) SWIG_AsBool(obj2
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5655 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
*resultobj
;
5657 wxListBox
*arg1
= (wxListBox
*) 0 ;
5659 PyObject
* obj0
= 0 ;
5661 (char *) "self", NULL
5664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5669 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5671 wxPyEndAllowThreads(__tstate
);
5672 if (PyErr_Occurred()) SWIG_fail
;
5681 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
;
5683 wxListBox
*arg1
= (wxListBox
*) 0 ;
5685 PyObject
* obj0
= 0 ;
5686 PyObject
* obj1
= 0 ;
5688 (char *) "self",(char *) "n", NULL
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5694 arg2
= (int) SWIG_AsInt(obj1
);
5695 if (PyErr_Occurred()) SWIG_fail
;
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 (arg1
)->SetFirstItem(arg2
);
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5703 Py_INCREF(Py_None
); resultobj
= Py_None
;
5710 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
*resultobj
;
5712 wxListBox
*arg1
= (wxListBox
*) 0 ;
5713 wxString
*arg2
= 0 ;
5714 bool temp2
= False
;
5715 PyObject
* obj0
= 0 ;
5716 PyObject
* obj1
= 0 ;
5718 (char *) "self",(char *) "s", NULL
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5725 arg2
= wxString_in_helper(obj1
);
5726 if (arg2
== NULL
) SWIG_fail
;
5730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5731 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5733 wxPyEndAllowThreads(__tstate
);
5734 if (PyErr_Occurred()) SWIG_fail
;
5736 Py_INCREF(Py_None
); resultobj
= Py_None
;
5751 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
*resultobj
;
5753 wxListBox
*arg1
= (wxListBox
*) 0 ;
5755 PyObject
* obj0
= 0 ;
5756 PyObject
* obj1
= 0 ;
5758 (char *) "self",(char *) "n", NULL
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5764 arg2
= (int) SWIG_AsInt(obj1
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5768 (arg1
)->EnsureVisible(arg2
);
5770 wxPyEndAllowThreads(__tstate
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5773 Py_INCREF(Py_None
); resultobj
= Py_None
;
5780 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5781 PyObject
*resultobj
;
5782 wxListBox
*arg1
= (wxListBox
*) 0 ;
5783 wxString
*arg2
= 0 ;
5784 bool temp2
= False
;
5785 PyObject
* obj0
= 0 ;
5786 PyObject
* obj1
= 0 ;
5788 (char *) "self",(char *) "s", NULL
5791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5795 arg2
= wxString_in_helper(obj1
);
5796 if (arg2
== NULL
) SWIG_fail
;
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5801 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5806 Py_INCREF(Py_None
); resultobj
= Py_None
;
5821 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5822 PyObject
*resultobj
;
5823 wxListBox
*arg1
= (wxListBox
*) 0 ;
5825 PyObject
* obj0
= 0 ;
5827 (char *) "self", NULL
5830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5835 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5847 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
*resultobj
;
5849 wxListBox
*arg1
= (wxListBox
*) 0 ;
5851 wxColour
*arg3
= 0 ;
5853 PyObject
* obj0
= 0 ;
5854 PyObject
* obj1
= 0 ;
5855 PyObject
* obj2
= 0 ;
5857 (char *) "self",(char *) "item",(char *) "c", NULL
5860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5863 arg2
= (int) SWIG_AsInt(obj1
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5867 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5871 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5873 wxPyEndAllowThreads(__tstate
);
5874 if (PyErr_Occurred()) SWIG_fail
;
5876 Py_INCREF(Py_None
); resultobj
= Py_None
;
5883 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
*resultobj
;
5885 wxListBox
*arg1
= (wxListBox
*) 0 ;
5887 wxColour
*arg3
= 0 ;
5889 PyObject
* obj0
= 0 ;
5890 PyObject
* obj1
= 0 ;
5891 PyObject
* obj2
= 0 ;
5893 (char *) "self",(char *) "item",(char *) "c", NULL
5896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5899 arg2
= (int) SWIG_AsInt(obj1
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5903 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5909 wxPyEndAllowThreads(__tstate
);
5910 if (PyErr_Occurred()) SWIG_fail
;
5912 Py_INCREF(Py_None
); resultobj
= Py_None
;
5919 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5920 PyObject
*resultobj
;
5921 wxListBox
*arg1
= (wxListBox
*) 0 ;
5924 PyObject
* obj0
= 0 ;
5925 PyObject
* obj1
= 0 ;
5926 PyObject
* obj2
= 0 ;
5928 (char *) "self",(char *) "item",(char *) "f", NULL
5931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5934 arg2
= (int) SWIG_AsInt(obj1
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5936 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
5937 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5940 PyErr_SetString(PyExc_TypeError
,"null reference");
5944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5950 Py_INCREF(Py_None
); resultobj
= Py_None
;
5957 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5960 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5962 return Py_BuildValue((char *)"");
5964 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
*resultobj
;
5966 wxWindow
*arg1
= (wxWindow
*) 0 ;
5968 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5969 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5970 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5971 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5972 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5973 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5974 long arg6
= (long) 0 ;
5975 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5976 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5977 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5978 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5979 wxCheckListBox
*result
;
5982 bool temp5
= False
;
5983 bool temp8
= False
;
5984 PyObject
* obj0
= 0 ;
5985 PyObject
* obj1
= 0 ;
5986 PyObject
* obj2
= 0 ;
5987 PyObject
* obj3
= 0 ;
5988 PyObject
* obj4
= 0 ;
5989 PyObject
* obj5
= 0 ;
5990 PyObject
* obj6
= 0 ;
5991 PyObject
* obj7
= 0 ;
5993 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5999 arg2
= (int) SWIG_AsInt(obj1
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6004 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6010 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6015 if (! PySequence_Check(obj4
)) {
6016 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6019 arg5
= new wxArrayString
;
6021 int i
, len
=PySequence_Length(obj4
);
6022 for (i
=0; i
<len
; i
++) {
6023 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6025 PyObject
* str
= PyObject_Unicode(item
);
6027 PyObject
* str
= PyObject_Str(item
);
6029 arg5
->Add(Py2wxString(str
));
6036 arg6
= (long) SWIG_AsLong(obj5
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6040 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6041 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6044 PyErr_SetString(PyExc_TypeError
,"null reference");
6050 arg8
= wxString_in_helper(obj7
);
6051 if (arg8
== NULL
) SWIG_fail
;
6056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6057 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6059 wxPyEndAllowThreads(__tstate
);
6060 if (PyErr_Occurred()) SWIG_fail
;
6062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6064 if (temp5
) delete arg5
;
6073 if (temp5
) delete arg5
;
6083 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
*resultobj
;
6085 wxCheckListBox
*result
;
6090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 result
= (wxCheckListBox
*)new wxCheckListBox();
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6105 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
*resultobj
;
6107 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6108 wxWindow
*arg2
= (wxWindow
*) 0 ;
6110 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6111 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6112 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6113 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6114 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6115 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6116 long arg7
= (long) 0 ;
6117 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6118 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6119 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6120 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6124 bool temp6
= False
;
6125 bool temp9
= False
;
6126 PyObject
* obj0
= 0 ;
6127 PyObject
* obj1
= 0 ;
6128 PyObject
* obj2
= 0 ;
6129 PyObject
* obj3
= 0 ;
6130 PyObject
* obj4
= 0 ;
6131 PyObject
* obj5
= 0 ;
6132 PyObject
* obj6
= 0 ;
6133 PyObject
* obj7
= 0 ;
6134 PyObject
* obj8
= 0 ;
6136 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6144 arg3
= (int) SWIG_AsInt(obj2
);
6145 if (PyErr_Occurred()) SWIG_fail
;
6149 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6155 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6160 if (! PySequence_Check(obj5
)) {
6161 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6164 arg6
= new wxArrayString
;
6166 int i
, len
=PySequence_Length(obj5
);
6167 for (i
=0; i
<len
; i
++) {
6168 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6170 PyObject
* str
= PyObject_Unicode(item
);
6172 PyObject
* str
= PyObject_Str(item
);
6174 arg6
->Add(Py2wxString(str
));
6181 arg7
= (long) SWIG_AsLong(obj6
);
6182 if (PyErr_Occurred()) SWIG_fail
;
6185 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6186 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6189 PyErr_SetString(PyExc_TypeError
,"null reference");
6195 arg9
= wxString_in_helper(obj8
);
6196 if (arg9
== NULL
) SWIG_fail
;
6201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6202 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6204 wxPyEndAllowThreads(__tstate
);
6205 if (PyErr_Occurred()) SWIG_fail
;
6207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6209 if (temp6
) delete arg6
;
6218 if (temp6
) delete arg6
;
6228 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6229 PyObject
*resultobj
;
6230 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6233 PyObject
* obj0
= 0 ;
6234 PyObject
* obj1
= 0 ;
6236 (char *) "self",(char *) "index", NULL
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6242 arg2
= (int) SWIG_AsInt(obj1
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6246 result
= (bool)(arg1
)->IsChecked(arg2
);
6248 wxPyEndAllowThreads(__tstate
);
6249 if (PyErr_Occurred()) SWIG_fail
;
6251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6258 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6259 PyObject
*resultobj
;
6260 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6262 int arg3
= (int) True
;
6263 PyObject
* obj0
= 0 ;
6264 PyObject
* obj1
= 0 ;
6265 PyObject
* obj2
= 0 ;
6267 (char *) "self",(char *) "index",(char *) "check", NULL
6270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6273 arg2
= (int) SWIG_AsInt(obj1
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6276 arg3
= (int) SWIG_AsInt(obj2
);
6277 if (PyErr_Occurred()) SWIG_fail
;
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 (arg1
)->Check(arg2
,arg3
);
6283 wxPyEndAllowThreads(__tstate
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6286 Py_INCREF(Py_None
); resultobj
= Py_None
;
6293 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
*resultobj
;
6295 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6297 PyObject
* obj0
= 0 ;
6299 (char *) "self", NULL
6302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 result
= (int)(arg1
)->GetItemHeight();
6309 wxPyEndAllowThreads(__tstate
);
6310 if (PyErr_Occurred()) SWIG_fail
;
6312 resultobj
= SWIG_FromInt((int)result
);
6319 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6320 PyObject
*resultobj
;
6321 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6325 PyObject
* obj0
= 0 ;
6326 PyObject
* obj1
= 0 ;
6328 (char *) "self",(char *) "pt", NULL
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6336 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6340 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6342 wxPyEndAllowThreads(__tstate
);
6343 if (PyErr_Occurred()) SWIG_fail
;
6345 resultobj
= SWIG_FromInt((int)result
);
6352 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6353 PyObject
*resultobj
;
6354 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6358 PyObject
* obj0
= 0 ;
6359 PyObject
* obj1
= 0 ;
6360 PyObject
* obj2
= 0 ;
6362 (char *) "self",(char *) "x",(char *) "y", NULL
6365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6368 arg2
= (int) SWIG_AsInt(obj1
);
6369 if (PyErr_Occurred()) SWIG_fail
;
6370 arg3
= (int) SWIG_AsInt(obj2
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6374 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6376 wxPyEndAllowThreads(__tstate
);
6377 if (PyErr_Occurred()) SWIG_fail
;
6379 resultobj
= SWIG_FromInt((int)result
);
6386 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6389 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6391 return Py_BuildValue((char *)"");
6393 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6394 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6399 static PyObject
*_wrap_TextCtrlNameStr_get() {
6404 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6406 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6413 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6414 PyObject
*resultobj
;
6417 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6420 result
= (wxTextAttr
*)new wxTextAttr();
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6432 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6433 PyObject
*resultobj
;
6434 wxColour
*arg1
= 0 ;
6435 wxColour
const &arg2_defvalue
= wxNullColour
;
6436 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6437 wxFont
const &arg3_defvalue
= wxNullFont
;
6438 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6439 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6443 PyObject
* obj0
= 0 ;
6444 PyObject
* obj1
= 0 ;
6445 PyObject
* obj2
= 0 ;
6446 PyObject
* obj3
= 0 ;
6448 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6451 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6456 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6460 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6461 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6464 PyErr_SetString(PyExc_TypeError
,"null reference");
6469 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6470 if (PyErr_Occurred()) SWIG_fail
;
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6486 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6491 argc
= PyObject_Length(args
);
6492 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6493 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6496 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6498 if ((argc
>= 1) && (argc
<= 4)) {
6501 _v
= wxColour_typecheck(argv
[0]);
6505 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6508 _v
= wxColour_typecheck(argv
[1]);
6512 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6516 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6525 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6527 _v
= SWIG_CheckInt(argv
[3]);
6529 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6536 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6541 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6542 PyObject
*resultobj
;
6543 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6544 PyObject
* obj0
= 0 ;
6546 (char *) "self", NULL
6549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6559 Py_INCREF(Py_None
); resultobj
= Py_None
;
6566 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
*resultobj
;
6568 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6569 PyObject
* obj0
= 0 ;
6571 (char *) "self", NULL
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 Py_INCREF(Py_None
); resultobj
= Py_None
;
6591 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
*resultobj
;
6593 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6594 wxColour
*arg2
= 0 ;
6596 PyObject
* obj0
= 0 ;
6597 PyObject
* obj1
= 0 ;
6599 (char *) "self",(char *) "colText", NULL
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6607 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6611 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6616 Py_INCREF(Py_None
); resultobj
= Py_None
;
6623 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
*resultobj
;
6625 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6626 wxColour
*arg2
= 0 ;
6628 PyObject
* obj0
= 0 ;
6629 PyObject
* obj1
= 0 ;
6631 (char *) "self",(char *) "colBack", NULL
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6639 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6643 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6645 wxPyEndAllowThreads(__tstate
);
6646 if (PyErr_Occurred()) SWIG_fail
;
6648 Py_INCREF(Py_None
); resultobj
= Py_None
;
6655 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6656 PyObject
*resultobj
;
6657 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6659 long arg3
= (long) wxTEXT_ATTR_FONT
;
6660 PyObject
* obj0
= 0 ;
6661 PyObject
* obj1
= 0 ;
6662 PyObject
* obj2
= 0 ;
6664 (char *) "self",(char *) "font",(char *) "flags", NULL
6667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6671 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6674 PyErr_SetString(PyExc_TypeError
,"null reference");
6678 arg3
= (long) SWIG_AsLong(obj2
);
6679 if (PyErr_Occurred()) SWIG_fail
;
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6688 Py_INCREF(Py_None
); resultobj
= Py_None
;
6695 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
*resultobj
;
6697 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6699 PyObject
* obj0
= 0 ;
6700 PyObject
* obj1
= 0 ;
6702 (char *) "self",(char *) "alignment", NULL
6705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6708 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
6709 if (PyErr_Occurred()) SWIG_fail
;
6711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6712 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6714 wxPyEndAllowThreads(__tstate
);
6715 if (PyErr_Occurred()) SWIG_fail
;
6717 Py_INCREF(Py_None
); resultobj
= Py_None
;
6724 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6725 PyObject
*resultobj
;
6726 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6727 wxArrayInt
*arg2
= 0 ;
6728 bool temp2
= False
;
6729 PyObject
* obj0
= 0 ;
6730 PyObject
* obj1
= 0 ;
6732 (char *) "self",(char *) "tabs", NULL
6735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6739 if (! PySequence_Check(obj1
)) {
6740 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6743 arg2
= new wxArrayInt
;
6745 int i
, len
=PySequence_Length(obj1
);
6746 for (i
=0; i
<len
; i
++) {
6747 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6748 PyObject
* number
= PyNumber_Int(item
);
6749 arg2
->Add(PyInt_AS_LONG(number
));
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 Py_INCREF(Py_None
); resultobj
= Py_None
;
6763 if (temp2
) delete arg2
;
6768 if (temp2
) delete arg2
;
6774 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6775 PyObject
*resultobj
;
6776 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6778 PyObject
* obj0
= 0 ;
6779 PyObject
* obj1
= 0 ;
6781 (char *) "self",(char *) "indent", NULL
6784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6787 arg2
= (int) SWIG_AsInt(obj1
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6791 (arg1
)->SetLeftIndent(arg2
);
6793 wxPyEndAllowThreads(__tstate
);
6794 if (PyErr_Occurred()) SWIG_fail
;
6796 Py_INCREF(Py_None
); resultobj
= Py_None
;
6803 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6804 PyObject
*resultobj
;
6805 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6807 PyObject
* obj0
= 0 ;
6808 PyObject
* obj1
= 0 ;
6810 (char *) "self",(char *) "indent", NULL
6813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6816 arg2
= (int) SWIG_AsInt(obj1
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 (arg1
)->SetRightIndent(arg2
);
6822 wxPyEndAllowThreads(__tstate
);
6823 if (PyErr_Occurred()) SWIG_fail
;
6825 Py_INCREF(Py_None
); resultobj
= Py_None
;
6832 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6833 PyObject
*resultobj
;
6834 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6836 PyObject
* obj0
= 0 ;
6837 PyObject
* obj1
= 0 ;
6839 (char *) "self",(char *) "flags", NULL
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6845 arg2
= (long) SWIG_AsLong(obj1
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6849 (arg1
)->SetFlags(arg2
);
6851 wxPyEndAllowThreads(__tstate
);
6852 if (PyErr_Occurred()) SWIG_fail
;
6854 Py_INCREF(Py_None
); resultobj
= Py_None
;
6861 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6862 PyObject
*resultobj
;
6863 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6865 PyObject
* obj0
= 0 ;
6867 (char *) "self", NULL
6870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6875 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6877 wxPyEndAllowThreads(__tstate
);
6878 if (PyErr_Occurred()) SWIG_fail
;
6880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6887 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6888 PyObject
*resultobj
;
6889 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6891 PyObject
* obj0
= 0 ;
6893 (char *) "self", NULL
6896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6913 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6914 PyObject
*resultobj
;
6915 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6917 PyObject
* obj0
= 0 ;
6919 (char *) "self", NULL
6922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6927 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6929 wxPyEndAllowThreads(__tstate
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6939 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
*resultobj
;
6941 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6943 PyObject
* obj0
= 0 ;
6945 (char *) "self", NULL
6948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6953 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6955 wxPyEndAllowThreads(__tstate
);
6956 if (PyErr_Occurred()) SWIG_fail
;
6958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6965 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6966 PyObject
*resultobj
;
6967 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6969 PyObject
* obj0
= 0 ;
6971 (char *) "self", NULL
6974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
6975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6979 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
6981 wxPyEndAllowThreads(__tstate
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6991 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
*resultobj
;
6993 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6995 PyObject
* obj0
= 0 ;
6997 (char *) "self", NULL
7000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7005 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7017 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
;
7019 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7021 PyObject
* obj0
= 0 ;
7023 (char *) "self", NULL
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) SWIG_fail
;
7036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7043 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7044 PyObject
*resultobj
;
7045 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7048 PyObject
* obj0
= 0 ;
7049 PyObject
* obj1
= 0 ;
7051 (char *) "self",(char *) "flag", NULL
7054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7057 arg2
= (long) SWIG_AsLong(obj1
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7073 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
;
7075 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7077 PyObject
* obj0
= 0 ;
7079 (char *) "self", NULL
7082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7088 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7089 result
= (wxColour
*) &_result_ref
;
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7102 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7103 PyObject
*resultobj
;
7104 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7106 PyObject
* obj0
= 0 ;
7108 (char *) "self", NULL
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7117 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7118 result
= (wxColour
*) &_result_ref
;
7121 wxPyEndAllowThreads(__tstate
);
7122 if (PyErr_Occurred()) SWIG_fail
;
7124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7131 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7132 PyObject
*resultobj
;
7133 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7135 PyObject
* obj0
= 0 ;
7137 (char *) "self", NULL
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7146 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7147 result
= (wxFont
*) &_result_ref
;
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7154 wxFont
* resultptr
= new wxFont(*result
);
7155 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7163 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7164 PyObject
*resultobj
;
7165 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7167 PyObject
* obj0
= 0 ;
7169 (char *) "self", NULL
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7179 wxPyEndAllowThreads(__tstate
);
7180 if (PyErr_Occurred()) SWIG_fail
;
7182 resultobj
= SWIG_FromInt((int)result
);
7189 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7190 PyObject
*resultobj
;
7191 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7193 PyObject
* obj0
= 0 ;
7195 (char *) "self", NULL
7198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7204 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7205 result
= (wxArrayInt
*) &_result_ref
;
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7212 resultobj
= PyList_New(0);
7214 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7215 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7216 PyList_Append(resultobj
, val
);
7226 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
*resultobj
;
7228 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7230 PyObject
* obj0
= 0 ;
7232 (char *) "self", NULL
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7242 wxPyEndAllowThreads(__tstate
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= SWIG_FromLong((long)result
);
7252 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
;
7254 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7256 PyObject
* obj0
= 0 ;
7258 (char *) "self", NULL
7261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7266 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7268 wxPyEndAllowThreads(__tstate
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7271 resultobj
= SWIG_FromLong((long)result
);
7278 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7279 PyObject
*resultobj
;
7280 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7282 PyObject
* obj0
= 0 ;
7284 (char *) "self", NULL
7287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7292 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7294 wxPyEndAllowThreads(__tstate
);
7295 if (PyErr_Occurred()) SWIG_fail
;
7297 resultobj
= SWIG_FromLong((long)result
);
7304 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7305 PyObject
*resultobj
;
7306 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7308 PyObject
* obj0
= 0 ;
7310 (char *) "self", NULL
7313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7318 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7320 wxPyEndAllowThreads(__tstate
);
7321 if (PyErr_Occurred()) SWIG_fail
;
7323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7330 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7331 PyObject
*resultobj
;
7332 wxTextAttr
*arg1
= 0 ;
7333 wxTextAttr
*arg2
= 0 ;
7334 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7336 PyObject
* obj0
= 0 ;
7337 PyObject
* obj1
= 0 ;
7338 PyObject
* obj2
= 0 ;
7340 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7345 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7348 PyErr_SetString(PyExc_TypeError
,"null reference");
7351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7352 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7355 PyErr_SetString(PyExc_TypeError
,"null reference");
7358 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7368 wxTextAttr
* resultptr
;
7369 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7370 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7378 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7381 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7383 return Py_BuildValue((char *)"");
7385 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
;
7387 wxWindow
*arg1
= (wxWindow
*) 0 ;
7389 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7390 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7391 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7392 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7393 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7394 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7395 long arg6
= (long) 0 ;
7396 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7397 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7398 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7399 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7401 bool temp3
= False
;
7404 bool temp8
= False
;
7405 PyObject
* obj0
= 0 ;
7406 PyObject
* obj1
= 0 ;
7407 PyObject
* obj2
= 0 ;
7408 PyObject
* obj3
= 0 ;
7409 PyObject
* obj4
= 0 ;
7410 PyObject
* obj5
= 0 ;
7411 PyObject
* obj6
= 0 ;
7412 PyObject
* obj7
= 0 ;
7414 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7420 arg2
= (int) SWIG_AsInt(obj1
);
7421 if (PyErr_Occurred()) SWIG_fail
;
7424 arg3
= wxString_in_helper(obj2
);
7425 if (arg3
== NULL
) SWIG_fail
;
7432 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7438 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7442 arg6
= (long) SWIG_AsLong(obj5
);
7443 if (PyErr_Occurred()) SWIG_fail
;
7446 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7447 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7450 PyErr_SetString(PyExc_TypeError
,"null reference");
7456 arg8
= wxString_in_helper(obj7
);
7457 if (arg8
== NULL
) SWIG_fail
;
7462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7463 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7469 resultobj
= wxPyMake_wxObject(result
);
7493 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
*resultobj
;
7500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7503 result
= (wxTextCtrl
*)new wxTextCtrl();
7505 wxPyEndAllowThreads(__tstate
);
7506 if (PyErr_Occurred()) SWIG_fail
;
7509 resultobj
= wxPyMake_wxObject(result
);
7517 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
*resultobj
;
7519 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7520 wxWindow
*arg2
= (wxWindow
*) 0 ;
7522 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7523 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7524 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7525 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7526 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7527 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7528 long arg7
= (long) 0 ;
7529 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7530 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7531 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7532 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7534 bool temp4
= False
;
7537 bool temp9
= False
;
7538 PyObject
* obj0
= 0 ;
7539 PyObject
* obj1
= 0 ;
7540 PyObject
* obj2
= 0 ;
7541 PyObject
* obj3
= 0 ;
7542 PyObject
* obj4
= 0 ;
7543 PyObject
* obj5
= 0 ;
7544 PyObject
* obj6
= 0 ;
7545 PyObject
* obj7
= 0 ;
7546 PyObject
* obj8
= 0 ;
7548 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7556 arg3
= (int) SWIG_AsInt(obj2
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7560 arg4
= wxString_in_helper(obj3
);
7561 if (arg4
== NULL
) SWIG_fail
;
7568 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7574 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7578 arg7
= (long) SWIG_AsLong(obj6
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7582 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
7583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7586 PyErr_SetString(PyExc_TypeError
,"null reference");
7592 arg9
= wxString_in_helper(obj8
);
7593 if (arg9
== NULL
) SWIG_fail
;
7598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7599 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7627 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
*resultobj
;
7629 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7631 PyObject
* obj0
= 0 ;
7633 (char *) "self", NULL
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7641 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7643 wxPyEndAllowThreads(__tstate
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7648 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7650 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7659 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7660 PyObject
*resultobj
;
7661 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7662 wxString
*arg2
= 0 ;
7663 bool temp2
= False
;
7664 PyObject
* obj0
= 0 ;
7665 PyObject
* obj1
= 0 ;
7667 (char *) "self",(char *) "value", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7674 arg2
= wxString_in_helper(obj1
);
7675 if (arg2
== NULL
) SWIG_fail
;
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 (arg1
)->SetValue((wxString
const &)*arg2
);
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7685 Py_INCREF(Py_None
); resultobj
= Py_None
;
7700 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
*resultobj
;
7702 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7706 PyObject
* obj0
= 0 ;
7707 PyObject
* obj1
= 0 ;
7708 PyObject
* obj2
= 0 ;
7710 (char *) "self",(char *) "from",(char *) "to", NULL
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7716 arg2
= (long) SWIG_AsLong(obj1
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7718 arg3
= (long) SWIG_AsLong(obj2
);
7719 if (PyErr_Occurred()) SWIG_fail
;
7721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7722 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7724 wxPyEndAllowThreads(__tstate
);
7725 if (PyErr_Occurred()) SWIG_fail
;
7729 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7731 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7740 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
*resultobj
;
7742 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7745 PyObject
* obj0
= 0 ;
7746 PyObject
* obj1
= 0 ;
7748 (char *) "self",(char *) "lineNo", NULL
7751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7754 arg2
= (long) SWIG_AsLong(obj1
);
7755 if (PyErr_Occurred()) SWIG_fail
;
7757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7758 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7760 wxPyEndAllowThreads(__tstate
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7763 resultobj
= SWIG_FromInt((int)result
);
7770 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7771 PyObject
*resultobj
;
7772 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7775 PyObject
* obj0
= 0 ;
7776 PyObject
* obj1
= 0 ;
7778 (char *) "self",(char *) "lineNo", NULL
7781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7784 arg2
= (long) SWIG_AsLong(obj1
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7788 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7790 wxPyEndAllowThreads(__tstate
);
7791 if (PyErr_Occurred()) SWIG_fail
;
7795 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7797 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7806 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7810 PyObject
* obj0
= 0 ;
7812 (char *) "self", NULL
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7825 resultobj
= SWIG_FromInt((int)result
);
7832 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7833 PyObject
*resultobj
;
7834 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7836 PyObject
* obj0
= 0 ;
7838 (char *) "self", NULL
7841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7846 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7848 wxPyEndAllowThreads(__tstate
);
7849 if (PyErr_Occurred()) SWIG_fail
;
7851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7858 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7859 PyObject
*resultobj
;
7860 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7862 PyObject
* obj0
= 0 ;
7864 (char *) "self", NULL
7867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7884 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7885 PyObject
*resultobj
;
7886 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7888 PyObject
* obj0
= 0 ;
7890 (char *) "self", NULL
7893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7898 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7900 wxPyEndAllowThreads(__tstate
);
7901 if (PyErr_Occurred()) SWIG_fail
;
7903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7910 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7911 PyObject
*resultobj
;
7912 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7914 PyObject
* obj0
= 0 ;
7916 (char *) "self", NULL
7919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7924 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7926 wxPyEndAllowThreads(__tstate
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7936 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
;
7938 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7939 long *arg2
= (long *) 0 ;
7940 long *arg3
= (long *) 0 ;
7943 PyObject
* obj0
= 0 ;
7945 (char *) "self", NULL
7950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
7951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7955 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
7957 wxPyEndAllowThreads(__tstate
);
7958 if (PyErr_Occurred()) SWIG_fail
;
7960 Py_INCREF(Py_None
); resultobj
= Py_None
;
7962 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7963 resultobj
= t_output_helper(resultobj
,o
);
7966 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7967 resultobj
= t_output_helper(resultobj
,o
);
7975 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7976 PyObject
*resultobj
;
7977 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7979 PyObject
* obj0
= 0 ;
7981 (char *) "self", NULL
7984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
7985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7989 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
7991 wxPyEndAllowThreads(__tstate
);
7992 if (PyErr_Occurred()) SWIG_fail
;
7996 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7998 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8007 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
*resultobj
;
8009 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8010 PyObject
* obj0
= 0 ;
8012 (char *) "self", NULL
8015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 wxPyEndAllowThreads(__tstate
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8025 Py_INCREF(Py_None
); resultobj
= Py_None
;
8032 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8033 PyObject
*resultobj
;
8034 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8037 wxString
*arg4
= 0 ;
8038 bool temp4
= False
;
8039 PyObject
* obj0
= 0 ;
8040 PyObject
* obj1
= 0 ;
8041 PyObject
* obj2
= 0 ;
8042 PyObject
* obj3
= 0 ;
8044 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8050 arg2
= (long) SWIG_AsLong(obj1
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8052 arg3
= (long) SWIG_AsLong(obj2
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8055 arg4
= wxString_in_helper(obj3
);
8056 if (arg4
== NULL
) SWIG_fail
;
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8063 wxPyEndAllowThreads(__tstate
);
8064 if (PyErr_Occurred()) SWIG_fail
;
8066 Py_INCREF(Py_None
); resultobj
= Py_None
;
8081 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
*resultobj
;
8083 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8086 PyObject
* obj0
= 0 ;
8087 PyObject
* obj1
= 0 ;
8088 PyObject
* obj2
= 0 ;
8090 (char *) "self",(char *) "from",(char *) "to", NULL
8093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8096 arg2
= (long) SWIG_AsLong(obj1
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8098 arg3
= (long) SWIG_AsLong(obj2
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8102 (arg1
)->Remove(arg2
,arg3
);
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8107 Py_INCREF(Py_None
); resultobj
= Py_None
;
8114 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8115 PyObject
*resultobj
;
8116 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8117 wxString
*arg2
= 0 ;
8119 bool temp2
= False
;
8120 PyObject
* obj0
= 0 ;
8121 PyObject
* obj1
= 0 ;
8123 (char *) "self",(char *) "file", NULL
8126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8130 arg2
= wxString_in_helper(obj1
);
8131 if (arg2
== NULL
) SWIG_fail
;
8135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8136 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8138 wxPyEndAllowThreads(__tstate
);
8139 if (PyErr_Occurred()) SWIG_fail
;
8141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8156 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8157 PyObject
*resultobj
;
8158 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8159 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8160 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8162 bool temp2
= False
;
8163 PyObject
* obj0
= 0 ;
8164 PyObject
* obj1
= 0 ;
8166 (char *) "self",(char *) "file", NULL
8169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8174 arg2
= wxString_in_helper(obj1
);
8175 if (arg2
== NULL
) SWIG_fail
;
8180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8181 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8183 wxPyEndAllowThreads(__tstate
);
8184 if (PyErr_Occurred()) SWIG_fail
;
8186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8201 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8202 PyObject
*resultobj
;
8203 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8204 PyObject
* obj0
= 0 ;
8206 (char *) "self", NULL
8209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8214 (arg1
)->MarkDirty();
8216 wxPyEndAllowThreads(__tstate
);
8217 if (PyErr_Occurred()) SWIG_fail
;
8219 Py_INCREF(Py_None
); resultobj
= Py_None
;
8226 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8227 PyObject
*resultobj
;
8228 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8229 PyObject
* obj0
= 0 ;
8231 (char *) "self", NULL
8234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8239 (arg1
)->DiscardEdits();
8241 wxPyEndAllowThreads(__tstate
);
8242 if (PyErr_Occurred()) SWIG_fail
;
8244 Py_INCREF(Py_None
); resultobj
= Py_None
;
8251 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8252 PyObject
*resultobj
;
8253 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8254 unsigned long arg2
;
8255 PyObject
* obj0
= 0 ;
8256 PyObject
* obj1
= 0 ;
8258 (char *) "self",(char *) "len", NULL
8261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8264 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 (arg1
)->SetMaxLength(arg2
);
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8273 Py_INCREF(Py_None
); resultobj
= Py_None
;
8280 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8281 PyObject
*resultobj
;
8282 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8283 wxString
*arg2
= 0 ;
8284 bool temp2
= False
;
8285 PyObject
* obj0
= 0 ;
8286 PyObject
* obj1
= 0 ;
8288 (char *) "self",(char *) "text", NULL
8291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8295 arg2
= wxString_in_helper(obj1
);
8296 if (arg2
== NULL
) SWIG_fail
;
8300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8301 (arg1
)->WriteText((wxString
const &)*arg2
);
8303 wxPyEndAllowThreads(__tstate
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8306 Py_INCREF(Py_None
); resultobj
= Py_None
;
8321 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8322 PyObject
*resultobj
;
8323 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8324 wxString
*arg2
= 0 ;
8325 bool temp2
= False
;
8326 PyObject
* obj0
= 0 ;
8327 PyObject
* obj1
= 0 ;
8329 (char *) "self",(char *) "text", NULL
8332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8336 arg2
= wxString_in_helper(obj1
);
8337 if (arg2
== NULL
) SWIG_fail
;
8341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8342 (arg1
)->AppendText((wxString
const &)*arg2
);
8344 wxPyEndAllowThreads(__tstate
);
8345 if (PyErr_Occurred()) SWIG_fail
;
8347 Py_INCREF(Py_None
); resultobj
= Py_None
;
8362 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8363 PyObject
*resultobj
;
8364 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8365 wxKeyEvent
*arg2
= 0 ;
8367 PyObject
* obj0
= 0 ;
8368 PyObject
* obj1
= 0 ;
8370 (char *) "self",(char *) "event", NULL
8373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8377 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8380 PyErr_SetString(PyExc_TypeError
,"null reference");
8384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8385 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8387 wxPyEndAllowThreads(__tstate
);
8388 if (PyErr_Occurred()) SWIG_fail
;
8390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8397 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8398 PyObject
*resultobj
;
8399 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8402 wxTextAttr
*arg4
= 0 ;
8404 PyObject
* obj0
= 0 ;
8405 PyObject
* obj1
= 0 ;
8406 PyObject
* obj2
= 0 ;
8407 PyObject
* obj3
= 0 ;
8409 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8415 arg2
= (long) SWIG_AsLong(obj1
);
8416 if (PyErr_Occurred()) SWIG_fail
;
8417 arg3
= (long) SWIG_AsLong(obj2
);
8418 if (PyErr_Occurred()) SWIG_fail
;
8419 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8420 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8423 PyErr_SetString(PyExc_TypeError
,"null reference");
8427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8428 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8430 wxPyEndAllowThreads(__tstate
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8440 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8441 PyObject
*resultobj
;
8442 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8444 wxTextAttr
*arg3
= 0 ;
8446 PyObject
* obj0
= 0 ;
8447 PyObject
* obj1
= 0 ;
8448 PyObject
* obj2
= 0 ;
8450 (char *) "self",(char *) "position",(char *) "style", NULL
8453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8456 arg2
= (long) SWIG_AsLong(obj1
);
8457 if (PyErr_Occurred()) SWIG_fail
;
8458 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8459 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8462 PyErr_SetString(PyExc_TypeError
,"null reference");
8466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8467 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8469 wxPyEndAllowThreads(__tstate
);
8470 if (PyErr_Occurred()) SWIG_fail
;
8472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8479 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8480 PyObject
*resultobj
;
8481 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8482 wxTextAttr
*arg2
= 0 ;
8484 PyObject
* obj0
= 0 ;
8485 PyObject
* obj1
= 0 ;
8487 (char *) "self",(char *) "style", NULL
8490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8494 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8497 PyErr_SetString(PyExc_TypeError
,"null reference");
8501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8502 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8504 wxPyEndAllowThreads(__tstate
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8514 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8515 PyObject
*resultobj
;
8516 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8518 PyObject
* obj0
= 0 ;
8520 (char *) "self", NULL
8523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8530 result
= (wxTextAttr
*) &_result_ref
;
8533 wxPyEndAllowThreads(__tstate
);
8534 if (PyErr_Occurred()) SWIG_fail
;
8536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
8543 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8544 PyObject
*resultobj
;
8545 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8549 PyObject
* obj0
= 0 ;
8550 PyObject
* obj1
= 0 ;
8551 PyObject
* obj2
= 0 ;
8553 (char *) "self",(char *) "x",(char *) "y", NULL
8556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8559 arg2
= (long) SWIG_AsLong(obj1
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8561 arg3
= (long) SWIG_AsLong(obj2
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8565 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8567 wxPyEndAllowThreads(__tstate
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8570 resultobj
= SWIG_FromLong((long)result
);
8577 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8578 PyObject
*resultobj
;
8579 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8581 long *arg3
= (long *) 0 ;
8582 long *arg4
= (long *) 0 ;
8585 PyObject
* obj0
= 0 ;
8586 PyObject
* obj1
= 0 ;
8588 (char *) "self",(char *) "pos", NULL
8593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8596 arg2
= (long) SWIG_AsLong(obj1
);
8597 if (PyErr_Occurred()) SWIG_fail
;
8599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8600 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8602 wxPyEndAllowThreads(__tstate
);
8603 if (PyErr_Occurred()) SWIG_fail
;
8605 Py_INCREF(Py_None
); resultobj
= Py_None
;
8607 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8608 resultobj
= t_output_helper(resultobj
,o
);
8611 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8612 resultobj
= t_output_helper(resultobj
,o
);
8620 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8621 PyObject
*resultobj
;
8622 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8624 PyObject
* obj0
= 0 ;
8625 PyObject
* obj1
= 0 ;
8627 (char *) "self",(char *) "pos", NULL
8630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8633 arg2
= (long) SWIG_AsLong(obj1
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8637 (arg1
)->ShowPosition(arg2
);
8639 wxPyEndAllowThreads(__tstate
);
8640 if (PyErr_Occurred()) SWIG_fail
;
8642 Py_INCREF(Py_None
); resultobj
= Py_None
;
8649 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8650 PyObject
*resultobj
;
8651 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8653 long *arg3
= (long *) 0 ;
8654 long *arg4
= (long *) 0 ;
8659 PyObject
* obj0
= 0 ;
8660 PyObject
* obj1
= 0 ;
8662 (char *) "self",(char *) "pt", NULL
8667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8672 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8678 wxPyEndAllowThreads(__tstate
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8681 resultobj
= SWIG_FromInt((int)result
);
8683 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8684 resultobj
= t_output_helper(resultobj
,o
);
8687 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8688 resultobj
= t_output_helper(resultobj
,o
);
8696 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8697 PyObject
*resultobj
;
8698 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8699 PyObject
* obj0
= 0 ;
8701 (char *) "self", NULL
8704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8711 wxPyEndAllowThreads(__tstate
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8714 Py_INCREF(Py_None
); resultobj
= Py_None
;
8721 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8722 PyObject
*resultobj
;
8723 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8724 PyObject
* obj0
= 0 ;
8726 (char *) "self", NULL
8729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8739 Py_INCREF(Py_None
); resultobj
= Py_None
;
8746 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
*resultobj
;
8748 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8749 PyObject
* obj0
= 0 ;
8751 (char *) "self", NULL
8754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8761 wxPyEndAllowThreads(__tstate
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8764 Py_INCREF(Py_None
); resultobj
= Py_None
;
8771 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8772 PyObject
*resultobj
;
8773 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8775 PyObject
* obj0
= 0 ;
8777 (char *) "self", NULL
8780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8785 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8787 wxPyEndAllowThreads(__tstate
);
8788 if (PyErr_Occurred()) SWIG_fail
;
8790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8797 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
*resultobj
;
8799 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8801 PyObject
* obj0
= 0 ;
8803 (char *) "self", NULL
8806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8811 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8813 wxPyEndAllowThreads(__tstate
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8823 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
*resultobj
;
8825 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8827 PyObject
* obj0
= 0 ;
8829 (char *) "self", NULL
8832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8837 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8839 wxPyEndAllowThreads(__tstate
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8849 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8850 PyObject
*resultobj
;
8851 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8852 PyObject
* obj0
= 0 ;
8854 (char *) "self", NULL
8857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8867 Py_INCREF(Py_None
); resultobj
= Py_None
;
8874 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8875 PyObject
*resultobj
;
8876 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8877 PyObject
* obj0
= 0 ;
8879 (char *) "self", NULL
8882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8889 wxPyEndAllowThreads(__tstate
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8892 Py_INCREF(Py_None
); resultobj
= Py_None
;
8899 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8900 PyObject
*resultobj
;
8901 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8903 PyObject
* obj0
= 0 ;
8905 (char *) "self", NULL
8908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
8909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8913 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
8915 wxPyEndAllowThreads(__tstate
);
8916 if (PyErr_Occurred()) SWIG_fail
;
8918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8925 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8926 PyObject
*resultobj
;
8927 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8929 PyObject
* obj0
= 0 ;
8931 (char *) "self", NULL
8934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
8935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8939 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
8941 wxPyEndAllowThreads(__tstate
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8951 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8952 PyObject
*resultobj
;
8953 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8955 PyObject
* obj0
= 0 ;
8956 PyObject
* obj1
= 0 ;
8958 (char *) "self",(char *) "pos", NULL
8961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
8962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8964 arg2
= (long) SWIG_AsLong(obj1
);
8965 if (PyErr_Occurred()) SWIG_fail
;
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 (arg1
)->SetInsertionPoint(arg2
);
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8973 Py_INCREF(Py_None
); resultobj
= Py_None
;
8980 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
;
8982 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8983 PyObject
* obj0
= 0 ;
8985 (char *) "self", NULL
8988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
8989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8993 (arg1
)->SetInsertionPointEnd();
8995 wxPyEndAllowThreads(__tstate
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8998 Py_INCREF(Py_None
); resultobj
= Py_None
;
9005 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9006 PyObject
*resultobj
;
9007 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9009 PyObject
* obj0
= 0 ;
9011 (char *) "self", NULL
9014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9019 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9024 resultobj
= SWIG_FromLong((long)result
);
9031 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9032 PyObject
*resultobj
;
9033 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9035 PyObject
* obj0
= 0 ;
9037 (char *) "self", NULL
9040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9045 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9047 wxPyEndAllowThreads(__tstate
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9050 resultobj
= SWIG_FromLong((long)result
);
9057 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9058 PyObject
*resultobj
;
9059 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9062 PyObject
* obj0
= 0 ;
9063 PyObject
* obj1
= 0 ;
9064 PyObject
* obj2
= 0 ;
9066 (char *) "self",(char *) "from",(char *) "to", NULL
9069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9072 arg2
= (long) SWIG_AsLong(obj1
);
9073 if (PyErr_Occurred()) SWIG_fail
;
9074 arg3
= (long) SWIG_AsLong(obj2
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9078 (arg1
)->SetSelection(arg2
,arg3
);
9080 wxPyEndAllowThreads(__tstate
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9083 Py_INCREF(Py_None
); resultobj
= Py_None
;
9090 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9091 PyObject
*resultobj
;
9092 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9093 PyObject
* obj0
= 0 ;
9095 (char *) "self", NULL
9098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9103 (arg1
)->SelectAll();
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9108 Py_INCREF(Py_None
); resultobj
= Py_None
;
9115 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9116 PyObject
*resultobj
;
9117 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9119 PyObject
* obj0
= 0 ;
9120 PyObject
* obj1
= 0 ;
9122 (char *) "self",(char *) "editable", NULL
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9128 arg2
= (bool) SWIG_AsBool(obj1
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 (arg1
)->SetEditable(arg2
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 Py_INCREF(Py_None
); resultobj
= Py_None
;
9144 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
;
9146 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9147 wxString
*arg2
= 0 ;
9148 bool temp2
= False
;
9149 PyObject
* obj0
= 0 ;
9150 PyObject
* obj1
= 0 ;
9152 (char *) "self",(char *) "text", NULL
9155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9159 arg2
= wxString_in_helper(obj1
);
9160 if (arg2
== NULL
) SWIG_fail
;
9164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9165 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9167 wxPyEndAllowThreads(__tstate
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9170 Py_INCREF(Py_None
); resultobj
= Py_None
;
9185 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
;
9187 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9191 PyObject
* obj0
= 0 ;
9192 PyObject
* obj1
= 0 ;
9193 PyObject
* obj2
= 0 ;
9195 (char *) "self",(char *) "from",(char *) "to", NULL
9198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9201 arg2
= (long) SWIG_AsLong(obj1
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9203 arg3
= (long) SWIG_AsLong(obj2
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9207 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9209 wxPyEndAllowThreads(__tstate
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9214 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9216 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9225 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9228 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9230 return Py_BuildValue((char *)"");
9232 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9233 PyObject
*resultobj
;
9235 wxMouseEvent
*arg2
= 0 ;
9238 wxTextUrlEvent
*result
;
9239 PyObject
* obj0
= 0 ;
9240 PyObject
* obj1
= 0 ;
9241 PyObject
* obj2
= 0 ;
9242 PyObject
* obj3
= 0 ;
9244 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9248 arg1
= (int) SWIG_AsInt(obj0
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9251 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9254 PyErr_SetString(PyExc_TypeError
,"null reference");
9257 arg3
= (long) SWIG_AsLong(obj2
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9259 arg4
= (long) SWIG_AsLong(obj3
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9263 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9275 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9276 PyObject
*resultobj
;
9277 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9278 wxMouseEvent
*result
;
9279 PyObject
* obj0
= 0 ;
9281 (char *) "self", NULL
9284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9290 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9291 result
= (wxMouseEvent
*) &_result_ref
;
9294 wxPyEndAllowThreads(__tstate
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9304 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9305 PyObject
*resultobj
;
9306 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9308 PyObject
* obj0
= 0 ;
9310 (char *) "self", NULL
9313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9318 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9323 resultobj
= SWIG_FromLong((long)result
);
9330 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
;
9332 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9334 PyObject
* obj0
= 0 ;
9336 (char *) "self", NULL
9339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9346 wxPyEndAllowThreads(__tstate
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9349 resultobj
= SWIG_FromLong((long)result
);
9356 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9359 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9361 return Py_BuildValue((char *)"");
9363 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9364 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9369 static PyObject
*_wrap_ScrollBarNameStr_get() {
9374 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9376 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9383 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9384 PyObject
*resultobj
;
9385 wxWindow
*arg1
= (wxWindow
*) 0 ;
9386 int arg2
= (int) -1 ;
9387 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9388 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9389 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9390 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9391 long arg5
= (long) wxSB_HORIZONTAL
;
9392 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9393 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9394 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9395 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9396 wxScrollBar
*result
;
9399 bool temp7
= False
;
9400 PyObject
* obj0
= 0 ;
9401 PyObject
* obj1
= 0 ;
9402 PyObject
* obj2
= 0 ;
9403 PyObject
* obj3
= 0 ;
9404 PyObject
* obj4
= 0 ;
9405 PyObject
* obj5
= 0 ;
9406 PyObject
* obj6
= 0 ;
9408 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9415 arg2
= (int) SWIG_AsInt(obj1
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9421 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9427 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9431 arg5
= (long) SWIG_AsLong(obj4
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9435 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
9436 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9439 PyErr_SetString(PyExc_TypeError
,"null reference");
9445 arg7
= wxString_in_helper(obj6
);
9446 if (arg7
== NULL
) SWIG_fail
;
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9472 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
*resultobj
;
9474 wxScrollBar
*result
;
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 result
= (wxScrollBar
*)new wxScrollBar();
9484 wxPyEndAllowThreads(__tstate
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9494 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9495 PyObject
*resultobj
;
9496 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9497 wxWindow
*arg2
= (wxWindow
*) 0 ;
9498 int arg3
= (int) -1 ;
9499 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9500 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9501 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9502 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9503 long arg6
= (long) wxSB_HORIZONTAL
;
9504 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9505 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9506 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9507 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9511 bool temp8
= False
;
9512 PyObject
* obj0
= 0 ;
9513 PyObject
* obj1
= 0 ;
9514 PyObject
* obj2
= 0 ;
9515 PyObject
* obj3
= 0 ;
9516 PyObject
* obj4
= 0 ;
9517 PyObject
* obj5
= 0 ;
9518 PyObject
* obj6
= 0 ;
9519 PyObject
* obj7
= 0 ;
9521 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9527 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9530 arg3
= (int) SWIG_AsInt(obj2
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9536 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9542 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9546 arg6
= (long) SWIG_AsLong(obj5
);
9547 if (PyErr_Occurred()) SWIG_fail
;
9550 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
9551 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9554 PyErr_SetString(PyExc_TypeError
,"null reference");
9560 arg8
= wxString_in_helper(obj7
);
9561 if (arg8
== NULL
) SWIG_fail
;
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) SWIG_fail
;
9572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9587 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
*resultobj
;
9589 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9591 PyObject
* obj0
= 0 ;
9593 (char *) "self", NULL
9596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9601 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9603 wxPyEndAllowThreads(__tstate
);
9604 if (PyErr_Occurred()) SWIG_fail
;
9606 resultobj
= SWIG_FromInt((int)result
);
9613 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9614 PyObject
*resultobj
;
9615 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9617 PyObject
* obj0
= 0 ;
9619 (char *) "self", NULL
9622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9627 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9632 resultobj
= SWIG_FromInt((int)result
);
9639 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9640 PyObject
*resultobj
;
9641 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9643 PyObject
* obj0
= 0 ;
9645 (char *) "self", NULL
9648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9653 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9655 wxPyEndAllowThreads(__tstate
);
9656 if (PyErr_Occurred()) SWIG_fail
;
9658 resultobj
= SWIG_FromInt((int)result
);
9665 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9666 PyObject
*resultobj
;
9667 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9669 PyObject
* obj0
= 0 ;
9671 (char *) "self", NULL
9674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9684 resultobj
= SWIG_FromInt((int)result
);
9691 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9692 PyObject
*resultobj
;
9693 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9695 PyObject
* obj0
= 0 ;
9697 (char *) "self", NULL
9700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9707 wxPyEndAllowThreads(__tstate
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9717 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
*resultobj
;
9719 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9721 PyObject
* obj0
= 0 ;
9722 PyObject
* obj1
= 0 ;
9724 (char *) "self",(char *) "viewStart", NULL
9727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9730 arg2
= (int) SWIG_AsInt(obj1
);
9731 if (PyErr_Occurred()) SWIG_fail
;
9733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9734 (arg1
)->SetThumbPosition(arg2
);
9736 wxPyEndAllowThreads(__tstate
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9739 Py_INCREF(Py_None
); resultobj
= Py_None
;
9746 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9747 PyObject
*resultobj
;
9748 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9753 bool arg6
= (bool) True
;
9754 PyObject
* obj0
= 0 ;
9755 PyObject
* obj1
= 0 ;
9756 PyObject
* obj2
= 0 ;
9757 PyObject
* obj3
= 0 ;
9758 PyObject
* obj4
= 0 ;
9759 PyObject
* obj5
= 0 ;
9761 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9767 arg2
= (int) SWIG_AsInt(obj1
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9769 arg3
= (int) SWIG_AsInt(obj2
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9771 arg4
= (int) SWIG_AsInt(obj3
);
9772 if (PyErr_Occurred()) SWIG_fail
;
9773 arg5
= (int) SWIG_AsInt(obj4
);
9774 if (PyErr_Occurred()) SWIG_fail
;
9776 arg6
= (bool) SWIG_AsBool(obj5
);
9777 if (PyErr_Occurred()) SWIG_fail
;
9780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9781 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) SWIG_fail
;
9786 Py_INCREF(Py_None
); resultobj
= Py_None
;
9793 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9796 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9798 return Py_BuildValue((char *)"");
9800 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
9801 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9806 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9811 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9813 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9820 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
9821 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9826 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9831 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9833 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9840 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9841 PyObject
*resultobj
;
9842 wxWindow
*arg1
= (wxWindow
*) 0 ;
9843 int arg2
= (int) -1 ;
9844 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9845 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9846 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9847 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9848 long arg5
= (long) wxSP_HORIZONTAL
;
9849 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9850 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9851 wxSpinButton
*result
;
9854 bool temp6
= False
;
9855 PyObject
* obj0
= 0 ;
9856 PyObject
* obj1
= 0 ;
9857 PyObject
* obj2
= 0 ;
9858 PyObject
* obj3
= 0 ;
9859 PyObject
* obj4
= 0 ;
9860 PyObject
* obj5
= 0 ;
9862 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9869 arg2
= (int) SWIG_AsInt(obj1
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9875 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9881 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9885 arg5
= (long) SWIG_AsLong(obj4
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9890 arg6
= wxString_in_helper(obj5
);
9891 if (arg6
== NULL
) SWIG_fail
;
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9899 wxPyEndAllowThreads(__tstate
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
9917 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
*resultobj
;
9919 wxSpinButton
*result
;
9924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
9926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9927 result
= (wxSpinButton
*)new wxSpinButton();
9929 wxPyEndAllowThreads(__tstate
);
9930 if (PyErr_Occurred()) SWIG_fail
;
9932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
9939 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9940 PyObject
*resultobj
;
9941 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9942 wxWindow
*arg2
= (wxWindow
*) 0 ;
9943 int arg3
= (int) -1 ;
9944 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9945 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9946 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9947 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9948 long arg6
= (long) wxSP_HORIZONTAL
;
9949 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
9950 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9954 bool temp7
= False
;
9955 PyObject
* obj0
= 0 ;
9956 PyObject
* obj1
= 0 ;
9957 PyObject
* obj2
= 0 ;
9958 PyObject
* obj3
= 0 ;
9959 PyObject
* obj4
= 0 ;
9960 PyObject
* obj5
= 0 ;
9961 PyObject
* obj6
= 0 ;
9963 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
9968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9972 arg3
= (int) SWIG_AsInt(obj2
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9978 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9984 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9988 arg6
= (long) SWIG_AsLong(obj5
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9993 arg7
= wxString_in_helper(obj6
);
9994 if (arg7
== NULL
) SWIG_fail
;
9999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10000 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10002 wxPyEndAllowThreads(__tstate
);
10003 if (PyErr_Occurred()) SWIG_fail
;
10005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10020 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10021 PyObject
*resultobj
;
10022 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10024 PyObject
* obj0
= 0 ;
10025 char *kwnames
[] = {
10026 (char *) "self", NULL
10029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10034 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10036 wxPyEndAllowThreads(__tstate
);
10037 if (PyErr_Occurred()) SWIG_fail
;
10039 resultobj
= SWIG_FromInt((int)result
);
10046 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10047 PyObject
*resultobj
;
10048 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10050 PyObject
* obj0
= 0 ;
10051 char *kwnames
[] = {
10052 (char *) "self", NULL
10055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10060 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10062 wxPyEndAllowThreads(__tstate
);
10063 if (PyErr_Occurred()) SWIG_fail
;
10065 resultobj
= SWIG_FromInt((int)result
);
10072 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10073 PyObject
*resultobj
;
10074 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10076 PyObject
* obj0
= 0 ;
10077 char *kwnames
[] = {
10078 (char *) "self", NULL
10081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10091 resultobj
= SWIG_FromInt((int)result
);
10098 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10099 PyObject
*resultobj
;
10100 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10102 PyObject
* obj0
= 0 ;
10103 PyObject
* obj1
= 0 ;
10104 char *kwnames
[] = {
10105 (char *) "self",(char *) "val", NULL
10108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10111 arg2
= (int) SWIG_AsInt(obj1
);
10112 if (PyErr_Occurred()) SWIG_fail
;
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 (arg1
)->SetValue(arg2
);
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10120 Py_INCREF(Py_None
); resultobj
= Py_None
;
10127 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10128 PyObject
*resultobj
;
10129 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10131 PyObject
* obj0
= 0 ;
10132 PyObject
* obj1
= 0 ;
10133 char *kwnames
[] = {
10134 (char *) "self",(char *) "minVal", NULL
10137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10140 arg2
= (int) SWIG_AsInt(obj1
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10144 (arg1
)->SetMin(arg2
);
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10149 Py_INCREF(Py_None
); resultobj
= Py_None
;
10156 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10157 PyObject
*resultobj
;
10158 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10160 PyObject
* obj0
= 0 ;
10161 PyObject
* obj1
= 0 ;
10162 char *kwnames
[] = {
10163 (char *) "self",(char *) "maxVal", NULL
10166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10169 arg2
= (int) SWIG_AsInt(obj1
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 (arg1
)->SetMax(arg2
);
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10178 Py_INCREF(Py_None
); resultobj
= Py_None
;
10185 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10186 PyObject
*resultobj
;
10187 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10190 PyObject
* obj0
= 0 ;
10191 PyObject
* obj1
= 0 ;
10192 PyObject
* obj2
= 0 ;
10193 char *kwnames
[] = {
10194 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10200 arg2
= (int) SWIG_AsInt(obj1
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10202 arg3
= (int) SWIG_AsInt(obj2
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 (arg1
)->SetRange(arg2
,arg3
);
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10211 Py_INCREF(Py_None
); resultobj
= Py_None
;
10218 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
;
10220 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10222 PyObject
* obj0
= 0 ;
10223 char *kwnames
[] = {
10224 (char *) "self", NULL
10227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10244 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10247 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10249 return Py_BuildValue((char *)"");
10251 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10252 PyObject
*resultobj
;
10253 wxWindow
*arg1
= (wxWindow
*) 0 ;
10254 int arg2
= (int) -1 ;
10255 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10256 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10257 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10258 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10259 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10260 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10261 long arg6
= (long) wxSP_ARROW_KEYS
;
10262 int arg7
= (int) 0 ;
10263 int arg8
= (int) 100 ;
10264 int arg9
= (int) 0 ;
10265 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10266 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10267 wxSpinCtrl
*result
;
10268 bool temp3
= False
;
10271 bool temp10
= False
;
10272 PyObject
* obj0
= 0 ;
10273 PyObject
* obj1
= 0 ;
10274 PyObject
* obj2
= 0 ;
10275 PyObject
* obj3
= 0 ;
10276 PyObject
* obj4
= 0 ;
10277 PyObject
* obj5
= 0 ;
10278 PyObject
* obj6
= 0 ;
10279 PyObject
* obj7
= 0 ;
10280 PyObject
* obj8
= 0 ;
10281 PyObject
* obj9
= 0 ;
10282 char *kwnames
[] = {
10283 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10290 arg2
= (int) SWIG_AsInt(obj1
);
10291 if (PyErr_Occurred()) SWIG_fail
;
10295 arg3
= wxString_in_helper(obj2
);
10296 if (arg3
== NULL
) SWIG_fail
;
10303 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10309 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10313 arg6
= (long) SWIG_AsLong(obj5
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10317 arg7
= (int) SWIG_AsInt(obj6
);
10318 if (PyErr_Occurred()) SWIG_fail
;
10321 arg8
= (int) SWIG_AsInt(obj7
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10325 arg9
= (int) SWIG_AsInt(obj8
);
10326 if (PyErr_Occurred()) SWIG_fail
;
10330 arg10
= wxString_in_helper(obj9
);
10331 if (arg10
== NULL
) SWIG_fail
;
10336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10337 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10339 wxPyEndAllowThreads(__tstate
);
10340 if (PyErr_Occurred()) SWIG_fail
;
10342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10365 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10366 PyObject
*resultobj
;
10367 wxSpinCtrl
*result
;
10368 char *kwnames
[] = {
10372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10375 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10377 wxPyEndAllowThreads(__tstate
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10387 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10388 PyObject
*resultobj
;
10389 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10390 wxWindow
*arg2
= (wxWindow
*) 0 ;
10391 int arg3
= (int) -1 ;
10392 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10393 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10394 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10395 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10396 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10397 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10398 long arg7
= (long) wxSP_ARROW_KEYS
;
10399 int arg8
= (int) 0 ;
10400 int arg9
= (int) 100 ;
10401 int arg10
= (int) 0 ;
10402 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10403 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10405 bool temp4
= False
;
10408 bool temp11
= False
;
10409 PyObject
* obj0
= 0 ;
10410 PyObject
* obj1
= 0 ;
10411 PyObject
* obj2
= 0 ;
10412 PyObject
* obj3
= 0 ;
10413 PyObject
* obj4
= 0 ;
10414 PyObject
* obj5
= 0 ;
10415 PyObject
* obj6
= 0 ;
10416 PyObject
* obj7
= 0 ;
10417 PyObject
* obj8
= 0 ;
10418 PyObject
* obj9
= 0 ;
10419 PyObject
* obj10
= 0 ;
10420 char *kwnames
[] = {
10421 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10430 arg3
= (int) SWIG_AsInt(obj2
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10435 arg4
= wxString_in_helper(obj3
);
10436 if (arg4
== NULL
) SWIG_fail
;
10443 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10449 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10453 arg7
= (long) SWIG_AsLong(obj6
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10457 arg8
= (int) SWIG_AsInt(obj7
);
10458 if (PyErr_Occurred()) SWIG_fail
;
10461 arg9
= (int) SWIG_AsInt(obj8
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10465 arg10
= (int) SWIG_AsInt(obj9
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10470 arg11
= wxString_in_helper(obj10
);
10471 if (arg11
== NULL
) SWIG_fail
;
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10505 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10506 PyObject
*resultobj
;
10507 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10509 PyObject
* obj0
= 0 ;
10510 char *kwnames
[] = {
10511 (char *) "self", NULL
10514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10519 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10521 wxPyEndAllowThreads(__tstate
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10524 resultobj
= SWIG_FromInt((int)result
);
10531 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10532 PyObject
*resultobj
;
10533 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10535 PyObject
* obj0
= 0 ;
10536 PyObject
* obj1
= 0 ;
10537 char *kwnames
[] = {
10538 (char *) "self",(char *) "value", NULL
10541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10544 arg2
= (int) SWIG_AsInt(obj1
);
10545 if (PyErr_Occurred()) SWIG_fail
;
10547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10548 (arg1
)->SetValue(arg2
);
10550 wxPyEndAllowThreads(__tstate
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10553 Py_INCREF(Py_None
); resultobj
= Py_None
;
10560 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10561 PyObject
*resultobj
;
10562 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10563 wxString
*arg2
= 0 ;
10564 bool temp2
= False
;
10565 PyObject
* obj0
= 0 ;
10566 PyObject
* obj1
= 0 ;
10567 char *kwnames
[] = {
10568 (char *) "self",(char *) "text", NULL
10571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10575 arg2
= wxString_in_helper(obj1
);
10576 if (arg2
== NULL
) SWIG_fail
;
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 (arg1
)->SetValue((wxString
const &)*arg2
);
10583 wxPyEndAllowThreads(__tstate
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10586 Py_INCREF(Py_None
); resultobj
= Py_None
;
10601 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10602 PyObject
*resultobj
;
10603 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10606 PyObject
* obj0
= 0 ;
10607 PyObject
* obj1
= 0 ;
10608 PyObject
* obj2
= 0 ;
10609 char *kwnames
[] = {
10610 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10616 arg2
= (int) SWIG_AsInt(obj1
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10618 arg3
= (int) SWIG_AsInt(obj2
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10622 (arg1
)->SetRange(arg2
,arg3
);
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10627 Py_INCREF(Py_None
); resultobj
= Py_None
;
10634 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
*resultobj
;
10636 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10638 PyObject
* obj0
= 0 ;
10639 char *kwnames
[] = {
10640 (char *) "self", NULL
10643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10648 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10650 wxPyEndAllowThreads(__tstate
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10653 resultobj
= SWIG_FromInt((int)result
);
10660 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10661 PyObject
*resultobj
;
10662 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10664 PyObject
* obj0
= 0 ;
10665 char *kwnames
[] = {
10666 (char *) "self", NULL
10669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10674 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10676 wxPyEndAllowThreads(__tstate
);
10677 if (PyErr_Occurred()) SWIG_fail
;
10679 resultobj
= SWIG_FromInt((int)result
);
10686 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10687 PyObject
*resultobj
;
10688 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10691 PyObject
* obj0
= 0 ;
10692 PyObject
* obj1
= 0 ;
10693 PyObject
* obj2
= 0 ;
10694 char *kwnames
[] = {
10695 (char *) "self",(char *) "from",(char *) "to", NULL
10698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10701 arg2
= (long) SWIG_AsLong(obj1
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10703 arg3
= (long) SWIG_AsLong(obj2
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10707 (arg1
)->SetSelection(arg2
,arg3
);
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 Py_INCREF(Py_None
); resultobj
= Py_None
;
10719 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10722 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10724 return Py_BuildValue((char *)"");
10726 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10727 PyObject
*resultobj
;
10728 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10729 int arg2
= (int) 0 ;
10730 wxSpinEvent
*result
;
10731 PyObject
* obj0
= 0 ;
10732 PyObject
* obj1
= 0 ;
10733 char *kwnames
[] = {
10734 (char *) "commandType",(char *) "winid", NULL
10737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10739 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10743 arg2
= (int) SWIG_AsInt(obj1
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10748 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10750 wxPyEndAllowThreads(__tstate
);
10751 if (PyErr_Occurred()) SWIG_fail
;
10753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
10760 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10761 PyObject
*resultobj
;
10762 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10764 PyObject
* obj0
= 0 ;
10765 char *kwnames
[] = {
10766 (char *) "self", NULL
10769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10774 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10776 wxPyEndAllowThreads(__tstate
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10779 resultobj
= SWIG_FromInt((int)result
);
10786 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10787 PyObject
*resultobj
;
10788 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10790 PyObject
* obj0
= 0 ;
10791 PyObject
* obj1
= 0 ;
10792 char *kwnames
[] = {
10793 (char *) "self",(char *) "pos", NULL
10796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10799 arg2
= (int) SWIG_AsInt(obj1
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 (arg1
)->SetPosition(arg2
);
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10808 Py_INCREF(Py_None
); resultobj
= Py_None
;
10815 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10818 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10820 return Py_BuildValue((char *)"");
10822 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
10823 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10828 static PyObject
*_wrap_RadioBoxNameStr_get() {
10833 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10835 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10842 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
10843 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10848 static PyObject
*_wrap_RadioButtonNameStr_get() {
10853 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10855 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10862 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10863 PyObject
*resultobj
;
10864 wxWindow
*arg1
= (wxWindow
*) 0 ;
10866 wxString
*arg3
= 0 ;
10867 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10868 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10869 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10870 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10871 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10872 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10873 int arg7
= (int) 0 ;
10874 long arg8
= (long) wxRA_HORIZONTAL
;
10875 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10876 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10877 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
10878 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10879 wxRadioBox
*result
;
10880 bool temp3
= False
;
10883 bool temp6
= False
;
10884 bool temp10
= False
;
10885 PyObject
* obj0
= 0 ;
10886 PyObject
* obj1
= 0 ;
10887 PyObject
* obj2
= 0 ;
10888 PyObject
* obj3
= 0 ;
10889 PyObject
* obj4
= 0 ;
10890 PyObject
* obj5
= 0 ;
10891 PyObject
* obj6
= 0 ;
10892 PyObject
* obj7
= 0 ;
10893 PyObject
* obj8
= 0 ;
10894 PyObject
* obj9
= 0 ;
10895 char *kwnames
[] = {
10896 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10902 arg2
= (int) SWIG_AsInt(obj1
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10905 arg3
= wxString_in_helper(obj2
);
10906 if (arg3
== NULL
) SWIG_fail
;
10912 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10918 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10923 if (! PySequence_Check(obj5
)) {
10924 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10927 arg6
= new wxArrayString
;
10929 int i
, len
=PySequence_Length(obj5
);
10930 for (i
=0; i
<len
; i
++) {
10931 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10933 PyObject
* str
= PyObject_Unicode(item
);
10935 PyObject
* str
= PyObject_Str(item
);
10937 arg6
->Add(Py2wxString(str
));
10944 arg7
= (int) SWIG_AsInt(obj6
);
10945 if (PyErr_Occurred()) SWIG_fail
;
10948 arg8
= (long) SWIG_AsLong(obj7
);
10949 if (PyErr_Occurred()) SWIG_fail
;
10952 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
10953 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10955 if (arg9
== NULL
) {
10956 PyErr_SetString(PyExc_TypeError
,"null reference");
10962 arg10
= wxString_in_helper(obj9
);
10963 if (arg10
== NULL
) SWIG_fail
;
10968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10969 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
);
10971 wxPyEndAllowThreads(__tstate
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
10980 if (temp6
) delete arg6
;
10993 if (temp6
) delete arg6
;
11003 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
*resultobj
;
11005 wxRadioBox
*result
;
11006 char *kwnames
[] = {
11010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11013 result
= (wxRadioBox
*)new wxRadioBox();
11015 wxPyEndAllowThreads(__tstate
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11025 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11026 PyObject
*resultobj
;
11027 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11028 wxWindow
*arg2
= (wxWindow
*) 0 ;
11030 wxString
*arg4
= 0 ;
11031 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11032 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11033 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11034 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11035 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11036 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11037 int arg8
= (int) 0 ;
11038 long arg9
= (long) wxRA_HORIZONTAL
;
11039 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11040 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11041 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11042 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11044 bool temp4
= False
;
11047 bool temp7
= False
;
11048 bool temp11
= False
;
11049 PyObject
* obj0
= 0 ;
11050 PyObject
* obj1
= 0 ;
11051 PyObject
* obj2
= 0 ;
11052 PyObject
* obj3
= 0 ;
11053 PyObject
* obj4
= 0 ;
11054 PyObject
* obj5
= 0 ;
11055 PyObject
* obj6
= 0 ;
11056 PyObject
* obj7
= 0 ;
11057 PyObject
* obj8
= 0 ;
11058 PyObject
* obj9
= 0 ;
11059 PyObject
* obj10
= 0 ;
11060 char *kwnames
[] = {
11061 (char *) "self",(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 *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11067 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11069 arg3
= (int) SWIG_AsInt(obj2
);
11070 if (PyErr_Occurred()) SWIG_fail
;
11072 arg4
= wxString_in_helper(obj3
);
11073 if (arg4
== NULL
) SWIG_fail
;
11079 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11085 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11090 if (! PySequence_Check(obj6
)) {
11091 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11094 arg7
= new wxArrayString
;
11096 int i
, len
=PySequence_Length(obj6
);
11097 for (i
=0; i
<len
; i
++) {
11098 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11100 PyObject
* str
= PyObject_Unicode(item
);
11102 PyObject
* str
= PyObject_Str(item
);
11104 arg7
->Add(Py2wxString(str
));
11111 arg8
= (int) SWIG_AsInt(obj7
);
11112 if (PyErr_Occurred()) SWIG_fail
;
11115 arg9
= (long) SWIG_AsLong(obj8
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11119 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11120 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11122 if (arg10
== NULL
) {
11123 PyErr_SetString(PyExc_TypeError
,"null reference");
11129 arg11
= wxString_in_helper(obj10
);
11130 if (arg11
== NULL
) SWIG_fail
;
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 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
);
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11147 if (temp7
) delete arg7
;
11160 if (temp7
) delete arg7
;
11170 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11171 PyObject
*resultobj
;
11172 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11174 PyObject
* obj0
= 0 ;
11175 PyObject
* obj1
= 0 ;
11176 char *kwnames
[] = {
11177 (char *) "self",(char *) "n", NULL
11180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11183 arg2
= (int) SWIG_AsInt(obj1
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11187 (arg1
)->SetSelection(arg2
);
11189 wxPyEndAllowThreads(__tstate
);
11190 if (PyErr_Occurred()) SWIG_fail
;
11192 Py_INCREF(Py_None
); resultobj
= Py_None
;
11199 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11200 PyObject
*resultobj
;
11201 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11203 PyObject
* obj0
= 0 ;
11204 char *kwnames
[] = {
11205 (char *) "self", NULL
11208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11213 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11215 wxPyEndAllowThreads(__tstate
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11218 resultobj
= SWIG_FromInt((int)result
);
11225 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11226 PyObject
*resultobj
;
11227 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11229 PyObject
* obj0
= 0 ;
11230 char *kwnames
[] = {
11231 (char *) "self", NULL
11234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11239 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11241 wxPyEndAllowThreads(__tstate
);
11242 if (PyErr_Occurred()) SWIG_fail
;
11246 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11248 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11257 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11258 PyObject
*resultobj
;
11259 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11260 wxString
*arg2
= 0 ;
11262 bool temp2
= False
;
11263 PyObject
* obj0
= 0 ;
11264 PyObject
* obj1
= 0 ;
11265 char *kwnames
[] = {
11266 (char *) "self",(char *) "s", NULL
11269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11273 arg2
= wxString_in_helper(obj1
);
11274 if (arg2
== NULL
) SWIG_fail
;
11278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11279 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11299 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11300 PyObject
*resultobj
;
11301 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11303 PyObject
* obj0
= 0 ;
11304 char *kwnames
[] = {
11305 (char *) "self", NULL
11308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 resultobj
= SWIG_FromInt((int)result
);
11325 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11326 PyObject
*resultobj
;
11327 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11328 wxString
*arg2
= 0 ;
11330 bool temp2
= False
;
11331 PyObject
* obj0
= 0 ;
11332 PyObject
* obj1
= 0 ;
11333 char *kwnames
[] = {
11334 (char *) "self",(char *) "s", NULL
11337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11341 arg2
= wxString_in_helper(obj1
);
11342 if (arg2
== NULL
) SWIG_fail
;
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11347 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11349 wxPyEndAllowThreads(__tstate
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11352 resultobj
= SWIG_FromInt((int)result
);
11367 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11368 PyObject
*resultobj
;
11369 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11372 PyObject
* obj0
= 0 ;
11373 PyObject
* obj1
= 0 ;
11374 char *kwnames
[] = {
11375 (char *) "self",(char *) "n", NULL
11378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11381 arg2
= (int) SWIG_AsInt(obj1
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11385 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11392 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11394 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11403 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11404 PyObject
*resultobj
;
11405 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11407 wxString
*arg3
= 0 ;
11408 bool temp3
= False
;
11409 PyObject
* obj0
= 0 ;
11410 PyObject
* obj1
= 0 ;
11411 PyObject
* obj2
= 0 ;
11412 char *kwnames
[] = {
11413 (char *) "self",(char *) "n",(char *) "label", NULL
11416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11419 arg2
= (int) SWIG_AsInt(obj1
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11422 arg3
= wxString_in_helper(obj2
);
11423 if (arg3
== NULL
) SWIG_fail
;
11427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11428 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11430 wxPyEndAllowThreads(__tstate
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11433 Py_INCREF(Py_None
); resultobj
= Py_None
;
11448 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11449 PyObject
*resultobj
;
11450 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11452 bool arg3
= (bool) True
;
11453 PyObject
* obj0
= 0 ;
11454 PyObject
* obj1
= 0 ;
11455 PyObject
* obj2
= 0 ;
11456 char *kwnames
[] = {
11457 (char *) "self",(char *) "n",(char *) "enable", NULL
11460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11463 arg2
= (int) SWIG_AsInt(obj1
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11466 arg3
= (bool) SWIG_AsBool(obj2
);
11467 if (PyErr_Occurred()) SWIG_fail
;
11470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11471 (arg1
)->Enable(arg2
,arg3
);
11473 wxPyEndAllowThreads(__tstate
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11476 Py_INCREF(Py_None
); resultobj
= Py_None
;
11483 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11484 PyObject
*resultobj
;
11485 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11487 bool arg3
= (bool) True
;
11488 PyObject
* obj0
= 0 ;
11489 PyObject
* obj1
= 0 ;
11490 PyObject
* obj2
= 0 ;
11491 char *kwnames
[] = {
11492 (char *) "self",(char *) "n",(char *) "show", NULL
11495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11498 arg2
= (int) SWIG_AsInt(obj1
);
11499 if (PyErr_Occurred()) SWIG_fail
;
11501 arg3
= (bool) SWIG_AsBool(obj2
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11506 (arg1
)->Show(arg2
,arg3
);
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11511 Py_INCREF(Py_None
); resultobj
= Py_None
;
11518 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
;
11520 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11522 PyObject
* obj0
= 0 ;
11523 char *kwnames
[] = {
11524 (char *) "self", NULL
11527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11537 resultobj
= SWIG_FromInt((int)result
);
11544 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11545 PyObject
*resultobj
;
11546 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11548 PyObject
* obj0
= 0 ;
11549 char *kwnames
[] = {
11550 (char *) "self", NULL
11553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11558 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
11560 wxPyEndAllowThreads(__tstate
);
11561 if (PyErr_Occurred()) SWIG_fail
;
11563 resultobj
= SWIG_FromInt((int)result
);
11570 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11571 PyObject
*resultobj
;
11572 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11577 PyObject
* obj0
= 0 ;
11578 PyObject
* obj1
= 0 ;
11579 PyObject
* obj2
= 0 ;
11580 PyObject
* obj3
= 0 ;
11581 char *kwnames
[] = {
11582 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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
;
11590 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11592 arg4
= (long) SWIG_AsLong(obj3
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11596 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
11598 wxPyEndAllowThreads(__tstate
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11601 resultobj
= SWIG_FromInt((int)result
);
11608 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11611 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11613 return Py_BuildValue((char *)"");
11615 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11616 PyObject
*resultobj
;
11617 wxWindow
*arg1
= (wxWindow
*) 0 ;
11619 wxString
*arg3
= 0 ;
11620 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11621 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11622 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11623 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11624 long arg6
= (long) 0 ;
11625 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11626 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11627 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11628 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11629 wxRadioButton
*result
;
11630 bool temp3
= False
;
11633 bool temp8
= False
;
11634 PyObject
* obj0
= 0 ;
11635 PyObject
* obj1
= 0 ;
11636 PyObject
* obj2
= 0 ;
11637 PyObject
* obj3
= 0 ;
11638 PyObject
* obj4
= 0 ;
11639 PyObject
* obj5
= 0 ;
11640 PyObject
* obj6
= 0 ;
11641 PyObject
* obj7
= 0 ;
11642 char *kwnames
[] = {
11643 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11649 arg2
= (int) SWIG_AsInt(obj1
);
11650 if (PyErr_Occurred()) SWIG_fail
;
11652 arg3
= wxString_in_helper(obj2
);
11653 if (arg3
== NULL
) SWIG_fail
;
11659 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11665 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11669 arg6
= (long) SWIG_AsLong(obj5
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11673 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
11674 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11676 if (arg7
== NULL
) {
11677 PyErr_SetString(PyExc_TypeError
,"null reference");
11683 arg8
= wxString_in_helper(obj7
);
11684 if (arg8
== NULL
) SWIG_fail
;
11689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11690 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11692 wxPyEndAllowThreads(__tstate
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11718 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11719 PyObject
*resultobj
;
11720 wxRadioButton
*result
;
11721 char *kwnames
[] = {
11725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11728 result
= (wxRadioButton
*)new wxRadioButton();
11730 wxPyEndAllowThreads(__tstate
);
11731 if (PyErr_Occurred()) SWIG_fail
;
11733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11740 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11741 PyObject
*resultobj
;
11742 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11743 wxWindow
*arg2
= (wxWindow
*) 0 ;
11745 wxString
*arg4
= 0 ;
11746 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11747 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11748 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11749 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11750 long arg7
= (long) 0 ;
11751 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11752 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11753 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11754 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11756 bool temp4
= False
;
11759 bool temp9
= False
;
11760 PyObject
* obj0
= 0 ;
11761 PyObject
* obj1
= 0 ;
11762 PyObject
* obj2
= 0 ;
11763 PyObject
* obj3
= 0 ;
11764 PyObject
* obj4
= 0 ;
11765 PyObject
* obj5
= 0 ;
11766 PyObject
* obj6
= 0 ;
11767 PyObject
* obj7
= 0 ;
11768 PyObject
* obj8
= 0 ;
11769 char *kwnames
[] = {
11770 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11778 arg3
= (int) SWIG_AsInt(obj2
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11781 arg4
= wxString_in_helper(obj3
);
11782 if (arg4
== NULL
) SWIG_fail
;
11788 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11794 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11798 arg7
= (long) SWIG_AsLong(obj6
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11802 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
11803 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11805 if (arg8
== NULL
) {
11806 PyErr_SetString(PyExc_TypeError
,"null reference");
11812 arg9
= wxString_in_helper(obj8
);
11813 if (arg9
== NULL
) SWIG_fail
;
11818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11819 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11821 wxPyEndAllowThreads(__tstate
);
11822 if (PyErr_Occurred()) SWIG_fail
;
11824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11847 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11848 PyObject
*resultobj
;
11849 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11851 PyObject
* obj0
= 0 ;
11852 char *kwnames
[] = {
11853 (char *) "self", NULL
11856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 result
= (bool)(arg1
)->GetValue();
11863 wxPyEndAllowThreads(__tstate
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11873 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11874 PyObject
*resultobj
;
11875 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11877 PyObject
* obj0
= 0 ;
11878 PyObject
* obj1
= 0 ;
11879 char *kwnames
[] = {
11880 (char *) "self",(char *) "value", NULL
11883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11886 arg2
= (bool) SWIG_AsBool(obj1
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11890 (arg1
)->SetValue(arg2
);
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11895 Py_INCREF(Py_None
); resultobj
= Py_None
;
11902 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
11904 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11905 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
11907 return Py_BuildValue((char *)"");
11909 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
11910 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
11915 static PyObject
*_wrap_SliderNameStr_get() {
11920 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11922 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11929 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11930 PyObject
*resultobj
;
11931 wxWindow
*arg1
= (wxWindow
*) 0 ;
11936 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11937 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11938 wxSize
const &arg7_defvalue
= wxDefaultSize
;
11939 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
11940 long arg8
= (long) wxSL_HORIZONTAL
;
11941 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11942 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11943 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
11944 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11948 bool temp10
= False
;
11949 PyObject
* obj0
= 0 ;
11950 PyObject
* obj1
= 0 ;
11951 PyObject
* obj2
= 0 ;
11952 PyObject
* obj3
= 0 ;
11953 PyObject
* obj4
= 0 ;
11954 PyObject
* obj5
= 0 ;
11955 PyObject
* obj6
= 0 ;
11956 PyObject
* obj7
= 0 ;
11957 PyObject
* obj8
= 0 ;
11958 PyObject
* obj9
= 0 ;
11959 char *kwnames
[] = {
11960 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11966 arg2
= (int) SWIG_AsInt(obj1
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11968 arg3
= (int) SWIG_AsInt(obj2
);
11969 if (PyErr_Occurred()) SWIG_fail
;
11970 arg4
= (int) SWIG_AsInt(obj3
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11972 arg5
= (int) SWIG_AsInt(obj4
);
11973 if (PyErr_Occurred()) SWIG_fail
;
11977 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11983 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
11987 arg8
= (long) SWIG_AsLong(obj7
);
11988 if (PyErr_Occurred()) SWIG_fail
;
11991 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11992 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11994 if (arg9
== NULL
) {
11995 PyErr_SetString(PyExc_TypeError
,"null reference");
12001 arg10
= wxString_in_helper(obj9
);
12002 if (arg10
== NULL
) SWIG_fail
;
12007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12008 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12010 wxPyEndAllowThreads(__tstate
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12028 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12029 PyObject
*resultobj
;
12031 char *kwnames
[] = {
12035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12038 result
= (wxSlider
*)new wxSlider();
12040 wxPyEndAllowThreads(__tstate
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12050 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12051 PyObject
*resultobj
;
12052 wxSlider
*arg1
= (wxSlider
*) 0 ;
12053 wxWindow
*arg2
= (wxWindow
*) 0 ;
12058 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12059 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12060 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12061 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12062 long arg9
= (long) wxSL_HORIZONTAL
;
12063 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12064 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12065 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12066 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12070 bool temp11
= False
;
12071 PyObject
* obj0
= 0 ;
12072 PyObject
* obj1
= 0 ;
12073 PyObject
* obj2
= 0 ;
12074 PyObject
* obj3
= 0 ;
12075 PyObject
* obj4
= 0 ;
12076 PyObject
* obj5
= 0 ;
12077 PyObject
* obj6
= 0 ;
12078 PyObject
* obj7
= 0 ;
12079 PyObject
* obj8
= 0 ;
12080 PyObject
* obj9
= 0 ;
12081 PyObject
* obj10
= 0 ;
12082 char *kwnames
[] = {
12083 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12091 arg3
= (int) SWIG_AsInt(obj2
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12093 arg4
= (int) SWIG_AsInt(obj3
);
12094 if (PyErr_Occurred()) SWIG_fail
;
12095 arg5
= (int) SWIG_AsInt(obj4
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12097 arg6
= (int) SWIG_AsInt(obj5
);
12098 if (PyErr_Occurred()) SWIG_fail
;
12102 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12108 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12112 arg9
= (long) SWIG_AsLong(obj8
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12116 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12117 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12119 if (arg10
== NULL
) {
12120 PyErr_SetString(PyExc_TypeError
,"null reference");
12126 arg11
= wxString_in_helper(obj10
);
12127 if (arg11
== NULL
) SWIG_fail
;
12132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12133 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12153 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
;
12155 wxSlider
*arg1
= (wxSlider
*) 0 ;
12157 PyObject
* obj0
= 0 ;
12158 char *kwnames
[] = {
12159 (char *) "self", NULL
12162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12169 wxPyEndAllowThreads(__tstate
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12172 resultobj
= SWIG_FromInt((int)result
);
12179 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12180 PyObject
*resultobj
;
12181 wxSlider
*arg1
= (wxSlider
*) 0 ;
12183 PyObject
* obj0
= 0 ;
12184 PyObject
* obj1
= 0 ;
12185 char *kwnames
[] = {
12186 (char *) "self",(char *) "value", NULL
12189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12192 arg2
= (int) SWIG_AsInt(obj1
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12196 (arg1
)->SetValue(arg2
);
12198 wxPyEndAllowThreads(__tstate
);
12199 if (PyErr_Occurred()) SWIG_fail
;
12201 Py_INCREF(Py_None
); resultobj
= Py_None
;
12208 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12209 PyObject
*resultobj
;
12210 wxSlider
*arg1
= (wxSlider
*) 0 ;
12213 PyObject
* obj0
= 0 ;
12214 PyObject
* obj1
= 0 ;
12215 PyObject
* obj2
= 0 ;
12216 char *kwnames
[] = {
12217 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12223 arg2
= (int) SWIG_AsInt(obj1
);
12224 if (PyErr_Occurred()) SWIG_fail
;
12225 arg3
= (int) SWIG_AsInt(obj2
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 (arg1
)->SetRange(arg2
,arg3
);
12231 wxPyEndAllowThreads(__tstate
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12234 Py_INCREF(Py_None
); resultobj
= Py_None
;
12241 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12242 PyObject
*resultobj
;
12243 wxSlider
*arg1
= (wxSlider
*) 0 ;
12245 PyObject
* obj0
= 0 ;
12246 char *kwnames
[] = {
12247 (char *) "self", NULL
12250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12255 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12257 wxPyEndAllowThreads(__tstate
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12260 resultobj
= SWIG_FromInt((int)result
);
12267 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12268 PyObject
*resultobj
;
12269 wxSlider
*arg1
= (wxSlider
*) 0 ;
12271 PyObject
* obj0
= 0 ;
12272 char *kwnames
[] = {
12273 (char *) "self", NULL
12276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12281 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12283 wxPyEndAllowThreads(__tstate
);
12284 if (PyErr_Occurred()) SWIG_fail
;
12286 resultobj
= SWIG_FromInt((int)result
);
12293 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12294 PyObject
*resultobj
;
12295 wxSlider
*arg1
= (wxSlider
*) 0 ;
12297 PyObject
* obj0
= 0 ;
12298 PyObject
* obj1
= 0 ;
12299 char *kwnames
[] = {
12300 (char *) "self",(char *) "minValue", NULL
12303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12306 arg2
= (int) SWIG_AsInt(obj1
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 (arg1
)->SetMin(arg2
);
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 Py_INCREF(Py_None
); resultobj
= Py_None
;
12322 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
;
12324 wxSlider
*arg1
= (wxSlider
*) 0 ;
12326 PyObject
* obj0
= 0 ;
12327 PyObject
* obj1
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self",(char *) "maxValue", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12335 arg2
= (int) SWIG_AsInt(obj1
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 (arg1
)->SetMax(arg2
);
12341 wxPyEndAllowThreads(__tstate
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12344 Py_INCREF(Py_None
); resultobj
= Py_None
;
12351 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12352 PyObject
*resultobj
;
12353 wxSlider
*arg1
= (wxSlider
*) 0 ;
12355 PyObject
* obj0
= 0 ;
12356 PyObject
* obj1
= 0 ;
12357 char *kwnames
[] = {
12358 (char *) "self",(char *) "lineSize", NULL
12361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12364 arg2
= (int) SWIG_AsInt(obj1
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12368 (arg1
)->SetLineSize(arg2
);
12370 wxPyEndAllowThreads(__tstate
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12373 Py_INCREF(Py_None
); resultobj
= Py_None
;
12380 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12381 PyObject
*resultobj
;
12382 wxSlider
*arg1
= (wxSlider
*) 0 ;
12384 PyObject
* obj0
= 0 ;
12385 PyObject
* obj1
= 0 ;
12386 char *kwnames
[] = {
12387 (char *) "self",(char *) "pageSize", NULL
12390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12393 arg2
= (int) SWIG_AsInt(obj1
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12397 (arg1
)->SetPageSize(arg2
);
12399 wxPyEndAllowThreads(__tstate
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12402 Py_INCREF(Py_None
); resultobj
= Py_None
;
12409 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12410 PyObject
*resultobj
;
12411 wxSlider
*arg1
= (wxSlider
*) 0 ;
12413 PyObject
* obj0
= 0 ;
12414 char *kwnames
[] = {
12415 (char *) "self", NULL
12418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 resultobj
= SWIG_FromInt((int)result
);
12435 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
;
12437 wxSlider
*arg1
= (wxSlider
*) 0 ;
12439 PyObject
* obj0
= 0 ;
12440 char *kwnames
[] = {
12441 (char *) "self", NULL
12444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12454 resultobj
= SWIG_FromInt((int)result
);
12461 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12462 PyObject
*resultobj
;
12463 wxSlider
*arg1
= (wxSlider
*) 0 ;
12465 PyObject
* obj0
= 0 ;
12466 PyObject
* obj1
= 0 ;
12467 char *kwnames
[] = {
12468 (char *) "self",(char *) "lenPixels", NULL
12471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12474 arg2
= (int) SWIG_AsInt(obj1
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12478 (arg1
)->SetThumbLength(arg2
);
12480 wxPyEndAllowThreads(__tstate
);
12481 if (PyErr_Occurred()) SWIG_fail
;
12483 Py_INCREF(Py_None
); resultobj
= Py_None
;
12490 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12491 PyObject
*resultobj
;
12492 wxSlider
*arg1
= (wxSlider
*) 0 ;
12494 PyObject
* obj0
= 0 ;
12495 char *kwnames
[] = {
12496 (char *) "self", NULL
12499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12504 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12506 wxPyEndAllowThreads(__tstate
);
12507 if (PyErr_Occurred()) SWIG_fail
;
12509 resultobj
= SWIG_FromInt((int)result
);
12516 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12517 PyObject
*resultobj
;
12518 wxSlider
*arg1
= (wxSlider
*) 0 ;
12520 int arg3
= (int) 1 ;
12521 PyObject
* obj0
= 0 ;
12522 PyObject
* obj1
= 0 ;
12523 PyObject
* obj2
= 0 ;
12524 char *kwnames
[] = {
12525 (char *) "self",(char *) "n",(char *) "pos", NULL
12528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12531 arg2
= (int) SWIG_AsInt(obj1
);
12532 if (PyErr_Occurred()) SWIG_fail
;
12534 arg3
= (int) SWIG_AsInt(obj2
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12539 (arg1
)->SetTickFreq(arg2
,arg3
);
12541 wxPyEndAllowThreads(__tstate
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12544 Py_INCREF(Py_None
); resultobj
= Py_None
;
12551 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12552 PyObject
*resultobj
;
12553 wxSlider
*arg1
= (wxSlider
*) 0 ;
12555 PyObject
* obj0
= 0 ;
12556 char *kwnames
[] = {
12557 (char *) "self", NULL
12560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12565 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12570 resultobj
= SWIG_FromInt((int)result
);
12577 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12578 PyObject
*resultobj
;
12579 wxSlider
*arg1
= (wxSlider
*) 0 ;
12580 PyObject
* obj0
= 0 ;
12581 char *kwnames
[] = {
12582 (char *) "self", NULL
12585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12590 (arg1
)->ClearTicks();
12592 wxPyEndAllowThreads(__tstate
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12595 Py_INCREF(Py_None
); resultobj
= Py_None
;
12602 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12603 PyObject
*resultobj
;
12604 wxSlider
*arg1
= (wxSlider
*) 0 ;
12606 PyObject
* obj0
= 0 ;
12607 PyObject
* obj1
= 0 ;
12608 char *kwnames
[] = {
12609 (char *) "self",(char *) "tickPos", NULL
12612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12615 arg2
= (int) SWIG_AsInt(obj1
);
12616 if (PyErr_Occurred()) SWIG_fail
;
12618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12619 (arg1
)->SetTick(arg2
);
12621 wxPyEndAllowThreads(__tstate
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12624 Py_INCREF(Py_None
); resultobj
= Py_None
;
12631 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12632 PyObject
*resultobj
;
12633 wxSlider
*arg1
= (wxSlider
*) 0 ;
12634 PyObject
* obj0
= 0 ;
12635 char *kwnames
[] = {
12636 (char *) "self", NULL
12639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12644 (arg1
)->ClearSel();
12646 wxPyEndAllowThreads(__tstate
);
12647 if (PyErr_Occurred()) SWIG_fail
;
12649 Py_INCREF(Py_None
); resultobj
= Py_None
;
12656 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12657 PyObject
*resultobj
;
12658 wxSlider
*arg1
= (wxSlider
*) 0 ;
12660 PyObject
* obj0
= 0 ;
12661 char *kwnames
[] = {
12662 (char *) "self", NULL
12665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12670 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12672 wxPyEndAllowThreads(__tstate
);
12673 if (PyErr_Occurred()) SWIG_fail
;
12675 resultobj
= SWIG_FromInt((int)result
);
12682 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12683 PyObject
*resultobj
;
12684 wxSlider
*arg1
= (wxSlider
*) 0 ;
12686 PyObject
* obj0
= 0 ;
12687 char *kwnames
[] = {
12688 (char *) "self", NULL
12691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12696 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12698 wxPyEndAllowThreads(__tstate
);
12699 if (PyErr_Occurred()) SWIG_fail
;
12701 resultobj
= SWIG_FromInt((int)result
);
12708 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12709 PyObject
*resultobj
;
12710 wxSlider
*arg1
= (wxSlider
*) 0 ;
12713 PyObject
* obj0
= 0 ;
12714 PyObject
* obj1
= 0 ;
12715 PyObject
* obj2
= 0 ;
12716 char *kwnames
[] = {
12717 (char *) "self",(char *) "min",(char *) "max", NULL
12720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12723 arg2
= (int) SWIG_AsInt(obj1
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12725 arg3
= (int) SWIG_AsInt(obj2
);
12726 if (PyErr_Occurred()) SWIG_fail
;
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 (arg1
)->SetSelection(arg2
,arg3
);
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12734 Py_INCREF(Py_None
); resultobj
= Py_None
;
12741 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12744 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12746 return Py_BuildValue((char *)"");
12748 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
12749 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12754 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12759 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12761 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12768 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12769 PyObject
*resultobj
;
12770 wxWindow
*arg1
= (wxWindow
*) 0 ;
12772 wxString
*arg3
= 0 ;
12773 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12774 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12775 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12776 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12777 long arg6
= (long) 0 ;
12778 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12779 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12780 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12781 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12782 wxToggleButton
*result
;
12783 bool temp3
= False
;
12786 bool temp8
= False
;
12787 PyObject
* obj0
= 0 ;
12788 PyObject
* obj1
= 0 ;
12789 PyObject
* obj2
= 0 ;
12790 PyObject
* obj3
= 0 ;
12791 PyObject
* obj4
= 0 ;
12792 PyObject
* obj5
= 0 ;
12793 PyObject
* obj6
= 0 ;
12794 PyObject
* obj7
= 0 ;
12795 char *kwnames
[] = {
12796 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12802 arg2
= (int) SWIG_AsInt(obj1
);
12803 if (PyErr_Occurred()) SWIG_fail
;
12805 arg3
= wxString_in_helper(obj2
);
12806 if (arg3
== NULL
) SWIG_fail
;
12812 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12818 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12822 arg6
= (long) SWIG_AsLong(obj5
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12826 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12827 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12829 if (arg7
== NULL
) {
12830 PyErr_SetString(PyExc_TypeError
,"null reference");
12836 arg8
= wxString_in_helper(obj7
);
12837 if (arg8
== NULL
) SWIG_fail
;
12842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
12871 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12872 PyObject
*resultobj
;
12873 wxToggleButton
*result
;
12874 char *kwnames
[] = {
12878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
12880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12881 result
= (wxToggleButton
*)new wxToggleButton();
12883 wxPyEndAllowThreads(__tstate
);
12884 if (PyErr_Occurred()) SWIG_fail
;
12886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
12893 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12894 PyObject
*resultobj
;
12895 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
12896 wxWindow
*arg2
= (wxWindow
*) 0 ;
12898 wxString
*arg4
= 0 ;
12899 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12900 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12901 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12902 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12903 long arg7
= (long) 0 ;
12904 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12905 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12906 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
12907 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12909 bool temp4
= False
;
12912 bool temp9
= False
;
12913 PyObject
* obj0
= 0 ;
12914 PyObject
* obj1
= 0 ;
12915 PyObject
* obj2
= 0 ;
12916 PyObject
* obj3
= 0 ;
12917 PyObject
* obj4
= 0 ;
12918 PyObject
* obj5
= 0 ;
12919 PyObject
* obj6
= 0 ;
12920 PyObject
* obj7
= 0 ;
12921 PyObject
* obj8
= 0 ;
12922 char *kwnames
[] = {
12923 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
12928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12931 arg3
= (int) SWIG_AsInt(obj2
);
12932 if (PyErr_Occurred()) SWIG_fail
;
12934 arg4
= wxString_in_helper(obj3
);
12935 if (arg4
== NULL
) SWIG_fail
;
12941 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12947 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12951 arg7
= (long) SWIG_AsLong(obj6
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12955 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12956 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12958 if (arg8
== NULL
) {
12959 PyErr_SetString(PyExc_TypeError
,"null reference");
12965 arg9
= wxString_in_helper(obj8
);
12966 if (arg9
== NULL
) SWIG_fail
;
12971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12972 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12974 wxPyEndAllowThreads(__tstate
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13000 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13001 PyObject
*resultobj
;
13002 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13004 PyObject
* obj0
= 0 ;
13005 PyObject
* obj1
= 0 ;
13006 char *kwnames
[] = {
13007 (char *) "self",(char *) "value", NULL
13010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13013 arg2
= (bool) SWIG_AsBool(obj1
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13017 (arg1
)->SetValue(arg2
);
13019 wxPyEndAllowThreads(__tstate
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13022 Py_INCREF(Py_None
); resultobj
= Py_None
;
13029 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13030 PyObject
*resultobj
;
13031 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13033 PyObject
* obj0
= 0 ;
13034 char *kwnames
[] = {
13035 (char *) "self", NULL
13038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13043 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13045 wxPyEndAllowThreads(__tstate
);
13046 if (PyErr_Occurred()) SWIG_fail
;
13048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13055 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13056 PyObject
*resultobj
;
13057 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13058 wxString
*arg2
= 0 ;
13059 bool temp2
= False
;
13060 PyObject
* obj0
= 0 ;
13061 PyObject
* obj1
= 0 ;
13062 char *kwnames
[] = {
13063 (char *) "self",(char *) "label", NULL
13066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13070 arg2
= wxString_in_helper(obj1
);
13071 if (arg2
== NULL
) SWIG_fail
;
13075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13076 (arg1
)->SetLabel((wxString
const &)*arg2
);
13078 wxPyEndAllowThreads(__tstate
);
13079 if (PyErr_Occurred()) SWIG_fail
;
13081 Py_INCREF(Py_None
); resultobj
= Py_None
;
13096 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13099 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13101 return Py_BuildValue((char *)"");
13103 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13104 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13109 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13114 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13116 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13123 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13124 PyObject
*resultobj
;
13125 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13127 PyObject
* obj0
= 0 ;
13128 char *kwnames
[] = {
13129 (char *) "self", NULL
13132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13137 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13139 wxPyEndAllowThreads(__tstate
);
13140 if (PyErr_Occurred()) SWIG_fail
;
13142 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
13149 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13150 PyObject
*resultobj
;
13151 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13154 PyObject
* obj0
= 0 ;
13155 PyObject
* obj1
= 0 ;
13156 char *kwnames
[] = {
13157 (char *) "self",(char *) "n", NULL
13160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13163 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13167 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13169 wxPyEndAllowThreads(__tstate
);
13170 if (PyErr_Occurred()) SWIG_fail
;
13173 resultobj
= wxPyMake_wxObject(result
);
13181 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13182 PyObject
*resultobj
;
13183 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13185 PyObject
* obj0
= 0 ;
13186 char *kwnames
[] = {
13187 (char *) "self", NULL
13190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13200 resultobj
= SWIG_FromInt((int)result
);
13207 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13208 PyObject
*resultobj
;
13209 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13211 wxString
*arg3
= 0 ;
13213 bool temp3
= False
;
13214 PyObject
* obj0
= 0 ;
13215 PyObject
* obj1
= 0 ;
13216 PyObject
* obj2
= 0 ;
13217 char *kwnames
[] = {
13218 (char *) "self",(char *) "n",(char *) "strText", NULL
13221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13224 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13225 if (PyErr_Occurred()) SWIG_fail
;
13227 arg3
= wxString_in_helper(obj2
);
13228 if (arg3
== NULL
) SWIG_fail
;
13232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13233 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13235 wxPyEndAllowThreads(__tstate
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13253 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13254 PyObject
*resultobj
;
13255 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13258 PyObject
* obj0
= 0 ;
13259 PyObject
* obj1
= 0 ;
13260 char *kwnames
[] = {
13261 (char *) "self",(char *) "n", NULL
13264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13267 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13271 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13273 wxPyEndAllowThreads(__tstate
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13278 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13280 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13289 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13290 PyObject
*resultobj
;
13291 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13292 wxImageList
*arg2
= (wxImageList
*) 0 ;
13293 PyObject
* obj0
= 0 ;
13294 PyObject
* obj1
= 0 ;
13295 char *kwnames
[] = {
13296 (char *) "self",(char *) "imageList", NULL
13299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13302 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13306 (arg1
)->SetImageList(arg2
);
13308 wxPyEndAllowThreads(__tstate
);
13309 if (PyErr_Occurred()) SWIG_fail
;
13311 Py_INCREF(Py_None
); resultobj
= Py_None
;
13318 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13319 PyObject
*resultobj
;
13320 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13321 wxImageList
*arg2
= (wxImageList
*) 0 ;
13322 PyObject
* obj0
= 0 ;
13323 PyObject
* obj1
= 0 ;
13324 char *kwnames
[] = {
13325 (char *) "self",(char *) "imageList", NULL
13328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13332 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 (arg1
)->AssignImageList(arg2
);
13337 wxPyEndAllowThreads(__tstate
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13340 Py_INCREF(Py_None
); resultobj
= Py_None
;
13347 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13348 PyObject
*resultobj
;
13349 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13350 wxImageList
*result
;
13351 PyObject
* obj0
= 0 ;
13352 char *kwnames
[] = {
13353 (char *) "self", NULL
13356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13367 resultobj
= wxPyMake_wxObject(result
);
13375 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
;
13377 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13380 PyObject
* obj0
= 0 ;
13381 PyObject
* obj1
= 0 ;
13382 char *kwnames
[] = {
13383 (char *) "self",(char *) "n", NULL
13386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13389 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13390 if (PyErr_Occurred()) SWIG_fail
;
13392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13393 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13398 resultobj
= SWIG_FromInt((int)result
);
13405 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13406 PyObject
*resultobj
;
13407 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13411 PyObject
* obj0
= 0 ;
13412 PyObject
* obj1
= 0 ;
13413 PyObject
* obj2
= 0 ;
13414 char *kwnames
[] = {
13415 (char *) "self",(char *) "n",(char *) "imageId", NULL
13418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13421 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13423 arg3
= (int) SWIG_AsInt(obj2
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13427 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13439 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13440 PyObject
*resultobj
;
13441 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13444 PyObject
* obj0
= 0 ;
13445 PyObject
* obj1
= 0 ;
13446 char *kwnames
[] = {
13447 (char *) "self",(char *) "size", NULL
13450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13455 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13459 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13461 wxPyEndAllowThreads(__tstate
);
13462 if (PyErr_Occurred()) SWIG_fail
;
13464 Py_INCREF(Py_None
); resultobj
= Py_None
;
13471 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13472 PyObject
*resultobj
;
13473 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13477 PyObject
* obj0
= 0 ;
13478 PyObject
* obj1
= 0 ;
13479 char *kwnames
[] = {
13480 (char *) "self",(char *) "sizePage", NULL
13483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13488 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13498 wxSize
* resultptr
;
13499 resultptr
= new wxSize((wxSize
&) result
);
13500 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13508 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13509 PyObject
*resultobj
;
13510 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13513 PyObject
* obj0
= 0 ;
13514 PyObject
* obj1
= 0 ;
13515 char *kwnames
[] = {
13516 (char *) "self",(char *) "n", NULL
13519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13522 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13523 if (PyErr_Occurred()) SWIG_fail
;
13525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13526 result
= (bool)(arg1
)->DeletePage(arg2
);
13528 wxPyEndAllowThreads(__tstate
);
13529 if (PyErr_Occurred()) SWIG_fail
;
13531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13538 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13539 PyObject
*resultobj
;
13540 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13543 PyObject
* obj0
= 0 ;
13544 PyObject
* obj1
= 0 ;
13545 char *kwnames
[] = {
13546 (char *) "self",(char *) "n", NULL
13549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13552 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13553 if (PyErr_Occurred()) SWIG_fail
;
13555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13556 result
= (bool)(arg1
)->RemovePage(arg2
);
13558 wxPyEndAllowThreads(__tstate
);
13559 if (PyErr_Occurred()) SWIG_fail
;
13561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13568 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13569 PyObject
*resultobj
;
13570 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13572 PyObject
* obj0
= 0 ;
13573 char *kwnames
[] = {
13574 (char *) "self", NULL
13577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13582 result
= (bool)(arg1
)->DeleteAllPages();
13584 wxPyEndAllowThreads(__tstate
);
13585 if (PyErr_Occurred()) SWIG_fail
;
13587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13594 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13595 PyObject
*resultobj
;
13596 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13597 wxWindow
*arg2
= (wxWindow
*) 0 ;
13598 wxString
*arg3
= 0 ;
13599 bool arg4
= (bool) False
;
13600 int arg5
= (int) -1 ;
13602 bool temp3
= False
;
13603 PyObject
* obj0
= 0 ;
13604 PyObject
* obj1
= 0 ;
13605 PyObject
* obj2
= 0 ;
13606 PyObject
* obj3
= 0 ;
13607 PyObject
* obj4
= 0 ;
13608 char *kwnames
[] = {
13609 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13618 arg3
= wxString_in_helper(obj2
);
13619 if (arg3
== NULL
) SWIG_fail
;
13623 arg4
= (bool) SWIG_AsBool(obj3
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13627 arg5
= (int) SWIG_AsInt(obj4
);
13628 if (PyErr_Occurred()) SWIG_fail
;
13631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13632 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13634 wxPyEndAllowThreads(__tstate
);
13635 if (PyErr_Occurred()) SWIG_fail
;
13637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13652 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13653 PyObject
*resultobj
;
13654 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13656 wxWindow
*arg3
= (wxWindow
*) 0 ;
13657 wxString
*arg4
= 0 ;
13658 bool arg5
= (bool) False
;
13659 int arg6
= (int) -1 ;
13661 bool temp4
= False
;
13662 PyObject
* obj0
= 0 ;
13663 PyObject
* obj1
= 0 ;
13664 PyObject
* obj2
= 0 ;
13665 PyObject
* obj3
= 0 ;
13666 PyObject
* obj4
= 0 ;
13667 PyObject
* obj5
= 0 ;
13668 char *kwnames
[] = {
13669 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13675 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13676 if (PyErr_Occurred()) SWIG_fail
;
13677 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
13678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13680 arg4
= wxString_in_helper(obj3
);
13681 if (arg4
== NULL
) SWIG_fail
;
13685 arg5
= (bool) SWIG_AsBool(obj4
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13689 arg6
= (int) SWIG_AsInt(obj5
);
13690 if (PyErr_Occurred()) SWIG_fail
;
13693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13696 wxPyEndAllowThreads(__tstate
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13714 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13715 PyObject
*resultobj
;
13716 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13719 PyObject
* obj0
= 0 ;
13720 PyObject
* obj1
= 0 ;
13721 char *kwnames
[] = {
13722 (char *) "self",(char *) "n", NULL
13725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13728 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13729 if (PyErr_Occurred()) SWIG_fail
;
13731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13732 result
= (int)(arg1
)->SetSelection(arg2
);
13734 wxPyEndAllowThreads(__tstate
);
13735 if (PyErr_Occurred()) SWIG_fail
;
13737 resultobj
= SWIG_FromInt((int)result
);
13744 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13745 PyObject
*resultobj
;
13746 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13747 bool arg2
= (bool) True
;
13748 PyObject
* obj0
= 0 ;
13749 PyObject
* obj1
= 0 ;
13750 char *kwnames
[] = {
13751 (char *) "self",(char *) "forward", NULL
13754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13758 arg2
= (bool) SWIG_AsBool(obj1
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13763 (arg1
)->AdvanceSelection(arg2
);
13765 wxPyEndAllowThreads(__tstate
);
13766 if (PyErr_Occurred()) SWIG_fail
;
13768 Py_INCREF(Py_None
); resultobj
= Py_None
;
13775 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13778 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13780 return Py_BuildValue((char *)"");
13782 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13783 PyObject
*resultobj
;
13784 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13785 int arg2
= (int) 0 ;
13786 int arg3
= (int) -1 ;
13787 int arg4
= (int) -1 ;
13788 wxBookCtrlEvent
*result
;
13789 PyObject
* obj0
= 0 ;
13790 PyObject
* obj1
= 0 ;
13791 PyObject
* obj2
= 0 ;
13792 PyObject
* obj3
= 0 ;
13793 char *kwnames
[] = {
13794 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13799 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13800 if (PyErr_Occurred()) SWIG_fail
;
13803 arg2
= (int) SWIG_AsInt(obj1
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13807 arg3
= (int) SWIG_AsInt(obj2
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13811 arg4
= (int) SWIG_AsInt(obj3
);
13812 if (PyErr_Occurred()) SWIG_fail
;
13815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13816 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13818 wxPyEndAllowThreads(__tstate
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
13828 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13829 PyObject
*resultobj
;
13830 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13832 PyObject
* obj0
= 0 ;
13833 char *kwnames
[] = {
13834 (char *) "self", NULL
13837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13842 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13844 wxPyEndAllowThreads(__tstate
);
13845 if (PyErr_Occurred()) SWIG_fail
;
13847 resultobj
= SWIG_FromInt((int)result
);
13854 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13855 PyObject
*resultobj
;
13856 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13858 PyObject
* obj0
= 0 ;
13859 PyObject
* obj1
= 0 ;
13860 char *kwnames
[] = {
13861 (char *) "self",(char *) "nSel", NULL
13864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13867 arg2
= (int) SWIG_AsInt(obj1
);
13868 if (PyErr_Occurred()) SWIG_fail
;
13870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13871 (arg1
)->SetSelection(arg2
);
13873 wxPyEndAllowThreads(__tstate
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13876 Py_INCREF(Py_None
); resultobj
= Py_None
;
13883 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13884 PyObject
*resultobj
;
13885 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13887 PyObject
* obj0
= 0 ;
13888 char *kwnames
[] = {
13889 (char *) "self", NULL
13892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
13893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13902 resultobj
= SWIG_FromInt((int)result
);
13909 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13910 PyObject
*resultobj
;
13911 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13913 PyObject
* obj0
= 0 ;
13914 PyObject
* obj1
= 0 ;
13915 char *kwnames
[] = {
13916 (char *) "self",(char *) "nOldSel", NULL
13919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13922 arg2
= (int) SWIG_AsInt(obj1
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13926 (arg1
)->SetOldSelection(arg2
);
13928 wxPyEndAllowThreads(__tstate
);
13929 if (PyErr_Occurred()) SWIG_fail
;
13931 Py_INCREF(Py_None
); resultobj
= Py_None
;
13938 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13941 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
13943 return Py_BuildValue((char *)"");
13945 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13946 PyObject
*resultobj
;
13947 wxWindow
*arg1
= (wxWindow
*) 0 ;
13949 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13950 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13951 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13952 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13953 long arg5
= (long) 0 ;
13954 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
13955 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13956 wxNotebook
*result
;
13959 bool temp6
= False
;
13960 PyObject
* obj0
= 0 ;
13961 PyObject
* obj1
= 0 ;
13962 PyObject
* obj2
= 0 ;
13963 PyObject
* obj3
= 0 ;
13964 PyObject
* obj4
= 0 ;
13965 PyObject
* obj5
= 0 ;
13966 char *kwnames
[] = {
13967 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13973 arg2
= (int) SWIG_AsInt(obj1
);
13974 if (PyErr_Occurred()) SWIG_fail
;
13978 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13984 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13988 arg5
= (long) SWIG_AsLong(obj4
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13993 arg6
= wxString_in_helper(obj5
);
13994 if (arg6
== NULL
) SWIG_fail
;
13999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14000 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14002 wxPyEndAllowThreads(__tstate
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14006 resultobj
= wxPyMake_wxObject(result
);
14022 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14023 PyObject
*resultobj
;
14024 wxNotebook
*result
;
14025 char *kwnames
[] = {
14029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14032 result
= (wxNotebook
*)new wxNotebook();
14034 wxPyEndAllowThreads(__tstate
);
14035 if (PyErr_Occurred()) SWIG_fail
;
14038 resultobj
= wxPyMake_wxObject(result
);
14046 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14047 PyObject
*resultobj
;
14048 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14049 wxWindow
*arg2
= (wxWindow
*) 0 ;
14051 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14052 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14053 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14054 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14055 long arg6
= (long) 0 ;
14056 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14057 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14061 bool temp7
= False
;
14062 PyObject
* obj0
= 0 ;
14063 PyObject
* obj1
= 0 ;
14064 PyObject
* obj2
= 0 ;
14065 PyObject
* obj3
= 0 ;
14066 PyObject
* obj4
= 0 ;
14067 PyObject
* obj5
= 0 ;
14068 PyObject
* obj6
= 0 ;
14069 char *kwnames
[] = {
14070 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14076 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14078 arg3
= (int) SWIG_AsInt(obj2
);
14079 if (PyErr_Occurred()) SWIG_fail
;
14083 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14089 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14093 arg6
= (long) SWIG_AsLong(obj5
);
14094 if (PyErr_Occurred()) SWIG_fail
;
14098 arg7
= wxString_in_helper(obj6
);
14099 if (arg7
== NULL
) SWIG_fail
;
14104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14105 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14107 wxPyEndAllowThreads(__tstate
);
14108 if (PyErr_Occurred()) SWIG_fail
;
14110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14125 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14126 PyObject
*resultobj
;
14127 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14129 PyObject
* obj0
= 0 ;
14130 char *kwnames
[] = {
14131 (char *) "self", NULL
14134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14139 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14141 wxPyEndAllowThreads(__tstate
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14144 resultobj
= SWIG_FromInt((int)result
);
14151 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14152 PyObject
*resultobj
;
14153 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14156 PyObject
* obj0
= 0 ;
14157 PyObject
* obj1
= 0 ;
14158 char *kwnames
[] = {
14159 (char *) "self",(char *) "padding", NULL
14162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14167 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14171 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) SWIG_fail
;
14176 Py_INCREF(Py_None
); resultobj
= Py_None
;
14183 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14184 PyObject
*resultobj
;
14185 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14188 PyObject
* obj0
= 0 ;
14189 PyObject
* obj1
= 0 ;
14190 char *kwnames
[] = {
14191 (char *) "self",(char *) "sz", NULL
14194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14199 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14203 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14205 wxPyEndAllowThreads(__tstate
);
14206 if (PyErr_Occurred()) SWIG_fail
;
14208 Py_INCREF(Py_None
); resultobj
= Py_None
;
14215 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14216 PyObject
*resultobj
;
14217 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14218 wxPoint
*arg2
= 0 ;
14219 long *arg3
= (long *) 0 ;
14223 PyObject
* obj0
= 0 ;
14224 PyObject
* obj1
= 0 ;
14225 char *kwnames
[] = {
14226 (char *) "self",(char *) "pt", NULL
14230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14235 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14239 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14241 wxPyEndAllowThreads(__tstate
);
14242 if (PyErr_Occurred()) SWIG_fail
;
14244 resultobj
= SWIG_FromInt((int)result
);
14246 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14247 resultobj
= t_output_helper(resultobj
,o
);
14255 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14256 PyObject
*resultobj
;
14257 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14261 PyObject
* obj0
= 0 ;
14262 PyObject
* obj1
= 0 ;
14263 char *kwnames
[] = {
14264 (char *) "self",(char *) "sizePage", NULL
14267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14272 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14276 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14278 wxPyEndAllowThreads(__tstate
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14282 wxSize
* resultptr
;
14283 resultptr
= new wxSize((wxSize
&) result
);
14284 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14292 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
14294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14295 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14297 return Py_BuildValue((char *)"");
14299 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14300 PyObject
*resultobj
;
14301 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14302 int arg2
= (int) 0 ;
14303 int arg3
= (int) -1 ;
14304 int arg4
= (int) -1 ;
14305 wxNotebookEvent
*result
;
14306 PyObject
* obj0
= 0 ;
14307 PyObject
* obj1
= 0 ;
14308 PyObject
* obj2
= 0 ;
14309 PyObject
* obj3
= 0 ;
14310 char *kwnames
[] = {
14311 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14316 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14317 if (PyErr_Occurred()) SWIG_fail
;
14320 arg2
= (int) SWIG_AsInt(obj1
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14324 arg3
= (int) SWIG_AsInt(obj2
);
14325 if (PyErr_Occurred()) SWIG_fail
;
14328 arg4
= (int) SWIG_AsInt(obj3
);
14329 if (PyErr_Occurred()) SWIG_fail
;
14332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14333 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14335 wxPyEndAllowThreads(__tstate
);
14336 if (PyErr_Occurred()) SWIG_fail
;
14338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
14345 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14347 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14348 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14350 return Py_BuildValue((char *)"");
14352 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14353 PyObject
*resultobj
;
14354 wxWindow
*arg1
= (wxWindow
*) 0 ;
14356 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14357 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14358 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14359 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14360 long arg5
= (long) 0 ;
14361 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14362 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14363 wxListbook
*result
;
14366 bool temp6
= False
;
14367 PyObject
* obj0
= 0 ;
14368 PyObject
* obj1
= 0 ;
14369 PyObject
* obj2
= 0 ;
14370 PyObject
* obj3
= 0 ;
14371 PyObject
* obj4
= 0 ;
14372 PyObject
* obj5
= 0 ;
14373 char *kwnames
[] = {
14374 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14380 arg2
= (int) SWIG_AsInt(obj1
);
14381 if (PyErr_Occurred()) SWIG_fail
;
14385 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14391 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14395 arg5
= (long) SWIG_AsLong(obj4
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14400 arg6
= wxString_in_helper(obj5
);
14401 if (arg6
== NULL
) SWIG_fail
;
14406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14407 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14409 wxPyEndAllowThreads(__tstate
);
14410 if (PyErr_Occurred()) SWIG_fail
;
14412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14427 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14428 PyObject
*resultobj
;
14429 wxListbook
*result
;
14430 char *kwnames
[] = {
14434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14437 result
= (wxListbook
*)new wxListbook();
14439 wxPyEndAllowThreads(__tstate
);
14440 if (PyErr_Occurred()) SWIG_fail
;
14442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14449 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14450 PyObject
*resultobj
;
14451 wxListbook
*arg1
= (wxListbook
*) 0 ;
14452 wxWindow
*arg2
= (wxWindow
*) 0 ;
14454 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14455 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14456 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14457 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14458 long arg6
= (long) 0 ;
14459 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14460 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14464 bool temp7
= False
;
14465 PyObject
* obj0
= 0 ;
14466 PyObject
* obj1
= 0 ;
14467 PyObject
* obj2
= 0 ;
14468 PyObject
* obj3
= 0 ;
14469 PyObject
* obj4
= 0 ;
14470 PyObject
* obj5
= 0 ;
14471 PyObject
* obj6
= 0 ;
14472 char *kwnames
[] = {
14473 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14481 arg3
= (int) SWIG_AsInt(obj2
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14486 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14492 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14496 arg6
= (long) SWIG_AsLong(obj5
);
14497 if (PyErr_Occurred()) SWIG_fail
;
14501 arg7
= wxString_in_helper(obj6
);
14502 if (arg7
== NULL
) SWIG_fail
;
14507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14508 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14510 wxPyEndAllowThreads(__tstate
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14528 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14529 PyObject
*resultobj
;
14530 wxListbook
*arg1
= (wxListbook
*) 0 ;
14532 PyObject
* obj0
= 0 ;
14533 char *kwnames
[] = {
14534 (char *) "self", NULL
14537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14542 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14544 wxPyEndAllowThreads(__tstate
);
14545 if (PyErr_Occurred()) SWIG_fail
;
14547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14554 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14557 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14559 return Py_BuildValue((char *)"");
14561 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14562 PyObject
*resultobj
;
14563 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14564 int arg2
= (int) 0 ;
14565 int arg3
= (int) -1 ;
14566 int arg4
= (int) -1 ;
14567 wxListbookEvent
*result
;
14568 PyObject
* obj0
= 0 ;
14569 PyObject
* obj1
= 0 ;
14570 PyObject
* obj2
= 0 ;
14571 PyObject
* obj3
= 0 ;
14572 char *kwnames
[] = {
14573 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14578 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14579 if (PyErr_Occurred()) SWIG_fail
;
14582 arg2
= (int) SWIG_AsInt(obj1
);
14583 if (PyErr_Occurred()) SWIG_fail
;
14586 arg3
= (int) SWIG_AsInt(obj2
);
14587 if (PyErr_Occurred()) SWIG_fail
;
14590 arg4
= (int) SWIG_AsInt(obj3
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14595 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14597 wxPyEndAllowThreads(__tstate
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
14607 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14610 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14612 return Py_BuildValue((char *)"");
14614 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14615 PyObject
*resultobj
;
14616 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14617 wxBookCtrlSizer
*result
;
14618 PyObject
* obj0
= 0 ;
14619 char *kwnames
[] = {
14620 (char *) "nb", NULL
14623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14628 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14630 wxPyEndAllowThreads(__tstate
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
14640 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14641 PyObject
*resultobj
;
14642 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14643 PyObject
* obj0
= 0 ;
14644 char *kwnames
[] = {
14645 (char *) "self", NULL
14648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14653 (arg1
)->RecalcSizes();
14655 wxPyEndAllowThreads(__tstate
);
14656 if (PyErr_Occurred()) SWIG_fail
;
14658 Py_INCREF(Py_None
); resultobj
= Py_None
;
14665 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14666 PyObject
*resultobj
;
14667 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14669 PyObject
* obj0
= 0 ;
14670 char *kwnames
[] = {
14671 (char *) "self", NULL
14674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 result
= (arg1
)->CalcMin();
14681 wxPyEndAllowThreads(__tstate
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14685 wxSize
* resultptr
;
14686 resultptr
= new wxSize((wxSize
&) result
);
14687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14695 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14696 PyObject
*resultobj
;
14697 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14698 wxBookCtrl
*result
;
14699 PyObject
* obj0
= 0 ;
14700 char *kwnames
[] = {
14701 (char *) "self", NULL
14704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14709 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14711 wxPyEndAllowThreads(__tstate
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
14721 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14724 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14726 return Py_BuildValue((char *)"");
14728 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14729 PyObject
*resultobj
;
14730 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14731 wxNotebookSizer
*result
;
14732 PyObject
* obj0
= 0 ;
14733 char *kwnames
[] = {
14734 (char *) "nb", NULL
14737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14742 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14744 wxPyEndAllowThreads(__tstate
);
14745 if (PyErr_Occurred()) SWIG_fail
;
14747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
14754 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14755 PyObject
*resultobj
;
14756 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14757 PyObject
* obj0
= 0 ;
14758 char *kwnames
[] = {
14759 (char *) "self", NULL
14762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14767 (arg1
)->RecalcSizes();
14769 wxPyEndAllowThreads(__tstate
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14772 Py_INCREF(Py_None
); resultobj
= Py_None
;
14779 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14780 PyObject
*resultobj
;
14781 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14783 PyObject
* obj0
= 0 ;
14784 char *kwnames
[] = {
14785 (char *) "self", NULL
14788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 result
= (arg1
)->CalcMin();
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14799 wxSize
* resultptr
;
14800 resultptr
= new wxSize((wxSize
&) result
);
14801 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14809 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14810 PyObject
*resultobj
;
14811 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14812 wxNotebook
*result
;
14813 PyObject
* obj0
= 0 ;
14814 char *kwnames
[] = {
14815 (char *) "self", NULL
14818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14823 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14825 wxPyEndAllowThreads(__tstate
);
14826 if (PyErr_Occurred()) SWIG_fail
;
14829 resultobj
= wxPyMake_wxObject(result
);
14837 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14840 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14842 return Py_BuildValue((char *)"");
14844 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14845 PyObject
*resultobj
;
14846 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14848 PyObject
* obj0
= 0 ;
14849 char *kwnames
[] = {
14850 (char *) "self", NULL
14853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14858 result
= (int)(arg1
)->GetId();
14860 wxPyEndAllowThreads(__tstate
);
14861 if (PyErr_Occurred()) SWIG_fail
;
14863 resultobj
= SWIG_FromInt((int)result
);
14870 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14871 PyObject
*resultobj
;
14872 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14874 PyObject
* obj0
= 0 ;
14875 char *kwnames
[] = {
14876 (char *) "self", NULL
14879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
14880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14884 result
= (wxControl
*)(arg1
)->GetControl();
14886 wxPyEndAllowThreads(__tstate
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14890 resultobj
= wxPyMake_wxObject(result
);
14898 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14899 PyObject
*resultobj
;
14900 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14901 wxToolBarBase
*result
;
14902 PyObject
* obj0
= 0 ;
14903 char *kwnames
[] = {
14904 (char *) "self", NULL
14907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
14908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14912 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
14914 wxPyEndAllowThreads(__tstate
);
14915 if (PyErr_Occurred()) SWIG_fail
;
14918 resultobj
= wxPyMake_wxObject(result
);
14926 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14927 PyObject
*resultobj
;
14928 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14930 PyObject
* obj0
= 0 ;
14931 char *kwnames
[] = {
14932 (char *) "self", NULL
14935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
14936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14940 result
= (int)(arg1
)->IsButton();
14942 wxPyEndAllowThreads(__tstate
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14945 resultobj
= SWIG_FromInt((int)result
);
14952 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14953 PyObject
*resultobj
;
14954 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14956 PyObject
* obj0
= 0 ;
14957 char *kwnames
[] = {
14958 (char *) "self", NULL
14961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
14962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14966 result
= (int)(arg1
)->IsControl();
14968 wxPyEndAllowThreads(__tstate
);
14969 if (PyErr_Occurred()) SWIG_fail
;
14971 resultobj
= SWIG_FromInt((int)result
);
14978 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14979 PyObject
*resultobj
;
14980 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14982 PyObject
* obj0
= 0 ;
14983 char *kwnames
[] = {
14984 (char *) "self", NULL
14987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
14988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14992 result
= (int)(arg1
)->IsSeparator();
14994 wxPyEndAllowThreads(__tstate
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14997 resultobj
= SWIG_FromInt((int)result
);
15004 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15005 PyObject
*resultobj
;
15006 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15008 PyObject
* obj0
= 0 ;
15009 char *kwnames
[] = {
15010 (char *) "self", NULL
15013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 result
= (int)(arg1
)->GetStyle();
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15023 resultobj
= SWIG_FromInt((int)result
);
15030 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15031 PyObject
*resultobj
;
15032 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15034 PyObject
* obj0
= 0 ;
15035 char *kwnames
[] = {
15036 (char *) "self", NULL
15039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15044 result
= (int)(arg1
)->GetKind();
15046 wxPyEndAllowThreads(__tstate
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15049 resultobj
= SWIG_FromInt((int)result
);
15056 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15057 PyObject
*resultobj
;
15058 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15060 PyObject
* obj0
= 0 ;
15061 char *kwnames
[] = {
15062 (char *) "self", NULL
15065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15070 result
= (bool)(arg1
)->IsEnabled();
15072 wxPyEndAllowThreads(__tstate
);
15073 if (PyErr_Occurred()) SWIG_fail
;
15075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15082 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15083 PyObject
*resultobj
;
15084 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15086 PyObject
* obj0
= 0 ;
15087 char *kwnames
[] = {
15088 (char *) "self", NULL
15091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15096 result
= (bool)(arg1
)->IsToggled();
15098 wxPyEndAllowThreads(__tstate
);
15099 if (PyErr_Occurred()) SWIG_fail
;
15101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15108 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15109 PyObject
*resultobj
;
15110 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15112 PyObject
* obj0
= 0 ;
15113 char *kwnames
[] = {
15114 (char *) "self", NULL
15117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15122 result
= (bool)(arg1
)->CanBeToggled();
15124 wxPyEndAllowThreads(__tstate
);
15125 if (PyErr_Occurred()) SWIG_fail
;
15127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15134 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15135 PyObject
*resultobj
;
15136 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15138 PyObject
* obj0
= 0 ;
15139 char *kwnames
[] = {
15140 (char *) "self", NULL
15143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15149 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15150 result
= (wxBitmap
*) &_result_ref
;
15153 wxPyEndAllowThreads(__tstate
);
15154 if (PyErr_Occurred()) SWIG_fail
;
15157 wxBitmap
* resultptr
= new wxBitmap(*result
);
15158 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15166 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15167 PyObject
*resultobj
;
15168 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15170 PyObject
* obj0
= 0 ;
15171 char *kwnames
[] = {
15172 (char *) "self", NULL
15175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15181 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15182 result
= (wxBitmap
*) &_result_ref
;
15185 wxPyEndAllowThreads(__tstate
);
15186 if (PyErr_Occurred()) SWIG_fail
;
15189 wxBitmap
* resultptr
= new wxBitmap(*result
);
15190 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15198 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15199 PyObject
*resultobj
;
15200 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15202 PyObject
* obj0
= 0 ;
15203 char *kwnames
[] = {
15204 (char *) "self", NULL
15207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15212 result
= (arg1
)->GetBitmap();
15214 wxPyEndAllowThreads(__tstate
);
15215 if (PyErr_Occurred()) SWIG_fail
;
15218 wxBitmap
* resultptr
;
15219 resultptr
= new wxBitmap((wxBitmap
&) result
);
15220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15228 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15229 PyObject
*resultobj
;
15230 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15232 PyObject
* obj0
= 0 ;
15233 char *kwnames
[] = {
15234 (char *) "self", NULL
15237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15242 result
= (arg1
)->GetLabel();
15244 wxPyEndAllowThreads(__tstate
);
15245 if (PyErr_Occurred()) SWIG_fail
;
15249 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15251 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15260 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15261 PyObject
*resultobj
;
15262 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15264 PyObject
* obj0
= 0 ;
15265 char *kwnames
[] = {
15266 (char *) "self", NULL
15269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15274 result
= (arg1
)->GetShortHelp();
15276 wxPyEndAllowThreads(__tstate
);
15277 if (PyErr_Occurred()) SWIG_fail
;
15281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15292 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15293 PyObject
*resultobj
;
15294 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15296 PyObject
* obj0
= 0 ;
15297 char *kwnames
[] = {
15298 (char *) "self", NULL
15301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15306 result
= (arg1
)->GetLongHelp();
15308 wxPyEndAllowThreads(__tstate
);
15309 if (PyErr_Occurred()) SWIG_fail
;
15313 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15315 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15324 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15325 PyObject
*resultobj
;
15326 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15329 PyObject
* obj0
= 0 ;
15330 PyObject
* obj1
= 0 ;
15331 char *kwnames
[] = {
15332 (char *) "self",(char *) "enable", NULL
15335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15338 arg2
= (bool) SWIG_AsBool(obj1
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 result
= (bool)(arg1
)->Enable(arg2
);
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15354 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15355 PyObject
*resultobj
;
15356 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15357 PyObject
* obj0
= 0 ;
15358 char *kwnames
[] = {
15359 (char *) "self", NULL
15362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15369 wxPyEndAllowThreads(__tstate
);
15370 if (PyErr_Occurred()) SWIG_fail
;
15372 Py_INCREF(Py_None
); resultobj
= Py_None
;
15379 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15380 PyObject
*resultobj
;
15381 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15384 PyObject
* obj0
= 0 ;
15385 PyObject
* obj1
= 0 ;
15386 char *kwnames
[] = {
15387 (char *) "self",(char *) "toggle", NULL
15390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15393 arg2
= (bool) SWIG_AsBool(obj1
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15397 result
= (bool)(arg1
)->SetToggle(arg2
);
15399 wxPyEndAllowThreads(__tstate
);
15400 if (PyErr_Occurred()) SWIG_fail
;
15402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15409 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15410 PyObject
*resultobj
;
15411 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15412 wxString
*arg2
= 0 ;
15414 bool temp2
= False
;
15415 PyObject
* obj0
= 0 ;
15416 PyObject
* obj1
= 0 ;
15417 char *kwnames
[] = {
15418 (char *) "self",(char *) "help", NULL
15421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15425 arg2
= wxString_in_helper(obj1
);
15426 if (arg2
== NULL
) SWIG_fail
;
15430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15431 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15433 wxPyEndAllowThreads(__tstate
);
15434 if (PyErr_Occurred()) SWIG_fail
;
15436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15451 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15452 PyObject
*resultobj
;
15453 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15454 wxString
*arg2
= 0 ;
15456 bool temp2
= False
;
15457 PyObject
* obj0
= 0 ;
15458 PyObject
* obj1
= 0 ;
15459 char *kwnames
[] = {
15460 (char *) "self",(char *) "help", NULL
15463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15467 arg2
= wxString_in_helper(obj1
);
15468 if (arg2
== NULL
) SWIG_fail
;
15472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15473 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15475 wxPyEndAllowThreads(__tstate
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15493 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15494 PyObject
*resultobj
;
15495 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15496 wxBitmap
*arg2
= 0 ;
15497 PyObject
* obj0
= 0 ;
15498 PyObject
* obj1
= 0 ;
15499 char *kwnames
[] = {
15500 (char *) "self",(char *) "bmp", NULL
15503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15507 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15509 if (arg2
== NULL
) {
15510 PyErr_SetString(PyExc_TypeError
,"null reference");
15514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15515 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15517 wxPyEndAllowThreads(__tstate
);
15518 if (PyErr_Occurred()) SWIG_fail
;
15520 Py_INCREF(Py_None
); resultobj
= Py_None
;
15527 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15528 PyObject
*resultobj
;
15529 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15530 wxBitmap
*arg2
= 0 ;
15531 PyObject
* obj0
= 0 ;
15532 PyObject
* obj1
= 0 ;
15533 char *kwnames
[] = {
15534 (char *) "self",(char *) "bmp", NULL
15537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15540 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15541 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15543 if (arg2
== NULL
) {
15544 PyErr_SetString(PyExc_TypeError
,"null reference");
15548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15554 Py_INCREF(Py_None
); resultobj
= Py_None
;
15561 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15562 PyObject
*resultobj
;
15563 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15564 wxString
*arg2
= 0 ;
15565 bool temp2
= False
;
15566 PyObject
* obj0
= 0 ;
15567 PyObject
* obj1
= 0 ;
15568 char *kwnames
[] = {
15569 (char *) "self",(char *) "label", NULL
15572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15576 arg2
= wxString_in_helper(obj1
);
15577 if (arg2
== NULL
) SWIG_fail
;
15581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15582 (arg1
)->SetLabel((wxString
const &)*arg2
);
15584 wxPyEndAllowThreads(__tstate
);
15585 if (PyErr_Occurred()) SWIG_fail
;
15587 Py_INCREF(Py_None
); resultobj
= Py_None
;
15602 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15603 PyObject
*resultobj
;
15604 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15605 PyObject
* obj0
= 0 ;
15606 char *kwnames
[] = {
15607 (char *) "self", NULL
15610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15617 wxPyEndAllowThreads(__tstate
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15620 Py_INCREF(Py_None
); resultobj
= Py_None
;
15627 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15628 PyObject
*resultobj
;
15629 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15630 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15631 PyObject
* obj0
= 0 ;
15632 PyObject
* obj1
= 0 ;
15633 char *kwnames
[] = {
15634 (char *) "self",(char *) "tbar", NULL
15637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
15641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15644 (arg1
)->Attach(arg2
);
15646 wxPyEndAllowThreads(__tstate
);
15647 if (PyErr_Occurred()) SWIG_fail
;
15649 Py_INCREF(Py_None
); resultobj
= Py_None
;
15656 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15657 PyObject
*resultobj
;
15658 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15660 PyObject
* obj0
= 0 ;
15661 char *kwnames
[] = {
15662 (char *) "self", NULL
15665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15670 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15672 wxPyEndAllowThreads(__tstate
);
15673 if (PyErr_Occurred()) SWIG_fail
;
15675 resultobj
= result
;
15682 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15683 PyObject
*resultobj
;
15684 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15685 PyObject
*arg2
= (PyObject
*) 0 ;
15686 PyObject
* obj0
= 0 ;
15687 PyObject
* obj1
= 0 ;
15688 char *kwnames
[] = {
15689 (char *) "self",(char *) "clientData", NULL
15692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15698 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15700 wxPyEndAllowThreads(__tstate
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15703 Py_INCREF(Py_None
); resultobj
= Py_None
;
15710 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15713 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15715 return Py_BuildValue((char *)"");
15717 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15718 PyObject
*resultobj
;
15719 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15721 wxString
*arg3
= 0 ;
15722 wxBitmap
*arg4
= 0 ;
15723 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15724 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15725 int arg6
= (int) wxITEM_NORMAL
;
15726 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15727 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15728 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15729 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15730 PyObject
*arg9
= (PyObject
*) NULL
;
15731 wxToolBarToolBase
*result
;
15732 bool temp3
= False
;
15733 bool temp7
= False
;
15734 bool temp8
= False
;
15735 PyObject
* obj0
= 0 ;
15736 PyObject
* obj1
= 0 ;
15737 PyObject
* obj2
= 0 ;
15738 PyObject
* obj3
= 0 ;
15739 PyObject
* obj4
= 0 ;
15740 PyObject
* obj5
= 0 ;
15741 PyObject
* obj6
= 0 ;
15742 PyObject
* obj7
= 0 ;
15743 PyObject
* obj8
= 0 ;
15744 char *kwnames
[] = {
15745 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15751 arg2
= (int) SWIG_AsInt(obj1
);
15752 if (PyErr_Occurred()) SWIG_fail
;
15754 arg3
= wxString_in_helper(obj2
);
15755 if (arg3
== NULL
) SWIG_fail
;
15758 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
15759 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15761 if (arg4
== NULL
) {
15762 PyErr_SetString(PyExc_TypeError
,"null reference");
15766 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15767 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15769 if (arg5
== NULL
) {
15770 PyErr_SetString(PyExc_TypeError
,"null reference");
15775 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
15776 if (PyErr_Occurred()) SWIG_fail
;
15780 arg7
= wxString_in_helper(obj6
);
15781 if (arg7
== NULL
) SWIG_fail
;
15787 arg8
= wxString_in_helper(obj7
);
15788 if (arg8
== NULL
) SWIG_fail
;
15796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15797 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15799 wxPyEndAllowThreads(__tstate
);
15800 if (PyErr_Occurred()) SWIG_fail
;
15803 resultobj
= wxPyMake_wxObject(result
);
15835 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15836 PyObject
*resultobj
;
15837 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15840 wxString
*arg4
= 0 ;
15841 wxBitmap
*arg5
= 0 ;
15842 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
15843 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
15844 int arg7
= (int) wxITEM_NORMAL
;
15845 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15846 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15847 wxString
const &arg9_defvalue
= wxPyEmptyString
;
15848 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15849 PyObject
*arg10
= (PyObject
*) NULL
;
15850 wxToolBarToolBase
*result
;
15851 bool temp4
= False
;
15852 bool temp8
= False
;
15853 bool temp9
= False
;
15854 PyObject
* obj0
= 0 ;
15855 PyObject
* obj1
= 0 ;
15856 PyObject
* obj2
= 0 ;
15857 PyObject
* obj3
= 0 ;
15858 PyObject
* obj4
= 0 ;
15859 PyObject
* obj5
= 0 ;
15860 PyObject
* obj6
= 0 ;
15861 PyObject
* obj7
= 0 ;
15862 PyObject
* obj8
= 0 ;
15863 PyObject
* obj9
= 0 ;
15864 char *kwnames
[] = {
15865 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15871 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
15872 if (PyErr_Occurred()) SWIG_fail
;
15873 arg3
= (int) SWIG_AsInt(obj2
);
15874 if (PyErr_Occurred()) SWIG_fail
;
15876 arg4
= wxString_in_helper(obj3
);
15877 if (arg4
== NULL
) SWIG_fail
;
15880 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15883 if (arg5
== NULL
) {
15884 PyErr_SetString(PyExc_TypeError
,"null reference");
15888 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
15889 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15891 if (arg6
== NULL
) {
15892 PyErr_SetString(PyExc_TypeError
,"null reference");
15897 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15902 arg8
= wxString_in_helper(obj7
);
15903 if (arg8
== NULL
) SWIG_fail
;
15909 arg9
= wxString_in_helper(obj8
);
15910 if (arg9
== NULL
) SWIG_fail
;
15918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15919 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
);
15921 wxPyEndAllowThreads(__tstate
);
15922 if (PyErr_Occurred()) SWIG_fail
;
15925 resultobj
= wxPyMake_wxObject(result
);
15957 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15958 PyObject
*resultobj
;
15959 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15960 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
15961 wxToolBarToolBase
*result
;
15962 PyObject
* obj0
= 0 ;
15963 PyObject
* obj1
= 0 ;
15964 char *kwnames
[] = {
15965 (char *) "self",(char *) "tool", NULL
15968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
15969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15971 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
15972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15975 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
15977 wxPyEndAllowThreads(__tstate
);
15978 if (PyErr_Occurred()) SWIG_fail
;
15981 resultobj
= wxPyMake_wxObject(result
);
15989 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15990 PyObject
*resultobj
;
15991 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15993 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
15994 wxToolBarToolBase
*result
;
15995 PyObject
* obj0
= 0 ;
15996 PyObject
* obj1
= 0 ;
15997 PyObject
* obj2
= 0 ;
15998 char *kwnames
[] = {
15999 (char *) "self",(char *) "pos",(char *) "tool", NULL
16002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16005 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16007 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
16008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16011 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
16013 wxPyEndAllowThreads(__tstate
);
16014 if (PyErr_Occurred()) SWIG_fail
;
16017 resultobj
= wxPyMake_wxObject(result
);
16025 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16026 PyObject
*resultobj
;
16027 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16028 wxControl
*arg2
= (wxControl
*) 0 ;
16029 wxToolBarToolBase
*result
;
16030 PyObject
* obj0
= 0 ;
16031 PyObject
* obj1
= 0 ;
16032 char *kwnames
[] = {
16033 (char *) "self",(char *) "control", NULL
16036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16039 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
16040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16043 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
16045 wxPyEndAllowThreads(__tstate
);
16046 if (PyErr_Occurred()) SWIG_fail
;
16049 resultobj
= wxPyMake_wxObject(result
);
16057 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16058 PyObject
*resultobj
;
16059 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16061 wxControl
*arg3
= (wxControl
*) 0 ;
16062 wxToolBarToolBase
*result
;
16063 PyObject
* obj0
= 0 ;
16064 PyObject
* obj1
= 0 ;
16065 PyObject
* obj2
= 0 ;
16066 char *kwnames
[] = {
16067 (char *) "self",(char *) "pos",(char *) "control", NULL
16070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16073 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16074 if (PyErr_Occurred()) SWIG_fail
;
16075 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
16076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16079 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16081 wxPyEndAllowThreads(__tstate
);
16082 if (PyErr_Occurred()) SWIG_fail
;
16085 resultobj
= wxPyMake_wxObject(result
);
16093 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16094 PyObject
*resultobj
;
16095 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16098 PyObject
* obj0
= 0 ;
16099 PyObject
* obj1
= 0 ;
16100 char *kwnames
[] = {
16101 (char *) "self",(char *) "id", NULL
16104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16107 arg2
= (int) SWIG_AsInt(obj1
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16111 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16113 wxPyEndAllowThreads(__tstate
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16117 resultobj
= wxPyMake_wxObject(result
);
16125 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16126 PyObject
*resultobj
;
16127 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16128 wxToolBarToolBase
*result
;
16129 PyObject
* obj0
= 0 ;
16130 char *kwnames
[] = {
16131 (char *) "self", NULL
16134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16139 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16141 wxPyEndAllowThreads(__tstate
);
16142 if (PyErr_Occurred()) SWIG_fail
;
16145 resultobj
= wxPyMake_wxObject(result
);
16153 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16154 PyObject
*resultobj
;
16155 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16157 wxToolBarToolBase
*result
;
16158 PyObject
* obj0
= 0 ;
16159 PyObject
* obj1
= 0 ;
16160 char *kwnames
[] = {
16161 (char *) "self",(char *) "pos", NULL
16164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16167 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16171 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16173 wxPyEndAllowThreads(__tstate
);
16174 if (PyErr_Occurred()) SWIG_fail
;
16177 resultobj
= wxPyMake_wxObject(result
);
16185 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16186 PyObject
*resultobj
;
16187 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16189 wxToolBarToolBase
*result
;
16190 PyObject
* obj0
= 0 ;
16191 PyObject
* obj1
= 0 ;
16192 char *kwnames
[] = {
16193 (char *) "self",(char *) "id", NULL
16196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16199 arg2
= (int) SWIG_AsInt(obj1
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16203 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16205 wxPyEndAllowThreads(__tstate
);
16206 if (PyErr_Occurred()) SWIG_fail
;
16209 resultobj
= wxPyMake_wxObject(result
);
16217 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16218 PyObject
*resultobj
;
16219 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16222 PyObject
* obj0
= 0 ;
16223 PyObject
* obj1
= 0 ;
16224 char *kwnames
[] = {
16225 (char *) "self",(char *) "pos", NULL
16228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16231 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16232 if (PyErr_Occurred()) SWIG_fail
;
16234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16235 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16237 wxPyEndAllowThreads(__tstate
);
16238 if (PyErr_Occurred()) SWIG_fail
;
16240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16247 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16248 PyObject
*resultobj
;
16249 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16252 PyObject
* obj0
= 0 ;
16253 PyObject
* obj1
= 0 ;
16254 char *kwnames
[] = {
16255 (char *) "self",(char *) "id", NULL
16258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16261 arg2
= (int) SWIG_AsInt(obj1
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16265 result
= (bool)(arg1
)->DeleteTool(arg2
);
16267 wxPyEndAllowThreads(__tstate
);
16268 if (PyErr_Occurred()) SWIG_fail
;
16270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16277 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16278 PyObject
*resultobj
;
16279 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16280 PyObject
* obj0
= 0 ;
16281 char *kwnames
[] = {
16282 (char *) "self", NULL
16285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16290 (arg1
)->ClearTools();
16292 wxPyEndAllowThreads(__tstate
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16295 Py_INCREF(Py_None
); resultobj
= Py_None
;
16302 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16303 PyObject
*resultobj
;
16304 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16306 PyObject
* obj0
= 0 ;
16307 char *kwnames
[] = {
16308 (char *) "self", NULL
16311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16316 result
= (bool)(arg1
)->Realize();
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16328 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16329 PyObject
*resultobj
;
16330 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16333 PyObject
* obj0
= 0 ;
16334 PyObject
* obj1
= 0 ;
16335 PyObject
* obj2
= 0 ;
16336 char *kwnames
[] = {
16337 (char *) "self",(char *) "id",(char *) "enable", NULL
16340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16343 arg2
= (int) SWIG_AsInt(obj1
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16345 arg3
= (bool) SWIG_AsBool(obj2
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16349 (arg1
)->EnableTool(arg2
,arg3
);
16351 wxPyEndAllowThreads(__tstate
);
16352 if (PyErr_Occurred()) SWIG_fail
;
16354 Py_INCREF(Py_None
); resultobj
= Py_None
;
16361 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16362 PyObject
*resultobj
;
16363 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16366 PyObject
* obj0
= 0 ;
16367 PyObject
* obj1
= 0 ;
16368 PyObject
* obj2
= 0 ;
16369 char *kwnames
[] = {
16370 (char *) "self",(char *) "id",(char *) "toggle", NULL
16373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16376 arg2
= (int) SWIG_AsInt(obj1
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16378 arg3
= (bool) SWIG_AsBool(obj2
);
16379 if (PyErr_Occurred()) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 (arg1
)->ToggleTool(arg2
,arg3
);
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16387 Py_INCREF(Py_None
); resultobj
= Py_None
;
16394 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16395 PyObject
*resultobj
;
16396 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16399 PyObject
* obj0
= 0 ;
16400 PyObject
* obj1
= 0 ;
16401 PyObject
* obj2
= 0 ;
16402 char *kwnames
[] = {
16403 (char *) "self",(char *) "id",(char *) "toggle", NULL
16406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16409 arg2
= (int) SWIG_AsInt(obj1
);
16410 if (PyErr_Occurred()) SWIG_fail
;
16411 arg3
= (bool) SWIG_AsBool(obj2
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16415 (arg1
)->SetToggle(arg2
,arg3
);
16417 wxPyEndAllowThreads(__tstate
);
16418 if (PyErr_Occurred()) SWIG_fail
;
16420 Py_INCREF(Py_None
); resultobj
= Py_None
;
16427 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16428 PyObject
*resultobj
;
16429 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16432 PyObject
* obj0
= 0 ;
16433 PyObject
* obj1
= 0 ;
16434 char *kwnames
[] = {
16435 (char *) "self",(char *) "id", NULL
16438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16441 arg2
= (int) SWIG_AsInt(obj1
);
16442 if (PyErr_Occurred()) SWIG_fail
;
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16445 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16450 resultobj
= result
;
16457 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16458 PyObject
*resultobj
;
16459 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16461 PyObject
*arg3
= (PyObject
*) 0 ;
16462 PyObject
* obj0
= 0 ;
16463 PyObject
* obj1
= 0 ;
16464 PyObject
* obj2
= 0 ;
16465 char *kwnames
[] = {
16466 (char *) "self",(char *) "id",(char *) "clientData", NULL
16469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16472 arg2
= (int) SWIG_AsInt(obj1
);
16473 if (PyErr_Occurred()) SWIG_fail
;
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16479 wxPyEndAllowThreads(__tstate
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16482 Py_INCREF(Py_None
); resultobj
= Py_None
;
16489 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16490 PyObject
*resultobj
;
16491 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16494 PyObject
* obj0
= 0 ;
16495 PyObject
* obj1
= 0 ;
16496 char *kwnames
[] = {
16497 (char *) "self",(char *) "id", NULL
16500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16503 arg2
= (int) SWIG_AsInt(obj1
);
16504 if (PyErr_Occurred()) SWIG_fail
;
16506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16507 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16509 wxPyEndAllowThreads(__tstate
);
16510 if (PyErr_Occurred()) SWIG_fail
;
16512 resultobj
= SWIG_FromInt((int)result
);
16519 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16520 PyObject
*resultobj
;
16521 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16524 PyObject
* obj0
= 0 ;
16525 PyObject
* obj1
= 0 ;
16526 char *kwnames
[] = {
16527 (char *) "self",(char *) "id", NULL
16530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16533 arg2
= (int) SWIG_AsInt(obj1
);
16534 if (PyErr_Occurred()) SWIG_fail
;
16536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16537 result
= (bool)(arg1
)->GetToolState(arg2
);
16539 wxPyEndAllowThreads(__tstate
);
16540 if (PyErr_Occurred()) SWIG_fail
;
16542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16549 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16550 PyObject
*resultobj
;
16551 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16554 PyObject
* obj0
= 0 ;
16555 PyObject
* obj1
= 0 ;
16556 char *kwnames
[] = {
16557 (char *) "self",(char *) "id", NULL
16560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16563 arg2
= (int) SWIG_AsInt(obj1
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16567 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16569 wxPyEndAllowThreads(__tstate
);
16570 if (PyErr_Occurred()) SWIG_fail
;
16572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16579 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16580 PyObject
*resultobj
;
16581 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16583 wxString
*arg3
= 0 ;
16584 bool temp3
= False
;
16585 PyObject
* obj0
= 0 ;
16586 PyObject
* obj1
= 0 ;
16587 PyObject
* obj2
= 0 ;
16588 char *kwnames
[] = {
16589 (char *) "self",(char *) "id",(char *) "helpString", NULL
16592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16595 arg2
= (int) SWIG_AsInt(obj1
);
16596 if (PyErr_Occurred()) SWIG_fail
;
16598 arg3
= wxString_in_helper(obj2
);
16599 if (arg3
== NULL
) SWIG_fail
;
16603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16604 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16606 wxPyEndAllowThreads(__tstate
);
16607 if (PyErr_Occurred()) SWIG_fail
;
16609 Py_INCREF(Py_None
); resultobj
= Py_None
;
16624 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16625 PyObject
*resultobj
;
16626 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16629 PyObject
* obj0
= 0 ;
16630 PyObject
* obj1
= 0 ;
16631 char *kwnames
[] = {
16632 (char *) "self",(char *) "id", NULL
16635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16638 arg2
= (int) SWIG_AsInt(obj1
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16642 result
= (arg1
)->GetToolShortHelp(arg2
);
16644 wxPyEndAllowThreads(__tstate
);
16645 if (PyErr_Occurred()) SWIG_fail
;
16649 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16651 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16660 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16661 PyObject
*resultobj
;
16662 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16664 wxString
*arg3
= 0 ;
16665 bool temp3
= False
;
16666 PyObject
* obj0
= 0 ;
16667 PyObject
* obj1
= 0 ;
16668 PyObject
* obj2
= 0 ;
16669 char *kwnames
[] = {
16670 (char *) "self",(char *) "id",(char *) "helpString", NULL
16673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16676 arg2
= (int) SWIG_AsInt(obj1
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16679 arg3
= wxString_in_helper(obj2
);
16680 if (arg3
== NULL
) SWIG_fail
;
16684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16685 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16687 wxPyEndAllowThreads(__tstate
);
16688 if (PyErr_Occurred()) SWIG_fail
;
16690 Py_INCREF(Py_None
); resultobj
= Py_None
;
16705 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16706 PyObject
*resultobj
;
16707 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16710 PyObject
* obj0
= 0 ;
16711 PyObject
* obj1
= 0 ;
16712 char *kwnames
[] = {
16713 (char *) "self",(char *) "id", NULL
16716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16719 arg2
= (int) SWIG_AsInt(obj1
);
16720 if (PyErr_Occurred()) SWIG_fail
;
16722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16723 result
= (arg1
)->GetToolLongHelp(arg2
);
16725 wxPyEndAllowThreads(__tstate
);
16726 if (PyErr_Occurred()) SWIG_fail
;
16730 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16732 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16741 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16742 PyObject
*resultobj
;
16743 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16746 PyObject
* obj0
= 0 ;
16747 PyObject
* obj1
= 0 ;
16748 PyObject
* obj2
= 0 ;
16749 char *kwnames
[] = {
16750 (char *) "self",(char *) "x",(char *) "y", NULL
16753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16756 arg2
= (int) SWIG_AsInt(obj1
);
16757 if (PyErr_Occurred()) SWIG_fail
;
16758 arg3
= (int) SWIG_AsInt(obj2
);
16759 if (PyErr_Occurred()) SWIG_fail
;
16761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16762 (arg1
)->SetMargins(arg2
,arg3
);
16764 wxPyEndAllowThreads(__tstate
);
16765 if (PyErr_Occurred()) SWIG_fail
;
16767 Py_INCREF(Py_None
); resultobj
= Py_None
;
16774 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16775 PyObject
*resultobj
;
16776 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16779 PyObject
* obj0
= 0 ;
16780 PyObject
* obj1
= 0 ;
16781 char *kwnames
[] = {
16782 (char *) "self",(char *) "size", NULL
16785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16790 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16794 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16796 wxPyEndAllowThreads(__tstate
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16799 Py_INCREF(Py_None
); resultobj
= Py_None
;
16806 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16807 PyObject
*resultobj
;
16808 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16810 PyObject
* obj0
= 0 ;
16811 PyObject
* obj1
= 0 ;
16812 char *kwnames
[] = {
16813 (char *) "self",(char *) "packing", NULL
16816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16819 arg2
= (int) SWIG_AsInt(obj1
);
16820 if (PyErr_Occurred()) SWIG_fail
;
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 (arg1
)->SetToolPacking(arg2
);
16825 wxPyEndAllowThreads(__tstate
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16828 Py_INCREF(Py_None
); resultobj
= Py_None
;
16835 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16836 PyObject
*resultobj
;
16837 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16839 PyObject
* obj0
= 0 ;
16840 PyObject
* obj1
= 0 ;
16841 char *kwnames
[] = {
16842 (char *) "self",(char *) "separation", NULL
16845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
16846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16848 arg2
= (int) SWIG_AsInt(obj1
);
16849 if (PyErr_Occurred()) SWIG_fail
;
16851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16852 (arg1
)->SetToolSeparation(arg2
);
16854 wxPyEndAllowThreads(__tstate
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16857 Py_INCREF(Py_None
); resultobj
= Py_None
;
16864 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16865 PyObject
*resultobj
;
16866 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16868 PyObject
* obj0
= 0 ;
16869 char *kwnames
[] = {
16870 (char *) "self", NULL
16873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
16874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16878 result
= (arg1
)->GetToolMargins();
16880 wxPyEndAllowThreads(__tstate
);
16881 if (PyErr_Occurred()) SWIG_fail
;
16884 wxSize
* resultptr
;
16885 resultptr
= new wxSize((wxSize
&) result
);
16886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16894 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16895 PyObject
*resultobj
;
16896 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16898 PyObject
* obj0
= 0 ;
16899 char *kwnames
[] = {
16900 (char *) "self", NULL
16903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
16904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16908 result
= (arg1
)->GetMargins();
16910 wxPyEndAllowThreads(__tstate
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16914 wxSize
* resultptr
;
16915 resultptr
= new wxSize((wxSize
&) result
);
16916 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16924 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16925 PyObject
*resultobj
;
16926 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16928 PyObject
* obj0
= 0 ;
16929 char *kwnames
[] = {
16930 (char *) "self", NULL
16933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
16934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16938 result
= (int)(arg1
)->GetToolPacking();
16940 wxPyEndAllowThreads(__tstate
);
16941 if (PyErr_Occurred()) SWIG_fail
;
16943 resultobj
= SWIG_FromInt((int)result
);
16950 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16951 PyObject
*resultobj
;
16952 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16954 PyObject
* obj0
= 0 ;
16955 char *kwnames
[] = {
16956 (char *) "self", NULL
16959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
16960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16964 result
= (int)(arg1
)->GetToolSeparation();
16966 wxPyEndAllowThreads(__tstate
);
16967 if (PyErr_Occurred()) SWIG_fail
;
16969 resultobj
= SWIG_FromInt((int)result
);
16976 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16977 PyObject
*resultobj
;
16978 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16980 PyObject
* obj0
= 0 ;
16981 PyObject
* obj1
= 0 ;
16982 char *kwnames
[] = {
16983 (char *) "self",(char *) "nRows", NULL
16986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
16987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16989 arg2
= (int) SWIG_AsInt(obj1
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16993 (arg1
)->SetRows(arg2
);
16995 wxPyEndAllowThreads(__tstate
);
16996 if (PyErr_Occurred()) SWIG_fail
;
16998 Py_INCREF(Py_None
); resultobj
= Py_None
;
17005 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17006 PyObject
*resultobj
;
17007 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17010 PyObject
* obj0
= 0 ;
17011 PyObject
* obj1
= 0 ;
17012 PyObject
* obj2
= 0 ;
17013 char *kwnames
[] = {
17014 (char *) "self",(char *) "rows",(char *) "cols", NULL
17017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17020 arg2
= (int) SWIG_AsInt(obj1
);
17021 if (PyErr_Occurred()) SWIG_fail
;
17022 arg3
= (int) SWIG_AsInt(obj2
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17026 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17028 wxPyEndAllowThreads(__tstate
);
17029 if (PyErr_Occurred()) SWIG_fail
;
17031 Py_INCREF(Py_None
); resultobj
= Py_None
;
17038 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17039 PyObject
*resultobj
;
17040 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17042 PyObject
* obj0
= 0 ;
17043 char *kwnames
[] = {
17044 (char *) "self", NULL
17047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17052 result
= (int)(arg1
)->GetMaxRows();
17054 wxPyEndAllowThreads(__tstate
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17057 resultobj
= SWIG_FromInt((int)result
);
17064 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17065 PyObject
*resultobj
;
17066 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17068 PyObject
* obj0
= 0 ;
17069 char *kwnames
[] = {
17070 (char *) "self", NULL
17073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17078 result
= (int)(arg1
)->GetMaxCols();
17080 wxPyEndAllowThreads(__tstate
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17083 resultobj
= SWIG_FromInt((int)result
);
17090 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17091 PyObject
*resultobj
;
17092 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17095 PyObject
* obj0
= 0 ;
17096 PyObject
* obj1
= 0 ;
17097 char *kwnames
[] = {
17098 (char *) "self",(char *) "size", NULL
17101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17106 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17110 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17112 wxPyEndAllowThreads(__tstate
);
17113 if (PyErr_Occurred()) SWIG_fail
;
17115 Py_INCREF(Py_None
); resultobj
= Py_None
;
17122 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17123 PyObject
*resultobj
;
17124 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17126 PyObject
* obj0
= 0 ;
17127 char *kwnames
[] = {
17128 (char *) "self", NULL
17131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17136 result
= (arg1
)->GetToolBitmapSize();
17138 wxPyEndAllowThreads(__tstate
);
17139 if (PyErr_Occurred()) SWIG_fail
;
17142 wxSize
* resultptr
;
17143 resultptr
= new wxSize((wxSize
&) result
);
17144 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17152 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17153 PyObject
*resultobj
;
17154 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17156 PyObject
* obj0
= 0 ;
17157 char *kwnames
[] = {
17158 (char *) "self", NULL
17161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17166 result
= (arg1
)->GetToolSize();
17168 wxPyEndAllowThreads(__tstate
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17172 wxSize
* resultptr
;
17173 resultptr
= new wxSize((wxSize
&) result
);
17174 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17182 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17183 PyObject
*resultobj
;
17184 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17187 wxToolBarToolBase
*result
;
17188 PyObject
* obj0
= 0 ;
17189 PyObject
* obj1
= 0 ;
17190 PyObject
* obj2
= 0 ;
17191 char *kwnames
[] = {
17192 (char *) "self",(char *) "x",(char *) "y", NULL
17195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17198 arg2
= (int) SWIG_AsInt(obj1
);
17199 if (PyErr_Occurred()) SWIG_fail
;
17200 arg3
= (int) SWIG_AsInt(obj2
);
17201 if (PyErr_Occurred()) SWIG_fail
;
17203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17204 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17206 wxPyEndAllowThreads(__tstate
);
17207 if (PyErr_Occurred()) SWIG_fail
;
17210 resultobj
= wxPyMake_wxObject(result
);
17218 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17219 PyObject
*resultobj
;
17220 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17222 wxToolBarToolBase
*result
;
17223 PyObject
* obj0
= 0 ;
17224 PyObject
* obj1
= 0 ;
17225 char *kwnames
[] = {
17226 (char *) "self",(char *) "toolid", NULL
17229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17232 arg2
= (int) SWIG_AsInt(obj1
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17236 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17238 wxPyEndAllowThreads(__tstate
);
17239 if (PyErr_Occurred()) SWIG_fail
;
17242 resultobj
= wxPyMake_wxObject(result
);
17250 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17251 PyObject
*resultobj
;
17252 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17254 PyObject
* obj0
= 0 ;
17255 char *kwnames
[] = {
17256 (char *) "self", NULL
17259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17264 result
= (bool)(arg1
)->IsVertical();
17266 wxPyEndAllowThreads(__tstate
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17276 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
17278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17279 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17281 return Py_BuildValue((char *)"");
17283 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17284 PyObject
*resultobj
;
17285 wxWindow
*arg1
= (wxWindow
*) 0 ;
17287 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17288 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17289 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17290 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17291 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17292 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17293 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17297 bool temp6
= False
;
17298 PyObject
* obj0
= 0 ;
17299 PyObject
* obj1
= 0 ;
17300 PyObject
* obj2
= 0 ;
17301 PyObject
* obj3
= 0 ;
17302 PyObject
* obj4
= 0 ;
17303 PyObject
* obj5
= 0 ;
17304 char *kwnames
[] = {
17305 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17311 arg2
= (int) SWIG_AsInt(obj1
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17316 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17322 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17326 arg5
= (long) SWIG_AsLong(obj4
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17331 arg6
= wxString_in_helper(obj5
);
17332 if (arg6
== NULL
) SWIG_fail
;
17337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17338 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17340 wxPyEndAllowThreads(__tstate
);
17341 if (PyErr_Occurred()) SWIG_fail
;
17344 resultobj
= wxPyMake_wxObject(result
);
17360 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17361 PyObject
*resultobj
;
17363 char *kwnames
[] = {
17367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= (wxToolBar
*)new wxToolBar();
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= wxPyMake_wxObject(result
);
17384 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17385 PyObject
*resultobj
;
17386 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17387 wxWindow
*arg2
= (wxWindow
*) 0 ;
17389 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17390 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17391 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17392 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17393 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17394 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17395 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17399 bool temp7
= False
;
17400 PyObject
* obj0
= 0 ;
17401 PyObject
* obj1
= 0 ;
17402 PyObject
* obj2
= 0 ;
17403 PyObject
* obj3
= 0 ;
17404 PyObject
* obj4
= 0 ;
17405 PyObject
* obj5
= 0 ;
17406 PyObject
* obj6
= 0 ;
17407 char *kwnames
[] = {
17408 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17414 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17416 arg3
= (int) SWIG_AsInt(obj2
);
17417 if (PyErr_Occurred()) SWIG_fail
;
17421 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17427 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17431 arg6
= (long) SWIG_AsLong(obj5
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17436 arg7
= wxString_in_helper(obj6
);
17437 if (arg7
== NULL
) SWIG_fail
;
17442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17443 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17463 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17464 PyObject
*resultobj
;
17465 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17468 wxToolBarToolBase
*result
;
17469 PyObject
* obj0
= 0 ;
17470 PyObject
* obj1
= 0 ;
17471 PyObject
* obj2
= 0 ;
17472 char *kwnames
[] = {
17473 (char *) "self",(char *) "x",(char *) "y", NULL
17476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17479 arg2
= (int) SWIG_AsInt(obj1
);
17480 if (PyErr_Occurred()) SWIG_fail
;
17481 arg3
= (int) SWIG_AsInt(obj2
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17491 resultobj
= wxPyMake_wxObject(result
);
17499 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17502 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17504 return Py_BuildValue((char *)"");
17506 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
17507 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17512 static PyObject
*_wrap_ListCtrlNameStr_get() {
17517 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17519 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17526 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17527 PyObject
*resultobj
;
17528 wxColour
const &arg1_defvalue
= wxNullColour
;
17529 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17530 wxColour
const &arg2_defvalue
= wxNullColour
;
17531 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17532 wxFont
const &arg3_defvalue
= wxNullFont
;
17533 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17534 wxListItemAttr
*result
;
17537 PyObject
* obj0
= 0 ;
17538 PyObject
* obj1
= 0 ;
17539 PyObject
* obj2
= 0 ;
17540 char *kwnames
[] = {
17541 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17548 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17554 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17558 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
17559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17561 if (arg3
== NULL
) {
17562 PyErr_SetString(PyExc_TypeError
,"null reference");
17567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17568 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17570 wxPyEndAllowThreads(__tstate
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
17580 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17581 PyObject
*resultobj
;
17582 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17583 wxColour
*arg2
= 0 ;
17585 PyObject
* obj0
= 0 ;
17586 PyObject
* obj1
= 0 ;
17587 char *kwnames
[] = {
17588 (char *) "self",(char *) "colText", NULL
17591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17596 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17600 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17602 wxPyEndAllowThreads(__tstate
);
17603 if (PyErr_Occurred()) SWIG_fail
;
17605 Py_INCREF(Py_None
); resultobj
= Py_None
;
17612 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17613 PyObject
*resultobj
;
17614 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17615 wxColour
*arg2
= 0 ;
17617 PyObject
* obj0
= 0 ;
17618 PyObject
* obj1
= 0 ;
17619 char *kwnames
[] = {
17620 (char *) "self",(char *) "colBack", NULL
17623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17628 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17632 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17634 wxPyEndAllowThreads(__tstate
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17637 Py_INCREF(Py_None
); resultobj
= Py_None
;
17644 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17645 PyObject
*resultobj
;
17646 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17648 PyObject
* obj0
= 0 ;
17649 PyObject
* obj1
= 0 ;
17650 char *kwnames
[] = {
17651 (char *) "self",(char *) "font", NULL
17654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17658 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17660 if (arg2
== NULL
) {
17661 PyErr_SetString(PyExc_TypeError
,"null reference");
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 (arg1
)->SetFont((wxFont
const &)*arg2
);
17668 wxPyEndAllowThreads(__tstate
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17671 Py_INCREF(Py_None
); resultobj
= Py_None
;
17678 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17679 PyObject
*resultobj
;
17680 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17682 PyObject
* obj0
= 0 ;
17683 char *kwnames
[] = {
17684 (char *) "self", NULL
17687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17692 result
= (bool)(arg1
)->HasTextColour();
17694 wxPyEndAllowThreads(__tstate
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17704 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17705 PyObject
*resultobj
;
17706 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17708 PyObject
* obj0
= 0 ;
17709 char *kwnames
[] = {
17710 (char *) "self", NULL
17713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17718 result
= (bool)(arg1
)->HasBackgroundColour();
17720 wxPyEndAllowThreads(__tstate
);
17721 if (PyErr_Occurred()) SWIG_fail
;
17723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17730 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17731 PyObject
*resultobj
;
17732 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17734 PyObject
* obj0
= 0 ;
17735 char *kwnames
[] = {
17736 (char *) "self", NULL
17739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17744 result
= (bool)(arg1
)->HasFont();
17746 wxPyEndAllowThreads(__tstate
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17756 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17757 PyObject
*resultobj
;
17758 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17760 PyObject
* obj0
= 0 ;
17761 char *kwnames
[] = {
17762 (char *) "self", NULL
17765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17770 result
= (arg1
)->GetTextColour();
17772 wxPyEndAllowThreads(__tstate
);
17773 if (PyErr_Occurred()) SWIG_fail
;
17776 wxColour
* resultptr
;
17777 resultptr
= new wxColour((wxColour
&) result
);
17778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17786 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17787 PyObject
*resultobj
;
17788 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17790 PyObject
* obj0
= 0 ;
17791 char *kwnames
[] = {
17792 (char *) "self", NULL
17795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17800 result
= (arg1
)->GetBackgroundColour();
17802 wxPyEndAllowThreads(__tstate
);
17803 if (PyErr_Occurred()) SWIG_fail
;
17806 wxColour
* resultptr
;
17807 resultptr
= new wxColour((wxColour
&) result
);
17808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17816 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17817 PyObject
*resultobj
;
17818 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17820 PyObject
* obj0
= 0 ;
17821 char *kwnames
[] = {
17822 (char *) "self", NULL
17825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
17826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17830 result
= (arg1
)->GetFont();
17832 wxPyEndAllowThreads(__tstate
);
17833 if (PyErr_Occurred()) SWIG_fail
;
17836 wxFont
* resultptr
;
17837 resultptr
= new wxFont((wxFont
&) result
);
17838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
17846 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17847 PyObject
*resultobj
;
17848 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17849 PyObject
* obj0
= 0 ;
17850 char *kwnames
[] = {
17851 (char *) "self", NULL
17854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
17855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17859 wxListItemAttr_Destroy(arg1
);
17861 wxPyEndAllowThreads(__tstate
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17864 Py_INCREF(Py_None
); resultobj
= Py_None
;
17871 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
17873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17874 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
17876 return Py_BuildValue((char *)"");
17878 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17879 PyObject
*resultobj
;
17880 wxListItem
*result
;
17881 char *kwnames
[] = {
17885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
17887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17888 result
= (wxListItem
*)new wxListItem();
17890 wxPyEndAllowThreads(__tstate
);
17891 if (PyErr_Occurred()) SWIG_fail
;
17894 resultobj
= wxPyMake_wxObject(result
);
17902 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17903 PyObject
*resultobj
;
17904 wxListItem
*arg1
= (wxListItem
*) 0 ;
17905 PyObject
* obj0
= 0 ;
17906 char *kwnames
[] = {
17907 (char *) "self", NULL
17910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
17911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17920 Py_INCREF(Py_None
); resultobj
= Py_None
;
17927 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17928 PyObject
*resultobj
;
17929 wxListItem
*arg1
= (wxListItem
*) 0 ;
17930 PyObject
* obj0
= 0 ;
17931 char *kwnames
[] = {
17932 (char *) "self", NULL
17935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
17936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17942 wxPyEndAllowThreads(__tstate
);
17943 if (PyErr_Occurred()) SWIG_fail
;
17945 Py_INCREF(Py_None
); resultobj
= Py_None
;
17952 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17953 PyObject
*resultobj
;
17954 wxListItem
*arg1
= (wxListItem
*) 0 ;
17955 PyObject
* obj0
= 0 ;
17956 char *kwnames
[] = {
17957 (char *) "self", NULL
17960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
17961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 (arg1
)->ClearAttributes();
17967 wxPyEndAllowThreads(__tstate
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17970 Py_INCREF(Py_None
); resultobj
= Py_None
;
17977 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17978 PyObject
*resultobj
;
17979 wxListItem
*arg1
= (wxListItem
*) 0 ;
17981 PyObject
* obj0
= 0 ;
17982 PyObject
* obj1
= 0 ;
17983 char *kwnames
[] = {
17984 (char *) "self",(char *) "mask", NULL
17987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17990 arg2
= (long) SWIG_AsLong(obj1
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17994 (arg1
)->SetMask(arg2
);
17996 wxPyEndAllowThreads(__tstate
);
17997 if (PyErr_Occurred()) SWIG_fail
;
17999 Py_INCREF(Py_None
); resultobj
= Py_None
;
18006 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18007 PyObject
*resultobj
;
18008 wxListItem
*arg1
= (wxListItem
*) 0 ;
18010 PyObject
* obj0
= 0 ;
18011 PyObject
* obj1
= 0 ;
18012 char *kwnames
[] = {
18013 (char *) "self",(char *) "id", NULL
18016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
18017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18019 arg2
= (long) SWIG_AsLong(obj1
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 (arg1
)->SetId(arg2
);
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18028 Py_INCREF(Py_None
); resultobj
= Py_None
;
18035 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18036 PyObject
*resultobj
;
18037 wxListItem
*arg1
= (wxListItem
*) 0 ;
18039 PyObject
* obj0
= 0 ;
18040 PyObject
* obj1
= 0 ;
18041 char *kwnames
[] = {
18042 (char *) "self",(char *) "col", NULL
18045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
18046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18048 arg2
= (int) SWIG_AsInt(obj1
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18052 (arg1
)->SetColumn(arg2
);
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 Py_INCREF(Py_None
); resultobj
= Py_None
;
18064 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18065 PyObject
*resultobj
;
18066 wxListItem
*arg1
= (wxListItem
*) 0 ;
18068 PyObject
* obj0
= 0 ;
18069 PyObject
* obj1
= 0 ;
18070 char *kwnames
[] = {
18071 (char *) "self",(char *) "state", NULL
18074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18077 arg2
= (long) SWIG_AsLong(obj1
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18081 (arg1
)->SetState(arg2
);
18083 wxPyEndAllowThreads(__tstate
);
18084 if (PyErr_Occurred()) SWIG_fail
;
18086 Py_INCREF(Py_None
); resultobj
= Py_None
;
18093 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18094 PyObject
*resultobj
;
18095 wxListItem
*arg1
= (wxListItem
*) 0 ;
18097 PyObject
* obj0
= 0 ;
18098 PyObject
* obj1
= 0 ;
18099 char *kwnames
[] = {
18100 (char *) "self",(char *) "stateMask", NULL
18103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18106 arg2
= (long) SWIG_AsLong(obj1
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18110 (arg1
)->SetStateMask(arg2
);
18112 wxPyEndAllowThreads(__tstate
);
18113 if (PyErr_Occurred()) SWIG_fail
;
18115 Py_INCREF(Py_None
); resultobj
= Py_None
;
18122 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18123 PyObject
*resultobj
;
18124 wxListItem
*arg1
= (wxListItem
*) 0 ;
18125 wxString
*arg2
= 0 ;
18126 bool temp2
= False
;
18127 PyObject
* obj0
= 0 ;
18128 PyObject
* obj1
= 0 ;
18129 char *kwnames
[] = {
18130 (char *) "self",(char *) "text", NULL
18133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18137 arg2
= wxString_in_helper(obj1
);
18138 if (arg2
== NULL
) SWIG_fail
;
18142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18143 (arg1
)->SetText((wxString
const &)*arg2
);
18145 wxPyEndAllowThreads(__tstate
);
18146 if (PyErr_Occurred()) SWIG_fail
;
18148 Py_INCREF(Py_None
); resultobj
= Py_None
;
18163 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18164 PyObject
*resultobj
;
18165 wxListItem
*arg1
= (wxListItem
*) 0 ;
18167 PyObject
* obj0
= 0 ;
18168 PyObject
* obj1
= 0 ;
18169 char *kwnames
[] = {
18170 (char *) "self",(char *) "image", NULL
18173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18176 arg2
= (int) SWIG_AsInt(obj1
);
18177 if (PyErr_Occurred()) SWIG_fail
;
18179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18180 (arg1
)->SetImage(arg2
);
18182 wxPyEndAllowThreads(__tstate
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18185 Py_INCREF(Py_None
); resultobj
= Py_None
;
18192 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
;
18194 wxListItem
*arg1
= (wxListItem
*) 0 ;
18196 PyObject
* obj0
= 0 ;
18197 PyObject
* obj1
= 0 ;
18198 char *kwnames
[] = {
18199 (char *) "self",(char *) "data", NULL
18202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18205 arg2
= (long) SWIG_AsLong(obj1
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18209 (arg1
)->SetData(arg2
);
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18214 Py_INCREF(Py_None
); resultobj
= Py_None
;
18221 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18222 PyObject
*resultobj
;
18223 wxListItem
*arg1
= (wxListItem
*) 0 ;
18225 PyObject
* obj0
= 0 ;
18226 PyObject
* obj1
= 0 ;
18227 char *kwnames
[] = {
18228 (char *) "self",(char *) "width", NULL
18231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18234 arg2
= (int) SWIG_AsInt(obj1
);
18235 if (PyErr_Occurred()) SWIG_fail
;
18237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18238 (arg1
)->SetWidth(arg2
);
18240 wxPyEndAllowThreads(__tstate
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18243 Py_INCREF(Py_None
); resultobj
= Py_None
;
18250 static PyObject
*_wrap_ListItem_SetAlign(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 *) "align", NULL
18260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",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
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
18264 if (PyErr_Occurred()) SWIG_fail
;
18266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18267 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18269 wxPyEndAllowThreads(__tstate
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18272 Py_INCREF(Py_None
); resultobj
= Py_None
;
18279 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18280 PyObject
*resultobj
;
18281 wxListItem
*arg1
= (wxListItem
*) 0 ;
18282 wxColour
*arg2
= 0 ;
18284 PyObject
* obj0
= 0 ;
18285 PyObject
* obj1
= 0 ;
18286 char *kwnames
[] = {
18287 (char *) "self",(char *) "colText", NULL
18290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18295 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18299 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18301 wxPyEndAllowThreads(__tstate
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18304 Py_INCREF(Py_None
); resultobj
= Py_None
;
18311 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18312 PyObject
*resultobj
;
18313 wxListItem
*arg1
= (wxListItem
*) 0 ;
18314 wxColour
*arg2
= 0 ;
18316 PyObject
* obj0
= 0 ;
18317 PyObject
* obj1
= 0 ;
18318 char *kwnames
[] = {
18319 (char *) "self",(char *) "colBack", NULL
18322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18327 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18331 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18333 wxPyEndAllowThreads(__tstate
);
18334 if (PyErr_Occurred()) SWIG_fail
;
18336 Py_INCREF(Py_None
); resultobj
= Py_None
;
18343 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18344 PyObject
*resultobj
;
18345 wxListItem
*arg1
= (wxListItem
*) 0 ;
18347 PyObject
* obj0
= 0 ;
18348 PyObject
* obj1
= 0 ;
18349 char *kwnames
[] = {
18350 (char *) "self",(char *) "font", NULL
18353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18357 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18359 if (arg2
== NULL
) {
18360 PyErr_SetString(PyExc_TypeError
,"null reference");
18364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18365 (arg1
)->SetFont((wxFont
const &)*arg2
);
18367 wxPyEndAllowThreads(__tstate
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18370 Py_INCREF(Py_None
); resultobj
= Py_None
;
18377 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18378 PyObject
*resultobj
;
18379 wxListItem
*arg1
= (wxListItem
*) 0 ;
18381 PyObject
* obj0
= 0 ;
18382 char *kwnames
[] = {
18383 (char *) "self", NULL
18386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 result
= (long)(arg1
)->GetMask();
18393 wxPyEndAllowThreads(__tstate
);
18394 if (PyErr_Occurred()) SWIG_fail
;
18396 resultobj
= SWIG_FromLong((long)result
);
18403 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18404 PyObject
*resultobj
;
18405 wxListItem
*arg1
= (wxListItem
*) 0 ;
18407 PyObject
* obj0
= 0 ;
18408 char *kwnames
[] = {
18409 (char *) "self", NULL
18412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18417 result
= (long)(arg1
)->GetId();
18419 wxPyEndAllowThreads(__tstate
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18422 resultobj
= SWIG_FromLong((long)result
);
18429 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18430 PyObject
*resultobj
;
18431 wxListItem
*arg1
= (wxListItem
*) 0 ;
18433 PyObject
* obj0
= 0 ;
18434 char *kwnames
[] = {
18435 (char *) "self", NULL
18438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18443 result
= (int)(arg1
)->GetColumn();
18445 wxPyEndAllowThreads(__tstate
);
18446 if (PyErr_Occurred()) SWIG_fail
;
18448 resultobj
= SWIG_FromInt((int)result
);
18455 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18456 PyObject
*resultobj
;
18457 wxListItem
*arg1
= (wxListItem
*) 0 ;
18459 PyObject
* obj0
= 0 ;
18460 char *kwnames
[] = {
18461 (char *) "self", NULL
18464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 result
= (long)(arg1
)->GetState();
18471 wxPyEndAllowThreads(__tstate
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18474 resultobj
= SWIG_FromLong((long)result
);
18481 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18482 PyObject
*resultobj
;
18483 wxListItem
*arg1
= (wxListItem
*) 0 ;
18485 PyObject
* obj0
= 0 ;
18486 char *kwnames
[] = {
18487 (char *) "self", NULL
18490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 wxString
const &_result_ref
= (arg1
)->GetText();
18497 result
= (wxString
*) &_result_ref
;
18500 wxPyEndAllowThreads(__tstate
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18505 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18507 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18516 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18517 PyObject
*resultobj
;
18518 wxListItem
*arg1
= (wxListItem
*) 0 ;
18520 PyObject
* obj0
= 0 ;
18521 char *kwnames
[] = {
18522 (char *) "self", NULL
18525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18530 result
= (int)(arg1
)->GetImage();
18532 wxPyEndAllowThreads(__tstate
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18535 resultobj
= SWIG_FromInt((int)result
);
18542 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18543 PyObject
*resultobj
;
18544 wxListItem
*arg1
= (wxListItem
*) 0 ;
18546 PyObject
* obj0
= 0 ;
18547 char *kwnames
[] = {
18548 (char *) "self", NULL
18551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18556 result
= (long)(arg1
)->GetData();
18558 wxPyEndAllowThreads(__tstate
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18561 resultobj
= SWIG_FromLong((long)result
);
18568 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18569 PyObject
*resultobj
;
18570 wxListItem
*arg1
= (wxListItem
*) 0 ;
18572 PyObject
* obj0
= 0 ;
18573 char *kwnames
[] = {
18574 (char *) "self", NULL
18577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18582 result
= (int)(arg1
)->GetWidth();
18584 wxPyEndAllowThreads(__tstate
);
18585 if (PyErr_Occurred()) SWIG_fail
;
18587 resultobj
= SWIG_FromInt((int)result
);
18594 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18595 PyObject
*resultobj
;
18596 wxListItem
*arg1
= (wxListItem
*) 0 ;
18598 PyObject
* obj0
= 0 ;
18599 char *kwnames
[] = {
18600 (char *) "self", NULL
18603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18608 result
= (int)(arg1
)->GetAlign();
18610 wxPyEndAllowThreads(__tstate
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18613 resultobj
= SWIG_FromInt((int)result
);
18620 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18621 PyObject
*resultobj
;
18622 wxListItem
*arg1
= (wxListItem
*) 0 ;
18623 wxListItemAttr
*result
;
18624 PyObject
* obj0
= 0 ;
18625 char *kwnames
[] = {
18626 (char *) "self", NULL
18629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18634 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18636 wxPyEndAllowThreads(__tstate
);
18637 if (PyErr_Occurred()) SWIG_fail
;
18639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
18646 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18647 PyObject
*resultobj
;
18648 wxListItem
*arg1
= (wxListItem
*) 0 ;
18650 PyObject
* obj0
= 0 ;
18651 char *kwnames
[] = {
18652 (char *) "self", NULL
18655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18660 result
= (bool)(arg1
)->HasAttributes();
18662 wxPyEndAllowThreads(__tstate
);
18663 if (PyErr_Occurred()) SWIG_fail
;
18665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18672 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18673 PyObject
*resultobj
;
18674 wxListItem
*arg1
= (wxListItem
*) 0 ;
18676 PyObject
* obj0
= 0 ;
18677 char *kwnames
[] = {
18678 (char *) "self", NULL
18681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18688 wxPyEndAllowThreads(__tstate
);
18689 if (PyErr_Occurred()) SWIG_fail
;
18692 wxColour
* resultptr
;
18693 resultptr
= new wxColour((wxColour
&) result
);
18694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18702 static PyObject
*_wrap_ListItem_GetBackgroundColour(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_GetBackgroundColour",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
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18718 wxPyEndAllowThreads(__tstate
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18722 wxColour
* resultptr
;
18723 resultptr
= new wxColour((wxColour
&) result
);
18724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18732 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
;
18734 wxListItem
*arg1
= (wxListItem
*) 0 ;
18736 PyObject
* obj0
= 0 ;
18737 char *kwnames
[] = {
18738 (char *) "self", NULL
18741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18746 result
= ((wxListItem
const *)arg1
)->GetFont();
18748 wxPyEndAllowThreads(__tstate
);
18749 if (PyErr_Occurred()) SWIG_fail
;
18752 wxFont
* resultptr
;
18753 resultptr
= new wxFont((wxFont
&) result
);
18754 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18762 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18763 PyObject
*resultobj
;
18764 wxListItem
*arg1
= (wxListItem
*) 0 ;
18766 PyObject
* obj0
= 0 ;
18767 PyObject
* obj1
= 0 ;
18768 char *kwnames
[] = {
18769 (char *) "self",(char *) "m_mask", NULL
18772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18775 arg2
= (long) SWIG_AsLong(obj1
);
18776 if (PyErr_Occurred()) SWIG_fail
;
18777 if (arg1
) (arg1
)->m_mask
= arg2
;
18779 Py_INCREF(Py_None
); resultobj
= Py_None
;
18786 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18787 PyObject
*resultobj
;
18788 wxListItem
*arg1
= (wxListItem
*) 0 ;
18790 PyObject
* obj0
= 0 ;
18791 char *kwnames
[] = {
18792 (char *) "self", NULL
18795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18798 result
= (long) ((arg1
)->m_mask
);
18800 resultobj
= SWIG_FromLong((long)result
);
18807 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18808 PyObject
*resultobj
;
18809 wxListItem
*arg1
= (wxListItem
*) 0 ;
18811 PyObject
* obj0
= 0 ;
18812 PyObject
* obj1
= 0 ;
18813 char *kwnames
[] = {
18814 (char *) "self",(char *) "m_itemId", NULL
18817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18820 arg2
= (long) SWIG_AsLong(obj1
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18822 if (arg1
) (arg1
)->m_itemId
= arg2
;
18824 Py_INCREF(Py_None
); resultobj
= Py_None
;
18831 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
;
18833 wxListItem
*arg1
= (wxListItem
*) 0 ;
18835 PyObject
* obj0
= 0 ;
18836 char *kwnames
[] = {
18837 (char *) "self", NULL
18840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
18841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18843 result
= (long) ((arg1
)->m_itemId
);
18845 resultobj
= SWIG_FromLong((long)result
);
18852 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18853 PyObject
*resultobj
;
18854 wxListItem
*arg1
= (wxListItem
*) 0 ;
18856 PyObject
* obj0
= 0 ;
18857 PyObject
* obj1
= 0 ;
18858 char *kwnames
[] = {
18859 (char *) "self",(char *) "m_col", NULL
18862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18865 arg2
= (int) SWIG_AsInt(obj1
);
18866 if (PyErr_Occurred()) SWIG_fail
;
18867 if (arg1
) (arg1
)->m_col
= arg2
;
18869 Py_INCREF(Py_None
); resultobj
= Py_None
;
18876 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18877 PyObject
*resultobj
;
18878 wxListItem
*arg1
= (wxListItem
*) 0 ;
18880 PyObject
* obj0
= 0 ;
18881 char *kwnames
[] = {
18882 (char *) "self", NULL
18885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
18886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18888 result
= (int) ((arg1
)->m_col
);
18890 resultobj
= SWIG_FromInt((int)result
);
18897 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18898 PyObject
*resultobj
;
18899 wxListItem
*arg1
= (wxListItem
*) 0 ;
18901 PyObject
* obj0
= 0 ;
18902 PyObject
* obj1
= 0 ;
18903 char *kwnames
[] = {
18904 (char *) "self",(char *) "m_state", NULL
18907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18910 arg2
= (long) SWIG_AsLong(obj1
);
18911 if (PyErr_Occurred()) SWIG_fail
;
18912 if (arg1
) (arg1
)->m_state
= arg2
;
18914 Py_INCREF(Py_None
); resultobj
= Py_None
;
18921 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18922 PyObject
*resultobj
;
18923 wxListItem
*arg1
= (wxListItem
*) 0 ;
18925 PyObject
* obj0
= 0 ;
18926 char *kwnames
[] = {
18927 (char *) "self", NULL
18930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
18931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18933 result
= (long) ((arg1
)->m_state
);
18935 resultobj
= SWIG_FromLong((long)result
);
18942 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18943 PyObject
*resultobj
;
18944 wxListItem
*arg1
= (wxListItem
*) 0 ;
18946 PyObject
* obj0
= 0 ;
18947 PyObject
* obj1
= 0 ;
18948 char *kwnames
[] = {
18949 (char *) "self",(char *) "m_stateMask", NULL
18952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18955 arg2
= (long) SWIG_AsLong(obj1
);
18956 if (PyErr_Occurred()) SWIG_fail
;
18957 if (arg1
) (arg1
)->m_stateMask
= arg2
;
18959 Py_INCREF(Py_None
); resultobj
= Py_None
;
18966 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18967 PyObject
*resultobj
;
18968 wxListItem
*arg1
= (wxListItem
*) 0 ;
18970 PyObject
* obj0
= 0 ;
18971 char *kwnames
[] = {
18972 (char *) "self", NULL
18975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
18976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18978 result
= (long) ((arg1
)->m_stateMask
);
18980 resultobj
= SWIG_FromLong((long)result
);
18987 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18988 PyObject
*resultobj
;
18989 wxListItem
*arg1
= (wxListItem
*) 0 ;
18990 wxString
*arg2
= (wxString
*) 0 ;
18991 bool temp2
= False
;
18992 PyObject
* obj0
= 0 ;
18993 PyObject
* obj1
= 0 ;
18994 char *kwnames
[] = {
18995 (char *) "self",(char *) "m_text", NULL
18998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19002 arg2
= wxString_in_helper(obj1
);
19003 if (arg2
== NULL
) SWIG_fail
;
19006 if (arg1
) (arg1
)->m_text
= *arg2
;
19008 Py_INCREF(Py_None
); resultobj
= Py_None
;
19023 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19024 PyObject
*resultobj
;
19025 wxListItem
*arg1
= (wxListItem
*) 0 ;
19027 PyObject
* obj0
= 0 ;
19028 char *kwnames
[] = {
19029 (char *) "self", NULL
19032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
19033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19035 result
= (wxString
*)& ((arg1
)->m_text
);
19039 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19041 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19050 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19051 PyObject
*resultobj
;
19052 wxListItem
*arg1
= (wxListItem
*) 0 ;
19054 PyObject
* obj0
= 0 ;
19055 PyObject
* obj1
= 0 ;
19056 char *kwnames
[] = {
19057 (char *) "self",(char *) "m_image", NULL
19060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19063 arg2
= (int) SWIG_AsInt(obj1
);
19064 if (PyErr_Occurred()) SWIG_fail
;
19065 if (arg1
) (arg1
)->m_image
= arg2
;
19067 Py_INCREF(Py_None
); resultobj
= Py_None
;
19074 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19075 PyObject
*resultobj
;
19076 wxListItem
*arg1
= (wxListItem
*) 0 ;
19078 PyObject
* obj0
= 0 ;
19079 char *kwnames
[] = {
19080 (char *) "self", NULL
19083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19086 result
= (int) ((arg1
)->m_image
);
19088 resultobj
= SWIG_FromInt((int)result
);
19095 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19096 PyObject
*resultobj
;
19097 wxListItem
*arg1
= (wxListItem
*) 0 ;
19099 PyObject
* obj0
= 0 ;
19100 PyObject
* obj1
= 0 ;
19101 char *kwnames
[] = {
19102 (char *) "self",(char *) "m_data", NULL
19105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19108 arg2
= (long) SWIG_AsLong(obj1
);
19109 if (PyErr_Occurred()) SWIG_fail
;
19110 if (arg1
) (arg1
)->m_data
= arg2
;
19112 Py_INCREF(Py_None
); resultobj
= Py_None
;
19119 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19120 PyObject
*resultobj
;
19121 wxListItem
*arg1
= (wxListItem
*) 0 ;
19123 PyObject
* obj0
= 0 ;
19124 char *kwnames
[] = {
19125 (char *) "self", NULL
19128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
19129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19131 result
= (long) ((arg1
)->m_data
);
19133 resultobj
= SWIG_FromLong((long)result
);
19140 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19141 PyObject
*resultobj
;
19142 wxListItem
*arg1
= (wxListItem
*) 0 ;
19144 PyObject
* obj0
= 0 ;
19145 PyObject
* obj1
= 0 ;
19146 char *kwnames
[] = {
19147 (char *) "self",(char *) "m_format", NULL
19150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19153 arg2
= (int) SWIG_AsInt(obj1
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19155 if (arg1
) (arg1
)->m_format
= arg2
;
19157 Py_INCREF(Py_None
); resultobj
= Py_None
;
19164 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19165 PyObject
*resultobj
;
19166 wxListItem
*arg1
= (wxListItem
*) 0 ;
19168 PyObject
* obj0
= 0 ;
19169 char *kwnames
[] = {
19170 (char *) "self", NULL
19173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19176 result
= (int) ((arg1
)->m_format
);
19178 resultobj
= SWIG_FromInt((int)result
);
19185 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
;
19187 wxListItem
*arg1
= (wxListItem
*) 0 ;
19189 PyObject
* obj0
= 0 ;
19190 PyObject
* obj1
= 0 ;
19191 char *kwnames
[] = {
19192 (char *) "self",(char *) "m_width", NULL
19195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19198 arg2
= (int) SWIG_AsInt(obj1
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19200 if (arg1
) (arg1
)->m_width
= arg2
;
19202 Py_INCREF(Py_None
); resultobj
= Py_None
;
19209 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19210 PyObject
*resultobj
;
19211 wxListItem
*arg1
= (wxListItem
*) 0 ;
19213 PyObject
* obj0
= 0 ;
19214 char *kwnames
[] = {
19215 (char *) "self", NULL
19218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19221 result
= (int) ((arg1
)->m_width
);
19223 resultobj
= SWIG_FromInt((int)result
);
19230 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
19232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19233 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19235 return Py_BuildValue((char *)"");
19237 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19238 PyObject
*resultobj
;
19239 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19240 int arg2
= (int) 0 ;
19241 wxListEvent
*result
;
19242 PyObject
* obj0
= 0 ;
19243 PyObject
* obj1
= 0 ;
19244 char *kwnames
[] = {
19245 (char *) "commandType",(char *) "id", NULL
19248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19250 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19251 if (PyErr_Occurred()) SWIG_fail
;
19254 arg2
= (int) SWIG_AsInt(obj1
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19259 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19261 wxPyEndAllowThreads(__tstate
);
19262 if (PyErr_Occurred()) SWIG_fail
;
19264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
19271 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19272 PyObject
*resultobj
;
19273 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19275 PyObject
* obj0
= 0 ;
19276 PyObject
* obj1
= 0 ;
19277 char *kwnames
[] = {
19278 (char *) "self",(char *) "m_code", NULL
19281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19284 arg2
= (int) SWIG_AsInt(obj1
);
19285 if (PyErr_Occurred()) SWIG_fail
;
19286 if (arg1
) (arg1
)->m_code
= arg2
;
19288 Py_INCREF(Py_None
); resultobj
= Py_None
;
19295 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19296 PyObject
*resultobj
;
19297 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19299 PyObject
* obj0
= 0 ;
19300 char *kwnames
[] = {
19301 (char *) "self", NULL
19304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19307 result
= (int) ((arg1
)->m_code
);
19309 resultobj
= SWIG_FromInt((int)result
);
19316 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19317 PyObject
*resultobj
;
19318 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19320 PyObject
* obj0
= 0 ;
19321 PyObject
* obj1
= 0 ;
19322 char *kwnames
[] = {
19323 (char *) "self",(char *) "m_oldItemIndex", NULL
19326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19329 arg2
= (long) SWIG_AsLong(obj1
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19331 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19333 Py_INCREF(Py_None
); resultobj
= Py_None
;
19340 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19341 PyObject
*resultobj
;
19342 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19344 PyObject
* obj0
= 0 ;
19345 char *kwnames
[] = {
19346 (char *) "self", NULL
19349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19352 result
= (long) ((arg1
)->m_oldItemIndex
);
19354 resultobj
= SWIG_FromLong((long)result
);
19361 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19362 PyObject
*resultobj
;
19363 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19365 PyObject
* obj0
= 0 ;
19366 PyObject
* obj1
= 0 ;
19367 char *kwnames
[] = {
19368 (char *) "self",(char *) "m_itemIndex", NULL
19371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19374 arg2
= (long) SWIG_AsLong(obj1
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19376 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19378 Py_INCREF(Py_None
); resultobj
= Py_None
;
19385 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19386 PyObject
*resultobj
;
19387 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19389 PyObject
* obj0
= 0 ;
19390 char *kwnames
[] = {
19391 (char *) "self", NULL
19394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19397 result
= (long) ((arg1
)->m_itemIndex
);
19399 resultobj
= SWIG_FromLong((long)result
);
19406 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19407 PyObject
*resultobj
;
19408 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19410 PyObject
* obj0
= 0 ;
19411 PyObject
* obj1
= 0 ;
19412 char *kwnames
[] = {
19413 (char *) "self",(char *) "m_col", NULL
19416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19419 arg2
= (int) SWIG_AsInt(obj1
);
19420 if (PyErr_Occurred()) SWIG_fail
;
19421 if (arg1
) (arg1
)->m_col
= arg2
;
19423 Py_INCREF(Py_None
); resultobj
= Py_None
;
19430 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19431 PyObject
*resultobj
;
19432 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19434 PyObject
* obj0
= 0 ;
19435 char *kwnames
[] = {
19436 (char *) "self", NULL
19439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19442 result
= (int) ((arg1
)->m_col
);
19444 resultobj
= SWIG_FromInt((int)result
);
19451 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19452 PyObject
*resultobj
;
19453 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19454 wxPoint
*arg2
= (wxPoint
*) 0 ;
19455 PyObject
* obj0
= 0 ;
19456 PyObject
* obj1
= 0 ;
19457 char *kwnames
[] = {
19458 (char *) "self",(char *) "m_pointDrag", NULL
19461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
19465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19466 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19468 Py_INCREF(Py_None
); resultobj
= Py_None
;
19475 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19476 PyObject
*resultobj
;
19477 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19479 PyObject
* obj0
= 0 ;
19480 char *kwnames
[] = {
19481 (char *) "self", NULL
19484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19487 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19496 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19497 PyObject
*resultobj
;
19498 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19499 wxListItem
*result
;
19500 PyObject
* obj0
= 0 ;
19501 char *kwnames
[] = {
19502 (char *) "self", NULL
19505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19508 result
= (wxListItem
*)& ((arg1
)->m_item
);
19511 resultobj
= wxPyMake_wxObject(result
);
19519 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19520 PyObject
*resultobj
;
19521 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19523 PyObject
* obj0
= 0 ;
19524 char *kwnames
[] = {
19525 (char *) "self", NULL
19528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19533 result
= (int)(arg1
)->GetKeyCode();
19535 wxPyEndAllowThreads(__tstate
);
19536 if (PyErr_Occurred()) SWIG_fail
;
19538 resultobj
= SWIG_FromInt((int)result
);
19545 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19546 PyObject
*resultobj
;
19547 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19549 PyObject
* obj0
= 0 ;
19550 char *kwnames
[] = {
19551 (char *) "self", NULL
19554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19559 result
= (long)(arg1
)->GetIndex();
19561 wxPyEndAllowThreads(__tstate
);
19562 if (PyErr_Occurred()) SWIG_fail
;
19564 resultobj
= SWIG_FromLong((long)result
);
19571 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19572 PyObject
*resultobj
;
19573 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19575 PyObject
* obj0
= 0 ;
19576 char *kwnames
[] = {
19577 (char *) "self", NULL
19580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19585 result
= (int)(arg1
)->GetColumn();
19587 wxPyEndAllowThreads(__tstate
);
19588 if (PyErr_Occurred()) SWIG_fail
;
19590 resultobj
= SWIG_FromInt((int)result
);
19597 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19598 PyObject
*resultobj
;
19599 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19601 PyObject
* obj0
= 0 ;
19602 char *kwnames
[] = {
19603 (char *) "self", NULL
19606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19611 result
= (arg1
)->GetPoint();
19613 wxPyEndAllowThreads(__tstate
);
19614 if (PyErr_Occurred()) SWIG_fail
;
19617 wxPoint
* resultptr
;
19618 resultptr
= new wxPoint((wxPoint
&) result
);
19619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19627 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19628 PyObject
*resultobj
;
19629 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19631 PyObject
* obj0
= 0 ;
19632 char *kwnames
[] = {
19633 (char *) "self", NULL
19636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19642 wxString
const &_result_ref
= (arg1
)->GetLabel();
19643 result
= (wxString
*) &_result_ref
;
19646 wxPyEndAllowThreads(__tstate
);
19647 if (PyErr_Occurred()) SWIG_fail
;
19651 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19653 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19662 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19663 PyObject
*resultobj
;
19664 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19666 PyObject
* obj0
= 0 ;
19667 char *kwnames
[] = {
19668 (char *) "self", NULL
19671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19677 wxString
const &_result_ref
= (arg1
)->GetText();
19678 result
= (wxString
*) &_result_ref
;
19681 wxPyEndAllowThreads(__tstate
);
19682 if (PyErr_Occurred()) SWIG_fail
;
19686 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19688 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19697 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19698 PyObject
*resultobj
;
19699 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19701 PyObject
* obj0
= 0 ;
19702 char *kwnames
[] = {
19703 (char *) "self", NULL
19706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 result
= (int)(arg1
)->GetImage();
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19716 resultobj
= SWIG_FromInt((int)result
);
19723 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19724 PyObject
*resultobj
;
19725 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19727 PyObject
* obj0
= 0 ;
19728 char *kwnames
[] = {
19729 (char *) "self", NULL
19732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19737 result
= (long)(arg1
)->GetData();
19739 wxPyEndAllowThreads(__tstate
);
19740 if (PyErr_Occurred()) SWIG_fail
;
19742 resultobj
= SWIG_FromLong((long)result
);
19749 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19750 PyObject
*resultobj
;
19751 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19753 PyObject
* obj0
= 0 ;
19754 char *kwnames
[] = {
19755 (char *) "self", NULL
19758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19763 result
= (long)(arg1
)->GetMask();
19765 wxPyEndAllowThreads(__tstate
);
19766 if (PyErr_Occurred()) SWIG_fail
;
19768 resultobj
= SWIG_FromLong((long)result
);
19775 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19776 PyObject
*resultobj
;
19777 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19778 wxListItem
*result
;
19779 PyObject
* obj0
= 0 ;
19780 char *kwnames
[] = {
19781 (char *) "self", NULL
19784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19790 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19791 result
= (wxListItem
*) &_result_ref
;
19794 wxPyEndAllowThreads(__tstate
);
19795 if (PyErr_Occurred()) SWIG_fail
;
19797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
19804 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19805 PyObject
*resultobj
;
19806 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19808 PyObject
* obj0
= 0 ;
19809 char *kwnames
[] = {
19810 (char *) "self", NULL
19813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19818 result
= (long)(arg1
)->GetCacheFrom();
19820 wxPyEndAllowThreads(__tstate
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19823 resultobj
= SWIG_FromLong((long)result
);
19830 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
;
19832 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19834 PyObject
* obj0
= 0 ;
19835 char *kwnames
[] = {
19836 (char *) "self", NULL
19839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
19840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19844 result
= (long)(arg1
)->GetCacheTo();
19846 wxPyEndAllowThreads(__tstate
);
19847 if (PyErr_Occurred()) SWIG_fail
;
19849 resultobj
= SWIG_FromLong((long)result
);
19856 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19857 PyObject
*resultobj
;
19858 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19860 PyObject
* obj0
= 0 ;
19861 char *kwnames
[] = {
19862 (char *) "self", NULL
19865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
19866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19870 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
19872 wxPyEndAllowThreads(__tstate
);
19873 if (PyErr_Occurred()) SWIG_fail
;
19875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19882 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19883 PyObject
*resultobj
;
19884 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19886 PyObject
* obj0
= 0 ;
19887 PyObject
* obj1
= 0 ;
19888 char *kwnames
[] = {
19889 (char *) "self",(char *) "editCancelled", NULL
19892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
19893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19895 arg2
= (bool) SWIG_AsBool(obj1
);
19896 if (PyErr_Occurred()) SWIG_fail
;
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 (arg1
)->SetEditCanceled(arg2
);
19901 wxPyEndAllowThreads(__tstate
);
19902 if (PyErr_Occurred()) SWIG_fail
;
19904 Py_INCREF(Py_None
); resultobj
= Py_None
;
19911 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19914 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
19916 return Py_BuildValue((char *)"");
19918 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19919 PyObject
*resultobj
;
19920 wxWindow
*arg1
= (wxWindow
*) 0 ;
19921 int arg2
= (int) -1 ;
19922 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19923 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19924 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19925 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19926 long arg5
= (long) wxLC_ICON
;
19927 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19928 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19929 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19930 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19931 wxPyListCtrl
*result
;
19934 bool temp7
= False
;
19935 PyObject
* obj0
= 0 ;
19936 PyObject
* obj1
= 0 ;
19937 PyObject
* obj2
= 0 ;
19938 PyObject
* obj3
= 0 ;
19939 PyObject
* obj4
= 0 ;
19940 PyObject
* obj5
= 0 ;
19941 PyObject
* obj6
= 0 ;
19942 char *kwnames
[] = {
19943 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19950 arg2
= (int) SWIG_AsInt(obj1
);
19951 if (PyErr_Occurred()) SWIG_fail
;
19956 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19962 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19966 arg5
= (long) SWIG_AsLong(obj4
);
19967 if (PyErr_Occurred()) SWIG_fail
;
19970 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
19971 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19973 if (arg6
== NULL
) {
19974 PyErr_SetString(PyExc_TypeError
,"null reference");
19980 arg7
= wxString_in_helper(obj6
);
19981 if (arg7
== NULL
) SWIG_fail
;
19986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19987 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19989 wxPyEndAllowThreads(__tstate
);
19990 if (PyErr_Occurred()) SWIG_fail
;
19992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20007 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20008 PyObject
*resultobj
;
20009 wxPyListCtrl
*result
;
20010 char *kwnames
[] = {
20014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
20016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20017 result
= (wxPyListCtrl
*)new wxPyListCtrl();
20019 wxPyEndAllowThreads(__tstate
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20029 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20030 PyObject
*resultobj
;
20031 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20032 wxWindow
*arg2
= (wxWindow
*) 0 ;
20033 int arg3
= (int) -1 ;
20034 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20035 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20036 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20037 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20038 long arg6
= (long) wxLC_ICON
;
20039 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20040 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20041 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20042 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20046 bool temp8
= False
;
20047 PyObject
* obj0
= 0 ;
20048 PyObject
* obj1
= 0 ;
20049 PyObject
* obj2
= 0 ;
20050 PyObject
* obj3
= 0 ;
20051 PyObject
* obj4
= 0 ;
20052 PyObject
* obj5
= 0 ;
20053 PyObject
* obj6
= 0 ;
20054 PyObject
* obj7
= 0 ;
20055 char *kwnames
[] = {
20056 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20062 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20065 arg3
= (int) SWIG_AsInt(obj2
);
20066 if (PyErr_Occurred()) SWIG_fail
;
20071 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20077 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20081 arg6
= (long) SWIG_AsLong(obj5
);
20082 if (PyErr_Occurred()) SWIG_fail
;
20085 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
20086 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20088 if (arg7
== NULL
) {
20089 PyErr_SetString(PyExc_TypeError
,"null reference");
20095 arg8
= wxString_in_helper(obj7
);
20096 if (arg8
== NULL
) SWIG_fail
;
20101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20102 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20104 wxPyEndAllowThreads(__tstate
);
20105 if (PyErr_Occurred()) SWIG_fail
;
20107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20122 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20123 PyObject
*resultobj
;
20124 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20125 PyObject
*arg2
= (PyObject
*) 0 ;
20126 PyObject
*arg3
= (PyObject
*) 0 ;
20127 PyObject
* obj0
= 0 ;
20128 PyObject
* obj1
= 0 ;
20129 PyObject
* obj2
= 0 ;
20130 char *kwnames
[] = {
20131 (char *) "self",(char *) "self",(char *) "_class", NULL
20134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20141 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20143 wxPyEndAllowThreads(__tstate
);
20144 if (PyErr_Occurred()) SWIG_fail
;
20146 Py_INCREF(Py_None
); resultobj
= Py_None
;
20153 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20154 PyObject
*resultobj
;
20155 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20156 wxColour
*arg2
= 0 ;
20159 PyObject
* obj0
= 0 ;
20160 PyObject
* obj1
= 0 ;
20161 char *kwnames
[] = {
20162 (char *) "self",(char *) "col", NULL
20165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20170 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20174 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20176 wxPyEndAllowThreads(__tstate
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20186 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20187 PyObject
*resultobj
;
20188 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20189 wxColour
*arg2
= 0 ;
20192 PyObject
* obj0
= 0 ;
20193 PyObject
* obj1
= 0 ;
20194 char *kwnames
[] = {
20195 (char *) "self",(char *) "col", NULL
20198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20203 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20207 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20209 wxPyEndAllowThreads(__tstate
);
20210 if (PyErr_Occurred()) SWIG_fail
;
20212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20219 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20220 PyObject
*resultobj
;
20221 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20223 wxListItem
*result
;
20224 PyObject
* obj0
= 0 ;
20225 PyObject
* obj1
= 0 ;
20226 char *kwnames
[] = {
20227 (char *) "self",(char *) "col", NULL
20230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20233 arg2
= (int) SWIG_AsInt(obj1
);
20234 if (PyErr_Occurred()) SWIG_fail
;
20236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20237 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20239 wxPyEndAllowThreads(__tstate
);
20240 if (PyErr_Occurred()) SWIG_fail
;
20243 resultobj
= wxPyMake_wxObject(result
);
20251 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20252 PyObject
*resultobj
;
20253 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20255 wxListItem
*arg3
= 0 ;
20257 PyObject
* obj0
= 0 ;
20258 PyObject
* obj1
= 0 ;
20259 PyObject
* obj2
= 0 ;
20260 char *kwnames
[] = {
20261 (char *) "self",(char *) "col",(char *) "item", NULL
20264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20267 arg2
= (int) SWIG_AsInt(obj1
);
20268 if (PyErr_Occurred()) SWIG_fail
;
20269 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
20270 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20272 if (arg3
== NULL
) {
20273 PyErr_SetString(PyExc_TypeError
,"null reference");
20277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20278 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20280 wxPyEndAllowThreads(__tstate
);
20281 if (PyErr_Occurred()) SWIG_fail
;
20283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20290 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20291 PyObject
*resultobj
;
20292 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20295 PyObject
* obj0
= 0 ;
20296 PyObject
* obj1
= 0 ;
20297 char *kwnames
[] = {
20298 (char *) "self",(char *) "col", NULL
20301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20304 arg2
= (int) SWIG_AsInt(obj1
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20308 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20310 wxPyEndAllowThreads(__tstate
);
20311 if (PyErr_Occurred()) SWIG_fail
;
20313 resultobj
= SWIG_FromInt((int)result
);
20320 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20321 PyObject
*resultobj
;
20322 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20326 PyObject
* obj0
= 0 ;
20327 PyObject
* obj1
= 0 ;
20328 PyObject
* obj2
= 0 ;
20329 char *kwnames
[] = {
20330 (char *) "self",(char *) "col",(char *) "width", NULL
20333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20336 arg2
= (int) SWIG_AsInt(obj1
);
20337 if (PyErr_Occurred()) SWIG_fail
;
20338 arg3
= (int) SWIG_AsInt(obj2
);
20339 if (PyErr_Occurred()) SWIG_fail
;
20341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20342 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20344 wxPyEndAllowThreads(__tstate
);
20345 if (PyErr_Occurred()) SWIG_fail
;
20347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20354 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20355 PyObject
*resultobj
;
20356 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20358 PyObject
* obj0
= 0 ;
20359 char *kwnames
[] = {
20360 (char *) "self", NULL
20363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20368 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20370 wxPyEndAllowThreads(__tstate
);
20371 if (PyErr_Occurred()) SWIG_fail
;
20373 resultobj
= SWIG_FromInt((int)result
);
20380 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20381 PyObject
*resultobj
;
20382 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20384 PyObject
* obj0
= 0 ;
20385 char *kwnames
[] = {
20386 (char *) "self", NULL
20389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20394 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20396 wxPyEndAllowThreads(__tstate
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20400 wxRect
* resultptr
;
20401 resultptr
= new wxRect((wxRect
&) result
);
20402 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20410 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20411 PyObject
*resultobj
;
20412 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20414 int arg3
= (int) 0 ;
20415 wxListItem
*result
;
20416 PyObject
* obj0
= 0 ;
20417 PyObject
* obj1
= 0 ;
20418 PyObject
* obj2
= 0 ;
20419 char *kwnames
[] = {
20420 (char *) "self",(char *) "itemId",(char *) "col", NULL
20423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20426 arg2
= (long) SWIG_AsLong(obj1
);
20427 if (PyErr_Occurred()) SWIG_fail
;
20429 arg3
= (int) SWIG_AsInt(obj2
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20434 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20436 wxPyEndAllowThreads(__tstate
);
20437 if (PyErr_Occurred()) SWIG_fail
;
20440 resultobj
= wxPyMake_wxObject(result
);
20448 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20449 PyObject
*resultobj
;
20450 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20451 wxListItem
*arg2
= 0 ;
20453 PyObject
* obj0
= 0 ;
20454 PyObject
* obj1
= 0 ;
20455 char *kwnames
[] = {
20456 (char *) "self",(char *) "info", NULL
20459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
20463 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20465 if (arg2
== NULL
) {
20466 PyErr_SetString(PyExc_TypeError
,"null reference");
20470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20471 result
= (bool)(arg1
)->SetItem(*arg2
);
20473 wxPyEndAllowThreads(__tstate
);
20474 if (PyErr_Occurred()) SWIG_fail
;
20476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20483 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20484 PyObject
*resultobj
;
20485 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20488 wxString
*arg4
= 0 ;
20489 int arg5
= (int) -1 ;
20491 bool temp4
= False
;
20492 PyObject
* obj0
= 0 ;
20493 PyObject
* obj1
= 0 ;
20494 PyObject
* obj2
= 0 ;
20495 PyObject
* obj3
= 0 ;
20496 PyObject
* obj4
= 0 ;
20497 char *kwnames
[] = {
20498 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20504 arg2
= (long) SWIG_AsLong(obj1
);
20505 if (PyErr_Occurred()) SWIG_fail
;
20506 arg3
= (int) SWIG_AsInt(obj2
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20509 arg4
= wxString_in_helper(obj3
);
20510 if (arg4
== NULL
) SWIG_fail
;
20514 arg5
= (int) SWIG_AsInt(obj4
);
20515 if (PyErr_Occurred()) SWIG_fail
;
20518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20519 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20521 wxPyEndAllowThreads(__tstate
);
20522 if (PyErr_Occurred()) SWIG_fail
;
20524 resultobj
= SWIG_FromLong((long)result
);
20539 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20540 PyObject
*resultobj
;
20541 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20545 PyObject
* obj0
= 0 ;
20546 PyObject
* obj1
= 0 ;
20547 PyObject
* obj2
= 0 ;
20548 char *kwnames
[] = {
20549 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20555 arg2
= (long) SWIG_AsLong(obj1
);
20556 if (PyErr_Occurred()) SWIG_fail
;
20557 arg3
= (long) SWIG_AsLong(obj2
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20566 resultobj
= SWIG_FromInt((int)result
);
20573 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20574 PyObject
*resultobj
;
20575 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20580 PyObject
* obj0
= 0 ;
20581 PyObject
* obj1
= 0 ;
20582 PyObject
* obj2
= 0 ;
20583 PyObject
* obj3
= 0 ;
20584 char *kwnames
[] = {
20585 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20591 arg2
= (long) SWIG_AsLong(obj1
);
20592 if (PyErr_Occurred()) SWIG_fail
;
20593 arg3
= (long) SWIG_AsLong(obj2
);
20594 if (PyErr_Occurred()) SWIG_fail
;
20595 arg4
= (long) SWIG_AsLong(obj3
);
20596 if (PyErr_Occurred()) SWIG_fail
;
20598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20599 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20601 wxPyEndAllowThreads(__tstate
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20611 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20612 PyObject
*resultobj
;
20613 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20618 PyObject
* obj0
= 0 ;
20619 PyObject
* obj1
= 0 ;
20620 PyObject
* obj2
= 0 ;
20621 PyObject
* obj3
= 0 ;
20622 char *kwnames
[] = {
20623 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20629 arg2
= (long) SWIG_AsLong(obj1
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20631 arg3
= (int) SWIG_AsInt(obj2
);
20632 if (PyErr_Occurred()) SWIG_fail
;
20633 arg4
= (int) SWIG_AsInt(obj3
);
20634 if (PyErr_Occurred()) SWIG_fail
;
20636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20637 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20639 wxPyEndAllowThreads(__tstate
);
20640 if (PyErr_Occurred()) SWIG_fail
;
20642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20649 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20650 PyObject
*resultobj
;
20651 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20654 PyObject
* obj0
= 0 ;
20655 PyObject
* obj1
= 0 ;
20656 char *kwnames
[] = {
20657 (char *) "self",(char *) "item", NULL
20660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20663 arg2
= (long) SWIG_AsLong(obj1
);
20664 if (PyErr_Occurred()) SWIG_fail
;
20666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20667 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20669 wxPyEndAllowThreads(__tstate
);
20670 if (PyErr_Occurred()) SWIG_fail
;
20674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20685 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20686 PyObject
*resultobj
;
20687 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20689 wxString
*arg3
= 0 ;
20690 bool temp3
= False
;
20691 PyObject
* obj0
= 0 ;
20692 PyObject
* obj1
= 0 ;
20693 PyObject
* obj2
= 0 ;
20694 char *kwnames
[] = {
20695 (char *) "self",(char *) "item",(char *) "str", NULL
20698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20701 arg2
= (long) SWIG_AsLong(obj1
);
20702 if (PyErr_Occurred()) SWIG_fail
;
20704 arg3
= wxString_in_helper(obj2
);
20705 if (arg3
== NULL
) SWIG_fail
;
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20715 Py_INCREF(Py_None
); resultobj
= Py_None
;
20730 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20731 PyObject
*resultobj
;
20732 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20735 PyObject
* obj0
= 0 ;
20736 PyObject
* obj1
= 0 ;
20737 char *kwnames
[] = {
20738 (char *) "self",(char *) "item", NULL
20741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20744 arg2
= (long) SWIG_AsLong(obj1
);
20745 if (PyErr_Occurred()) SWIG_fail
;
20747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20748 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20750 wxPyEndAllowThreads(__tstate
);
20751 if (PyErr_Occurred()) SWIG_fail
;
20753 resultobj
= SWIG_FromLong((long)result
);
20760 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20761 PyObject
*resultobj
;
20762 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20766 PyObject
* obj0
= 0 ;
20767 PyObject
* obj1
= 0 ;
20768 PyObject
* obj2
= 0 ;
20769 char *kwnames
[] = {
20770 (char *) "self",(char *) "item",(char *) "data", NULL
20773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20776 arg2
= (long) SWIG_AsLong(obj1
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20778 arg3
= (long) SWIG_AsLong(obj2
);
20779 if (PyErr_Occurred()) SWIG_fail
;
20781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20782 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20784 wxPyEndAllowThreads(__tstate
);
20785 if (PyErr_Occurred()) SWIG_fail
;
20787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20794 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20795 PyObject
*resultobj
;
20796 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20799 PyObject
* obj0
= 0 ;
20800 PyObject
* obj1
= 0 ;
20801 char *kwnames
[] = {
20802 (char *) "self",(char *) "item", NULL
20805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20808 arg2
= (long) SWIG_AsLong(obj1
);
20809 if (PyErr_Occurred()) SWIG_fail
;
20811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20812 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
20814 wxPyEndAllowThreads(__tstate
);
20815 if (PyErr_Occurred()) SWIG_fail
;
20818 wxPoint
* resultptr
;
20819 resultptr
= new wxPoint((wxPoint
&) result
);
20820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20828 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20829 PyObject
*resultobj
;
20830 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20832 int arg3
= (int) wxLIST_RECT_BOUNDS
;
20834 PyObject
* obj0
= 0 ;
20835 PyObject
* obj1
= 0 ;
20836 PyObject
* obj2
= 0 ;
20837 char *kwnames
[] = {
20838 (char *) "self",(char *) "item",(char *) "code", NULL
20841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20844 arg2
= (long) SWIG_AsLong(obj1
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20847 arg3
= (int) SWIG_AsInt(obj2
);
20848 if (PyErr_Occurred()) SWIG_fail
;
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20852 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
20854 wxPyEndAllowThreads(__tstate
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20858 wxRect
* resultptr
;
20859 resultptr
= new wxRect((wxRect
&) result
);
20860 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20868 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20869 PyObject
*resultobj
;
20870 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20872 wxPoint
*arg3
= 0 ;
20875 PyObject
* obj0
= 0 ;
20876 PyObject
* obj1
= 0 ;
20877 PyObject
* obj2
= 0 ;
20878 char *kwnames
[] = {
20879 (char *) "self",(char *) "item",(char *) "pos", NULL
20882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20885 arg2
= (long) SWIG_AsLong(obj1
);
20886 if (PyErr_Occurred()) SWIG_fail
;
20889 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20893 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
20895 wxPyEndAllowThreads(__tstate
);
20896 if (PyErr_Occurred()) SWIG_fail
;
20898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20905 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20906 PyObject
*resultobj
;
20907 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20909 PyObject
* obj0
= 0 ;
20910 char *kwnames
[] = {
20911 (char *) "self", NULL
20914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
20915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20919 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
20921 wxPyEndAllowThreads(__tstate
);
20922 if (PyErr_Occurred()) SWIG_fail
;
20924 resultobj
= SWIG_FromInt((int)result
);
20931 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20932 PyObject
*resultobj
;
20933 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20935 PyObject
* obj0
= 0 ;
20936 char *kwnames
[] = {
20937 (char *) "self", NULL
20940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
20941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20945 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
20947 wxPyEndAllowThreads(__tstate
);
20948 if (PyErr_Occurred()) SWIG_fail
;
20950 resultobj
= SWIG_FromInt((int)result
);
20957 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20958 PyObject
*resultobj
;
20959 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20961 PyObject
* obj0
= 0 ;
20962 char *kwnames
[] = {
20963 (char *) "self", NULL
20966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
20967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20971 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
20973 wxPyEndAllowThreads(__tstate
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20977 wxSize
* resultptr
;
20978 resultptr
= new wxSize((wxSize
&) result
);
20979 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20987 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20988 PyObject
*resultobj
;
20989 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20991 bool arg3
= (bool) False
;
20992 PyObject
* obj0
= 0 ;
20993 PyObject
* obj1
= 0 ;
20994 PyObject
* obj2
= 0 ;
20995 char *kwnames
[] = {
20996 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
20999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21002 arg2
= (int) SWIG_AsInt(obj1
);
21003 if (PyErr_Occurred()) SWIG_fail
;
21005 arg3
= (bool) SWIG_AsBool(obj2
);
21006 if (PyErr_Occurred()) SWIG_fail
;
21009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21010 (arg1
)->SetItemSpacing(arg2
,arg3
);
21012 wxPyEndAllowThreads(__tstate
);
21013 if (PyErr_Occurred()) SWIG_fail
;
21015 Py_INCREF(Py_None
); resultobj
= Py_None
;
21022 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21023 PyObject
*resultobj
;
21024 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21026 PyObject
* obj0
= 0 ;
21027 char *kwnames
[] = {
21028 (char *) "self", NULL
21031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
21032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21036 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
21038 wxPyEndAllowThreads(__tstate
);
21039 if (PyErr_Occurred()) SWIG_fail
;
21041 resultobj
= SWIG_FromInt((int)result
);
21048 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21049 PyObject
*resultobj
;
21050 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21052 PyObject
* obj0
= 0 ;
21053 char *kwnames
[] = {
21054 (char *) "self", NULL
21057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
21058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21062 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
21064 wxPyEndAllowThreads(__tstate
);
21065 if (PyErr_Occurred()) SWIG_fail
;
21068 wxColour
* resultptr
;
21069 resultptr
= new wxColour((wxColour
&) result
);
21070 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21078 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21079 PyObject
*resultobj
;
21080 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21081 wxColour
*arg2
= 0 ;
21083 PyObject
* obj0
= 0 ;
21084 PyObject
* obj1
= 0 ;
21085 char *kwnames
[] = {
21086 (char *) "self",(char *) "col", NULL
21089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21094 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21098 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21103 Py_INCREF(Py_None
); resultobj
= Py_None
;
21110 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21111 PyObject
*resultobj
;
21112 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21114 PyObject
* obj0
= 0 ;
21115 char *kwnames
[] = {
21116 (char *) "self", NULL
21119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21124 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21126 wxPyEndAllowThreads(__tstate
);
21127 if (PyErr_Occurred()) SWIG_fail
;
21129 resultobj
= SWIG_FromLong((long)result
);
21136 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21137 PyObject
*resultobj
;
21138 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21140 bool arg3
= (bool) True
;
21141 PyObject
* obj0
= 0 ;
21142 PyObject
* obj1
= 0 ;
21143 PyObject
* obj2
= 0 ;
21144 char *kwnames
[] = {
21145 (char *) "self",(char *) "style",(char *) "add", NULL
21148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21151 arg2
= (long) SWIG_AsLong(obj1
);
21152 if (PyErr_Occurred()) SWIG_fail
;
21154 arg3
= (bool) SWIG_AsBool(obj2
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21159 (arg1
)->SetSingleStyle(arg2
,arg3
);
21161 wxPyEndAllowThreads(__tstate
);
21162 if (PyErr_Occurred()) SWIG_fail
;
21164 Py_INCREF(Py_None
); resultobj
= Py_None
;
21171 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21172 PyObject
*resultobj
;
21173 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21175 PyObject
* obj0
= 0 ;
21176 PyObject
* obj1
= 0 ;
21177 char *kwnames
[] = {
21178 (char *) "self",(char *) "style", NULL
21181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21184 arg2
= (long) SWIG_AsLong(obj1
);
21185 if (PyErr_Occurred()) SWIG_fail
;
21187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21188 (arg1
)->SetWindowStyleFlag(arg2
);
21190 wxPyEndAllowThreads(__tstate
);
21191 if (PyErr_Occurred()) SWIG_fail
;
21193 Py_INCREF(Py_None
); resultobj
= Py_None
;
21200 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21201 PyObject
*resultobj
;
21202 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21204 int arg3
= (int) wxLIST_NEXT_ALL
;
21205 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21207 PyObject
* obj0
= 0 ;
21208 PyObject
* obj1
= 0 ;
21209 PyObject
* obj2
= 0 ;
21210 PyObject
* obj3
= 0 ;
21211 char *kwnames
[] = {
21212 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21218 arg2
= (long) SWIG_AsLong(obj1
);
21219 if (PyErr_Occurred()) SWIG_fail
;
21221 arg3
= (int) SWIG_AsInt(obj2
);
21222 if (PyErr_Occurred()) SWIG_fail
;
21225 arg4
= (int) SWIG_AsInt(obj3
);
21226 if (PyErr_Occurred()) SWIG_fail
;
21229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21230 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21232 wxPyEndAllowThreads(__tstate
);
21233 if (PyErr_Occurred()) SWIG_fail
;
21235 resultobj
= SWIG_FromLong((long)result
);
21242 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21243 PyObject
*resultobj
;
21244 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21246 wxImageList
*result
;
21247 PyObject
* obj0
= 0 ;
21248 PyObject
* obj1
= 0 ;
21249 char *kwnames
[] = {
21250 (char *) "self",(char *) "which", NULL
21253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21256 arg2
= (int) SWIG_AsInt(obj1
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21260 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21262 wxPyEndAllowThreads(__tstate
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21266 resultobj
= wxPyMake_wxObject(result
);
21274 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21275 PyObject
*resultobj
;
21276 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21277 wxImageList
*arg2
= (wxImageList
*) 0 ;
21279 PyObject
* obj0
= 0 ;
21280 PyObject
* obj1
= 0 ;
21281 PyObject
* obj2
= 0 ;
21282 char *kwnames
[] = {
21283 (char *) "self",(char *) "imageList",(char *) "which", NULL
21286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21291 arg3
= (int) SWIG_AsInt(obj2
);
21292 if (PyErr_Occurred()) SWIG_fail
;
21294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21295 (arg1
)->SetImageList(arg2
,arg3
);
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21300 Py_INCREF(Py_None
); resultobj
= Py_None
;
21307 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21308 PyObject
*resultobj
;
21309 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21310 wxImageList
*arg2
= (wxImageList
*) 0 ;
21312 PyObject
* obj0
= 0 ;
21313 PyObject
* obj1
= 0 ;
21314 PyObject
* obj2
= 0 ;
21315 char *kwnames
[] = {
21316 (char *) "self",(char *) "imageList",(char *) "which", NULL
21319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21323 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21324 arg3
= (int) SWIG_AsInt(obj2
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21328 (arg1
)->AssignImageList(arg2
,arg3
);
21330 wxPyEndAllowThreads(__tstate
);
21331 if (PyErr_Occurred()) SWIG_fail
;
21333 Py_INCREF(Py_None
); resultobj
= Py_None
;
21340 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21341 PyObject
*resultobj
;
21342 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21344 PyObject
* obj0
= 0 ;
21345 char *kwnames
[] = {
21346 (char *) "self", NULL
21349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
21350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21354 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
21356 wxPyEndAllowThreads(__tstate
);
21357 if (PyErr_Occurred()) SWIG_fail
;
21359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21366 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21367 PyObject
*resultobj
;
21368 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21370 PyObject
* obj0
= 0 ;
21371 char *kwnames
[] = {
21372 (char *) "self", NULL
21375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21380 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21382 wxPyEndAllowThreads(__tstate
);
21383 if (PyErr_Occurred()) SWIG_fail
;
21385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21392 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21393 PyObject
*resultobj
;
21394 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21396 PyObject
* obj0
= 0 ;
21397 PyObject
* obj1
= 0 ;
21398 char *kwnames
[] = {
21399 (char *) "self",(char *) "item", NULL
21402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21405 arg2
= (long) SWIG_AsLong(obj1
);
21406 if (PyErr_Occurred()) SWIG_fail
;
21408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21409 (arg1
)->RefreshItem(arg2
);
21411 wxPyEndAllowThreads(__tstate
);
21412 if (PyErr_Occurred()) SWIG_fail
;
21414 Py_INCREF(Py_None
); resultobj
= Py_None
;
21421 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21422 PyObject
*resultobj
;
21423 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21426 PyObject
* obj0
= 0 ;
21427 PyObject
* obj1
= 0 ;
21428 PyObject
* obj2
= 0 ;
21429 char *kwnames
[] = {
21430 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21436 arg2
= (long) SWIG_AsLong(obj1
);
21437 if (PyErr_Occurred()) SWIG_fail
;
21438 arg3
= (long) SWIG_AsLong(obj2
);
21439 if (PyErr_Occurred()) SWIG_fail
;
21441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21442 (arg1
)->RefreshItems(arg2
,arg3
);
21444 wxPyEndAllowThreads(__tstate
);
21445 if (PyErr_Occurred()) SWIG_fail
;
21447 Py_INCREF(Py_None
); resultobj
= Py_None
;
21454 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21455 PyObject
*resultobj
;
21456 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21457 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21459 PyObject
* obj0
= 0 ;
21460 PyObject
* obj1
= 0 ;
21461 char *kwnames
[] = {
21462 (char *) "self",(char *) "flag", NULL
21465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21469 arg2
= (int) SWIG_AsInt(obj1
);
21470 if (PyErr_Occurred()) SWIG_fail
;
21473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21474 result
= (bool)(arg1
)->Arrange(arg2
);
21476 wxPyEndAllowThreads(__tstate
);
21477 if (PyErr_Occurred()) SWIG_fail
;
21479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21486 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21487 PyObject
*resultobj
;
21488 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21491 PyObject
* obj0
= 0 ;
21492 PyObject
* obj1
= 0 ;
21493 char *kwnames
[] = {
21494 (char *) "self",(char *) "item", NULL
21497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21500 arg2
= (long) SWIG_AsLong(obj1
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 result
= (bool)(arg1
)->DeleteItem(arg2
);
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21516 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21517 PyObject
*resultobj
;
21518 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21520 PyObject
* obj0
= 0 ;
21521 char *kwnames
[] = {
21522 (char *) "self", NULL
21525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21530 result
= (bool)(arg1
)->DeleteAllItems();
21532 wxPyEndAllowThreads(__tstate
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21542 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21543 PyObject
*resultobj
;
21544 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21547 PyObject
* obj0
= 0 ;
21548 PyObject
* obj1
= 0 ;
21549 char *kwnames
[] = {
21550 (char *) "self",(char *) "col", NULL
21553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21556 arg2
= (int) SWIG_AsInt(obj1
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21560 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21562 wxPyEndAllowThreads(__tstate
);
21563 if (PyErr_Occurred()) SWIG_fail
;
21565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21572 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21573 PyObject
*resultobj
;
21574 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21576 PyObject
* obj0
= 0 ;
21577 char *kwnames
[] = {
21578 (char *) "self", NULL
21581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21586 result
= (bool)(arg1
)->DeleteAllColumns();
21588 wxPyEndAllowThreads(__tstate
);
21589 if (PyErr_Occurred()) SWIG_fail
;
21591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21598 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21599 PyObject
*resultobj
;
21600 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21601 PyObject
* obj0
= 0 ;
21602 char *kwnames
[] = {
21603 (char *) "self", NULL
21606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21611 (arg1
)->ClearAll();
21613 wxPyEndAllowThreads(__tstate
);
21614 if (PyErr_Occurred()) SWIG_fail
;
21616 Py_INCREF(Py_None
); resultobj
= Py_None
;
21623 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21624 PyObject
*resultobj
;
21625 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21627 PyObject
* obj0
= 0 ;
21628 PyObject
* obj1
= 0 ;
21629 char *kwnames
[] = {
21630 (char *) "self",(char *) "item", NULL
21633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21636 arg2
= (long) SWIG_AsLong(obj1
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21640 (arg1
)->EditLabel(arg2
);
21642 wxPyEndAllowThreads(__tstate
);
21643 if (PyErr_Occurred()) SWIG_fail
;
21645 Py_INCREF(Py_None
); resultobj
= Py_None
;
21652 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21653 PyObject
*resultobj
;
21654 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21657 PyObject
* obj0
= 0 ;
21658 PyObject
* obj1
= 0 ;
21659 char *kwnames
[] = {
21660 (char *) "self",(char *) "item", NULL
21663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21666 arg2
= (long) SWIG_AsLong(obj1
);
21667 if (PyErr_Occurred()) SWIG_fail
;
21669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21670 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21672 wxPyEndAllowThreads(__tstate
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21682 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21683 PyObject
*resultobj
;
21684 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21686 wxString
*arg3
= 0 ;
21687 bool arg4
= (bool) False
;
21689 bool temp3
= False
;
21690 PyObject
* obj0
= 0 ;
21691 PyObject
* obj1
= 0 ;
21692 PyObject
* obj2
= 0 ;
21693 PyObject
* obj3
= 0 ;
21694 char *kwnames
[] = {
21695 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21701 arg2
= (long) SWIG_AsLong(obj1
);
21702 if (PyErr_Occurred()) SWIG_fail
;
21704 arg3
= wxString_in_helper(obj2
);
21705 if (arg3
== NULL
) SWIG_fail
;
21709 arg4
= (bool) SWIG_AsBool(obj3
);
21710 if (PyErr_Occurred()) SWIG_fail
;
21713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21714 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21716 wxPyEndAllowThreads(__tstate
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21719 resultobj
= SWIG_FromLong((long)result
);
21734 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21735 PyObject
*resultobj
;
21736 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21740 PyObject
* obj0
= 0 ;
21741 PyObject
* obj1
= 0 ;
21742 PyObject
* obj2
= 0 ;
21743 char *kwnames
[] = {
21744 (char *) "self",(char *) "start",(char *) "data", NULL
21747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21750 arg2
= (long) SWIG_AsLong(obj1
);
21751 if (PyErr_Occurred()) SWIG_fail
;
21752 arg3
= (long) SWIG_AsLong(obj2
);
21753 if (PyErr_Occurred()) SWIG_fail
;
21755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21756 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21758 wxPyEndAllowThreads(__tstate
);
21759 if (PyErr_Occurred()) SWIG_fail
;
21761 resultobj
= SWIG_FromLong((long)result
);
21768 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21769 PyObject
*resultobj
;
21770 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21772 wxPoint
*arg3
= 0 ;
21776 PyObject
* obj0
= 0 ;
21777 PyObject
* obj1
= 0 ;
21778 PyObject
* obj2
= 0 ;
21779 PyObject
* obj3
= 0 ;
21780 char *kwnames
[] = {
21781 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21787 arg2
= (long) SWIG_AsLong(obj1
);
21788 if (PyErr_Occurred()) SWIG_fail
;
21791 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21793 arg4
= (int) SWIG_AsInt(obj3
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21797 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
21799 wxPyEndAllowThreads(__tstate
);
21800 if (PyErr_Occurred()) SWIG_fail
;
21802 resultobj
= SWIG_FromLong((long)result
);
21809 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21810 PyObject
*resultobj
;
21811 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21812 wxPoint
*arg2
= 0 ;
21817 PyObject
* obj0
= 0 ;
21818 PyObject
* obj1
= 0 ;
21819 char *kwnames
[] = {
21820 (char *) "self",(char *) "point", NULL
21824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
21825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21829 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21833 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
21835 wxPyEndAllowThreads(__tstate
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21838 resultobj
= SWIG_FromLong((long)result
);
21840 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21841 resultobj
= t_output_helper(resultobj
,o
);
21849 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21850 PyObject
*resultobj
;
21851 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21852 wxListItem
*arg2
= 0 ;
21854 PyObject
* obj0
= 0 ;
21855 PyObject
* obj1
= 0 ;
21856 char *kwnames
[] = {
21857 (char *) "self",(char *) "info", NULL
21860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21863 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21864 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21866 if (arg2
== NULL
) {
21867 PyErr_SetString(PyExc_TypeError
,"null reference");
21871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21872 result
= (long)(arg1
)->InsertItem(*arg2
);
21874 wxPyEndAllowThreads(__tstate
);
21875 if (PyErr_Occurred()) SWIG_fail
;
21877 resultobj
= SWIG_FromLong((long)result
);
21884 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21885 PyObject
*resultobj
;
21886 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21888 wxString
*arg3
= 0 ;
21890 bool temp3
= False
;
21891 PyObject
* obj0
= 0 ;
21892 PyObject
* obj1
= 0 ;
21893 PyObject
* obj2
= 0 ;
21894 char *kwnames
[] = {
21895 (char *) "self",(char *) "index",(char *) "label", NULL
21898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21901 arg2
= (long) SWIG_AsLong(obj1
);
21902 if (PyErr_Occurred()) SWIG_fail
;
21904 arg3
= wxString_in_helper(obj2
);
21905 if (arg3
== NULL
) SWIG_fail
;
21909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21910 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
21912 wxPyEndAllowThreads(__tstate
);
21913 if (PyErr_Occurred()) SWIG_fail
;
21915 resultobj
= SWIG_FromLong((long)result
);
21930 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21931 PyObject
*resultobj
;
21932 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21936 PyObject
* obj0
= 0 ;
21937 PyObject
* obj1
= 0 ;
21938 PyObject
* obj2
= 0 ;
21939 char *kwnames
[] = {
21940 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21946 arg2
= (long) SWIG_AsLong(obj1
);
21947 if (PyErr_Occurred()) SWIG_fail
;
21948 arg3
= (int) SWIG_AsInt(obj2
);
21949 if (PyErr_Occurred()) SWIG_fail
;
21951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21952 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
21954 wxPyEndAllowThreads(__tstate
);
21955 if (PyErr_Occurred()) SWIG_fail
;
21957 resultobj
= SWIG_FromLong((long)result
);
21964 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21965 PyObject
*resultobj
;
21966 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21968 wxString
*arg3
= 0 ;
21971 bool temp3
= False
;
21972 PyObject
* obj0
= 0 ;
21973 PyObject
* obj1
= 0 ;
21974 PyObject
* obj2
= 0 ;
21975 PyObject
* obj3
= 0 ;
21976 char *kwnames
[] = {
21977 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21983 arg2
= (long) SWIG_AsLong(obj1
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21986 arg3
= wxString_in_helper(obj2
);
21987 if (arg3
== NULL
) SWIG_fail
;
21990 arg4
= (int) SWIG_AsInt(obj3
);
21991 if (PyErr_Occurred()) SWIG_fail
;
21993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21994 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
21996 wxPyEndAllowThreads(__tstate
);
21997 if (PyErr_Occurred()) SWIG_fail
;
21999 resultobj
= SWIG_FromLong((long)result
);
22014 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22015 PyObject
*resultobj
;
22016 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22018 wxListItem
*arg3
= 0 ;
22020 PyObject
* obj0
= 0 ;
22021 PyObject
* obj1
= 0 ;
22022 PyObject
* obj2
= 0 ;
22023 char *kwnames
[] = {
22024 (char *) "self",(char *) "col",(char *) "info", NULL
22027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22030 arg2
= (long) SWIG_AsLong(obj1
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22032 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
22033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22035 if (arg3
== NULL
) {
22036 PyErr_SetString(PyExc_TypeError
,"null reference");
22040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
22043 wxPyEndAllowThreads(__tstate
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22046 resultobj
= SWIG_FromLong((long)result
);
22053 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22054 PyObject
*resultobj
;
22055 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22057 wxString
*arg3
= 0 ;
22058 int arg4
= (int) wxLIST_FORMAT_LEFT
;
22059 int arg5
= (int) -1 ;
22061 bool temp3
= False
;
22062 PyObject
* obj0
= 0 ;
22063 PyObject
* obj1
= 0 ;
22064 PyObject
* obj2
= 0 ;
22065 PyObject
* obj3
= 0 ;
22066 PyObject
* obj4
= 0 ;
22067 char *kwnames
[] = {
22068 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22074 arg2
= (long) SWIG_AsLong(obj1
);
22075 if (PyErr_Occurred()) SWIG_fail
;
22077 arg3
= wxString_in_helper(obj2
);
22078 if (arg3
== NULL
) SWIG_fail
;
22082 arg4
= (int) SWIG_AsInt(obj3
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22086 arg5
= (int) SWIG_AsInt(obj4
);
22087 if (PyErr_Occurred()) SWIG_fail
;
22090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22091 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22093 wxPyEndAllowThreads(__tstate
);
22094 if (PyErr_Occurred()) SWIG_fail
;
22096 resultobj
= SWIG_FromLong((long)result
);
22111 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
;
22113 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22115 PyObject
* obj0
= 0 ;
22116 PyObject
* obj1
= 0 ;
22117 char *kwnames
[] = {
22118 (char *) "self",(char *) "count", NULL
22121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
22122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22124 arg2
= (long) SWIG_AsLong(obj1
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 (arg1
)->SetItemCount(arg2
);
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22133 Py_INCREF(Py_None
); resultobj
= Py_None
;
22140 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22141 PyObject
*resultobj
;
22142 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22146 PyObject
* obj0
= 0 ;
22147 PyObject
* obj1
= 0 ;
22148 PyObject
* obj2
= 0 ;
22149 char *kwnames
[] = {
22150 (char *) "self",(char *) "dx",(char *) "dy", NULL
22153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22156 arg2
= (int) SWIG_AsInt(obj1
);
22157 if (PyErr_Occurred()) SWIG_fail
;
22158 arg3
= (int) SWIG_AsInt(obj2
);
22159 if (PyErr_Occurred()) SWIG_fail
;
22161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22162 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22164 wxPyEndAllowThreads(__tstate
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22174 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22175 PyObject
*resultobj
;
22176 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22178 wxColour
*arg3
= 0 ;
22180 PyObject
* obj0
= 0 ;
22181 PyObject
* obj1
= 0 ;
22182 PyObject
* obj2
= 0 ;
22183 char *kwnames
[] = {
22184 (char *) "self",(char *) "item",(char *) "col", NULL
22187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22190 arg2
= (long) SWIG_AsLong(obj1
);
22191 if (PyErr_Occurred()) SWIG_fail
;
22194 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22198 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22200 wxPyEndAllowThreads(__tstate
);
22201 if (PyErr_Occurred()) SWIG_fail
;
22203 Py_INCREF(Py_None
); resultobj
= Py_None
;
22210 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22211 PyObject
*resultobj
;
22212 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22215 PyObject
* obj0
= 0 ;
22216 PyObject
* obj1
= 0 ;
22217 char *kwnames
[] = {
22218 (char *) "self",(char *) "item", NULL
22221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22224 arg2
= (long) SWIG_AsLong(obj1
);
22225 if (PyErr_Occurred()) SWIG_fail
;
22227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22228 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22230 wxPyEndAllowThreads(__tstate
);
22231 if (PyErr_Occurred()) SWIG_fail
;
22234 wxColour
* resultptr
;
22235 resultptr
= new wxColour((wxColour
&) result
);
22236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22244 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22245 PyObject
*resultobj
;
22246 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22248 wxColour
*arg3
= 0 ;
22250 PyObject
* obj0
= 0 ;
22251 PyObject
* obj1
= 0 ;
22252 PyObject
* obj2
= 0 ;
22253 char *kwnames
[] = {
22254 (char *) "self",(char *) "item",(char *) "col", NULL
22257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22260 arg2
= (long) SWIG_AsLong(obj1
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22264 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22268 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22270 wxPyEndAllowThreads(__tstate
);
22271 if (PyErr_Occurred()) SWIG_fail
;
22273 Py_INCREF(Py_None
); resultobj
= Py_None
;
22280 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22281 PyObject
*resultobj
;
22282 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22285 PyObject
* obj0
= 0 ;
22286 PyObject
* obj1
= 0 ;
22287 char *kwnames
[] = {
22288 (char *) "self",(char *) "item", NULL
22291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22294 arg2
= (long) SWIG_AsLong(obj1
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22298 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22300 wxPyEndAllowThreads(__tstate
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22304 wxColour
* resultptr
;
22305 resultptr
= new wxColour((wxColour
&) result
);
22306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22314 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22315 PyObject
*resultobj
;
22316 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22317 PyObject
*arg2
= (PyObject
*) 0 ;
22319 PyObject
* obj0
= 0 ;
22320 PyObject
* obj1
= 0 ;
22321 char *kwnames
[] = {
22322 (char *) "self",(char *) "func", NULL
22325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22331 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22333 wxPyEndAllowThreads(__tstate
);
22334 if (PyErr_Occurred()) SWIG_fail
;
22336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22343 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22344 PyObject
*resultobj
;
22345 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22347 PyObject
* obj0
= 0 ;
22348 char *kwnames
[] = {
22349 (char *) "self", NULL
22352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22357 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22359 wxPyEndAllowThreads(__tstate
);
22360 if (PyErr_Occurred()) SWIG_fail
;
22363 resultobj
= wxPyMake_wxObject(result
);
22371 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22374 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22376 return Py_BuildValue((char *)"");
22378 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22379 PyObject
*resultobj
;
22380 wxWindow
*arg1
= (wxWindow
*) 0 ;
22381 int arg2
= (int) -1 ;
22382 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22383 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22384 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22385 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22386 long arg5
= (long) wxLC_REPORT
;
22387 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22388 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22389 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22390 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22391 wxListView
*result
;
22394 bool temp7
= False
;
22395 PyObject
* obj0
= 0 ;
22396 PyObject
* obj1
= 0 ;
22397 PyObject
* obj2
= 0 ;
22398 PyObject
* obj3
= 0 ;
22399 PyObject
* obj4
= 0 ;
22400 PyObject
* obj5
= 0 ;
22401 PyObject
* obj6
= 0 ;
22402 char *kwnames
[] = {
22403 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22410 arg2
= (int) SWIG_AsInt(obj1
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22416 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22422 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22426 arg5
= (long) SWIG_AsLong(obj4
);
22427 if (PyErr_Occurred()) SWIG_fail
;
22430 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
22431 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22433 if (arg6
== NULL
) {
22434 PyErr_SetString(PyExc_TypeError
,"null reference");
22440 arg7
= wxString_in_helper(obj6
);
22441 if (arg7
== NULL
) SWIG_fail
;
22446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22447 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22449 wxPyEndAllowThreads(__tstate
);
22450 if (PyErr_Occurred()) SWIG_fail
;
22452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22467 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22468 PyObject
*resultobj
;
22469 wxListView
*result
;
22470 char *kwnames
[] = {
22474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22477 result
= (wxListView
*)new wxListView();
22479 wxPyEndAllowThreads(__tstate
);
22480 if (PyErr_Occurred()) SWIG_fail
;
22482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22489 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22490 PyObject
*resultobj
;
22491 wxListView
*arg1
= (wxListView
*) 0 ;
22492 wxWindow
*arg2
= (wxWindow
*) 0 ;
22493 int arg3
= (int) -1 ;
22494 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22495 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22496 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22497 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22498 long arg6
= (long) wxLC_REPORT
;
22499 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22500 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22501 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22502 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22506 bool temp8
= False
;
22507 PyObject
* obj0
= 0 ;
22508 PyObject
* obj1
= 0 ;
22509 PyObject
* obj2
= 0 ;
22510 PyObject
* obj3
= 0 ;
22511 PyObject
* obj4
= 0 ;
22512 PyObject
* obj5
= 0 ;
22513 PyObject
* obj6
= 0 ;
22514 PyObject
* obj7
= 0 ;
22515 char *kwnames
[] = {
22516 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22525 arg3
= (int) SWIG_AsInt(obj2
);
22526 if (PyErr_Occurred()) SWIG_fail
;
22531 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22537 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22541 arg6
= (long) SWIG_AsLong(obj5
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22545 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
22546 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22548 if (arg7
== NULL
) {
22549 PyErr_SetString(PyExc_TypeError
,"null reference");
22555 arg8
= wxString_in_helper(obj7
);
22556 if (arg8
== NULL
) SWIG_fail
;
22561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22562 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22564 wxPyEndAllowThreads(__tstate
);
22565 if (PyErr_Occurred()) SWIG_fail
;
22567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22582 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22583 PyObject
*resultobj
;
22584 wxListView
*arg1
= (wxListView
*) 0 ;
22586 bool arg3
= (bool) True
;
22587 PyObject
* obj0
= 0 ;
22588 PyObject
* obj1
= 0 ;
22589 PyObject
* obj2
= 0 ;
22590 char *kwnames
[] = {
22591 (char *) "self",(char *) "n",(char *) "on", NULL
22594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22597 arg2
= (long) SWIG_AsLong(obj1
);
22598 if (PyErr_Occurred()) SWIG_fail
;
22600 arg3
= (bool) SWIG_AsBool(obj2
);
22601 if (PyErr_Occurred()) SWIG_fail
;
22604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22605 (arg1
)->Select(arg2
,arg3
);
22607 wxPyEndAllowThreads(__tstate
);
22608 if (PyErr_Occurred()) SWIG_fail
;
22610 Py_INCREF(Py_None
); resultobj
= Py_None
;
22617 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22618 PyObject
*resultobj
;
22619 wxListView
*arg1
= (wxListView
*) 0 ;
22621 PyObject
* obj0
= 0 ;
22622 PyObject
* obj1
= 0 ;
22623 char *kwnames
[] = {
22624 (char *) "self",(char *) "index", NULL
22627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22630 arg2
= (long) SWIG_AsLong(obj1
);
22631 if (PyErr_Occurred()) SWIG_fail
;
22633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22634 (arg1
)->Focus(arg2
);
22636 wxPyEndAllowThreads(__tstate
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22639 Py_INCREF(Py_None
); resultobj
= Py_None
;
22646 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22647 PyObject
*resultobj
;
22648 wxListView
*arg1
= (wxListView
*) 0 ;
22650 PyObject
* obj0
= 0 ;
22651 char *kwnames
[] = {
22652 (char *) "self", NULL
22655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22660 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22662 wxPyEndAllowThreads(__tstate
);
22663 if (PyErr_Occurred()) SWIG_fail
;
22665 resultobj
= SWIG_FromLong((long)result
);
22672 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22673 PyObject
*resultobj
;
22674 wxListView
*arg1
= (wxListView
*) 0 ;
22677 PyObject
* obj0
= 0 ;
22678 PyObject
* obj1
= 0 ;
22679 char *kwnames
[] = {
22680 (char *) "self",(char *) "item", NULL
22683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22686 arg2
= (long) SWIG_AsLong(obj1
);
22687 if (PyErr_Occurred()) SWIG_fail
;
22689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22690 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22692 wxPyEndAllowThreads(__tstate
);
22693 if (PyErr_Occurred()) SWIG_fail
;
22695 resultobj
= SWIG_FromLong((long)result
);
22702 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22703 PyObject
*resultobj
;
22704 wxListView
*arg1
= (wxListView
*) 0 ;
22706 PyObject
* obj0
= 0 ;
22707 char *kwnames
[] = {
22708 (char *) "self", NULL
22711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22716 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22718 wxPyEndAllowThreads(__tstate
);
22719 if (PyErr_Occurred()) SWIG_fail
;
22721 resultobj
= SWIG_FromLong((long)result
);
22728 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22729 PyObject
*resultobj
;
22730 wxListView
*arg1
= (wxListView
*) 0 ;
22733 PyObject
* obj0
= 0 ;
22734 PyObject
* obj1
= 0 ;
22735 char *kwnames
[] = {
22736 (char *) "self",(char *) "index", NULL
22739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22742 arg2
= (long) SWIG_AsLong(obj1
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22746 result
= (bool)(arg1
)->IsSelected(arg2
);
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22758 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22759 PyObject
*resultobj
;
22760 wxListView
*arg1
= (wxListView
*) 0 ;
22763 PyObject
* obj0
= 0 ;
22764 PyObject
* obj1
= 0 ;
22765 PyObject
* obj2
= 0 ;
22766 char *kwnames
[] = {
22767 (char *) "self",(char *) "col",(char *) "image", NULL
22770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22773 arg2
= (int) SWIG_AsInt(obj1
);
22774 if (PyErr_Occurred()) SWIG_fail
;
22775 arg3
= (int) SWIG_AsInt(obj2
);
22776 if (PyErr_Occurred()) SWIG_fail
;
22778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22779 (arg1
)->SetColumnImage(arg2
,arg3
);
22781 wxPyEndAllowThreads(__tstate
);
22782 if (PyErr_Occurred()) SWIG_fail
;
22784 Py_INCREF(Py_None
); resultobj
= Py_None
;
22791 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22792 PyObject
*resultobj
;
22793 wxListView
*arg1
= (wxListView
*) 0 ;
22795 PyObject
* obj0
= 0 ;
22796 PyObject
* obj1
= 0 ;
22797 char *kwnames
[] = {
22798 (char *) "self",(char *) "col", NULL
22801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22804 arg2
= (int) SWIG_AsInt(obj1
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22808 (arg1
)->ClearColumnImage(arg2
);
22810 wxPyEndAllowThreads(__tstate
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22813 Py_INCREF(Py_None
); resultobj
= Py_None
;
22820 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
22822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22823 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
22825 return Py_BuildValue((char *)"");
22827 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
22828 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
22833 static PyObject
*_wrap_TreeCtrlNameStr_get() {
22838 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22840 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22847 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22848 PyObject
*resultobj
;
22849 wxTreeItemId
*result
;
22850 char *kwnames
[] = {
22854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
22856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22857 result
= (wxTreeItemId
*)new wxTreeItemId();
22859 wxPyEndAllowThreads(__tstate
);
22860 if (PyErr_Occurred()) SWIG_fail
;
22862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
22869 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22870 PyObject
*resultobj
;
22871 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22872 PyObject
* obj0
= 0 ;
22873 char *kwnames
[] = {
22874 (char *) "self", NULL
22877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
22878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22884 wxPyEndAllowThreads(__tstate
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22887 Py_INCREF(Py_None
); resultobj
= Py_None
;
22894 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22895 PyObject
*resultobj
;
22896 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22898 PyObject
* obj0
= 0 ;
22899 char *kwnames
[] = {
22900 (char *) "self", NULL
22903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
22904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22908 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
22910 wxPyEndAllowThreads(__tstate
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22920 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22921 PyObject
*resultobj
;
22922 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22923 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22925 PyObject
* obj0
= 0 ;
22926 PyObject
* obj1
= 0 ;
22927 char *kwnames
[] = {
22928 (char *) "self",(char *) "other", NULL
22931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
22935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
22940 wxPyEndAllowThreads(__tstate
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22950 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22951 PyObject
*resultobj
;
22952 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22953 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22955 PyObject
* obj0
= 0 ;
22956 PyObject
* obj1
= 0 ;
22957 char *kwnames
[] = {
22958 (char *) "self",(char *) "other", NULL
22961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
22965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22968 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
22970 wxPyEndAllowThreads(__tstate
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22980 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22981 PyObject
*resultobj
;
22982 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22983 void *arg2
= (void *) 0 ;
22984 PyObject
* obj0
= 0 ;
22985 PyObject
* obj1
= 0 ;
22986 char *kwnames
[] = {
22987 (char *) "self",(char *) "m_pItem", NULL
22990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22993 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22994 if (arg1
) (arg1
)->m_pItem
= arg2
;
22996 Py_INCREF(Py_None
); resultobj
= Py_None
;
23003 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23004 PyObject
*resultobj
;
23005 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23007 PyObject
* obj0
= 0 ;
23008 char *kwnames
[] = {
23009 (char *) "self", NULL
23012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
23013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23015 result
= (void *) ((arg1
)->m_pItem
);
23017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
23024 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
23026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23027 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
23029 return Py_BuildValue((char *)"");
23031 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23032 PyObject
*resultobj
;
23033 PyObject
*arg1
= (PyObject
*) NULL
;
23034 wxPyTreeItemData
*result
;
23035 PyObject
* obj0
= 0 ;
23036 char *kwnames
[] = {
23037 (char *) "obj", NULL
23040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
23045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23046 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
23048 wxPyEndAllowThreads(__tstate
);
23049 if (PyErr_Occurred()) SWIG_fail
;
23051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
23058 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23059 PyObject
*resultobj
;
23060 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23062 PyObject
* obj0
= 0 ;
23063 char *kwnames
[] = {
23064 (char *) "self", NULL
23067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23072 result
= (PyObject
*)(arg1
)->GetData();
23074 wxPyEndAllowThreads(__tstate
);
23075 if (PyErr_Occurred()) SWIG_fail
;
23077 resultobj
= result
;
23084 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23085 PyObject
*resultobj
;
23086 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23087 PyObject
*arg2
= (PyObject
*) 0 ;
23088 PyObject
* obj0
= 0 ;
23089 PyObject
* obj1
= 0 ;
23090 char *kwnames
[] = {
23091 (char *) "self",(char *) "obj", NULL
23094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23100 (arg1
)->SetData(arg2
);
23102 wxPyEndAllowThreads(__tstate
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23105 Py_INCREF(Py_None
); resultobj
= Py_None
;
23112 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23113 PyObject
*resultobj
;
23114 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23115 wxTreeItemId
*result
;
23116 PyObject
* obj0
= 0 ;
23117 char *kwnames
[] = {
23118 (char *) "self", NULL
23121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23127 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23128 result
= (wxTreeItemId
*) &_result_ref
;
23131 wxPyEndAllowThreads(__tstate
);
23132 if (PyErr_Occurred()) SWIG_fail
;
23134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
23141 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23142 PyObject
*resultobj
;
23143 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23144 wxTreeItemId
*arg2
= 0 ;
23145 PyObject
* obj0
= 0 ;
23146 PyObject
* obj1
= 0 ;
23147 char *kwnames
[] = {
23148 (char *) "self",(char *) "id", NULL
23151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23155 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23157 if (arg2
== NULL
) {
23158 PyErr_SetString(PyExc_TypeError
,"null reference");
23162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23163 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23165 wxPyEndAllowThreads(__tstate
);
23166 if (PyErr_Occurred()) SWIG_fail
;
23168 Py_INCREF(Py_None
); resultobj
= Py_None
;
23175 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23176 PyObject
*resultobj
;
23177 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23178 PyObject
* obj0
= 0 ;
23179 char *kwnames
[] = {
23180 (char *) "self", NULL
23183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23188 wxPyTreeItemData_Destroy(arg1
);
23190 wxPyEndAllowThreads(__tstate
);
23191 if (PyErr_Occurred()) SWIG_fail
;
23193 Py_INCREF(Py_None
); resultobj
= Py_None
;
23200 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
23202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23203 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23205 return Py_BuildValue((char *)"");
23207 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23208 PyObject
*resultobj
;
23209 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23210 int arg2
= (int) 0 ;
23211 wxTreeEvent
*result
;
23212 PyObject
* obj0
= 0 ;
23213 PyObject
* obj1
= 0 ;
23214 char *kwnames
[] = {
23215 (char *) "commandType",(char *) "id", NULL
23218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23220 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
23221 if (PyErr_Occurred()) SWIG_fail
;
23224 arg2
= (int) SWIG_AsInt(obj1
);
23225 if (PyErr_Occurred()) SWIG_fail
;
23228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23229 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23231 wxPyEndAllowThreads(__tstate
);
23232 if (PyErr_Occurred()) SWIG_fail
;
23234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
23241 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23242 PyObject
*resultobj
;
23243 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23244 wxTreeItemId result
;
23245 PyObject
* obj0
= 0 ;
23246 char *kwnames
[] = {
23247 (char *) "self", NULL
23250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23255 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23257 wxPyEndAllowThreads(__tstate
);
23258 if (PyErr_Occurred()) SWIG_fail
;
23261 wxTreeItemId
* resultptr
;
23262 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23271 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23272 PyObject
*resultobj
;
23273 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23274 wxTreeItemId
*arg2
= 0 ;
23275 PyObject
* obj0
= 0 ;
23276 PyObject
* obj1
= 0 ;
23277 char *kwnames
[] = {
23278 (char *) "self",(char *) "item", NULL
23281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23285 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23287 if (arg2
== NULL
) {
23288 PyErr_SetString(PyExc_TypeError
,"null reference");
23292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23293 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23295 wxPyEndAllowThreads(__tstate
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23298 Py_INCREF(Py_None
); resultobj
= Py_None
;
23305 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23306 PyObject
*resultobj
;
23307 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23308 wxTreeItemId result
;
23309 PyObject
* obj0
= 0 ;
23310 char *kwnames
[] = {
23311 (char *) "self", NULL
23314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23319 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23321 wxPyEndAllowThreads(__tstate
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23325 wxTreeItemId
* resultptr
;
23326 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23335 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23336 PyObject
*resultobj
;
23337 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23338 wxTreeItemId
*arg2
= 0 ;
23339 PyObject
* obj0
= 0 ;
23340 PyObject
* obj1
= 0 ;
23341 char *kwnames
[] = {
23342 (char *) "self",(char *) "item", NULL
23345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23349 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23351 if (arg2
== NULL
) {
23352 PyErr_SetString(PyExc_TypeError
,"null reference");
23356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23357 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23359 wxPyEndAllowThreads(__tstate
);
23360 if (PyErr_Occurred()) SWIG_fail
;
23362 Py_INCREF(Py_None
); resultobj
= Py_None
;
23369 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23370 PyObject
*resultobj
;
23371 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23373 PyObject
* obj0
= 0 ;
23374 char *kwnames
[] = {
23375 (char *) "self", NULL
23378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23383 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23385 wxPyEndAllowThreads(__tstate
);
23386 if (PyErr_Occurred()) SWIG_fail
;
23389 wxPoint
* resultptr
;
23390 resultptr
= new wxPoint((wxPoint
&) result
);
23391 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23399 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23400 PyObject
*resultobj
;
23401 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23402 wxPoint
*arg2
= 0 ;
23404 PyObject
* obj0
= 0 ;
23405 PyObject
* obj1
= 0 ;
23406 char *kwnames
[] = {
23407 (char *) "self",(char *) "pt", NULL
23410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23415 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23419 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23421 wxPyEndAllowThreads(__tstate
);
23422 if (PyErr_Occurred()) SWIG_fail
;
23424 Py_INCREF(Py_None
); resultobj
= Py_None
;
23431 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23432 PyObject
*resultobj
;
23433 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23434 wxKeyEvent
*result
;
23435 PyObject
* obj0
= 0 ;
23436 char *kwnames
[] = {
23437 (char *) "self", NULL
23440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23446 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23447 result
= (wxKeyEvent
*) &_result_ref
;
23450 wxPyEndAllowThreads(__tstate
);
23451 if (PyErr_Occurred()) SWIG_fail
;
23453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
23460 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23461 PyObject
*resultobj
;
23462 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23464 PyObject
* obj0
= 0 ;
23465 char *kwnames
[] = {
23466 (char *) "self", NULL
23469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23474 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23476 wxPyEndAllowThreads(__tstate
);
23477 if (PyErr_Occurred()) SWIG_fail
;
23479 resultobj
= SWIG_FromInt((int)result
);
23486 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23487 PyObject
*resultobj
;
23488 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23489 wxKeyEvent
*arg2
= 0 ;
23490 PyObject
* obj0
= 0 ;
23491 PyObject
* obj1
= 0 ;
23492 char *kwnames
[] = {
23493 (char *) "self",(char *) "evt", NULL
23496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
23500 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23502 if (arg2
== NULL
) {
23503 PyErr_SetString(PyExc_TypeError
,"null reference");
23507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23508 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23510 wxPyEndAllowThreads(__tstate
);
23511 if (PyErr_Occurred()) SWIG_fail
;
23513 Py_INCREF(Py_None
); resultobj
= Py_None
;
23520 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23521 PyObject
*resultobj
;
23522 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23524 PyObject
* obj0
= 0 ;
23525 char *kwnames
[] = {
23526 (char *) "self", NULL
23529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23535 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23536 result
= (wxString
*) &_result_ref
;
23539 wxPyEndAllowThreads(__tstate
);
23540 if (PyErr_Occurred()) SWIG_fail
;
23544 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23546 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23555 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23556 PyObject
*resultobj
;
23557 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23558 wxString
*arg2
= 0 ;
23559 bool temp2
= False
;
23560 PyObject
* obj0
= 0 ;
23561 PyObject
* obj1
= 0 ;
23562 char *kwnames
[] = {
23563 (char *) "self",(char *) "label", NULL
23566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23570 arg2
= wxString_in_helper(obj1
);
23571 if (arg2
== NULL
) SWIG_fail
;
23575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23576 (arg1
)->SetLabel((wxString
const &)*arg2
);
23578 wxPyEndAllowThreads(__tstate
);
23579 if (PyErr_Occurred()) SWIG_fail
;
23581 Py_INCREF(Py_None
); resultobj
= Py_None
;
23596 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23597 PyObject
*resultobj
;
23598 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23600 PyObject
* obj0
= 0 ;
23601 char *kwnames
[] = {
23602 (char *) "self", NULL
23605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",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
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23612 wxPyEndAllowThreads(__tstate
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23622 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
;
23624 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23626 PyObject
* obj0
= 0 ;
23627 PyObject
* obj1
= 0 ;
23628 char *kwnames
[] = {
23629 (char *) "self",(char *) "editCancelled", NULL
23632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23635 arg2
= (bool) SWIG_AsBool(obj1
);
23636 if (PyErr_Occurred()) SWIG_fail
;
23638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23639 (arg1
)->SetEditCanceled(arg2
);
23641 wxPyEndAllowThreads(__tstate
);
23642 if (PyErr_Occurred()) SWIG_fail
;
23644 Py_INCREF(Py_None
); resultobj
= Py_None
;
23651 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23652 PyObject
*resultobj
;
23653 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23654 wxString
*arg2
= 0 ;
23655 bool temp2
= False
;
23656 PyObject
* obj0
= 0 ;
23657 PyObject
* obj1
= 0 ;
23658 char *kwnames
[] = {
23659 (char *) "self",(char *) "toolTip", NULL
23662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23666 arg2
= wxString_in_helper(obj1
);
23667 if (arg2
== NULL
) SWIG_fail
;
23671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23672 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23674 wxPyEndAllowThreads(__tstate
);
23675 if (PyErr_Occurred()) SWIG_fail
;
23677 Py_INCREF(Py_None
); resultobj
= Py_None
;
23692 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
23694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23695 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23697 return Py_BuildValue((char *)"");
23699 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23700 PyObject
*resultobj
;
23701 wxWindow
*arg1
= (wxWindow
*) 0 ;
23702 int arg2
= (int) -1 ;
23703 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23704 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23705 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23706 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23707 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23708 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23709 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23710 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23711 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23712 wxPyTreeCtrl
*result
;
23715 bool temp7
= False
;
23716 PyObject
* obj0
= 0 ;
23717 PyObject
* obj1
= 0 ;
23718 PyObject
* obj2
= 0 ;
23719 PyObject
* obj3
= 0 ;
23720 PyObject
* obj4
= 0 ;
23721 PyObject
* obj5
= 0 ;
23722 PyObject
* obj6
= 0 ;
23723 char *kwnames
[] = {
23724 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23731 arg2
= (int) SWIG_AsInt(obj1
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23737 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23743 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23747 arg5
= (long) SWIG_AsLong(obj4
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23751 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23752 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23754 if (arg6
== NULL
) {
23755 PyErr_SetString(PyExc_TypeError
,"null reference");
23761 arg7
= wxString_in_helper(obj6
);
23762 if (arg7
== NULL
) SWIG_fail
;
23767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23768 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23770 wxPyEndAllowThreads(__tstate
);
23771 if (PyErr_Occurred()) SWIG_fail
;
23774 resultobj
= wxPyMake_wxObject(result
);
23790 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23791 PyObject
*resultobj
;
23792 wxPyTreeCtrl
*result
;
23793 char *kwnames
[] = {
23797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23806 resultobj
= wxPyMake_wxObject(result
);
23814 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23815 PyObject
*resultobj
;
23816 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23817 wxWindow
*arg2
= (wxWindow
*) 0 ;
23818 int arg3
= (int) -1 ;
23819 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23820 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23821 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23822 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23823 long arg6
= (long) wxTR_DEFAULT_STYLE
;
23824 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23825 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23826 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
23827 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23831 bool temp8
= False
;
23832 PyObject
* obj0
= 0 ;
23833 PyObject
* obj1
= 0 ;
23834 PyObject
* obj2
= 0 ;
23835 PyObject
* obj3
= 0 ;
23836 PyObject
* obj4
= 0 ;
23837 PyObject
* obj5
= 0 ;
23838 PyObject
* obj6
= 0 ;
23839 PyObject
* obj7
= 0 ;
23840 char *kwnames
[] = {
23841 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23850 arg3
= (int) SWIG_AsInt(obj2
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23856 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23862 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23866 arg6
= (long) SWIG_AsLong(obj5
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23870 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23871 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23873 if (arg7
== NULL
) {
23874 PyErr_SetString(PyExc_TypeError
,"null reference");
23880 arg8
= wxString_in_helper(obj7
);
23881 if (arg8
== NULL
) SWIG_fail
;
23886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23887 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23889 wxPyEndAllowThreads(__tstate
);
23890 if (PyErr_Occurred()) SWIG_fail
;
23892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23907 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23908 PyObject
*resultobj
;
23909 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23910 PyObject
*arg2
= (PyObject
*) 0 ;
23911 PyObject
*arg3
= (PyObject
*) 0 ;
23912 PyObject
* obj0
= 0 ;
23913 PyObject
* obj1
= 0 ;
23914 PyObject
* obj2
= 0 ;
23915 char *kwnames
[] = {
23916 (char *) "self",(char *) "self",(char *) "_class", NULL
23919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23926 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23928 wxPyEndAllowThreads(__tstate
);
23929 if (PyErr_Occurred()) SWIG_fail
;
23931 Py_INCREF(Py_None
); resultobj
= Py_None
;
23938 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23939 PyObject
*resultobj
;
23940 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23942 PyObject
* obj0
= 0 ;
23943 char *kwnames
[] = {
23944 (char *) "self", NULL
23947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
23948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23952 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
23954 wxPyEndAllowThreads(__tstate
);
23955 if (PyErr_Occurred()) SWIG_fail
;
23957 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
23964 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23965 PyObject
*resultobj
;
23966 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23967 unsigned int result
;
23968 PyObject
* obj0
= 0 ;
23969 char *kwnames
[] = {
23970 (char *) "self", NULL
23973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
23974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23978 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
23980 wxPyEndAllowThreads(__tstate
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23983 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
23990 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23991 PyObject
*resultobj
;
23992 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23993 unsigned int arg2
;
23994 PyObject
* obj0
= 0 ;
23995 PyObject
* obj1
= 0 ;
23996 char *kwnames
[] = {
23997 (char *) "self",(char *) "indent", NULL
24000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
24001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24003 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24004 if (PyErr_Occurred()) SWIG_fail
;
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 (arg1
)->SetIndent(arg2
);
24009 wxPyEndAllowThreads(__tstate
);
24010 if (PyErr_Occurred()) SWIG_fail
;
24012 Py_INCREF(Py_None
); resultobj
= Py_None
;
24019 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24020 PyObject
*resultobj
;
24021 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24022 unsigned int result
;
24023 PyObject
* obj0
= 0 ;
24024 char *kwnames
[] = {
24025 (char *) "self", NULL
24028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
24029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24033 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
24035 wxPyEndAllowThreads(__tstate
);
24036 if (PyErr_Occurred()) SWIG_fail
;
24038 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24045 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24046 PyObject
*resultobj
;
24047 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24048 unsigned int arg2
;
24049 PyObject
* obj0
= 0 ;
24050 PyObject
* obj1
= 0 ;
24051 char *kwnames
[] = {
24052 (char *) "self",(char *) "spacing", NULL
24055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
24056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24058 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24062 (arg1
)->SetSpacing(arg2
);
24064 wxPyEndAllowThreads(__tstate
);
24065 if (PyErr_Occurred()) SWIG_fail
;
24067 Py_INCREF(Py_None
); resultobj
= Py_None
;
24074 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24075 PyObject
*resultobj
;
24076 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24077 wxImageList
*result
;
24078 PyObject
* obj0
= 0 ;
24079 char *kwnames
[] = {
24080 (char *) "self", NULL
24083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
24084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24088 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24090 wxPyEndAllowThreads(__tstate
);
24091 if (PyErr_Occurred()) SWIG_fail
;
24094 resultobj
= wxPyMake_wxObject(result
);
24102 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24103 PyObject
*resultobj
;
24104 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24105 wxImageList
*result
;
24106 PyObject
* obj0
= 0 ;
24107 char *kwnames
[] = {
24108 (char *) "self", NULL
24111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24116 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24118 wxPyEndAllowThreads(__tstate
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24122 resultobj
= wxPyMake_wxObject(result
);
24130 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24131 PyObject
*resultobj
;
24132 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24133 wxImageList
*arg2
= (wxImageList
*) 0 ;
24134 PyObject
* obj0
= 0 ;
24135 PyObject
* obj1
= 0 ;
24136 char *kwnames
[] = {
24137 (char *) "self",(char *) "imageList", NULL
24140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24147 (arg1
)->SetImageList(arg2
);
24149 wxPyEndAllowThreads(__tstate
);
24150 if (PyErr_Occurred()) SWIG_fail
;
24152 Py_INCREF(Py_None
); resultobj
= Py_None
;
24159 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24160 PyObject
*resultobj
;
24161 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24162 wxImageList
*arg2
= (wxImageList
*) 0 ;
24163 PyObject
* obj0
= 0 ;
24164 PyObject
* obj1
= 0 ;
24165 char *kwnames
[] = {
24166 (char *) "self",(char *) "imageList", NULL
24169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24176 (arg1
)->SetStateImageList(arg2
);
24178 wxPyEndAllowThreads(__tstate
);
24179 if (PyErr_Occurred()) SWIG_fail
;
24181 Py_INCREF(Py_None
); resultobj
= Py_None
;
24188 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24189 PyObject
*resultobj
;
24190 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24191 wxImageList
*arg2
= (wxImageList
*) 0 ;
24192 PyObject
* obj0
= 0 ;
24193 PyObject
* obj1
= 0 ;
24194 char *kwnames
[] = {
24195 (char *) "self",(char *) "imageList", NULL
24198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24201 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24202 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24205 (arg1
)->AssignImageList(arg2
);
24207 wxPyEndAllowThreads(__tstate
);
24208 if (PyErr_Occurred()) SWIG_fail
;
24210 Py_INCREF(Py_None
); resultobj
= Py_None
;
24217 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24218 PyObject
*resultobj
;
24219 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24220 wxImageList
*arg2
= (wxImageList
*) 0 ;
24221 PyObject
* obj0
= 0 ;
24222 PyObject
* obj1
= 0 ;
24223 char *kwnames
[] = {
24224 (char *) "self",(char *) "imageList", NULL
24227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24230 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24231 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24234 (arg1
)->AssignStateImageList(arg2
);
24236 wxPyEndAllowThreads(__tstate
);
24237 if (PyErr_Occurred()) SWIG_fail
;
24239 Py_INCREF(Py_None
); resultobj
= Py_None
;
24246 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24247 PyObject
*resultobj
;
24248 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24249 wxTreeItemId
*arg2
= 0 ;
24251 PyObject
* obj0
= 0 ;
24252 PyObject
* obj1
= 0 ;
24253 char *kwnames
[] = {
24254 (char *) "self",(char *) "item", NULL
24257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24260 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24261 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24263 if (arg2
== NULL
) {
24264 PyErr_SetString(PyExc_TypeError
,"null reference");
24268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24269 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24271 wxPyEndAllowThreads(__tstate
);
24272 if (PyErr_Occurred()) SWIG_fail
;
24276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24287 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24288 PyObject
*resultobj
;
24289 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24290 wxTreeItemId
*arg2
= 0 ;
24291 int arg3
= (int) wxTreeItemIcon_Normal
;
24293 PyObject
* obj0
= 0 ;
24294 PyObject
* obj1
= 0 ;
24295 PyObject
* obj2
= 0 ;
24296 char *kwnames
[] = {
24297 (char *) "self",(char *) "item",(char *) "which", NULL
24300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24303 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24304 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24306 if (arg2
== NULL
) {
24307 PyErr_SetString(PyExc_TypeError
,"null reference");
24311 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24316 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24318 wxPyEndAllowThreads(__tstate
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24321 resultobj
= SWIG_FromInt((int)result
);
24328 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24329 PyObject
*resultobj
;
24330 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24331 wxTreeItemId
*arg2
= 0 ;
24332 wxPyTreeItemData
*result
;
24333 PyObject
* obj0
= 0 ;
24334 PyObject
* obj1
= 0 ;
24335 char *kwnames
[] = {
24336 (char *) "self",(char *) "item", NULL
24339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24343 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24345 if (arg2
== NULL
) {
24346 PyErr_SetString(PyExc_TypeError
,"null reference");
24350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24351 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24353 wxPyEndAllowThreads(__tstate
);
24354 if (PyErr_Occurred()) SWIG_fail
;
24356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
24363 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24364 PyObject
*resultobj
;
24365 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24366 wxTreeItemId
*arg2
= 0 ;
24368 PyObject
* obj0
= 0 ;
24369 PyObject
* obj1
= 0 ;
24370 char *kwnames
[] = {
24371 (char *) "self",(char *) "item", NULL
24374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24378 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24380 if (arg2
== NULL
) {
24381 PyErr_SetString(PyExc_TypeError
,"null reference");
24385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24386 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24388 wxPyEndAllowThreads(__tstate
);
24389 if (PyErr_Occurred()) SWIG_fail
;
24391 resultobj
= result
;
24398 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24399 PyObject
*resultobj
;
24400 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24401 wxTreeItemId
*arg2
= 0 ;
24403 PyObject
* obj0
= 0 ;
24404 PyObject
* obj1
= 0 ;
24405 char *kwnames
[] = {
24406 (char *) "self",(char *) "item", NULL
24409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24413 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24415 if (arg2
== NULL
) {
24416 PyErr_SetString(PyExc_TypeError
,"null reference");
24420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24421 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24423 wxPyEndAllowThreads(__tstate
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24427 wxColour
* resultptr
;
24428 resultptr
= new wxColour((wxColour
&) result
);
24429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24437 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24438 PyObject
*resultobj
;
24439 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24440 wxTreeItemId
*arg2
= 0 ;
24442 PyObject
* obj0
= 0 ;
24443 PyObject
* obj1
= 0 ;
24444 char *kwnames
[] = {
24445 (char *) "self",(char *) "item", NULL
24448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24452 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24454 if (arg2
== NULL
) {
24455 PyErr_SetString(PyExc_TypeError
,"null reference");
24459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24460 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24462 wxPyEndAllowThreads(__tstate
);
24463 if (PyErr_Occurred()) SWIG_fail
;
24466 wxColour
* resultptr
;
24467 resultptr
= new wxColour((wxColour
&) result
);
24468 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24476 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24477 PyObject
*resultobj
;
24478 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24479 wxTreeItemId
*arg2
= 0 ;
24481 PyObject
* obj0
= 0 ;
24482 PyObject
* obj1
= 0 ;
24483 char *kwnames
[] = {
24484 (char *) "self",(char *) "item", NULL
24487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24491 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24493 if (arg2
== NULL
) {
24494 PyErr_SetString(PyExc_TypeError
,"null reference");
24498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24499 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24501 wxPyEndAllowThreads(__tstate
);
24502 if (PyErr_Occurred()) SWIG_fail
;
24505 wxFont
* resultptr
;
24506 resultptr
= new wxFont((wxFont
&) result
);
24507 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
24515 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24516 PyObject
*resultobj
;
24517 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24518 wxTreeItemId
*arg2
= 0 ;
24519 wxString
*arg3
= 0 ;
24520 bool temp3
= False
;
24521 PyObject
* obj0
= 0 ;
24522 PyObject
* obj1
= 0 ;
24523 PyObject
* obj2
= 0 ;
24524 char *kwnames
[] = {
24525 (char *) "self",(char *) "item",(char *) "text", NULL
24528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) 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_wxTreeItemId
,
24532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24534 if (arg2
== NULL
) {
24535 PyErr_SetString(PyExc_TypeError
,"null reference");
24539 arg3
= wxString_in_helper(obj2
);
24540 if (arg3
== NULL
) SWIG_fail
;
24544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24545 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24547 wxPyEndAllowThreads(__tstate
);
24548 if (PyErr_Occurred()) SWIG_fail
;
24550 Py_INCREF(Py_None
); resultobj
= Py_None
;
24565 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24566 PyObject
*resultobj
;
24567 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24568 wxTreeItemId
*arg2
= 0 ;
24570 int arg4
= (int) wxTreeItemIcon_Normal
;
24571 PyObject
* obj0
= 0 ;
24572 PyObject
* obj1
= 0 ;
24573 PyObject
* obj2
= 0 ;
24574 PyObject
* obj3
= 0 ;
24575 char *kwnames
[] = {
24576 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24585 if (arg2
== NULL
) {
24586 PyErr_SetString(PyExc_TypeError
,"null reference");
24589 arg3
= (int) SWIG_AsInt(obj2
);
24590 if (PyErr_Occurred()) SWIG_fail
;
24592 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24597 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24599 wxPyEndAllowThreads(__tstate
);
24600 if (PyErr_Occurred()) SWIG_fail
;
24602 Py_INCREF(Py_None
); resultobj
= Py_None
;
24609 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24610 PyObject
*resultobj
;
24611 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24612 wxTreeItemId
*arg2
= 0 ;
24613 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24614 PyObject
* obj0
= 0 ;
24615 PyObject
* obj1
= 0 ;
24616 PyObject
* obj2
= 0 ;
24617 char *kwnames
[] = {
24618 (char *) "self",(char *) "item",(char *) "data", NULL
24621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24627 if (arg2
== NULL
) {
24628 PyErr_SetString(PyExc_TypeError
,"null reference");
24631 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
24632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24635 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24637 wxPyEndAllowThreads(__tstate
);
24638 if (PyErr_Occurred()) SWIG_fail
;
24640 Py_INCREF(Py_None
); resultobj
= Py_None
;
24647 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24648 PyObject
*resultobj
;
24649 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24650 wxTreeItemId
*arg2
= 0 ;
24651 PyObject
*arg3
= (PyObject
*) 0 ;
24652 PyObject
* obj0
= 0 ;
24653 PyObject
* obj1
= 0 ;
24654 PyObject
* obj2
= 0 ;
24655 char *kwnames
[] = {
24656 (char *) "self",(char *) "item",(char *) "obj", NULL
24659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",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");
24671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24672 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24677 Py_INCREF(Py_None
); resultobj
= Py_None
;
24684 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24685 PyObject
*resultobj
;
24686 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24687 wxTreeItemId
*arg2
= 0 ;
24688 bool arg3
= (bool) True
;
24689 PyObject
* obj0
= 0 ;
24690 PyObject
* obj1
= 0 ;
24691 PyObject
* obj2
= 0 ;
24692 char *kwnames
[] = {
24693 (char *) "self",(char *) "item",(char *) "has", NULL
24696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24702 if (arg2
== NULL
) {
24703 PyErr_SetString(PyExc_TypeError
,"null reference");
24707 arg3
= (bool) SWIG_AsBool(obj2
);
24708 if (PyErr_Occurred()) SWIG_fail
;
24711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24712 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24714 wxPyEndAllowThreads(__tstate
);
24715 if (PyErr_Occurred()) SWIG_fail
;
24717 Py_INCREF(Py_None
); resultobj
= Py_None
;
24724 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24725 PyObject
*resultobj
;
24726 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24727 wxTreeItemId
*arg2
= 0 ;
24728 bool arg3
= (bool) True
;
24729 PyObject
* obj0
= 0 ;
24730 PyObject
* obj1
= 0 ;
24731 PyObject
* obj2
= 0 ;
24732 char *kwnames
[] = {
24733 (char *) "self",(char *) "item",(char *) "bold", NULL
24736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24740 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24742 if (arg2
== NULL
) {
24743 PyErr_SetString(PyExc_TypeError
,"null reference");
24747 arg3
= (bool) SWIG_AsBool(obj2
);
24748 if (PyErr_Occurred()) SWIG_fail
;
24751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24752 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24757 Py_INCREF(Py_None
); resultobj
= Py_None
;
24764 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24765 PyObject
*resultobj
;
24766 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24767 wxTreeItemId
*arg2
= 0 ;
24768 wxColour
*arg3
= 0 ;
24770 PyObject
* obj0
= 0 ;
24771 PyObject
* obj1
= 0 ;
24772 PyObject
* obj2
= 0 ;
24773 char *kwnames
[] = {
24774 (char *) "self",(char *) "item",(char *) "col", NULL
24777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24780 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24783 if (arg2
== NULL
) {
24784 PyErr_SetString(PyExc_TypeError
,"null reference");
24789 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24793 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24795 wxPyEndAllowThreads(__tstate
);
24796 if (PyErr_Occurred()) SWIG_fail
;
24798 Py_INCREF(Py_None
); resultobj
= Py_None
;
24805 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24806 PyObject
*resultobj
;
24807 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24808 wxTreeItemId
*arg2
= 0 ;
24809 wxColour
*arg3
= 0 ;
24811 PyObject
* obj0
= 0 ;
24812 PyObject
* obj1
= 0 ;
24813 PyObject
* obj2
= 0 ;
24814 char *kwnames
[] = {
24815 (char *) "self",(char *) "item",(char *) "col", NULL
24818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24822 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24824 if (arg2
== NULL
) {
24825 PyErr_SetString(PyExc_TypeError
,"null reference");
24830 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24834 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24836 wxPyEndAllowThreads(__tstate
);
24837 if (PyErr_Occurred()) SWIG_fail
;
24839 Py_INCREF(Py_None
); resultobj
= Py_None
;
24846 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24847 PyObject
*resultobj
;
24848 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24849 wxTreeItemId
*arg2
= 0 ;
24851 PyObject
* obj0
= 0 ;
24852 PyObject
* obj1
= 0 ;
24853 PyObject
* obj2
= 0 ;
24854 char *kwnames
[] = {
24855 (char *) "self",(char *) "item",(char *) "font", NULL
24858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24862 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24864 if (arg2
== NULL
) {
24865 PyErr_SetString(PyExc_TypeError
,"null reference");
24868 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
24869 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24871 if (arg3
== NULL
) {
24872 PyErr_SetString(PyExc_TypeError
,"null reference");
24876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24877 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
24879 wxPyEndAllowThreads(__tstate
);
24880 if (PyErr_Occurred()) SWIG_fail
;
24882 Py_INCREF(Py_None
); resultobj
= Py_None
;
24889 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24890 PyObject
*resultobj
;
24891 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24892 wxTreeItemId
*arg2
= 0 ;
24894 PyObject
* obj0
= 0 ;
24895 PyObject
* obj1
= 0 ;
24896 char *kwnames
[] = {
24897 (char *) "self",(char *) "item", NULL
24900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24904 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24906 if (arg2
== NULL
) {
24907 PyErr_SetString(PyExc_TypeError
,"null reference");
24911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24912 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
24914 wxPyEndAllowThreads(__tstate
);
24915 if (PyErr_Occurred()) SWIG_fail
;
24917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24924 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24925 PyObject
*resultobj
;
24926 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24927 wxTreeItemId
*arg2
= 0 ;
24929 PyObject
* obj0
= 0 ;
24930 PyObject
* obj1
= 0 ;
24931 char *kwnames
[] = {
24932 (char *) "self",(char *) "item", NULL
24935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
24936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24939 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24941 if (arg2
== NULL
) {
24942 PyErr_SetString(PyExc_TypeError
,"null reference");
24946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24947 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
24949 wxPyEndAllowThreads(__tstate
);
24950 if (PyErr_Occurred()) SWIG_fail
;
24952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24959 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24960 PyObject
*resultobj
;
24961 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24962 wxTreeItemId
*arg2
= 0 ;
24964 PyObject
* obj0
= 0 ;
24965 PyObject
* obj1
= 0 ;
24966 char *kwnames
[] = {
24967 (char *) "self",(char *) "item", NULL
24970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
24971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24974 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24976 if (arg2
== NULL
) {
24977 PyErr_SetString(PyExc_TypeError
,"null reference");
24981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24982 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
24984 wxPyEndAllowThreads(__tstate
);
24985 if (PyErr_Occurred()) SWIG_fail
;
24987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24994 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24995 PyObject
*resultobj
;
24996 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24997 wxTreeItemId
*arg2
= 0 ;
24999 PyObject
* obj0
= 0 ;
25000 PyObject
* obj1
= 0 ;
25001 char *kwnames
[] = {
25002 (char *) "self",(char *) "item", NULL
25005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
25006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25009 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25011 if (arg2
== NULL
) {
25012 PyErr_SetString(PyExc_TypeError
,"null reference");
25016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25017 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
25019 wxPyEndAllowThreads(__tstate
);
25020 if (PyErr_Occurred()) SWIG_fail
;
25022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25029 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25030 PyObject
*resultobj
;
25031 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25032 wxTreeItemId
*arg2
= 0 ;
25034 PyObject
* obj0
= 0 ;
25035 PyObject
* obj1
= 0 ;
25036 char *kwnames
[] = {
25037 (char *) "self",(char *) "item", NULL
25040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
25041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25043 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25044 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25046 if (arg2
== NULL
) {
25047 PyErr_SetString(PyExc_TypeError
,"null reference");
25051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25052 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
25054 wxPyEndAllowThreads(__tstate
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25064 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25065 PyObject
*resultobj
;
25066 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25067 wxTreeItemId
*arg2
= 0 ;
25068 bool arg3
= (bool) True
;
25070 PyObject
* obj0
= 0 ;
25071 PyObject
* obj1
= 0 ;
25072 PyObject
* obj2
= 0 ;
25073 char *kwnames
[] = {
25074 (char *) "self",(char *) "item",(char *) "recursively", NULL
25077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25081 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25083 if (arg2
== NULL
) {
25084 PyErr_SetString(PyExc_TypeError
,"null reference");
25088 arg3
= (bool) SWIG_AsBool(obj2
);
25089 if (PyErr_Occurred()) SWIG_fail
;
25092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25093 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
25095 wxPyEndAllowThreads(__tstate
);
25096 if (PyErr_Occurred()) SWIG_fail
;
25098 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25105 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25106 PyObject
*resultobj
;
25107 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25108 wxTreeItemId result
;
25109 PyObject
* obj0
= 0 ;
25110 char *kwnames
[] = {
25111 (char *) "self", NULL
25114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
25115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25119 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
25121 wxPyEndAllowThreads(__tstate
);
25122 if (PyErr_Occurred()) SWIG_fail
;
25125 wxTreeItemId
* resultptr
;
25126 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25135 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25136 PyObject
*resultobj
;
25137 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25138 wxTreeItemId result
;
25139 PyObject
* obj0
= 0 ;
25140 char *kwnames
[] = {
25141 (char *) "self", NULL
25144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
25145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25149 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
25151 wxPyEndAllowThreads(__tstate
);
25152 if (PyErr_Occurred()) SWIG_fail
;
25155 wxTreeItemId
* resultptr
;
25156 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25165 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25166 PyObject
*resultobj
;
25167 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25169 PyObject
* obj0
= 0 ;
25170 char *kwnames
[] = {
25171 (char *) "self", NULL
25174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
25175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25179 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25181 wxPyEndAllowThreads(__tstate
);
25182 if (PyErr_Occurred()) SWIG_fail
;
25184 resultobj
= result
;
25191 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25192 PyObject
*resultobj
;
25193 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25194 wxTreeItemId
*arg2
= 0 ;
25195 wxTreeItemId result
;
25196 PyObject
* obj0
= 0 ;
25197 PyObject
* obj1
= 0 ;
25198 char *kwnames
[] = {
25199 (char *) "self",(char *) "item", NULL
25202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25206 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25208 if (arg2
== NULL
) {
25209 PyErr_SetString(PyExc_TypeError
,"null reference");
25213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25214 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25216 wxPyEndAllowThreads(__tstate
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25220 wxTreeItemId
* resultptr
;
25221 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25230 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25231 PyObject
*resultobj
;
25232 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25233 wxTreeItemId
*arg2
= 0 ;
25235 PyObject
* obj0
= 0 ;
25236 PyObject
* obj1
= 0 ;
25237 char *kwnames
[] = {
25238 (char *) "self",(char *) "item", NULL
25241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25244 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25245 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25247 if (arg2
== NULL
) {
25248 PyErr_SetString(PyExc_TypeError
,"null reference");
25252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25253 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25255 wxPyEndAllowThreads(__tstate
);
25256 if (PyErr_Occurred()) SWIG_fail
;
25258 resultobj
= result
;
25265 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25266 PyObject
*resultobj
;
25267 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25268 wxTreeItemId
*arg2
= 0 ;
25269 void *arg3
= (void *) 0 ;
25271 PyObject
* obj0
= 0 ;
25272 PyObject
* obj1
= 0 ;
25273 PyObject
* obj2
= 0 ;
25274 char *kwnames
[] = {
25275 (char *) "self",(char *) "item",(char *) "cookie", NULL
25278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25282 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25284 if (arg2
== NULL
) {
25285 PyErr_SetString(PyExc_TypeError
,"null reference");
25288 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25291 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25293 wxPyEndAllowThreads(__tstate
);
25294 if (PyErr_Occurred()) SWIG_fail
;
25296 resultobj
= result
;
25303 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25304 PyObject
*resultobj
;
25305 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25306 wxTreeItemId
*arg2
= 0 ;
25307 wxTreeItemId result
;
25308 PyObject
* obj0
= 0 ;
25309 PyObject
* obj1
= 0 ;
25310 char *kwnames
[] = {
25311 (char *) "self",(char *) "item", NULL
25314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25318 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25320 if (arg2
== NULL
) {
25321 PyErr_SetString(PyExc_TypeError
,"null reference");
25325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25326 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25328 wxPyEndAllowThreads(__tstate
);
25329 if (PyErr_Occurred()) SWIG_fail
;
25332 wxTreeItemId
* resultptr
;
25333 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25334 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25342 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25343 PyObject
*resultobj
;
25344 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25345 wxTreeItemId
*arg2
= 0 ;
25346 wxTreeItemId result
;
25347 PyObject
* obj0
= 0 ;
25348 PyObject
* obj1
= 0 ;
25349 char *kwnames
[] = {
25350 (char *) "self",(char *) "item", NULL
25353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25357 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25359 if (arg2
== NULL
) {
25360 PyErr_SetString(PyExc_TypeError
,"null reference");
25364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25365 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25367 wxPyEndAllowThreads(__tstate
);
25368 if (PyErr_Occurred()) SWIG_fail
;
25371 wxTreeItemId
* resultptr
;
25372 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25381 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25382 PyObject
*resultobj
;
25383 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25384 wxTreeItemId
*arg2
= 0 ;
25385 wxTreeItemId result
;
25386 PyObject
* obj0
= 0 ;
25387 PyObject
* obj1
= 0 ;
25388 char *kwnames
[] = {
25389 (char *) "self",(char *) "item", NULL
25392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25396 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25398 if (arg2
== NULL
) {
25399 PyErr_SetString(PyExc_TypeError
,"null reference");
25403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25404 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25406 wxPyEndAllowThreads(__tstate
);
25407 if (PyErr_Occurred()) SWIG_fail
;
25410 wxTreeItemId
* resultptr
;
25411 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25420 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25421 PyObject
*resultobj
;
25422 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25423 wxTreeItemId result
;
25424 PyObject
* obj0
= 0 ;
25425 char *kwnames
[] = {
25426 (char *) "self", NULL
25429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25434 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25436 wxPyEndAllowThreads(__tstate
);
25437 if (PyErr_Occurred()) SWIG_fail
;
25440 wxTreeItemId
* resultptr
;
25441 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25450 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25451 PyObject
*resultobj
;
25452 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25453 wxTreeItemId
*arg2
= 0 ;
25454 wxTreeItemId result
;
25455 PyObject
* obj0
= 0 ;
25456 PyObject
* obj1
= 0 ;
25457 char *kwnames
[] = {
25458 (char *) "self",(char *) "item", NULL
25461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25465 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25467 if (arg2
== NULL
) {
25468 PyErr_SetString(PyExc_TypeError
,"null reference");
25472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25473 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25475 wxPyEndAllowThreads(__tstate
);
25476 if (PyErr_Occurred()) SWIG_fail
;
25479 wxTreeItemId
* resultptr
;
25480 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25481 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25489 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25490 PyObject
*resultobj
;
25491 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25492 wxTreeItemId
*arg2
= 0 ;
25493 wxTreeItemId result
;
25494 PyObject
* obj0
= 0 ;
25495 PyObject
* obj1
= 0 ;
25496 char *kwnames
[] = {
25497 (char *) "self",(char *) "item", NULL
25500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25504 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25506 if (arg2
== NULL
) {
25507 PyErr_SetString(PyExc_TypeError
,"null reference");
25511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25512 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25514 wxPyEndAllowThreads(__tstate
);
25515 if (PyErr_Occurred()) SWIG_fail
;
25518 wxTreeItemId
* resultptr
;
25519 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25520 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25528 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25529 PyObject
*resultobj
;
25530 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25531 wxString
*arg2
= 0 ;
25532 int arg3
= (int) -1 ;
25533 int arg4
= (int) -1 ;
25534 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25535 wxTreeItemId result
;
25536 bool temp2
= False
;
25537 PyObject
* obj0
= 0 ;
25538 PyObject
* obj1
= 0 ;
25539 PyObject
* obj2
= 0 ;
25540 PyObject
* obj3
= 0 ;
25541 PyObject
* obj4
= 0 ;
25542 char *kwnames
[] = {
25543 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25550 arg2
= wxString_in_helper(obj1
);
25551 if (arg2
== NULL
) SWIG_fail
;
25555 arg3
= (int) SWIG_AsInt(obj2
);
25556 if (PyErr_Occurred()) SWIG_fail
;
25559 arg4
= (int) SWIG_AsInt(obj3
);
25560 if (PyErr_Occurred()) SWIG_fail
;
25563 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
25564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25568 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25570 wxPyEndAllowThreads(__tstate
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25574 wxTreeItemId
* resultptr
;
25575 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25592 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25593 PyObject
*resultobj
;
25594 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25595 wxTreeItemId
*arg2
= 0 ;
25596 wxString
*arg3
= 0 ;
25597 int arg4
= (int) -1 ;
25598 int arg5
= (int) -1 ;
25599 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25600 wxTreeItemId result
;
25601 bool temp3
= False
;
25602 PyObject
* obj0
= 0 ;
25603 PyObject
* obj1
= 0 ;
25604 PyObject
* obj2
= 0 ;
25605 PyObject
* obj3
= 0 ;
25606 PyObject
* obj4
= 0 ;
25607 PyObject
* obj5
= 0 ;
25608 char *kwnames
[] = {
25609 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25618 if (arg2
== NULL
) {
25619 PyErr_SetString(PyExc_TypeError
,"null reference");
25623 arg3
= wxString_in_helper(obj2
);
25624 if (arg3
== NULL
) SWIG_fail
;
25628 arg4
= (int) SWIG_AsInt(obj3
);
25629 if (PyErr_Occurred()) SWIG_fail
;
25632 arg5
= (int) SWIG_AsInt(obj4
);
25633 if (PyErr_Occurred()) SWIG_fail
;
25636 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
25637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25641 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25643 wxPyEndAllowThreads(__tstate
);
25644 if (PyErr_Occurred()) SWIG_fail
;
25647 wxTreeItemId
* resultptr
;
25648 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25665 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25666 PyObject
*resultobj
;
25667 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25668 wxTreeItemId
*arg2
= 0 ;
25669 wxTreeItemId
*arg3
= 0 ;
25670 wxString
*arg4
= 0 ;
25671 int arg5
= (int) -1 ;
25672 int arg6
= (int) -1 ;
25673 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25674 wxTreeItemId result
;
25675 bool temp4
= False
;
25676 PyObject
* obj0
= 0 ;
25677 PyObject
* obj1
= 0 ;
25678 PyObject
* obj2
= 0 ;
25679 PyObject
* obj3
= 0 ;
25680 PyObject
* obj4
= 0 ;
25681 PyObject
* obj5
= 0 ;
25682 PyObject
* obj6
= 0 ;
25683 char *kwnames
[] = {
25684 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) 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
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
25698 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25700 if (arg3
== NULL
) {
25701 PyErr_SetString(PyExc_TypeError
,"null reference");
25705 arg4
= wxString_in_helper(obj3
);
25706 if (arg4
== NULL
) SWIG_fail
;
25710 arg5
= (int) SWIG_AsInt(obj4
);
25711 if (PyErr_Occurred()) SWIG_fail
;
25714 arg6
= (int) SWIG_AsInt(obj5
);
25715 if (PyErr_Occurred()) SWIG_fail
;
25718 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
25719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25723 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25725 wxPyEndAllowThreads(__tstate
);
25726 if (PyErr_Occurred()) SWIG_fail
;
25729 wxTreeItemId
* resultptr
;
25730 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25747 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25748 PyObject
*resultobj
;
25749 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25750 wxTreeItemId
*arg2
= 0 ;
25752 wxString
*arg4
= 0 ;
25753 int arg5
= (int) -1 ;
25754 int arg6
= (int) -1 ;
25755 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25756 wxTreeItemId result
;
25757 bool temp4
= False
;
25758 PyObject
* obj0
= 0 ;
25759 PyObject
* obj1
= 0 ;
25760 PyObject
* obj2
= 0 ;
25761 PyObject
* obj3
= 0 ;
25762 PyObject
* obj4
= 0 ;
25763 PyObject
* obj5
= 0 ;
25764 PyObject
* obj6
= 0 ;
25765 char *kwnames
[] = {
25766 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25775 if (arg2
== NULL
) {
25776 PyErr_SetString(PyExc_TypeError
,"null reference");
25779 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
25780 if (PyErr_Occurred()) SWIG_fail
;
25782 arg4
= wxString_in_helper(obj3
);
25783 if (arg4
== NULL
) SWIG_fail
;
25787 arg5
= (int) SWIG_AsInt(obj4
);
25788 if (PyErr_Occurred()) SWIG_fail
;
25791 arg6
= (int) SWIG_AsInt(obj5
);
25792 if (PyErr_Occurred()) SWIG_fail
;
25795 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
25796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25800 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25802 wxPyEndAllowThreads(__tstate
);
25803 if (PyErr_Occurred()) SWIG_fail
;
25806 wxTreeItemId
* resultptr
;
25807 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25824 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25825 PyObject
*resultobj
;
25826 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25827 wxTreeItemId
*arg2
= 0 ;
25828 wxString
*arg3
= 0 ;
25829 int arg4
= (int) -1 ;
25830 int arg5
= (int) -1 ;
25831 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25832 wxTreeItemId result
;
25833 bool temp3
= False
;
25834 PyObject
* obj0
= 0 ;
25835 PyObject
* obj1
= 0 ;
25836 PyObject
* obj2
= 0 ;
25837 PyObject
* obj3
= 0 ;
25838 PyObject
* obj4
= 0 ;
25839 PyObject
* obj5
= 0 ;
25840 char *kwnames
[] = {
25841 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25850 if (arg2
== NULL
) {
25851 PyErr_SetString(PyExc_TypeError
,"null reference");
25855 arg3
= wxString_in_helper(obj2
);
25856 if (arg3
== NULL
) SWIG_fail
;
25860 arg4
= (int) SWIG_AsInt(obj3
);
25861 if (PyErr_Occurred()) SWIG_fail
;
25864 arg5
= (int) SWIG_AsInt(obj4
);
25865 if (PyErr_Occurred()) SWIG_fail
;
25868 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
25869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25873 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25875 wxPyEndAllowThreads(__tstate
);
25876 if (PyErr_Occurred()) SWIG_fail
;
25879 wxTreeItemId
* resultptr
;
25880 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25881 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25897 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25898 PyObject
*resultobj
;
25899 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25900 wxTreeItemId
*arg2
= 0 ;
25901 PyObject
* obj0
= 0 ;
25902 PyObject
* obj1
= 0 ;
25903 char *kwnames
[] = {
25904 (char *) "self",(char *) "item", NULL
25907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
25908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25910 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25911 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25913 if (arg2
== NULL
) {
25914 PyErr_SetString(PyExc_TypeError
,"null reference");
25918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25919 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
25921 wxPyEndAllowThreads(__tstate
);
25922 if (PyErr_Occurred()) SWIG_fail
;
25924 Py_INCREF(Py_None
); resultobj
= Py_None
;
25931 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25932 PyObject
*resultobj
;
25933 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25934 wxTreeItemId
*arg2
= 0 ;
25935 PyObject
* obj0
= 0 ;
25936 PyObject
* obj1
= 0 ;
25937 char *kwnames
[] = {
25938 (char *) "self",(char *) "item", NULL
25941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25945 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25947 if (arg2
== NULL
) {
25948 PyErr_SetString(PyExc_TypeError
,"null reference");
25952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25953 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
25955 wxPyEndAllowThreads(__tstate
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25958 Py_INCREF(Py_None
); resultobj
= Py_None
;
25965 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25966 PyObject
*resultobj
;
25967 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25968 PyObject
* obj0
= 0 ;
25969 char *kwnames
[] = {
25970 (char *) "self", NULL
25973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25978 (arg1
)->DeleteAllItems();
25980 wxPyEndAllowThreads(__tstate
);
25981 if (PyErr_Occurred()) SWIG_fail
;
25983 Py_INCREF(Py_None
); resultobj
= Py_None
;
25990 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25991 PyObject
*resultobj
;
25992 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25993 wxTreeItemId
*arg2
= 0 ;
25994 PyObject
* obj0
= 0 ;
25995 PyObject
* obj1
= 0 ;
25996 char *kwnames
[] = {
25997 (char *) "self",(char *) "item", NULL
26000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
26001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26004 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26006 if (arg2
== NULL
) {
26007 PyErr_SetString(PyExc_TypeError
,"null reference");
26011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26012 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
26014 wxPyEndAllowThreads(__tstate
);
26015 if (PyErr_Occurred()) SWIG_fail
;
26017 Py_INCREF(Py_None
); resultobj
= Py_None
;
26024 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26025 PyObject
*resultobj
;
26026 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26027 wxTreeItemId
*arg2
= 0 ;
26028 PyObject
* obj0
= 0 ;
26029 PyObject
* obj1
= 0 ;
26030 char *kwnames
[] = {
26031 (char *) "self",(char *) "item", NULL
26034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
26035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26038 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26040 if (arg2
== NULL
) {
26041 PyErr_SetString(PyExc_TypeError
,"null reference");
26045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26046 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
26048 wxPyEndAllowThreads(__tstate
);
26049 if (PyErr_Occurred()) SWIG_fail
;
26051 Py_INCREF(Py_None
); resultobj
= Py_None
;
26058 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26059 PyObject
*resultobj
;
26060 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26061 wxTreeItemId
*arg2
= 0 ;
26062 PyObject
* obj0
= 0 ;
26063 PyObject
* obj1
= 0 ;
26064 char *kwnames
[] = {
26065 (char *) "self",(char *) "item", NULL
26068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
26069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26072 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26074 if (arg2
== NULL
) {
26075 PyErr_SetString(PyExc_TypeError
,"null reference");
26079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26080 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
26082 wxPyEndAllowThreads(__tstate
);
26083 if (PyErr_Occurred()) SWIG_fail
;
26085 Py_INCREF(Py_None
); resultobj
= Py_None
;
26092 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26093 PyObject
*resultobj
;
26094 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26095 wxTreeItemId
*arg2
= 0 ;
26096 PyObject
* obj0
= 0 ;
26097 PyObject
* obj1
= 0 ;
26098 char *kwnames
[] = {
26099 (char *) "self",(char *) "item", NULL
26102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
26103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26106 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26108 if (arg2
== NULL
) {
26109 PyErr_SetString(PyExc_TypeError
,"null reference");
26113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26114 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
26116 wxPyEndAllowThreads(__tstate
);
26117 if (PyErr_Occurred()) SWIG_fail
;
26119 Py_INCREF(Py_None
); resultobj
= Py_None
;
26126 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26127 PyObject
*resultobj
;
26128 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26129 PyObject
* obj0
= 0 ;
26130 char *kwnames
[] = {
26131 (char *) "self", NULL
26134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
26135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26139 (arg1
)->Unselect();
26141 wxPyEndAllowThreads(__tstate
);
26142 if (PyErr_Occurred()) SWIG_fail
;
26144 Py_INCREF(Py_None
); resultobj
= Py_None
;
26151 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26152 PyObject
*resultobj
;
26153 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26154 wxTreeItemId
*arg2
= 0 ;
26155 PyObject
* obj0
= 0 ;
26156 PyObject
* obj1
= 0 ;
26157 char *kwnames
[] = {
26158 (char *) "self",(char *) "item", NULL
26161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26165 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26167 if (arg2
== NULL
) {
26168 PyErr_SetString(PyExc_TypeError
,"null reference");
26172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26173 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
26175 wxPyEndAllowThreads(__tstate
);
26176 if (PyErr_Occurred()) SWIG_fail
;
26178 Py_INCREF(Py_None
); resultobj
= Py_None
;
26185 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26186 PyObject
*resultobj
;
26187 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26188 PyObject
* obj0
= 0 ;
26189 char *kwnames
[] = {
26190 (char *) "self", NULL
26193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
26194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26198 (arg1
)->UnselectAll();
26200 wxPyEndAllowThreads(__tstate
);
26201 if (PyErr_Occurred()) SWIG_fail
;
26203 Py_INCREF(Py_None
); resultobj
= Py_None
;
26210 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26211 PyObject
*resultobj
;
26212 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26213 wxTreeItemId
*arg2
= 0 ;
26214 bool arg3
= (bool) True
;
26215 PyObject
* obj0
= 0 ;
26216 PyObject
* obj1
= 0 ;
26217 PyObject
* obj2
= 0 ;
26218 char *kwnames
[] = {
26219 (char *) "self",(char *) "item",(char *) "select", NULL
26222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26226 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26228 if (arg2
== NULL
) {
26229 PyErr_SetString(PyExc_TypeError
,"null reference");
26233 arg3
= (bool) SWIG_AsBool(obj2
);
26234 if (PyErr_Occurred()) SWIG_fail
;
26237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26238 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
26240 wxPyEndAllowThreads(__tstate
);
26241 if (PyErr_Occurred()) SWIG_fail
;
26243 Py_INCREF(Py_None
); resultobj
= Py_None
;
26250 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26251 PyObject
*resultobj
;
26252 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26253 wxTreeItemId
*arg2
= 0 ;
26254 PyObject
* obj0
= 0 ;
26255 PyObject
* obj1
= 0 ;
26256 char *kwnames
[] = {
26257 (char *) "self",(char *) "item", NULL
26260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26263 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26264 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26266 if (arg2
== NULL
) {
26267 PyErr_SetString(PyExc_TypeError
,"null reference");
26271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26272 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26274 wxPyEndAllowThreads(__tstate
);
26275 if (PyErr_Occurred()) SWIG_fail
;
26277 Py_INCREF(Py_None
); resultobj
= Py_None
;
26284 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26285 PyObject
*resultobj
;
26286 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26287 wxTreeItemId
*arg2
= 0 ;
26288 PyObject
* obj0
= 0 ;
26289 PyObject
* obj1
= 0 ;
26290 char *kwnames
[] = {
26291 (char *) "self",(char *) "item", NULL
26294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26298 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26300 if (arg2
== NULL
) {
26301 PyErr_SetString(PyExc_TypeError
,"null reference");
26305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26306 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26308 wxPyEndAllowThreads(__tstate
);
26309 if (PyErr_Occurred()) SWIG_fail
;
26311 Py_INCREF(Py_None
); resultobj
= Py_None
;
26318 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26319 PyObject
*resultobj
;
26320 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26321 wxTreeItemId
*arg2
= 0 ;
26322 PyObject
* obj0
= 0 ;
26323 PyObject
* obj1
= 0 ;
26324 char *kwnames
[] = {
26325 (char *) "self",(char *) "item", NULL
26328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26332 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26334 if (arg2
== NULL
) {
26335 PyErr_SetString(PyExc_TypeError
,"null reference");
26339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26340 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26342 wxPyEndAllowThreads(__tstate
);
26343 if (PyErr_Occurred()) SWIG_fail
;
26345 Py_INCREF(Py_None
); resultobj
= Py_None
;
26352 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26353 PyObject
*resultobj
;
26354 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26355 wxTreeItemId
*arg2
= 0 ;
26356 PyObject
* obj0
= 0 ;
26357 PyObject
* obj1
= 0 ;
26358 char *kwnames
[] = {
26359 (char *) "self",(char *) "item", NULL
26362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26366 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26368 if (arg2
== NULL
) {
26369 PyErr_SetString(PyExc_TypeError
,"null reference");
26373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26374 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26376 wxPyEndAllowThreads(__tstate
);
26377 if (PyErr_Occurred()) SWIG_fail
;
26379 Py_INCREF(Py_None
); resultobj
= Py_None
;
26386 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26387 PyObject
*resultobj
;
26388 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26389 wxTextCtrl
*result
;
26390 PyObject
* obj0
= 0 ;
26391 char *kwnames
[] = {
26392 (char *) "self", NULL
26395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26400 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26402 wxPyEndAllowThreads(__tstate
);
26403 if (PyErr_Occurred()) SWIG_fail
;
26406 resultobj
= wxPyMake_wxObject(result
);
26414 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26415 PyObject
*resultobj
;
26416 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26417 wxTreeItemId
*arg2
= 0 ;
26418 PyObject
* obj0
= 0 ;
26419 PyObject
* obj1
= 0 ;
26420 char *kwnames
[] = {
26421 (char *) "self",(char *) "item", NULL
26424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26428 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26430 if (arg2
== NULL
) {
26431 PyErr_SetString(PyExc_TypeError
,"null reference");
26435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26436 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26438 wxPyEndAllowThreads(__tstate
);
26439 if (PyErr_Occurred()) SWIG_fail
;
26441 Py_INCREF(Py_None
); resultobj
= Py_None
;
26448 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26449 PyObject
*resultobj
;
26450 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26451 wxPoint
*arg2
= 0 ;
26453 wxTreeItemId result
;
26456 PyObject
* obj0
= 0 ;
26457 PyObject
* obj1
= 0 ;
26458 char *kwnames
[] = {
26459 (char *) "self",(char *) "point", NULL
26463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26468 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26472 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26474 wxPyEndAllowThreads(__tstate
);
26475 if (PyErr_Occurred()) SWIG_fail
;
26478 wxTreeItemId
* resultptr
;
26479 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26483 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26484 resultobj
= t_output_helper(resultobj
,o
);
26492 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26493 PyObject
*resultobj
;
26494 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26495 wxTreeItemId
*arg2
= 0 ;
26496 bool arg3
= (bool) False
;
26498 PyObject
* obj0
= 0 ;
26499 PyObject
* obj1
= 0 ;
26500 PyObject
* obj2
= 0 ;
26501 char *kwnames
[] = {
26502 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26508 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26509 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26511 if (arg2
== NULL
) {
26512 PyErr_SetString(PyExc_TypeError
,"null reference");
26516 arg3
= (bool) SWIG_AsBool(obj2
);
26517 if (PyErr_Occurred()) SWIG_fail
;
26520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26521 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26523 wxPyEndAllowThreads(__tstate
);
26524 if (PyErr_Occurred()) SWIG_fail
;
26526 resultobj
= result
;
26533 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26536 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26538 return Py_BuildValue((char *)"");
26540 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
26541 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26546 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
26551 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26553 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26560 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26561 PyObject
*resultobj
;
26562 wxWindow
*arg1
= (wxWindow
*) 0 ;
26563 int arg2
= (int) (int)-1 ;
26564 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
26565 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26566 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26567 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26568 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26569 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26570 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26571 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26572 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26573 int arg8
= (int) 0 ;
26574 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26575 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26576 wxGenericDirCtrl
*result
;
26577 bool temp3
= False
;
26580 bool temp7
= False
;
26581 bool temp9
= False
;
26582 PyObject
* obj0
= 0 ;
26583 PyObject
* obj1
= 0 ;
26584 PyObject
* obj2
= 0 ;
26585 PyObject
* obj3
= 0 ;
26586 PyObject
* obj4
= 0 ;
26587 PyObject
* obj5
= 0 ;
26588 PyObject
* obj6
= 0 ;
26589 PyObject
* obj7
= 0 ;
26590 PyObject
* obj8
= 0 ;
26591 char *kwnames
[] = {
26592 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26599 arg2
= (int const) SWIG_AsInt(obj1
);
26600 if (PyErr_Occurred()) SWIG_fail
;
26604 arg3
= wxString_in_helper(obj2
);
26605 if (arg3
== NULL
) SWIG_fail
;
26612 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26618 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26622 arg6
= (long) SWIG_AsLong(obj5
);
26623 if (PyErr_Occurred()) SWIG_fail
;
26627 arg7
= wxString_in_helper(obj6
);
26628 if (arg7
== NULL
) SWIG_fail
;
26633 arg8
= (int) SWIG_AsInt(obj7
);
26634 if (PyErr_Occurred()) SWIG_fail
;
26638 arg9
= wxString_in_helper(obj8
);
26639 if (arg9
== NULL
) SWIG_fail
;
26644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26645 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
26647 wxPyEndAllowThreads(__tstate
);
26648 if (PyErr_Occurred()) SWIG_fail
;
26650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26681 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26682 PyObject
*resultobj
;
26683 wxGenericDirCtrl
*result
;
26684 char *kwnames
[] = {
26688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
26690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26691 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
26693 wxPyEndAllowThreads(__tstate
);
26694 if (PyErr_Occurred()) SWIG_fail
;
26696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26703 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26704 PyObject
*resultobj
;
26705 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26706 wxWindow
*arg2
= (wxWindow
*) 0 ;
26707 int arg3
= (int) (int)-1 ;
26708 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
26709 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26710 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
26711 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
26712 wxSize
const &arg6_defvalue
= wxDefaultSize
;
26713 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
26714 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26715 wxString
const &arg8_defvalue
= wxPyEmptyString
;
26716 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26717 int arg9
= (int) 0 ;
26718 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
26719 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26721 bool temp4
= False
;
26724 bool temp8
= False
;
26725 bool temp10
= False
;
26726 PyObject
* obj0
= 0 ;
26727 PyObject
* obj1
= 0 ;
26728 PyObject
* obj2
= 0 ;
26729 PyObject
* obj3
= 0 ;
26730 PyObject
* obj4
= 0 ;
26731 PyObject
* obj5
= 0 ;
26732 PyObject
* obj6
= 0 ;
26733 PyObject
* obj7
= 0 ;
26734 PyObject
* obj8
= 0 ;
26735 PyObject
* obj9
= 0 ;
26736 char *kwnames
[] = {
26737 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26743 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26746 arg3
= (int const) SWIG_AsInt(obj2
);
26747 if (PyErr_Occurred()) SWIG_fail
;
26751 arg4
= wxString_in_helper(obj3
);
26752 if (arg4
== NULL
) SWIG_fail
;
26759 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
26765 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
26769 arg7
= (long) SWIG_AsLong(obj6
);
26770 if (PyErr_Occurred()) SWIG_fail
;
26774 arg8
= wxString_in_helper(obj7
);
26775 if (arg8
== NULL
) SWIG_fail
;
26780 arg9
= (int) SWIG_AsInt(obj8
);
26781 if (PyErr_Occurred()) SWIG_fail
;
26785 arg10
= wxString_in_helper(obj9
);
26786 if (arg10
== NULL
) SWIG_fail
;
26791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26792 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
26794 wxPyEndAllowThreads(__tstate
);
26795 if (PyErr_Occurred()) SWIG_fail
;
26797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26828 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26829 PyObject
*resultobj
;
26830 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26831 wxString
*arg2
= 0 ;
26833 bool temp2
= False
;
26834 PyObject
* obj0
= 0 ;
26835 PyObject
* obj1
= 0 ;
26836 char *kwnames
[] = {
26837 (char *) "self",(char *) "path", NULL
26840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26844 arg2
= wxString_in_helper(obj1
);
26845 if (arg2
== NULL
) SWIG_fail
;
26849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26850 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
26852 wxPyEndAllowThreads(__tstate
);
26853 if (PyErr_Occurred()) SWIG_fail
;
26855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26870 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26871 PyObject
*resultobj
;
26872 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26874 PyObject
* obj0
= 0 ;
26875 char *kwnames
[] = {
26876 (char *) "self", NULL
26879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
26880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26884 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
26886 wxPyEndAllowThreads(__tstate
);
26887 if (PyErr_Occurred()) SWIG_fail
;
26891 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26893 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26902 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26903 PyObject
*resultobj
;
26904 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26905 wxString
*arg2
= 0 ;
26906 bool temp2
= False
;
26907 PyObject
* obj0
= 0 ;
26908 PyObject
* obj1
= 0 ;
26909 char *kwnames
[] = {
26910 (char *) "self",(char *) "path", NULL
26913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26917 arg2
= wxString_in_helper(obj1
);
26918 if (arg2
== NULL
) SWIG_fail
;
26922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26923 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
26925 wxPyEndAllowThreads(__tstate
);
26926 if (PyErr_Occurred()) SWIG_fail
;
26928 Py_INCREF(Py_None
); resultobj
= Py_None
;
26943 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26944 PyObject
*resultobj
;
26945 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26947 PyObject
* obj0
= 0 ;
26948 char *kwnames
[] = {
26949 (char *) "self", NULL
26952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
26953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26957 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
26959 wxPyEndAllowThreads(__tstate
);
26960 if (PyErr_Occurred()) SWIG_fail
;
26964 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26966 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26975 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26976 PyObject
*resultobj
;
26977 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26979 PyObject
* obj0
= 0 ;
26980 char *kwnames
[] = {
26981 (char *) "self", NULL
26984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
26985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26989 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
26991 wxPyEndAllowThreads(__tstate
);
26992 if (PyErr_Occurred()) SWIG_fail
;
26996 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26998 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27007 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27008 PyObject
*resultobj
;
27009 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27010 wxString
*arg2
= 0 ;
27011 bool temp2
= False
;
27012 PyObject
* obj0
= 0 ;
27013 PyObject
* obj1
= 0 ;
27014 char *kwnames
[] = {
27015 (char *) "self",(char *) "path", NULL
27018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27022 arg2
= wxString_in_helper(obj1
);
27023 if (arg2
== NULL
) SWIG_fail
;
27027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27028 (arg1
)->SetPath((wxString
const &)*arg2
);
27030 wxPyEndAllowThreads(__tstate
);
27031 if (PyErr_Occurred()) SWIG_fail
;
27033 Py_INCREF(Py_None
); resultobj
= Py_None
;
27048 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27049 PyObject
*resultobj
;
27050 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27052 PyObject
* obj0
= 0 ;
27053 PyObject
* obj1
= 0 ;
27054 char *kwnames
[] = {
27055 (char *) "self",(char *) "show", NULL
27058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
27059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27061 arg2
= (bool) SWIG_AsBool(obj1
);
27062 if (PyErr_Occurred()) SWIG_fail
;
27064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27065 (arg1
)->ShowHidden(arg2
);
27067 wxPyEndAllowThreads(__tstate
);
27068 if (PyErr_Occurred()) SWIG_fail
;
27070 Py_INCREF(Py_None
); resultobj
= Py_None
;
27077 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27078 PyObject
*resultobj
;
27079 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27081 PyObject
* obj0
= 0 ;
27082 char *kwnames
[] = {
27083 (char *) "self", NULL
27086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
27087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27091 result
= (bool)(arg1
)->GetShowHidden();
27093 wxPyEndAllowThreads(__tstate
);
27094 if (PyErr_Occurred()) SWIG_fail
;
27096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27103 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27104 PyObject
*resultobj
;
27105 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27107 PyObject
* obj0
= 0 ;
27108 char *kwnames
[] = {
27109 (char *) "self", NULL
27112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
27113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27117 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
27119 wxPyEndAllowThreads(__tstate
);
27120 if (PyErr_Occurred()) SWIG_fail
;
27124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27135 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27136 PyObject
*resultobj
;
27137 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27138 wxString
*arg2
= 0 ;
27139 bool temp2
= False
;
27140 PyObject
* obj0
= 0 ;
27141 PyObject
* obj1
= 0 ;
27142 char *kwnames
[] = {
27143 (char *) "self",(char *) "filter", NULL
27146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
27147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27150 arg2
= wxString_in_helper(obj1
);
27151 if (arg2
== NULL
) SWIG_fail
;
27155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27156 (arg1
)->SetFilter((wxString
const &)*arg2
);
27158 wxPyEndAllowThreads(__tstate
);
27159 if (PyErr_Occurred()) SWIG_fail
;
27161 Py_INCREF(Py_None
); resultobj
= Py_None
;
27176 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27177 PyObject
*resultobj
;
27178 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27180 PyObject
* obj0
= 0 ;
27181 char *kwnames
[] = {
27182 (char *) "self", NULL
27185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
27186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27190 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
27192 wxPyEndAllowThreads(__tstate
);
27193 if (PyErr_Occurred()) SWIG_fail
;
27195 resultobj
= SWIG_FromInt((int)result
);
27202 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27203 PyObject
*resultobj
;
27204 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27206 PyObject
* obj0
= 0 ;
27207 PyObject
* obj1
= 0 ;
27208 char *kwnames
[] = {
27209 (char *) "self",(char *) "n", NULL
27212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
27213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27215 arg2
= (int) SWIG_AsInt(obj1
);
27216 if (PyErr_Occurred()) SWIG_fail
;
27218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27219 (arg1
)->SetFilterIndex(arg2
);
27221 wxPyEndAllowThreads(__tstate
);
27222 if (PyErr_Occurred()) SWIG_fail
;
27224 Py_INCREF(Py_None
); resultobj
= Py_None
;
27231 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27232 PyObject
*resultobj
;
27233 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27234 wxTreeItemId result
;
27235 PyObject
* obj0
= 0 ;
27236 char *kwnames
[] = {
27237 (char *) "self", NULL
27240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27245 result
= (arg1
)->GetRootId();
27247 wxPyEndAllowThreads(__tstate
);
27248 if (PyErr_Occurred()) SWIG_fail
;
27251 wxTreeItemId
* resultptr
;
27252 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27261 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27262 PyObject
*resultobj
;
27263 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27264 wxPyTreeCtrl
*result
;
27265 PyObject
* obj0
= 0 ;
27266 char *kwnames
[] = {
27267 (char *) "self", NULL
27270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
27271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27275 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27277 wxPyEndAllowThreads(__tstate
);
27278 if (PyErr_Occurred()) SWIG_fail
;
27281 resultobj
= wxPyMake_wxObject(result
);
27289 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27290 PyObject
*resultobj
;
27291 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27292 wxDirFilterListCtrl
*result
;
27293 PyObject
* obj0
= 0 ;
27294 char *kwnames
[] = {
27295 (char *) "self", NULL
27298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27303 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27305 wxPyEndAllowThreads(__tstate
);
27306 if (PyErr_Occurred()) SWIG_fail
;
27308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27315 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27316 PyObject
*resultobj
;
27317 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27318 wxTreeItemId arg2
;
27319 wxString
*arg3
= 0 ;
27321 wxTreeItemId result
;
27322 wxTreeItemId
*argp2
;
27323 bool temp3
= False
;
27325 PyObject
* obj0
= 0 ;
27326 PyObject
* obj1
= 0 ;
27327 PyObject
* obj2
= 0 ;
27328 char *kwnames
[] = {
27329 (char *) "self",(char *) "parentId",(char *) "path", NULL
27333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27336 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
27337 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27340 arg3
= wxString_in_helper(obj2
);
27341 if (arg3
== NULL
) SWIG_fail
;
27345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27346 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27348 wxPyEndAllowThreads(__tstate
);
27349 if (PyErr_Occurred()) SWIG_fail
;
27352 wxTreeItemId
* resultptr
;
27353 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27357 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27358 resultobj
= t_output_helper(resultobj
,o
);
27374 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27375 PyObject
*resultobj
;
27376 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27377 PyObject
* obj0
= 0 ;
27378 char *kwnames
[] = {
27379 (char *) "self", NULL
27382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27387 (arg1
)->DoResize();
27389 wxPyEndAllowThreads(__tstate
);
27390 if (PyErr_Occurred()) SWIG_fail
;
27392 Py_INCREF(Py_None
); resultobj
= Py_None
;
27399 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27400 PyObject
*resultobj
;
27401 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27402 PyObject
* obj0
= 0 ;
27403 char *kwnames
[] = {
27404 (char *) "self", NULL
27407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27412 (arg1
)->ReCreateTree();
27414 wxPyEndAllowThreads(__tstate
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27417 Py_INCREF(Py_None
); resultobj
= Py_None
;
27424 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27427 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27429 return Py_BuildValue((char *)"");
27431 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27432 PyObject
*resultobj
;
27433 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27434 int arg2
= (int) (int)-1 ;
27435 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27436 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27437 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27438 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27439 long arg5
= (long) 0 ;
27440 wxDirFilterListCtrl
*result
;
27443 PyObject
* obj0
= 0 ;
27444 PyObject
* obj1
= 0 ;
27445 PyObject
* obj2
= 0 ;
27446 PyObject
* obj3
= 0 ;
27447 PyObject
* obj4
= 0 ;
27448 char *kwnames
[] = {
27449 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27456 arg2
= (int const) SWIG_AsInt(obj1
);
27457 if (PyErr_Occurred()) SWIG_fail
;
27462 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27468 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27472 arg5
= (long) SWIG_AsLong(obj4
);
27473 if (PyErr_Occurred()) SWIG_fail
;
27476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27477 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27479 wxPyEndAllowThreads(__tstate
);
27480 if (PyErr_Occurred()) SWIG_fail
;
27482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27489 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27490 PyObject
*resultobj
;
27491 wxDirFilterListCtrl
*result
;
27492 char *kwnames
[] = {
27496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27499 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27501 wxPyEndAllowThreads(__tstate
);
27502 if (PyErr_Occurred()) SWIG_fail
;
27504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27511 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27512 PyObject
*resultobj
;
27513 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27514 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27515 int arg3
= (int) (int)-1 ;
27516 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27517 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27518 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27519 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27520 long arg6
= (long) 0 ;
27524 PyObject
* obj0
= 0 ;
27525 PyObject
* obj1
= 0 ;
27526 PyObject
* obj2
= 0 ;
27527 PyObject
* obj3
= 0 ;
27528 PyObject
* obj4
= 0 ;
27529 PyObject
* obj5
= 0 ;
27530 char *kwnames
[] = {
27531 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27537 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
27538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27540 arg3
= (int const) SWIG_AsInt(obj2
);
27541 if (PyErr_Occurred()) SWIG_fail
;
27546 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27552 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27556 arg6
= (long) SWIG_AsLong(obj5
);
27557 if (PyErr_Occurred()) SWIG_fail
;
27560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27561 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
27563 wxPyEndAllowThreads(__tstate
);
27564 if (PyErr_Occurred()) SWIG_fail
;
27566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27573 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27574 PyObject
*resultobj
;
27575 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27576 wxString
*arg2
= 0 ;
27578 bool temp2
= False
;
27579 PyObject
* obj0
= 0 ;
27580 PyObject
* obj1
= 0 ;
27581 PyObject
* obj2
= 0 ;
27582 char *kwnames
[] = {
27583 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27590 arg2
= wxString_in_helper(obj1
);
27591 if (arg2
== NULL
) SWIG_fail
;
27594 arg3
= (int) SWIG_AsInt(obj2
);
27595 if (PyErr_Occurred()) SWIG_fail
;
27597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27598 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27600 wxPyEndAllowThreads(__tstate
);
27601 if (PyErr_Occurred()) SWIG_fail
;
27603 Py_INCREF(Py_None
); resultobj
= Py_None
;
27618 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27621 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
27623 return Py_BuildValue((char *)"");
27625 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27626 PyObject
*resultobj
;
27627 wxWindow
*arg1
= (wxWindow
*) 0 ;
27629 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27630 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27631 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27632 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27633 long arg5
= (long) 0 ;
27634 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27635 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27636 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
27637 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27638 wxPyControl
*result
;
27641 bool temp7
= False
;
27642 PyObject
* obj0
= 0 ;
27643 PyObject
* obj1
= 0 ;
27644 PyObject
* obj2
= 0 ;
27645 PyObject
* obj3
= 0 ;
27646 PyObject
* obj4
= 0 ;
27647 PyObject
* obj5
= 0 ;
27648 PyObject
* obj6
= 0 ;
27649 char *kwnames
[] = {
27650 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27656 arg2
= (int const) SWIG_AsInt(obj1
);
27657 if (PyErr_Occurred()) SWIG_fail
;
27661 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27667 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27671 arg5
= (long) SWIG_AsLong(obj4
);
27672 if (PyErr_Occurred()) SWIG_fail
;
27675 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
27676 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27678 if (arg6
== NULL
) {
27679 PyErr_SetString(PyExc_TypeError
,"null reference");
27685 arg7
= wxString_in_helper(obj6
);
27686 if (arg7
== NULL
) SWIG_fail
;
27691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27692 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27694 wxPyEndAllowThreads(__tstate
);
27695 if (PyErr_Occurred()) SWIG_fail
;
27697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
27712 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27713 PyObject
*resultobj
;
27714 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27715 PyObject
*arg2
= (PyObject
*) 0 ;
27716 PyObject
*arg3
= (PyObject
*) 0 ;
27717 PyObject
* obj0
= 0 ;
27718 PyObject
* obj1
= 0 ;
27719 PyObject
* obj2
= 0 ;
27720 char *kwnames
[] = {
27721 (char *) "self",(char *) "self",(char *) "_class", NULL
27724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27731 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27733 wxPyEndAllowThreads(__tstate
);
27734 if (PyErr_Occurred()) SWIG_fail
;
27736 Py_INCREF(Py_None
); resultobj
= Py_None
;
27743 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27744 PyObject
*resultobj
;
27745 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27750 PyObject
* obj0
= 0 ;
27751 PyObject
* obj1
= 0 ;
27752 PyObject
* obj2
= 0 ;
27753 PyObject
* obj3
= 0 ;
27754 PyObject
* obj4
= 0 ;
27755 char *kwnames
[] = {
27756 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27762 arg2
= (int) SWIG_AsInt(obj1
);
27763 if (PyErr_Occurred()) SWIG_fail
;
27764 arg3
= (int) SWIG_AsInt(obj2
);
27765 if (PyErr_Occurred()) SWIG_fail
;
27766 arg4
= (int) SWIG_AsInt(obj3
);
27767 if (PyErr_Occurred()) SWIG_fail
;
27768 arg5
= (int) SWIG_AsInt(obj4
);
27769 if (PyErr_Occurred()) SWIG_fail
;
27771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27772 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
27774 wxPyEndAllowThreads(__tstate
);
27775 if (PyErr_Occurred()) SWIG_fail
;
27777 Py_INCREF(Py_None
); resultobj
= Py_None
;
27784 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27785 PyObject
*resultobj
;
27786 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27791 int arg6
= (int) wxSIZE_AUTO
;
27792 PyObject
* obj0
= 0 ;
27793 PyObject
* obj1
= 0 ;
27794 PyObject
* obj2
= 0 ;
27795 PyObject
* obj3
= 0 ;
27796 PyObject
* obj4
= 0 ;
27797 PyObject
* obj5
= 0 ;
27798 char *kwnames
[] = {
27799 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27805 arg2
= (int) SWIG_AsInt(obj1
);
27806 if (PyErr_Occurred()) SWIG_fail
;
27807 arg3
= (int) SWIG_AsInt(obj2
);
27808 if (PyErr_Occurred()) SWIG_fail
;
27809 arg4
= (int) SWIG_AsInt(obj3
);
27810 if (PyErr_Occurred()) SWIG_fail
;
27811 arg5
= (int) SWIG_AsInt(obj4
);
27812 if (PyErr_Occurred()) SWIG_fail
;
27814 arg6
= (int) SWIG_AsInt(obj5
);
27815 if (PyErr_Occurred()) SWIG_fail
;
27818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27819 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
27821 wxPyEndAllowThreads(__tstate
);
27822 if (PyErr_Occurred()) SWIG_fail
;
27824 Py_INCREF(Py_None
); resultobj
= Py_None
;
27831 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27832 PyObject
*resultobj
;
27833 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27836 PyObject
* obj0
= 0 ;
27837 PyObject
* obj1
= 0 ;
27838 PyObject
* obj2
= 0 ;
27839 char *kwnames
[] = {
27840 (char *) "self",(char *) "width",(char *) "height", NULL
27843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27846 arg2
= (int) SWIG_AsInt(obj1
);
27847 if (PyErr_Occurred()) SWIG_fail
;
27848 arg3
= (int) SWIG_AsInt(obj2
);
27849 if (PyErr_Occurred()) SWIG_fail
;
27851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27852 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
27854 wxPyEndAllowThreads(__tstate
);
27855 if (PyErr_Occurred()) SWIG_fail
;
27857 Py_INCREF(Py_None
); resultobj
= Py_None
;
27864 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27865 PyObject
*resultobj
;
27866 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27869 PyObject
* obj0
= 0 ;
27870 PyObject
* obj1
= 0 ;
27871 PyObject
* obj2
= 0 ;
27872 char *kwnames
[] = {
27873 (char *) "self",(char *) "x",(char *) "y", NULL
27876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27879 arg2
= (int) SWIG_AsInt(obj1
);
27880 if (PyErr_Occurred()) SWIG_fail
;
27881 arg3
= (int) SWIG_AsInt(obj2
);
27882 if (PyErr_Occurred()) SWIG_fail
;
27884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27885 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
27887 wxPyEndAllowThreads(__tstate
);
27888 if (PyErr_Occurred()) SWIG_fail
;
27890 Py_INCREF(Py_None
); resultobj
= Py_None
;
27897 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27898 PyObject
*resultobj
;
27899 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27900 int *arg2
= (int *) 0 ;
27901 int *arg3
= (int *) 0 ;
27904 PyObject
* obj0
= 0 ;
27905 char *kwnames
[] = {
27906 (char *) "self", NULL
27911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
27912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27916 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
27918 wxPyEndAllowThreads(__tstate
);
27919 if (PyErr_Occurred()) SWIG_fail
;
27921 Py_INCREF(Py_None
); resultobj
= Py_None
;
27923 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27924 resultobj
= t_output_helper(resultobj
,o
);
27927 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27928 resultobj
= t_output_helper(resultobj
,o
);
27936 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27937 PyObject
*resultobj
;
27938 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27939 int *arg2
= (int *) 0 ;
27940 int *arg3
= (int *) 0 ;
27943 PyObject
* obj0
= 0 ;
27944 char *kwnames
[] = {
27945 (char *) "self", NULL
27950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
27951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27955 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
27957 wxPyEndAllowThreads(__tstate
);
27958 if (PyErr_Occurred()) SWIG_fail
;
27960 Py_INCREF(Py_None
); resultobj
= Py_None
;
27962 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27963 resultobj
= t_output_helper(resultobj
,o
);
27966 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27967 resultobj
= t_output_helper(resultobj
,o
);
27975 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27976 PyObject
*resultobj
;
27977 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27978 int *arg2
= (int *) 0 ;
27979 int *arg3
= (int *) 0 ;
27982 PyObject
* obj0
= 0 ;
27983 char *kwnames
[] = {
27984 (char *) "self", NULL
27989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
27990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27994 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
27996 wxPyEndAllowThreads(__tstate
);
27997 if (PyErr_Occurred()) SWIG_fail
;
27999 Py_INCREF(Py_None
); resultobj
= Py_None
;
28001 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28002 resultobj
= t_output_helper(resultobj
,o
);
28005 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28006 resultobj
= t_output_helper(resultobj
,o
);
28014 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28015 PyObject
*resultobj
;
28016 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28018 PyObject
* obj0
= 0 ;
28019 char *kwnames
[] = {
28020 (char *) "self", NULL
28023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
28024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28028 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
28030 wxPyEndAllowThreads(__tstate
);
28031 if (PyErr_Occurred()) SWIG_fail
;
28034 wxSize
* resultptr
;
28035 resultptr
= new wxSize((wxSize
&) result
);
28036 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28044 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28045 PyObject
*resultobj
;
28046 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28048 PyObject
* obj0
= 0 ;
28049 char *kwnames
[] = {
28050 (char *) "self", NULL
28053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
28054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28058 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
28060 wxPyEndAllowThreads(__tstate
);
28061 if (PyErr_Occurred()) SWIG_fail
;
28064 wxSize
* resultptr
;
28065 resultptr
= new wxSize((wxSize
&) result
);
28066 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28074 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28075 PyObject
*resultobj
;
28076 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28077 PyObject
* obj0
= 0 ;
28078 char *kwnames
[] = {
28079 (char *) "self", NULL
28082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
28083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28087 (arg1
)->base_InitDialog();
28089 wxPyEndAllowThreads(__tstate
);
28090 if (PyErr_Occurred()) SWIG_fail
;
28092 Py_INCREF(Py_None
); resultobj
= Py_None
;
28099 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28100 PyObject
*resultobj
;
28101 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28103 PyObject
* obj0
= 0 ;
28104 char *kwnames
[] = {
28105 (char *) "self", NULL
28108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28113 result
= (bool)(arg1
)->base_TransferDataToWindow();
28115 wxPyEndAllowThreads(__tstate
);
28116 if (PyErr_Occurred()) SWIG_fail
;
28118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28125 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28126 PyObject
*resultobj
;
28127 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28129 PyObject
* obj0
= 0 ;
28130 char *kwnames
[] = {
28131 (char *) "self", NULL
28134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28139 result
= (bool)(arg1
)->base_TransferDataFromWindow();
28141 wxPyEndAllowThreads(__tstate
);
28142 if (PyErr_Occurred()) SWIG_fail
;
28144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28151 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28152 PyObject
*resultobj
;
28153 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28155 PyObject
* obj0
= 0 ;
28156 char *kwnames
[] = {
28157 (char *) "self", NULL
28160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
28161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28165 result
= (bool)(arg1
)->base_Validate();
28167 wxPyEndAllowThreads(__tstate
);
28168 if (PyErr_Occurred()) SWIG_fail
;
28170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28177 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28178 PyObject
*resultobj
;
28179 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28181 PyObject
* obj0
= 0 ;
28182 char *kwnames
[] = {
28183 (char *) "self", NULL
28186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28191 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
28193 wxPyEndAllowThreads(__tstate
);
28194 if (PyErr_Occurred()) SWIG_fail
;
28196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28203 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28204 PyObject
*resultobj
;
28205 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28207 PyObject
* obj0
= 0 ;
28208 char *kwnames
[] = {
28209 (char *) "self", NULL
28212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28217 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
28219 wxPyEndAllowThreads(__tstate
);
28220 if (PyErr_Occurred()) SWIG_fail
;
28222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28229 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28230 PyObject
*resultobj
;
28231 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28233 PyObject
* obj0
= 0 ;
28234 char *kwnames
[] = {
28235 (char *) "self", NULL
28238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28243 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28245 wxPyEndAllowThreads(__tstate
);
28246 if (PyErr_Occurred()) SWIG_fail
;
28249 wxSize
* resultptr
;
28250 resultptr
= new wxSize((wxSize
&) result
);
28251 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28259 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28260 PyObject
*resultobj
;
28261 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28262 wxWindow
*arg2
= (wxWindow
*) 0 ;
28263 PyObject
* obj0
= 0 ;
28264 PyObject
* obj1
= 0 ;
28265 char *kwnames
[] = {
28266 (char *) "self",(char *) "child", NULL
28269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28276 (arg1
)->base_AddChild(arg2
);
28278 wxPyEndAllowThreads(__tstate
);
28279 if (PyErr_Occurred()) SWIG_fail
;
28281 Py_INCREF(Py_None
); resultobj
= Py_None
;
28288 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28289 PyObject
*resultobj
;
28290 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28291 wxWindow
*arg2
= (wxWindow
*) 0 ;
28292 PyObject
* obj0
= 0 ;
28293 PyObject
* obj1
= 0 ;
28294 char *kwnames
[] = {
28295 (char *) "self",(char *) "child", NULL
28298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28301 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28305 (arg1
)->base_RemoveChild(arg2
);
28307 wxPyEndAllowThreads(__tstate
);
28308 if (PyErr_Occurred()) SWIG_fail
;
28310 Py_INCREF(Py_None
); resultobj
= Py_None
;
28317 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
28319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28320 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28322 return Py_BuildValue((char *)"");
28324 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28325 PyObject
*resultobj
;
28326 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28327 int arg2
= (int) 0 ;
28328 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28329 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28330 wxHelpEvent
*result
;
28332 PyObject
* obj0
= 0 ;
28333 PyObject
* obj1
= 0 ;
28334 PyObject
* obj2
= 0 ;
28335 char *kwnames
[] = {
28336 (char *) "type",(char *) "winid",(char *) "pt", NULL
28339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28341 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
28342 if (PyErr_Occurred()) SWIG_fail
;
28345 arg2
= (int) SWIG_AsInt(obj1
);
28346 if (PyErr_Occurred()) SWIG_fail
;
28351 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28356 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28358 wxPyEndAllowThreads(__tstate
);
28359 if (PyErr_Occurred()) SWIG_fail
;
28361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
28368 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28369 PyObject
*resultobj
;
28370 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28372 PyObject
* obj0
= 0 ;
28373 char *kwnames
[] = {
28374 (char *) "self", NULL
28377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28382 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28384 wxPyEndAllowThreads(__tstate
);
28385 if (PyErr_Occurred()) SWIG_fail
;
28388 wxPoint
* resultptr
;
28389 resultptr
= new wxPoint((wxPoint
&) result
);
28390 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28398 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28399 PyObject
*resultobj
;
28400 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28401 wxPoint
*arg2
= 0 ;
28403 PyObject
* obj0
= 0 ;
28404 PyObject
* obj1
= 0 ;
28405 char *kwnames
[] = {
28406 (char *) "self",(char *) "pos", NULL
28409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28414 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28418 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28420 wxPyEndAllowThreads(__tstate
);
28421 if (PyErr_Occurred()) SWIG_fail
;
28423 Py_INCREF(Py_None
); resultobj
= Py_None
;
28430 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28431 PyObject
*resultobj
;
28432 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28434 PyObject
* obj0
= 0 ;
28435 char *kwnames
[] = {
28436 (char *) "self", NULL
28439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28445 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
28446 result
= (wxString
*) &_result_ref
;
28449 wxPyEndAllowThreads(__tstate
);
28450 if (PyErr_Occurred()) SWIG_fail
;
28454 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28456 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28465 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28466 PyObject
*resultobj
;
28467 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28468 wxString
*arg2
= 0 ;
28469 bool temp2
= False
;
28470 PyObject
* obj0
= 0 ;
28471 PyObject
* obj1
= 0 ;
28472 char *kwnames
[] = {
28473 (char *) "self",(char *) "link", NULL
28476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
28477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28480 arg2
= wxString_in_helper(obj1
);
28481 if (arg2
== NULL
) SWIG_fail
;
28485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28486 (arg1
)->SetLink((wxString
const &)*arg2
);
28488 wxPyEndAllowThreads(__tstate
);
28489 if (PyErr_Occurred()) SWIG_fail
;
28491 Py_INCREF(Py_None
); resultobj
= Py_None
;
28506 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28507 PyObject
*resultobj
;
28508 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28510 PyObject
* obj0
= 0 ;
28511 char *kwnames
[] = {
28512 (char *) "self", NULL
28515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
28516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28521 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
28522 result
= (wxString
*) &_result_ref
;
28525 wxPyEndAllowThreads(__tstate
);
28526 if (PyErr_Occurred()) SWIG_fail
;
28530 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28532 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28541 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28542 PyObject
*resultobj
;
28543 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28544 wxString
*arg2
= 0 ;
28545 bool temp2
= False
;
28546 PyObject
* obj0
= 0 ;
28547 PyObject
* obj1
= 0 ;
28548 char *kwnames
[] = {
28549 (char *) "self",(char *) "target", NULL
28552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28556 arg2
= wxString_in_helper(obj1
);
28557 if (arg2
== NULL
) SWIG_fail
;
28561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28562 (arg1
)->SetTarget((wxString
const &)*arg2
);
28564 wxPyEndAllowThreads(__tstate
);
28565 if (PyErr_Occurred()) SWIG_fail
;
28567 Py_INCREF(Py_None
); resultobj
= Py_None
;
28582 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
28584 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28585 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
28587 return Py_BuildValue((char *)"");
28589 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28590 PyObject
*resultobj
;
28591 wxWindow
*arg1
= (wxWindow
*) NULL
;
28592 bool arg2
= (bool) True
;
28593 wxContextHelp
*result
;
28594 PyObject
* obj0
= 0 ;
28595 PyObject
* obj1
= 0 ;
28596 char *kwnames
[] = {
28597 (char *) "window",(char *) "doNow", NULL
28600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28606 arg2
= (bool) SWIG_AsBool(obj1
);
28607 if (PyErr_Occurred()) SWIG_fail
;
28610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28611 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
28613 wxPyEndAllowThreads(__tstate
);
28614 if (PyErr_Occurred()) SWIG_fail
;
28616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
28623 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28624 PyObject
*resultobj
;
28625 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28626 PyObject
* obj0
= 0 ;
28627 char *kwnames
[] = {
28628 (char *) "self", NULL
28631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
28632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28638 wxPyEndAllowThreads(__tstate
);
28639 if (PyErr_Occurred()) SWIG_fail
;
28641 Py_INCREF(Py_None
); resultobj
= Py_None
;
28648 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28649 PyObject
*resultobj
;
28650 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28651 wxWindow
*arg2
= (wxWindow
*) NULL
;
28653 PyObject
* obj0
= 0 ;
28654 PyObject
* obj1
= 0 ;
28655 char *kwnames
[] = {
28656 (char *) "self",(char *) "window", NULL
28659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28668 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
28670 wxPyEndAllowThreads(__tstate
);
28671 if (PyErr_Occurred()) SWIG_fail
;
28673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28680 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28681 PyObject
*resultobj
;
28682 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28684 PyObject
* obj0
= 0 ;
28685 char *kwnames
[] = {
28686 (char *) "self", NULL
28689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
28690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28694 result
= (bool)(arg1
)->EndContextHelp();
28696 wxPyEndAllowThreads(__tstate
);
28697 if (PyErr_Occurred()) SWIG_fail
;
28699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28706 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
28708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28709 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
28711 return Py_BuildValue((char *)"");
28713 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28714 PyObject
*resultobj
;
28715 wxWindow
*arg1
= (wxWindow
*) 0 ;
28716 int arg2
= (int) wxID_CONTEXT_HELP
;
28717 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28718 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28719 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28720 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28721 long arg5
= (long) wxBU_AUTODRAW
;
28722 wxContextHelpButton
*result
;
28725 PyObject
* obj0
= 0 ;
28726 PyObject
* obj1
= 0 ;
28727 PyObject
* obj2
= 0 ;
28728 PyObject
* obj3
= 0 ;
28729 PyObject
* obj4
= 0 ;
28730 char *kwnames
[] = {
28731 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28738 arg2
= (int) SWIG_AsInt(obj1
);
28739 if (PyErr_Occurred()) SWIG_fail
;
28744 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28750 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28754 arg5
= (long) SWIG_AsLong(obj4
);
28755 if (PyErr_Occurred()) SWIG_fail
;
28758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28759 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28761 wxPyEndAllowThreads(__tstate
);
28762 if (PyErr_Occurred()) SWIG_fail
;
28764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
28771 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
28773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28774 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
28776 return Py_BuildValue((char *)"");
28778 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28779 PyObject
*resultobj
;
28780 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28781 wxHelpProvider
*result
;
28782 PyObject
* obj0
= 0 ;
28783 char *kwnames
[] = {
28784 (char *) "helpProvider", NULL
28787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
28788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28792 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
28794 wxPyEndAllowThreads(__tstate
);
28795 if (PyErr_Occurred()) SWIG_fail
;
28797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
28804 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28805 PyObject
*resultobj
;
28806 wxHelpProvider
*result
;
28807 char *kwnames
[] = {
28811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
28813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28814 result
= (wxHelpProvider
*)wxHelpProvider::Get();
28816 wxPyEndAllowThreads(__tstate
);
28817 if (PyErr_Occurred()) SWIG_fail
;
28819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
28826 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28827 PyObject
*resultobj
;
28828 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28829 wxWindow
*arg2
= (wxWindow
*) 0 ;
28831 PyObject
* obj0
= 0 ;
28832 PyObject
* obj1
= 0 ;
28833 char *kwnames
[] = {
28834 (char *) "self",(char *) "window", NULL
28837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28844 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
28846 wxPyEndAllowThreads(__tstate
);
28847 if (PyErr_Occurred()) SWIG_fail
;
28851 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28853 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28862 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28863 PyObject
*resultobj
;
28864 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28865 wxWindow
*arg2
= (wxWindow
*) 0 ;
28867 PyObject
* obj0
= 0 ;
28868 PyObject
* obj1
= 0 ;
28869 char *kwnames
[] = {
28870 (char *) "self",(char *) "window", NULL
28873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28880 result
= (bool)(arg1
)->ShowHelp(arg2
);
28882 wxPyEndAllowThreads(__tstate
);
28883 if (PyErr_Occurred()) SWIG_fail
;
28885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28892 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28893 PyObject
*resultobj
;
28894 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28895 wxWindow
*arg2
= (wxWindow
*) 0 ;
28896 wxString
*arg3
= 0 ;
28897 bool temp3
= False
;
28898 PyObject
* obj0
= 0 ;
28899 PyObject
* obj1
= 0 ;
28900 PyObject
* obj2
= 0 ;
28901 char *kwnames
[] = {
28902 (char *) "self",(char *) "window",(char *) "text", NULL
28905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28908 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28911 arg3
= wxString_in_helper(obj2
);
28912 if (arg3
== NULL
) SWIG_fail
;
28916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28917 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28919 wxPyEndAllowThreads(__tstate
);
28920 if (PyErr_Occurred()) SWIG_fail
;
28922 Py_INCREF(Py_None
); resultobj
= Py_None
;
28937 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28938 PyObject
*resultobj
;
28939 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28941 wxString
*arg3
= 0 ;
28942 bool temp3
= False
;
28943 PyObject
* obj0
= 0 ;
28944 PyObject
* obj1
= 0 ;
28945 PyObject
* obj2
= 0 ;
28946 char *kwnames
[] = {
28947 (char *) "self",(char *) "id",(char *) "text", NULL
28950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28953 arg2
= (int) SWIG_AsInt(obj1
);
28954 if (PyErr_Occurred()) SWIG_fail
;
28956 arg3
= wxString_in_helper(obj2
);
28957 if (arg3
== NULL
) SWIG_fail
;
28961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28962 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28964 wxPyEndAllowThreads(__tstate
);
28965 if (PyErr_Occurred()) SWIG_fail
;
28967 Py_INCREF(Py_None
); resultobj
= Py_None
;
28982 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28983 PyObject
*resultobj
;
28984 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28985 wxWindow
*arg2
= (wxWindow
*) 0 ;
28986 PyObject
* obj0
= 0 ;
28987 PyObject
* obj1
= 0 ;
28988 char *kwnames
[] = {
28989 (char *) "self",(char *) "window", NULL
28992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28995 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28999 (arg1
)->RemoveHelp(arg2
);
29001 wxPyEndAllowThreads(__tstate
);
29002 if (PyErr_Occurred()) SWIG_fail
;
29004 Py_INCREF(Py_None
); resultobj
= Py_None
;
29011 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29012 PyObject
*resultobj
;
29013 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29014 PyObject
* obj0
= 0 ;
29015 char *kwnames
[] = {
29016 (char *) "self", NULL
29019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
29020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29024 wxHelpProvider_Destroy(arg1
);
29026 wxPyEndAllowThreads(__tstate
);
29027 if (PyErr_Occurred()) SWIG_fail
;
29029 Py_INCREF(Py_None
); resultobj
= Py_None
;
29036 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29039 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
29041 return Py_BuildValue((char *)"");
29043 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29044 PyObject
*resultobj
;
29045 wxSimpleHelpProvider
*result
;
29046 char *kwnames
[] = {
29050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
29052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29053 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
29055 wxPyEndAllowThreads(__tstate
);
29056 if (PyErr_Occurred()) SWIG_fail
;
29058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
29065 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29068 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
29070 return Py_BuildValue((char *)"");
29072 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29073 PyObject
*resultobj
;
29074 wxBitmap
*arg1
= 0 ;
29075 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29076 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29077 wxGenericDragImage
*result
;
29078 PyObject
* obj0
= 0 ;
29079 PyObject
* obj1
= 0 ;
29080 char *kwnames
[] = {
29081 (char *) "image",(char *) "cursor", NULL
29084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
29085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
29086 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29088 if (arg1
== NULL
) {
29089 PyErr_SetString(PyExc_TypeError
,"null reference");
29093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29094 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29096 if (arg2
== NULL
) {
29097 PyErr_SetString(PyExc_TypeError
,"null reference");
29102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29103 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
29105 wxPyEndAllowThreads(__tstate
);
29106 if (PyErr_Occurred()) SWIG_fail
;
29108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29115 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29116 PyObject
*resultobj
;
29118 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29119 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29120 wxGenericDragImage
*result
;
29121 PyObject
* obj0
= 0 ;
29122 PyObject
* obj1
= 0 ;
29123 char *kwnames
[] = {
29124 (char *) "image",(char *) "cursor", NULL
29127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
29128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
29129 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29131 if (arg1
== NULL
) {
29132 PyErr_SetString(PyExc_TypeError
,"null reference");
29136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29137 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29139 if (arg2
== NULL
) {
29140 PyErr_SetString(PyExc_TypeError
,"null reference");
29145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29146 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
29148 wxPyEndAllowThreads(__tstate
);
29149 if (PyErr_Occurred()) SWIG_fail
;
29151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29158 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29159 PyObject
*resultobj
;
29160 wxString
*arg1
= 0 ;
29161 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29162 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29163 wxGenericDragImage
*result
;
29164 bool temp1
= False
;
29165 PyObject
* obj0
= 0 ;
29166 PyObject
* obj1
= 0 ;
29167 char *kwnames
[] = {
29168 (char *) "str",(char *) "cursor", NULL
29171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
29173 arg1
= wxString_in_helper(obj0
);
29174 if (arg1
== NULL
) SWIG_fail
;
29178 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29179 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29181 if (arg2
== NULL
) {
29182 PyErr_SetString(PyExc_TypeError
,"null reference");
29187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29188 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
29190 wxPyEndAllowThreads(__tstate
);
29191 if (PyErr_Occurred()) SWIG_fail
;
29193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29208 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29209 PyObject
*resultobj
;
29210 wxPyTreeCtrl
*arg1
= 0 ;
29211 wxTreeItemId
*arg2
= 0 ;
29212 wxGenericDragImage
*result
;
29213 PyObject
* obj0
= 0 ;
29214 PyObject
* obj1
= 0 ;
29215 char *kwnames
[] = {
29216 (char *) "treeCtrl",(char *) "id", NULL
29219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
29221 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29223 if (arg1
== NULL
) {
29224 PyErr_SetString(PyExc_TypeError
,"null reference");
29227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
29228 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29230 if (arg2
== NULL
) {
29231 PyErr_SetString(PyExc_TypeError
,"null reference");
29235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29236 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
29238 wxPyEndAllowThreads(__tstate
);
29239 if (PyErr_Occurred()) SWIG_fail
;
29241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29248 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29249 PyObject
*resultobj
;
29250 wxPyListCtrl
*arg1
= 0 ;
29252 wxGenericDragImage
*result
;
29253 PyObject
* obj0
= 0 ;
29254 PyObject
* obj1
= 0 ;
29255 char *kwnames
[] = {
29256 (char *) "listCtrl",(char *) "id", NULL
29259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
29261 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29263 if (arg1
== NULL
) {
29264 PyErr_SetString(PyExc_TypeError
,"null reference");
29267 arg2
= (long) SWIG_AsLong(obj1
);
29268 if (PyErr_Occurred()) SWIG_fail
;
29270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29271 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
29273 wxPyEndAllowThreads(__tstate
);
29274 if (PyErr_Occurred()) SWIG_fail
;
29276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29283 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29284 PyObject
*resultobj
;
29285 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29286 PyObject
* obj0
= 0 ;
29287 char *kwnames
[] = {
29288 (char *) "self", NULL
29291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
29292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29298 wxPyEndAllowThreads(__tstate
);
29299 if (PyErr_Occurred()) SWIG_fail
;
29301 Py_INCREF(Py_None
); resultobj
= Py_None
;
29308 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29309 PyObject
*resultobj
;
29310 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29311 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29312 PyObject
* obj0
= 0 ;
29313 PyObject
* obj1
= 0 ;
29314 char *kwnames
[] = {
29315 (char *) "self",(char *) "bitmap", NULL
29318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
29322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29325 (arg1
)->SetBackingBitmap(arg2
);
29327 wxPyEndAllowThreads(__tstate
);
29328 if (PyErr_Occurred()) SWIG_fail
;
29330 Py_INCREF(Py_None
); resultobj
= Py_None
;
29337 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29338 PyObject
*resultobj
;
29339 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29340 wxPoint
*arg2
= 0 ;
29341 wxWindow
*arg3
= (wxWindow
*) 0 ;
29342 bool arg4
= (bool) False
;
29343 wxRect
*arg5
= (wxRect
*) NULL
;
29346 PyObject
* obj0
= 0 ;
29347 PyObject
* obj1
= 0 ;
29348 PyObject
* obj2
= 0 ;
29349 PyObject
* obj3
= 0 ;
29350 PyObject
* obj4
= 0 ;
29351 char *kwnames
[] = {
29352 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29360 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29362 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29365 arg4
= (bool) SWIG_AsBool(obj3
);
29366 if (PyErr_Occurred()) SWIG_fail
;
29369 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
29370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29374 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
29376 wxPyEndAllowThreads(__tstate
);
29377 if (PyErr_Occurred()) SWIG_fail
;
29379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29386 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29387 PyObject
*resultobj
;
29388 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29389 wxPoint
*arg2
= 0 ;
29390 wxWindow
*arg3
= (wxWindow
*) 0 ;
29391 wxWindow
*arg4
= (wxWindow
*) 0 ;
29394 PyObject
* obj0
= 0 ;
29395 PyObject
* obj1
= 0 ;
29396 PyObject
* obj2
= 0 ;
29397 PyObject
* obj3
= 0 ;
29398 char *kwnames
[] = {
29399 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29407 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29409 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29411 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
29412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29415 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29417 wxPyEndAllowThreads(__tstate
);
29418 if (PyErr_Occurred()) SWIG_fail
;
29420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29427 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29428 PyObject
*resultobj
;
29429 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29431 PyObject
* obj0
= 0 ;
29432 char *kwnames
[] = {
29433 (char *) "self", NULL
29436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
29437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29441 result
= (bool)(arg1
)->EndDrag();
29443 wxPyEndAllowThreads(__tstate
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29453 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29454 PyObject
*resultobj
;
29455 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29456 wxPoint
*arg2
= 0 ;
29459 PyObject
* obj0
= 0 ;
29460 PyObject
* obj1
= 0 ;
29461 char *kwnames
[] = {
29462 (char *) "self",(char *) "pt", NULL
29465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
29466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29470 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29474 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
29476 wxPyEndAllowThreads(__tstate
);
29477 if (PyErr_Occurred()) SWIG_fail
;
29479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29486 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29487 PyObject
*resultobj
;
29488 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29490 PyObject
* obj0
= 0 ;
29491 char *kwnames
[] = {
29492 (char *) "self", NULL
29495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
29496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29500 result
= (bool)(arg1
)->Show();
29502 wxPyEndAllowThreads(__tstate
);
29503 if (PyErr_Occurred()) SWIG_fail
;
29505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29512 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29513 PyObject
*resultobj
;
29514 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29516 PyObject
* obj0
= 0 ;
29517 char *kwnames
[] = {
29518 (char *) "self", NULL
29521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
29522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29526 result
= (bool)(arg1
)->Hide();
29528 wxPyEndAllowThreads(__tstate
);
29529 if (PyErr_Occurred()) SWIG_fail
;
29531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29538 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29539 PyObject
*resultobj
;
29540 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29541 wxPoint
*arg2
= 0 ;
29544 PyObject
* obj0
= 0 ;
29545 PyObject
* obj1
= 0 ;
29546 char *kwnames
[] = {
29547 (char *) "self",(char *) "pos", NULL
29550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29555 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29559 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
29561 wxPyEndAllowThreads(__tstate
);
29562 if (PyErr_Occurred()) SWIG_fail
;
29565 wxRect
* resultptr
;
29566 resultptr
= new wxRect((wxRect
&) result
);
29567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29575 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29576 PyObject
*resultobj
;
29577 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29579 wxPoint
*arg3
= 0 ;
29582 PyObject
* obj0
= 0 ;
29583 PyObject
* obj1
= 0 ;
29584 PyObject
* obj2
= 0 ;
29585 char *kwnames
[] = {
29586 (char *) "self",(char *) "dc",(char *) "pos", NULL
29589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29593 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29595 if (arg2
== NULL
) {
29596 PyErr_SetString(PyExc_TypeError
,"null reference");
29601 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29605 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
29607 wxPyEndAllowThreads(__tstate
);
29608 if (PyErr_Occurred()) SWIG_fail
;
29610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29617 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29618 PyObject
*resultobj
;
29619 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29621 wxMemoryDC
*arg3
= 0 ;
29627 PyObject
* obj0
= 0 ;
29628 PyObject
* obj1
= 0 ;
29629 PyObject
* obj2
= 0 ;
29630 PyObject
* obj3
= 0 ;
29631 PyObject
* obj4
= 0 ;
29632 char *kwnames
[] = {
29633 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29640 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29642 if (arg2
== NULL
) {
29643 PyErr_SetString(PyExc_TypeError
,"null reference");
29646 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
29647 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29649 if (arg3
== NULL
) {
29650 PyErr_SetString(PyExc_TypeError
,"null reference");
29655 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29659 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
29662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29663 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
29665 wxPyEndAllowThreads(__tstate
);
29666 if (PyErr_Occurred()) SWIG_fail
;
29668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29675 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29676 PyObject
*resultobj
;
29677 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29678 wxPoint
*arg2
= 0 ;
29679 wxPoint
*arg3
= 0 ;
29685 PyObject
* obj0
= 0 ;
29686 PyObject
* obj1
= 0 ;
29687 PyObject
* obj2
= 0 ;
29688 PyObject
* obj3
= 0 ;
29689 PyObject
* obj4
= 0 ;
29690 char *kwnames
[] = {
29691 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29699 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29703 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29705 arg4
= (bool) SWIG_AsBool(obj3
);
29706 if (PyErr_Occurred()) SWIG_fail
;
29707 arg5
= (bool) SWIG_AsBool(obj4
);
29708 if (PyErr_Occurred()) SWIG_fail
;
29710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29711 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
29713 wxPyEndAllowThreads(__tstate
);
29714 if (PyErr_Occurred()) SWIG_fail
;
29716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29723 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
29725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29726 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
29728 return Py_BuildValue((char *)"");
29730 static PyMethodDef SwigMethods
[] = {
29731 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
29732 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
29733 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
29734 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
29735 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29736 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
29737 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29738 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29739 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29740 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29741 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29742 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29743 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29744 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29745 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29746 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29747 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29748 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29749 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
29750 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
29751 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
29752 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29753 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29754 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29755 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29756 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29757 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29758 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29759 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29760 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
29761 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
29762 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
29763 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
29764 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
29765 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
29766 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29767 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29768 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29769 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
29770 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29771 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29772 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29773 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29774 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29775 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29776 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29777 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29778 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29779 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29780 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29781 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29782 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29783 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
29784 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29785 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29786 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29787 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
29788 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
29789 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
29790 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
29791 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29792 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29793 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29794 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29795 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29796 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29797 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29798 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29799 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29800 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
29801 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29802 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29803 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29804 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
29805 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29806 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29807 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
29808 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29809 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29810 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
29811 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
29812 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
29813 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
29814 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
29815 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29816 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29817 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
29818 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29819 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29820 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
29821 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
29822 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
29823 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
29824 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29825 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
29826 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
29827 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
29828 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29829 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29830 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
29831 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
29832 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
29833 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29834 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
29835 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
29836 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
29837 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29838 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29839 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
29840 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29841 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29842 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
29843 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
29844 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29845 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29846 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29847 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29848 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
29849 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
29850 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29851 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
29852 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
29853 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
29854 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
29855 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
29856 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29857 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29858 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29859 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29860 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29861 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29862 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29863 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29864 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29865 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29866 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29867 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29868 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
29869 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29870 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29871 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
29872 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29873 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29874 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29875 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29876 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29877 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29878 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29879 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29880 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
29881 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
29882 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
29883 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29884 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29885 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29886 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29887 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29888 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29889 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
29890 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
29891 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
29892 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
29893 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
29894 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
29895 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
29896 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29897 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29898 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29899 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29900 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29901 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
29902 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
29903 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
29904 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
29905 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
29906 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
29907 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
29908 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
29909 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29910 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29911 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29912 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29913 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
29914 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
29915 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
29916 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29917 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29918 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29919 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29920 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
29921 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
29922 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
29923 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
29924 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
29925 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
29926 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
29927 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29928 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29929 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29930 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29931 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29932 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
29933 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29934 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
29935 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29936 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
29937 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29938 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
29939 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
29940 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
29941 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
29942 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29943 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29944 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29945 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29946 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
29947 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29948 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29949 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29950 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29951 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
29952 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
29953 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29954 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29955 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29956 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29957 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29958 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29959 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29960 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29961 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29962 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29963 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29964 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
29965 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29966 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29967 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29968 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29969 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29970 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
29971 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29972 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29973 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29974 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29975 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
29976 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
29977 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29978 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29979 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
29980 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29981 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29982 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29983 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29984 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29985 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29986 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29987 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29988 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
29989 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29990 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29991 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
29992 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
29993 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
29994 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29995 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
29996 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
29997 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29998 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29999 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30000 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30001 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30002 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
30003 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
30004 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
30005 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
30006 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30007 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30008 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30009 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30010 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30011 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30012 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30013 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30014 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30015 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30016 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30017 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30018 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30019 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30020 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30021 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
30022 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
30023 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
30024 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
30025 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
30026 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30027 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
30028 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30029 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30030 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30031 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30032 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30033 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30034 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
30035 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
30036 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
30037 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30038 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30039 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30040 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30041 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30042 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30043 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30044 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30045 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30046 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30047 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
30048 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
30049 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
30050 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
30051 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
30052 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30053 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
30054 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
30055 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30056 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30057 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30058 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30059 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30060 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
30061 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
30062 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30063 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30064 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30065 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
30066 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
30067 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30068 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30069 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
30070 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30071 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
30072 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
30073 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
30074 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30075 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30076 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
30077 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30078 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
30079 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
30080 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30081 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30082 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30083 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
30084 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
30085 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30086 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30087 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30088 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
30089 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30090 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30091 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30092 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
30093 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
30094 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30095 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30096 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
30097 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30098 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
30099 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
30100 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30101 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30102 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30103 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30104 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30105 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30106 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
30107 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30108 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30109 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30110 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30111 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30112 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30113 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30114 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
30115 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
30116 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30117 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30118 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
30119 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
30120 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
30121 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30122 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30123 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
30124 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
30125 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
30126 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30127 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30128 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
30129 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
30130 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
30131 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
30132 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
30133 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
30134 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
30135 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30136 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30137 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30138 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
30139 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
30140 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30141 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30142 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30143 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30144 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30145 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
30146 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30147 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30148 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30149 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
30150 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30151 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30152 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30153 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
30154 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
30155 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
30156 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
30157 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30158 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30159 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
30160 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30161 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
30162 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30163 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
30164 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30165 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30166 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30167 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30168 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
30169 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
30170 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30171 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30172 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30173 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30174 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30175 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30176 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30177 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30178 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30179 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30180 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
30181 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30182 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30183 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30184 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30185 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
30186 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30187 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30188 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
30189 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
30190 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
30191 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
30192 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30193 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30194 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30195 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30196 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30197 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30198 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30199 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30200 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30201 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
30202 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30203 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30204 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30205 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30206 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30207 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30208 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30209 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30210 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30211 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30212 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
30213 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
30214 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
30215 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
30216 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30217 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30218 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
30219 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
30220 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
30221 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
30222 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
30223 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
30224 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
30225 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
30226 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
30227 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
30228 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
30229 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
30230 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
30231 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
30232 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
30233 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
30234 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
30235 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
30236 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30237 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30238 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30239 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30240 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30241 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30242 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
30243 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
30244 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
30245 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30246 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
30247 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30248 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30249 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30250 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30251 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30252 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30253 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30254 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30255 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
30256 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
30257 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30258 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30259 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
30260 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30261 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30262 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30263 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30264 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30265 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30266 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30267 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30268 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30269 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30270 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
30271 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
30272 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30273 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30274 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30275 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30276 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30277 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30278 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30279 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30280 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30281 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30282 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30283 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
30284 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30285 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30286 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30287 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30288 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30289 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30290 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30291 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30292 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
30293 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
30294 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
30295 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30296 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30297 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30298 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30299 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
30300 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
30301 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
30302 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
30303 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
30304 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
30305 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30306 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
30307 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
30308 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
30309 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30310 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30311 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
30312 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
30313 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
30314 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30315 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30316 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30317 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
30318 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30319 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
30320 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
30321 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30322 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
30323 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30324 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30325 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30326 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30327 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
30328 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
30329 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
30330 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
30331 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
30332 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
30333 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
30334 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
30335 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
30336 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
30337 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
30338 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30339 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30340 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30341 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
30342 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30343 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30344 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
30345 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
30346 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
30347 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
30348 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
30349 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
30350 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
30351 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30352 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30353 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30354 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30355 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30356 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
30357 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
30358 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30359 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30360 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30361 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30362 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30363 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30364 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30365 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30366 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30367 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30368 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30369 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30370 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30371 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
30372 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
30373 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30374 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30375 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30376 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30377 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30378 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30379 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30380 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30381 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30382 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30383 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30384 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30385 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30386 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30387 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30388 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30389 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30390 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30391 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30392 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30393 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30394 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30395 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30396 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30397 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30398 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30399 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30400 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
30401 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30402 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30403 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30404 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
30405 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30406 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
30407 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30408 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
30409 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
30410 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
30411 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30412 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30413 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
30414 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
30415 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
30416 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
30417 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
30418 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
30419 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
30420 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
30421 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
30422 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
30423 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
30424 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30425 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
30426 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
30427 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
30428 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
30429 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30430 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
30431 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
30432 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
30433 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30434 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
30435 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
30436 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30437 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
30438 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
30439 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30440 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
30441 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30442 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30443 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
30444 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30445 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
30446 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
30447 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30448 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30449 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30450 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
30451 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30452 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30453 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
30454 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
30455 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
30456 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30457 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30458 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30459 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30460 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30461 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30462 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
30463 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30464 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30465 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
30466 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
30467 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
30468 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
30469 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30470 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30471 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30472 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
30473 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
30474 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
30475 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30476 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
30477 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
30478 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30479 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30480 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
30481 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30482 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30483 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30484 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
30485 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
30486 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
30487 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30488 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
30489 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
30490 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
30491 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
30492 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
30493 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
30494 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
30495 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
30496 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30497 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30498 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
30499 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
30500 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30501 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30502 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
30503 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30504 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30505 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30506 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30507 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
30508 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
30509 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
30510 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
30511 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
30512 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
30513 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
30514 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
30515 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
30516 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
30517 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30518 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
30519 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
30520 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
30521 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30522 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
30523 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
30524 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
30525 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
30526 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30527 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30528 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
30529 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
30530 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
30531 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
30532 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
30533 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
30534 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
30535 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30536 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30537 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30538 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
30543 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30545 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
30546 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30548 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
30549 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30551 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
30552 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
30554 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
30555 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30557 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
30558 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30560 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
30561 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
30563 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
30564 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30566 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
30567 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
30569 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
30570 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
30572 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
30573 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
30575 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
30576 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30578 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
30579 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
30581 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
30582 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
30584 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
30585 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
30587 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
30588 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
30590 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
30591 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30593 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
30594 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
30596 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
30597 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
30599 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
30600 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
30602 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
30603 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30605 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
30606 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30608 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
30609 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
30611 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
30612 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30614 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
30615 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30617 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
30618 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30620 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
30621 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30623 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
30624 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
30626 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
30627 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
30629 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
30630 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30632 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
30633 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30635 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
30636 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
30638 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
30639 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
30641 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
30642 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
30644 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
30645 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
30647 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
30648 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30650 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30651 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30653 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30654 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30656 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30657 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30659 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30660 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30662 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30663 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30665 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30666 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30668 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30669 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30671 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30672 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30674 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30675 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30677 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30678 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30680 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30681 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30683 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30684 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30686 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30687 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30689 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30690 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30692 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30693 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30695 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30696 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30698 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30699 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30701 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
30702 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30704 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
30705 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
30707 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
30708 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30710 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
30711 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30713 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
30714 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
30716 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
30717 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30719 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
30720 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30722 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
30723 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
30725 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
30726 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30728 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
30729 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30731 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
30732 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30734 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
30735 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
30737 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
30738 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
30740 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
30741 return (void *)((wxControl
*) ((wxComboBox
*) x
));
30743 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
30744 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
30746 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
30747 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
30749 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
30750 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
30752 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
30753 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
30755 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
30756 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30758 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
30759 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
30761 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
30762 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
30764 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
30765 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
30767 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
30768 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
30770 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
30771 return (void *)((wxControl
*) ((wxGauge
*) x
));
30773 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
30774 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
30776 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
30777 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
30779 static void *_p_wxButtonTo_p_wxControl(void *x
) {
30780 return (void *)((wxControl
*) ((wxButton
*) x
));
30782 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
30783 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
30785 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
30786 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30788 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
30789 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
30791 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
30792 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
30794 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
30795 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
30797 static void *_p_wxListbookTo_p_wxControl(void *x
) {
30798 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
30800 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
30801 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
30803 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
30804 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
30806 static void *_p_wxListViewTo_p_wxControl(void *x
) {
30807 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
30809 static void *_p_wxSliderTo_p_wxControl(void *x
) {
30810 return (void *)((wxControl
*) ((wxSlider
*) x
));
30812 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
30813 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
30815 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
30816 return (void *)((wxControl
*) ((wxPyControl
*) x
));
30818 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
30819 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
30821 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
30822 return (void *)((wxControl
*) ((wxStaticText
*) x
));
30824 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
30825 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
30827 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
30828 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30830 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
30831 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30833 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
30834 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30836 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
30837 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
30839 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
30840 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30842 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
30843 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30845 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
30846 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30848 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
30849 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30851 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30852 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30854 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30855 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30857 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30858 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
30860 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
30861 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30863 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
30864 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
30866 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
30867 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30869 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
30870 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30872 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
30873 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
30875 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
30876 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
30878 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
30879 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30881 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
30882 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30884 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
30885 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
30887 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
30888 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30890 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
30891 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30893 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
30894 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
30896 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
30897 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30899 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
30900 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30902 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
30903 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30905 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
30906 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30908 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
30909 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30911 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
30912 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30914 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
30915 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30917 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
30918 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30920 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
30921 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30923 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
30924 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30926 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
30927 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30929 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
30930 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30932 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
30933 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30935 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
30936 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30938 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
30939 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30941 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
30942 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30944 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
30945 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30947 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
30948 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30950 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
30951 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30953 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
30954 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30956 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
30957 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30959 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
30960 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30962 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
30963 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30965 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
30966 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30968 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
30969 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
30971 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
30972 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
30974 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
30975 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
30977 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
30978 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
30980 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
30981 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30983 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
30984 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30986 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
30987 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
30989 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
30990 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
30992 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
30993 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
30995 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
30996 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
30998 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
30999 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31001 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31002 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31004 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
31005 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31007 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
31008 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31010 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31011 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31013 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31014 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31016 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31017 return (void *)((wxObject
*) ((wxSizer
*) x
));
31019 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31020 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31022 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
31023 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31025 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
31026 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31028 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31029 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31031 static void *_p_wxEventTo_p_wxObject(void *x
) {
31032 return (void *)((wxObject
*) ((wxEvent
*) x
));
31034 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31035 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31037 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31038 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31040 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31041 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31043 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
31044 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31046 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
31047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31049 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
31050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31052 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31053 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31055 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31056 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31058 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31059 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31061 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31062 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31064 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31065 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31067 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31068 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31070 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
31071 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31073 static void *_p_wxControlTo_p_wxObject(void *x
) {
31074 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31076 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
31077 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31079 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
31080 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31082 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
31083 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31085 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
31086 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31088 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
31089 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31091 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31092 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31094 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
31095 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31097 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31098 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31100 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31101 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31103 static void *_p_wxListViewTo_p_wxObject(void *x
) {
31104 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31106 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
31107 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31109 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
31110 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31112 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31113 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31115 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31116 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31118 static void *_p_wxListbookTo_p_wxObject(void *x
) {
31119 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31121 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31122 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31124 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
31125 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31127 static void *_p_wxSliderTo_p_wxObject(void *x
) {
31128 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31130 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31131 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31133 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31134 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31136 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31137 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31139 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31140 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31142 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31143 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31145 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31146 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31148 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31149 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31151 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31152 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31154 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31155 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31157 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
31158 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31160 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
31161 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
31163 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31164 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31166 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31167 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31169 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31170 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31172 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31173 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31175 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31176 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31178 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31179 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31181 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31182 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31184 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31185 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31187 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31188 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31190 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31191 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31193 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31194 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31196 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31197 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31199 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31200 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31202 static void *_p_wxListEventTo_p_wxObject(void *x
) {
31203 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31205 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
31206 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31208 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
31209 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31211 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
31212 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31214 static void *_p_wxButtonTo_p_wxObject(void *x
) {
31215 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31217 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
31218 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31220 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
31221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31223 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
31224 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31226 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31227 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31229 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
31230 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31232 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
31233 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31235 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
31236 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
31238 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
31239 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
31241 static void *_p_wxListItemTo_p_wxObject(void *x
) {
31242 return (void *)((wxObject
*) ((wxListItem
*) x
));
31244 static void *_p_wxImageTo_p_wxObject(void *x
) {
31245 return (void *)((wxObject
*) ((wxImage
*) x
));
31247 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
31248 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
31250 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31251 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31253 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
31254 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31256 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
31257 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
31259 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
31260 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31262 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
31263 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31265 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
31266 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31268 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31269 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31271 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31272 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31274 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31275 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31277 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31278 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31280 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31281 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31283 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31284 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31286 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31287 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31289 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31290 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31292 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31293 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31295 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31296 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31298 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31299 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31301 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31302 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31304 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31305 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31307 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
31308 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31310 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31311 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31313 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31314 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31316 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
31317 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31319 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31320 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31322 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31323 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31325 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31326 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31328 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31329 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31331 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
31332 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
31334 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
31335 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31337 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31338 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31340 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31341 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31343 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
31344 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
31346 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
31347 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
31349 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31350 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31352 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
31353 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31355 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
31356 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
31358 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
31359 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
31361 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
31362 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
31364 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31365 return (void *)((wxWindow
*) ((wxControl
*) x
));
31367 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
31368 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
31370 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
31371 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31373 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
31374 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
31376 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
31377 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
31379 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
31380 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
31382 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
31383 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
31385 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31386 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31388 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
31389 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
31391 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
31392 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
31394 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
31395 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31397 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
31398 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
31400 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
31401 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
31403 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
31404 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
31406 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
31407 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31409 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
31410 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31412 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
31413 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31415 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
31416 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31418 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
31419 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31421 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
31422 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
31424 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
31425 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
31427 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
31428 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
31430 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
31431 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
31433 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
31434 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
31436 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
31437 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
31439 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
31440 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
31442 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
31443 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31445 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
31446 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31448 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
31449 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
31451 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
31452 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31454 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
31455 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31457 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
31458 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31460 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
31461 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
31463 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
31464 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31466 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
31467 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31469 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
31470 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31472 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
31473 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31475 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
31476 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31478 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
31479 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
31481 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
31482 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31484 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
31485 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31487 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
31488 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31490 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
31491 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
31493 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
31494 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31496 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
31497 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31499 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
31500 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31502 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
31503 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
31505 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
31506 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
31508 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
31509 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
31511 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
31512 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
31514 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}};
31515 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}};
31516 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}};
31517 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}};
31518 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}};
31519 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}};
31520 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}};
31521 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}};
31522 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}};
31523 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}};
31524 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}};
31525 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}};
31526 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}};
31527 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}};
31528 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}};
31529 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}};
31530 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}};
31531 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}};
31532 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}};
31533 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}};
31534 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31535 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}};
31536 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}};
31537 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}};
31538 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}};
31539 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}};
31540 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}};
31541 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}};
31542 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}};
31543 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}};
31544 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}};
31545 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}};
31546 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}};
31547 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}};
31548 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}};
31549 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}};
31550 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}};
31551 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}};
31552 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}};
31553 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}};
31554 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}};
31555 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}};
31556 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}};
31557 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}};
31558 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}};
31559 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}};
31560 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}};
31561 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}};
31562 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}};
31563 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}};
31564 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}};
31565 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}};
31566 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}};
31567 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}};
31568 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}};
31569 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}};
31570 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}};
31571 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}};
31572 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}};
31573 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}};
31574 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}};
31575 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}};
31576 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}};
31577 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}};
31578 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}};
31579 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}};
31580 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}};
31581 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}};
31582 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}};
31583 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}};
31584 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}};
31585 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}};
31586 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}};
31587 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}};
31588 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}};
31589 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}};
31590 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}};
31591 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}};
31592 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31593 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}};
31594 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}};
31595 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}};
31596 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}};
31597 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}};
31599 static swig_type_info
*swig_types_initial
[] = {
31600 _swigt__p_wxTextUrlEvent
,
31601 _swigt__p_wxBookCtrlEvent
,
31603 _swigt__p_wxCheckBox
,
31604 _swigt__p_wxPyTreeCtrl
,
31606 _swigt__p_wxGenericDirCtrl
,
31608 _swigt__p_wxPyTreeItemData
,
31609 _swigt__p_wxItemContainer
,
31610 _swigt__p_wxDirFilterListCtrl
,
31611 _swigt__p_wxPyListCtrl
,
31612 _swigt__p_wxStaticLine
,
31613 _swigt__p_wxControl
,
31614 _swigt__p_wxPyControl
,
31616 _swigt__p_wxToolBarBase
,
31618 _swigt__p_wxToggleButton
,
31619 _swigt__p_wxRadioButton
,
31620 _swigt__p_wxChoice
,
31621 _swigt__p_wxMemoryDC
,
31622 _swigt__p_wxListItemAttr
,
31627 _swigt__p_wxListView
,
31629 _swigt__p_wxTextCtrl
,
31630 _swigt__p_wxNotebook
,
31631 _swigt__p_wxNotifyEvent
,
31632 _swigt__p_wxArrayString
,
31633 _swigt__p_wxListbook
,
31634 _swigt__p_wxStaticBitmap
,
31635 _swigt__p_wxSlider
,
31636 _swigt__p_wxStaticBox
,
31637 _swigt__p_wxArrayInt
,
31638 _swigt__p_wxContextHelp
,
31640 _swigt__p_wxEvtHandler
,
31641 _swigt__p_wxListEvent
,
31642 _swigt__p_wxListBox
,
31643 _swigt__p_wxCheckListBox
,
31644 _swigt__p_wxBookCtrl
,
31645 _swigt__p_wxSpinButton
,
31646 _swigt__p_wxButton
,
31647 _swigt__p_wxBitmapButton
,
31649 _swigt__p_wxContextHelpButton
,
31650 _swigt__p_wxRadioBox
,
31651 _swigt__p_wxScrollBar
,
31653 _swigt__p_wxTreeItemId
,
31654 _swigt__p_wxComboBox
,
31655 _swigt__p_wxHelpEvent
,
31656 _swigt__p_wxListItem
,
31657 _swigt__p_wxNotebookSizer
,
31658 _swigt__p_wxSpinEvent
,
31659 _swigt__p_wxGenericDragImage
,
31660 _swigt__p_wxSpinCtrl
,
31661 _swigt__p_wxImageList
,
31662 _swigt__p_wxHelpProvider
,
31663 _swigt__p_wxTextAttr
,
31664 _swigt__p_wxSimpleHelpProvider
,
31666 _swigt__p_wxListbookEvent
,
31667 _swigt__p_wxNotebookEvent
,
31668 _swigt__p_wxObject
,
31669 _swigt__p_wxCursor
,
31670 _swigt__p_wxKeyEvent
,
31671 _swigt__p_wxWindow
,
31672 _swigt__p_wxString
,
31673 _swigt__p_wxBitmap
,
31674 _swigt__p_wxTreeEvent
,
31675 _swigt__p_wxMouseEvent
,
31676 _swigt__p_wxCommandEvent
,
31677 _swigt__p_wxStaticText
,
31678 _swigt__p_wxControlWithItems
,
31679 _swigt__p_wxToolBarToolBase
,
31680 _swigt__p_wxColour
,
31681 _swigt__p_wxToolBar
,
31682 _swigt__p_wxBookCtrlSizer
,
31683 _swigt__p_wxValidator
,
31688 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31690 static swig_const_info swig_const_table
[] = {
31700 SWIGEXPORT(void) SWIG_init(void) {
31701 static PyObject
*SWIG_globals
= 0;
31702 static int typeinit
= 0;
31705 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
31706 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
31707 d
= PyModule_GetDict(m
);
31710 for (i
= 0; swig_types_initial
[i
]; i
++) {
31711 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
31715 SWIG_InstallConstants(d
,swig_const_table
);
31717 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
31718 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
31719 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
31720 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
31721 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
31722 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
31723 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
31724 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
31725 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
31726 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
31727 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
31728 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
31729 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
31730 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
31731 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
31732 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
31733 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
31734 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
31735 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
31736 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
31737 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
31738 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
31739 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
31740 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
31741 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
31742 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
31743 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
31744 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
31745 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
31746 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
31747 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
31748 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
31749 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
31750 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
31751 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
31752 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
31753 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
31754 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
31755 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
31756 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
31757 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
31758 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
31759 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
31760 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
31761 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
31762 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
31763 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
31764 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
31765 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
31766 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
31767 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
31768 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
31769 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
31770 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
31771 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
31772 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
31773 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
31774 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
31775 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
31776 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
31777 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
31778 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
31779 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
31780 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
31781 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
31782 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
31783 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
31784 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
31785 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
31786 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
31787 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
31788 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
31789 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
31790 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
31791 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
31792 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
31793 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
31794 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
31795 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
31796 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
31797 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
31798 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
31799 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
31800 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
31801 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
31802 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
31803 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
31804 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
31805 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
31806 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
31807 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
31808 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
31809 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
31810 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
31811 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
31812 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
31813 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
31814 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
31815 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
31816 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
31817 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
31818 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
31819 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
31820 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
31821 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
31822 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
31823 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
31824 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
31825 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
31826 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
31827 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
31828 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
31829 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
31830 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
31831 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
31832 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
31833 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
31834 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
31835 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
31836 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
31837 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
31838 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
31839 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
31840 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
31841 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
31842 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
31843 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
31844 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
31845 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
31846 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
31847 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
31848 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
31849 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
31850 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
31851 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
31852 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
31853 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
31854 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
31855 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
31856 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
31857 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
31858 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
31859 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
31860 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
31861 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
31862 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
31863 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
31864 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
31865 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
31866 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
31867 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
31868 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
31869 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
31870 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
31871 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
31872 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
31873 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
31874 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
31875 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
31876 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
31877 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
31878 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
31879 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
31880 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
31881 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
31882 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
31883 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
31884 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
31885 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
31886 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
31887 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
31888 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
31889 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
31890 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
31891 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
31892 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
31893 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
31894 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
31895 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
31896 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
31897 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
31898 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
31899 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
31900 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
31901 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
31902 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
31903 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
31904 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
31905 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
31906 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
31907 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
31908 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
31909 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
31910 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
31911 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
31912 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
31913 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
31914 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
31915 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
31916 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
31917 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
31918 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
31919 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
31920 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
31921 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
31922 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
31923 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
31924 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
31925 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
31926 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
31927 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
31929 // Map renamed classes back to their common name for OOR
31930 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31932 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
31933 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
31934 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
31935 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
31936 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
31937 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
31938 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
31939 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
31940 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
31941 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
31942 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
31943 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
31944 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
31945 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
31946 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
31947 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
31948 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
31949 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
31950 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
31951 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
31952 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
31953 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
31954 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
31955 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
31956 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
31957 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
31958 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
31959 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
31960 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
31961 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
31962 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
31963 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
31964 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
31965 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
31966 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
31967 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
31968 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
31969 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
31970 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
31971 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
31972 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
31973 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
31974 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
31975 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
31976 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
31977 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
31978 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
31979 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
31980 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
31981 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
31982 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
31983 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
31984 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
31985 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
31986 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
31987 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
31989 // Map renamed classes back to their common name for OOR
31990 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31991 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31993 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
31994 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
31995 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
31996 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
31997 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
31998 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
31999 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
32000 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
32001 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
32002 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
32004 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");