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 bool blocked
= wxPyBeginBlockThreads();
655 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
656 PyObject
* result
= PyEval_CallObject(func
, args
);
659 retval
= PyInt_AsLong(result
);
663 wxPyEndBlockThreads(blocked
);
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 bool blocked
= 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(blocked
);
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 bool blocked
= 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(blocked
);
896 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
898 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
899 bool blocked
= 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(blocked
);
906 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
907 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
908 bool blocked
= 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(blocked
);
915 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
917 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
918 bool blocked
= wxPyBeginBlockThreads();
919 wxRect
* r
= new wxRect(rect
);
920 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
921 wxPyEndBlockThreads(blocked
);
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
);
968 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
973 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
975 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
976 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
977 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
978 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
980 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
981 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
982 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
984 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
985 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
987 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
988 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
989 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
990 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
992 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
993 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
994 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
996 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
997 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
999 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, ShouldInheritColours
);
1000 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1004 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1006 #include <wx/generic/dragimgg.h>
1011 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1012 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1017 static PyObject
*_wrap_ButtonNameStr_get() {
1022 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1024 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1031 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1032 PyObject
*resultobj
;
1033 wxWindow
*arg1
= (wxWindow
*) 0 ;
1035 wxString
*arg3
= 0 ;
1036 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1037 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1038 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1039 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1040 long arg6
= (long) 0 ;
1041 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1042 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1043 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1044 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1046 bool temp3
= False
;
1049 bool temp8
= False
;
1050 PyObject
* obj0
= 0 ;
1051 PyObject
* obj1
= 0 ;
1052 PyObject
* obj2
= 0 ;
1053 PyObject
* obj3
= 0 ;
1054 PyObject
* obj4
= 0 ;
1055 PyObject
* obj5
= 0 ;
1056 PyObject
* obj6
= 0 ;
1057 PyObject
* obj7
= 0 ;
1059 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1065 arg2
= (int) SWIG_AsInt(obj1
);
1066 if (PyErr_Occurred()) SWIG_fail
;
1068 arg3
= wxString_in_helper(obj2
);
1069 if (arg3
== NULL
) SWIG_fail
;
1075 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1081 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1085 arg6
= (long) SWIG_AsLong(obj5
);
1086 if (PyErr_Occurred()) SWIG_fail
;
1089 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1090 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1093 PyErr_SetString(PyExc_TypeError
,"null reference");
1099 arg8
= wxString_in_helper(obj7
);
1100 if (arg8
== NULL
) SWIG_fail
;
1105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1106 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1108 wxPyEndAllowThreads(__tstate
);
1109 if (PyErr_Occurred()) SWIG_fail
;
1112 resultobj
= wxPyMake_wxObject(result
);
1136 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1137 PyObject
*resultobj
;
1143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1146 result
= (wxButton
*)new wxButton();
1148 wxPyEndAllowThreads(__tstate
);
1149 if (PyErr_Occurred()) SWIG_fail
;
1152 resultobj
= wxPyMake_wxObject(result
);
1160 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1161 PyObject
*resultobj
;
1162 wxButton
*arg1
= (wxButton
*) 0 ;
1163 wxWindow
*arg2
= (wxWindow
*) 0 ;
1165 wxString
*arg4
= 0 ;
1166 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1167 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1168 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1169 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1170 long arg7
= (long) 0 ;
1171 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1172 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1173 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1174 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1176 bool temp4
= False
;
1179 bool temp9
= False
;
1180 PyObject
* obj0
= 0 ;
1181 PyObject
* obj1
= 0 ;
1182 PyObject
* obj2
= 0 ;
1183 PyObject
* obj3
= 0 ;
1184 PyObject
* obj4
= 0 ;
1185 PyObject
* obj5
= 0 ;
1186 PyObject
* obj6
= 0 ;
1187 PyObject
* obj7
= 0 ;
1188 PyObject
* obj8
= 0 ;
1190 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1198 arg3
= (int) SWIG_AsInt(obj2
);
1199 if (PyErr_Occurred()) SWIG_fail
;
1201 arg4
= wxString_in_helper(obj3
);
1202 if (arg4
== NULL
) SWIG_fail
;
1208 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1214 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1218 arg7
= (long) SWIG_AsLong(obj6
);
1219 if (PyErr_Occurred()) SWIG_fail
;
1222 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1223 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1226 PyErr_SetString(PyExc_TypeError
,"null reference");
1232 arg9
= wxString_in_helper(obj8
);
1233 if (arg9
== NULL
) SWIG_fail
;
1238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1239 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1241 wxPyEndAllowThreads(__tstate
);
1242 if (PyErr_Occurred()) SWIG_fail
;
1245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1269 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1270 PyObject
*resultobj
;
1271 wxButton
*arg1
= (wxButton
*) 0 ;
1272 PyObject
* obj0
= 0 ;
1274 (char *) "self", NULL
1277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1282 (arg1
)->SetDefault();
1284 wxPyEndAllowThreads(__tstate
);
1285 if (PyErr_Occurred()) SWIG_fail
;
1287 Py_INCREF(Py_None
); resultobj
= Py_None
;
1294 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1295 PyObject
*resultobj
;
1301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1304 result
= wxButton::GetDefaultSize();
1306 wxPyEndAllowThreads(__tstate
);
1307 if (PyErr_Occurred()) SWIG_fail
;
1311 resultptr
= new wxSize((wxSize
&) result
);
1312 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1320 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1323 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1325 return Py_BuildValue((char *)"");
1327 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1328 PyObject
*resultobj
;
1329 wxWindow
*arg1
= (wxWindow
*) 0 ;
1331 wxBitmap
*arg3
= 0 ;
1332 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1333 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1334 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1335 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1336 long arg6
= (long) wxBU_AUTODRAW
;
1337 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1338 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1339 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1340 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1341 wxBitmapButton
*result
;
1344 bool temp8
= False
;
1345 PyObject
* obj0
= 0 ;
1346 PyObject
* obj1
= 0 ;
1347 PyObject
* obj2
= 0 ;
1348 PyObject
* obj3
= 0 ;
1349 PyObject
* obj4
= 0 ;
1350 PyObject
* obj5
= 0 ;
1351 PyObject
* obj6
= 0 ;
1352 PyObject
* obj7
= 0 ;
1354 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1360 arg2
= (int) SWIG_AsInt(obj1
);
1361 if (PyErr_Occurred()) SWIG_fail
;
1362 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1363 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1366 PyErr_SetString(PyExc_TypeError
,"null reference");
1372 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1378 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1382 arg6
= (long) SWIG_AsLong(obj5
);
1383 if (PyErr_Occurred()) SWIG_fail
;
1386 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1387 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1390 PyErr_SetString(PyExc_TypeError
,"null reference");
1396 arg8
= wxString_in_helper(obj7
);
1397 if (arg8
== NULL
) SWIG_fail
;
1402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1403 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1405 wxPyEndAllowThreads(__tstate
);
1406 if (PyErr_Occurred()) SWIG_fail
;
1409 resultobj
= wxPyMake_wxObject(result
);
1425 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1426 PyObject
*resultobj
;
1427 wxBitmapButton
*result
;
1432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1435 result
= (wxBitmapButton
*)new wxBitmapButton();
1437 wxPyEndAllowThreads(__tstate
);
1438 if (PyErr_Occurred()) SWIG_fail
;
1441 resultobj
= wxPyMake_wxObject(result
);
1449 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1450 PyObject
*resultobj
;
1451 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1452 wxWindow
*arg2
= (wxWindow
*) 0 ;
1454 wxBitmap
*arg4
= 0 ;
1455 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1456 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1457 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1458 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1459 long arg7
= (long) wxBU_AUTODRAW
;
1460 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1461 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1462 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1463 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1467 bool temp9
= False
;
1468 PyObject
* obj0
= 0 ;
1469 PyObject
* obj1
= 0 ;
1470 PyObject
* obj2
= 0 ;
1471 PyObject
* obj3
= 0 ;
1472 PyObject
* obj4
= 0 ;
1473 PyObject
* obj5
= 0 ;
1474 PyObject
* obj6
= 0 ;
1475 PyObject
* obj7
= 0 ;
1476 PyObject
* obj8
= 0 ;
1478 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1486 arg3
= (int) SWIG_AsInt(obj2
);
1487 if (PyErr_Occurred()) SWIG_fail
;
1488 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1489 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1492 PyErr_SetString(PyExc_TypeError
,"null reference");
1498 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1504 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1508 arg7
= (long) SWIG_AsLong(obj6
);
1509 if (PyErr_Occurred()) SWIG_fail
;
1512 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1513 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1516 PyErr_SetString(PyExc_TypeError
,"null reference");
1522 arg9
= wxString_in_helper(obj8
);
1523 if (arg9
== NULL
) SWIG_fail
;
1528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1529 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1531 wxPyEndAllowThreads(__tstate
);
1532 if (PyErr_Occurred()) SWIG_fail
;
1535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1551 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1552 PyObject
*resultobj
;
1553 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1555 PyObject
* obj0
= 0 ;
1557 (char *) "self", NULL
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1565 result
= (arg1
)->GetBitmapLabel();
1567 wxPyEndAllowThreads(__tstate
);
1568 if (PyErr_Occurred()) SWIG_fail
;
1571 wxBitmap
* resultptr
;
1572 resultptr
= new wxBitmap((wxBitmap
&) result
);
1573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1581 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
*resultobj
;
1583 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1585 PyObject
* obj0
= 0 ;
1587 (char *) "self", NULL
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1595 result
= (arg1
)->GetBitmapDisabled();
1597 wxPyEndAllowThreads(__tstate
);
1598 if (PyErr_Occurred()) SWIG_fail
;
1601 wxBitmap
* resultptr
;
1602 resultptr
= new wxBitmap((wxBitmap
&) result
);
1603 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1611 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1612 PyObject
*resultobj
;
1613 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1615 PyObject
* obj0
= 0 ;
1617 (char *) "self", NULL
1620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1625 result
= (arg1
)->GetBitmapFocus();
1627 wxPyEndAllowThreads(__tstate
);
1628 if (PyErr_Occurred()) SWIG_fail
;
1631 wxBitmap
* resultptr
;
1632 resultptr
= new wxBitmap((wxBitmap
&) result
);
1633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1641 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1642 PyObject
*resultobj
;
1643 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1645 PyObject
* obj0
= 0 ;
1647 (char *) "self", NULL
1650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1655 result
= (arg1
)->GetBitmapSelected();
1657 wxPyEndAllowThreads(__tstate
);
1658 if (PyErr_Occurred()) SWIG_fail
;
1661 wxBitmap
* resultptr
;
1662 resultptr
= new wxBitmap((wxBitmap
&) result
);
1663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1671 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1672 PyObject
*resultobj
;
1673 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1674 wxBitmap
*arg2
= 0 ;
1675 PyObject
* obj0
= 0 ;
1676 PyObject
* obj1
= 0 ;
1678 (char *) "self",(char *) "bitmap", NULL
1681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1685 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1688 PyErr_SetString(PyExc_TypeError
,"null reference");
1692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1693 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1695 wxPyEndAllowThreads(__tstate
);
1696 if (PyErr_Occurred()) SWIG_fail
;
1698 Py_INCREF(Py_None
); resultobj
= Py_None
;
1705 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1706 PyObject
*resultobj
;
1707 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1708 wxBitmap
*arg2
= 0 ;
1709 PyObject
* obj0
= 0 ;
1710 PyObject
* obj1
= 0 ;
1712 (char *) "self",(char *) "bitmap", NULL
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1718 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1719 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1722 PyErr_SetString(PyExc_TypeError
,"null reference");
1726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1727 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1729 wxPyEndAllowThreads(__tstate
);
1730 if (PyErr_Occurred()) SWIG_fail
;
1732 Py_INCREF(Py_None
); resultobj
= Py_None
;
1739 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
*resultobj
;
1741 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1742 wxBitmap
*arg2
= 0 ;
1743 PyObject
* obj0
= 0 ;
1744 PyObject
* obj1
= 0 ;
1746 (char *) "self",(char *) "bitmap", NULL
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1753 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1756 PyErr_SetString(PyExc_TypeError
,"null reference");
1760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1761 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1763 wxPyEndAllowThreads(__tstate
);
1764 if (PyErr_Occurred()) SWIG_fail
;
1766 Py_INCREF(Py_None
); resultobj
= Py_None
;
1773 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1774 PyObject
*resultobj
;
1775 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1776 wxBitmap
*arg2
= 0 ;
1777 PyObject
* obj0
= 0 ;
1778 PyObject
* obj1
= 0 ;
1780 (char *) "self",(char *) "bitmap", NULL
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1786 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1787 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1790 PyErr_SetString(PyExc_TypeError
,"null reference");
1794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1795 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1797 wxPyEndAllowThreads(__tstate
);
1798 if (PyErr_Occurred()) SWIG_fail
;
1800 Py_INCREF(Py_None
); resultobj
= Py_None
;
1807 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
*resultobj
;
1809 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1812 PyObject
* obj0
= 0 ;
1813 PyObject
* obj1
= 0 ;
1814 PyObject
* obj2
= 0 ;
1816 (char *) "self",(char *) "x",(char *) "y", NULL
1819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1822 arg2
= (int) SWIG_AsInt(obj1
);
1823 if (PyErr_Occurred()) SWIG_fail
;
1824 arg3
= (int) SWIG_AsInt(obj2
);
1825 if (PyErr_Occurred()) SWIG_fail
;
1827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1828 (arg1
)->SetMargins(arg2
,arg3
);
1830 wxPyEndAllowThreads(__tstate
);
1831 if (PyErr_Occurred()) SWIG_fail
;
1833 Py_INCREF(Py_None
); resultobj
= Py_None
;
1840 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
*resultobj
;
1842 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1844 PyObject
* obj0
= 0 ;
1846 (char *) "self", NULL
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1854 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1856 wxPyEndAllowThreads(__tstate
);
1857 if (PyErr_Occurred()) SWIG_fail
;
1859 resultobj
= SWIG_FromInt((int)result
);
1866 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1867 PyObject
*resultobj
;
1868 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1870 PyObject
* obj0
= 0 ;
1872 (char *) "self", NULL
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1880 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1882 wxPyEndAllowThreads(__tstate
);
1883 if (PyErr_Occurred()) SWIG_fail
;
1885 resultobj
= SWIG_FromInt((int)result
);
1892 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1895 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1897 return Py_BuildValue((char *)"");
1899 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1900 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1905 static PyObject
*_wrap_CheckBoxNameStr_get() {
1910 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1912 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1919 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1920 PyObject
*resultobj
;
1921 wxWindow
*arg1
= (wxWindow
*) 0 ;
1923 wxString
*arg3
= 0 ;
1924 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1925 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1926 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1927 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1928 long arg6
= (long) 0 ;
1929 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1930 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1931 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1932 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1934 bool temp3
= False
;
1937 bool temp8
= False
;
1938 PyObject
* obj0
= 0 ;
1939 PyObject
* obj1
= 0 ;
1940 PyObject
* obj2
= 0 ;
1941 PyObject
* obj3
= 0 ;
1942 PyObject
* obj4
= 0 ;
1943 PyObject
* obj5
= 0 ;
1944 PyObject
* obj6
= 0 ;
1945 PyObject
* obj7
= 0 ;
1947 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1953 arg2
= (int) SWIG_AsInt(obj1
);
1954 if (PyErr_Occurred()) SWIG_fail
;
1956 arg3
= wxString_in_helper(obj2
);
1957 if (arg3
== NULL
) SWIG_fail
;
1963 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1969 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1973 arg6
= (long) SWIG_AsLong(obj5
);
1974 if (PyErr_Occurred()) SWIG_fail
;
1977 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1978 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1981 PyErr_SetString(PyExc_TypeError
,"null reference");
1987 arg8
= wxString_in_helper(obj7
);
1988 if (arg8
== NULL
) SWIG_fail
;
1993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1994 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1996 wxPyEndAllowThreads(__tstate
);
1997 if (PyErr_Occurred()) SWIG_fail
;
1999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2022 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2023 PyObject
*resultobj
;
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2032 result
= (wxCheckBox
*)new wxCheckBox();
2034 wxPyEndAllowThreads(__tstate
);
2035 if (PyErr_Occurred()) SWIG_fail
;
2037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2044 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
*resultobj
;
2046 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2047 wxWindow
*arg2
= (wxWindow
*) 0 ;
2049 wxString
*arg4
= 0 ;
2050 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2051 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2052 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2053 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2054 long arg7
= (long) 0 ;
2055 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2056 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2057 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2058 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2060 bool temp4
= False
;
2063 bool temp9
= False
;
2064 PyObject
* obj0
= 0 ;
2065 PyObject
* obj1
= 0 ;
2066 PyObject
* obj2
= 0 ;
2067 PyObject
* obj3
= 0 ;
2068 PyObject
* obj4
= 0 ;
2069 PyObject
* obj5
= 0 ;
2070 PyObject
* obj6
= 0 ;
2071 PyObject
* obj7
= 0 ;
2072 PyObject
* obj8
= 0 ;
2074 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2082 arg3
= (int) SWIG_AsInt(obj2
);
2083 if (PyErr_Occurred()) SWIG_fail
;
2085 arg4
= wxString_in_helper(obj3
);
2086 if (arg4
== NULL
) SWIG_fail
;
2092 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2098 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2102 arg7
= (long) SWIG_AsLong(obj6
);
2103 if (PyErr_Occurred()) SWIG_fail
;
2106 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2107 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2110 PyErr_SetString(PyExc_TypeError
,"null reference");
2116 arg9
= wxString_in_helper(obj8
);
2117 if (arg9
== NULL
) SWIG_fail
;
2122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2123 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2125 wxPyEndAllowThreads(__tstate
);
2126 if (PyErr_Occurred()) SWIG_fail
;
2129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2153 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
*resultobj
;
2155 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2157 PyObject
* obj0
= 0 ;
2159 (char *) "self", NULL
2162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2167 result
= (bool)(arg1
)->GetValue();
2169 wxPyEndAllowThreads(__tstate
);
2170 if (PyErr_Occurred()) SWIG_fail
;
2173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2181 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2182 PyObject
*resultobj
;
2183 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2185 PyObject
* obj0
= 0 ;
2187 (char *) "self", NULL
2190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2195 result
= (bool)(arg1
)->IsChecked();
2197 wxPyEndAllowThreads(__tstate
);
2198 if (PyErr_Occurred()) SWIG_fail
;
2201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2209 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
*resultobj
;
2211 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2213 PyObject
* obj0
= 0 ;
2214 PyObject
* obj1
= 0 ;
2216 (char *) "self",(char *) "state", NULL
2219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2222 arg2
= (bool const) SWIG_AsBool(obj1
);
2223 if (PyErr_Occurred()) SWIG_fail
;
2225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2226 (arg1
)->SetValue(arg2
);
2228 wxPyEndAllowThreads(__tstate
);
2229 if (PyErr_Occurred()) SWIG_fail
;
2231 Py_INCREF(Py_None
); resultobj
= Py_None
;
2238 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2239 PyObject
*resultobj
;
2240 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2242 PyObject
* obj0
= 0 ;
2244 (char *) "self", NULL
2247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2252 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2254 wxPyEndAllowThreads(__tstate
);
2255 if (PyErr_Occurred()) SWIG_fail
;
2257 resultobj
= SWIG_FromInt((int)result
);
2264 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2265 PyObject
*resultobj
;
2266 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2268 PyObject
* obj0
= 0 ;
2269 PyObject
* obj1
= 0 ;
2271 (char *) "self",(char *) "state", NULL
2274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2277 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2278 if (PyErr_Occurred()) SWIG_fail
;
2280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2281 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2283 wxPyEndAllowThreads(__tstate
);
2284 if (PyErr_Occurred()) SWIG_fail
;
2286 Py_INCREF(Py_None
); resultobj
= Py_None
;
2293 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2294 PyObject
*resultobj
;
2295 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2297 PyObject
* obj0
= 0 ;
2299 (char *) "self", NULL
2302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2307 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2309 wxPyEndAllowThreads(__tstate
);
2310 if (PyErr_Occurred()) SWIG_fail
;
2313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2321 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
*resultobj
;
2323 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2325 PyObject
* obj0
= 0 ;
2327 (char *) "self", NULL
2330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2335 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2337 wxPyEndAllowThreads(__tstate
);
2338 if (PyErr_Occurred()) SWIG_fail
;
2341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2349 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2352 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2354 return Py_BuildValue((char *)"");
2356 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2357 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2362 static PyObject
*_wrap_ChoiceNameStr_get() {
2367 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2369 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2376 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
*resultobj
;
2378 wxWindow
*arg1
= (wxWindow
*) 0 ;
2380 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2381 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2382 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2383 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2384 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2385 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2386 long arg6
= (long) 0 ;
2387 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2388 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2389 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2390 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2394 bool temp5
= False
;
2395 bool temp8
= False
;
2396 PyObject
* obj0
= 0 ;
2397 PyObject
* obj1
= 0 ;
2398 PyObject
* obj2
= 0 ;
2399 PyObject
* obj3
= 0 ;
2400 PyObject
* obj4
= 0 ;
2401 PyObject
* obj5
= 0 ;
2402 PyObject
* obj6
= 0 ;
2403 PyObject
* obj7
= 0 ;
2405 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2411 arg2
= (int) SWIG_AsInt(obj1
);
2412 if (PyErr_Occurred()) SWIG_fail
;
2416 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2422 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2427 if (! PySequence_Check(obj4
)) {
2428 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2431 arg5
= new wxArrayString
;
2433 int i
, len
=PySequence_Length(obj4
);
2434 for (i
=0; i
<len
; i
++) {
2435 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2437 PyObject
* str
= PyObject_Unicode(item
);
2439 PyObject
* str
= PyObject_Str(item
);
2441 arg5
->Add(Py2wxString(str
));
2448 arg6
= (long) SWIG_AsLong(obj5
);
2449 if (PyErr_Occurred()) SWIG_fail
;
2452 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2453 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2456 PyErr_SetString(PyExc_TypeError
,"null reference");
2462 arg8
= wxString_in_helper(obj7
);
2463 if (arg8
== NULL
) SWIG_fail
;
2468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2469 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2471 wxPyEndAllowThreads(__tstate
);
2472 if (PyErr_Occurred()) SWIG_fail
;
2474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2476 if (temp5
) delete arg5
;
2485 if (temp5
) delete arg5
;
2495 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2496 PyObject
*resultobj
;
2502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2505 result
= (wxChoice
*)new wxChoice();
2507 wxPyEndAllowThreads(__tstate
);
2508 if (PyErr_Occurred()) SWIG_fail
;
2510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2517 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2518 PyObject
*resultobj
;
2519 wxChoice
*arg1
= (wxChoice
*) 0 ;
2520 wxWindow
*arg2
= (wxWindow
*) 0 ;
2522 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2523 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2524 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2525 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2526 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2527 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2528 long arg7
= (long) 0 ;
2529 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2530 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2531 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2532 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2536 bool temp6
= False
;
2537 bool temp9
= False
;
2538 PyObject
* obj0
= 0 ;
2539 PyObject
* obj1
= 0 ;
2540 PyObject
* obj2
= 0 ;
2541 PyObject
* obj3
= 0 ;
2542 PyObject
* obj4
= 0 ;
2543 PyObject
* obj5
= 0 ;
2544 PyObject
* obj6
= 0 ;
2545 PyObject
* obj7
= 0 ;
2546 PyObject
* obj8
= 0 ;
2548 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2556 arg3
= (int) SWIG_AsInt(obj2
);
2557 if (PyErr_Occurred()) SWIG_fail
;
2561 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2567 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2572 if (! PySequence_Check(obj5
)) {
2573 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2576 arg6
= new wxArrayString
;
2578 int i
, len
=PySequence_Length(obj5
);
2579 for (i
=0; i
<len
; i
++) {
2580 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2582 PyObject
* str
= PyObject_Unicode(item
);
2584 PyObject
* str
= PyObject_Str(item
);
2586 arg6
->Add(Py2wxString(str
));
2593 arg7
= (long) SWIG_AsLong(obj6
);
2594 if (PyErr_Occurred()) SWIG_fail
;
2597 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2598 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2601 PyErr_SetString(PyExc_TypeError
,"null reference");
2607 arg9
= wxString_in_helper(obj8
);
2608 if (arg9
== NULL
) SWIG_fail
;
2613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2614 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2616 wxPyEndAllowThreads(__tstate
);
2617 if (PyErr_Occurred()) SWIG_fail
;
2620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2623 if (temp6
) delete arg6
;
2632 if (temp6
) delete arg6
;
2642 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
*resultobj
;
2644 wxChoice
*arg1
= (wxChoice
*) 0 ;
2646 PyObject
* obj0
= 0 ;
2647 PyObject
* obj1
= 0 ;
2649 (char *) "self",(char *) "n", NULL
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2655 arg2
= (int const) SWIG_AsInt(obj1
);
2656 if (PyErr_Occurred()) SWIG_fail
;
2658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2659 (arg1
)->SetSelection(arg2
);
2661 wxPyEndAllowThreads(__tstate
);
2662 if (PyErr_Occurred()) SWIG_fail
;
2664 Py_INCREF(Py_None
); resultobj
= Py_None
;
2671 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
*resultobj
;
2673 wxChoice
*arg1
= (wxChoice
*) 0 ;
2674 wxString
*arg2
= 0 ;
2675 bool temp2
= False
;
2676 PyObject
* obj0
= 0 ;
2677 PyObject
* obj1
= 0 ;
2679 (char *) "self",(char *) "string", NULL
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2686 arg2
= wxString_in_helper(obj1
);
2687 if (arg2
== NULL
) SWIG_fail
;
2691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2692 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2694 wxPyEndAllowThreads(__tstate
);
2695 if (PyErr_Occurred()) SWIG_fail
;
2697 Py_INCREF(Py_None
); resultobj
= Py_None
;
2712 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2713 PyObject
*resultobj
;
2714 wxChoice
*arg1
= (wxChoice
*) 0 ;
2716 wxString
*arg3
= 0 ;
2717 bool temp3
= False
;
2718 PyObject
* obj0
= 0 ;
2719 PyObject
* obj1
= 0 ;
2720 PyObject
* obj2
= 0 ;
2722 (char *) "self",(char *) "n",(char *) "string", NULL
2725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2728 arg2
= (int) SWIG_AsInt(obj1
);
2729 if (PyErr_Occurred()) SWIG_fail
;
2731 arg3
= wxString_in_helper(obj2
);
2732 if (arg3
== NULL
) SWIG_fail
;
2736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2737 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2739 wxPyEndAllowThreads(__tstate
);
2740 if (PyErr_Occurred()) SWIG_fail
;
2742 Py_INCREF(Py_None
); resultobj
= Py_None
;
2757 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2760 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2762 return Py_BuildValue((char *)"");
2764 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2765 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2770 static PyObject
*_wrap_ComboBoxNameStr_get() {
2775 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2777 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2784 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2785 PyObject
*resultobj
;
2786 wxWindow
*arg1
= (wxWindow
*) 0 ;
2788 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2789 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2790 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2791 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2792 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2793 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2794 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2795 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2796 long arg7
= (long) 0 ;
2797 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2798 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2799 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2800 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2802 bool temp3
= False
;
2805 bool temp6
= False
;
2806 bool temp9
= False
;
2807 PyObject
* obj0
= 0 ;
2808 PyObject
* obj1
= 0 ;
2809 PyObject
* obj2
= 0 ;
2810 PyObject
* obj3
= 0 ;
2811 PyObject
* obj4
= 0 ;
2812 PyObject
* obj5
= 0 ;
2813 PyObject
* obj6
= 0 ;
2814 PyObject
* obj7
= 0 ;
2815 PyObject
* obj8
= 0 ;
2817 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2823 arg2
= (int) SWIG_AsInt(obj1
);
2824 if (PyErr_Occurred()) SWIG_fail
;
2827 arg3
= wxString_in_helper(obj2
);
2828 if (arg3
== NULL
) SWIG_fail
;
2835 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2841 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2846 if (! PySequence_Check(obj5
)) {
2847 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2850 arg6
= new wxArrayString
;
2852 int i
, len
=PySequence_Length(obj5
);
2853 for (i
=0; i
<len
; i
++) {
2854 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2856 PyObject
* str
= PyObject_Unicode(item
);
2858 PyObject
* str
= PyObject_Str(item
);
2860 arg6
->Add(Py2wxString(str
));
2867 arg7
= (long) SWIG_AsLong(obj6
);
2868 if (PyErr_Occurred()) SWIG_fail
;
2871 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2872 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2875 PyErr_SetString(PyExc_TypeError
,"null reference");
2881 arg9
= wxString_in_helper(obj8
);
2882 if (arg9
== NULL
) SWIG_fail
;
2887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2888 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
);
2890 wxPyEndAllowThreads(__tstate
);
2891 if (PyErr_Occurred()) SWIG_fail
;
2893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2899 if (temp6
) delete arg6
;
2912 if (temp6
) delete arg6
;
2922 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2923 PyObject
*resultobj
;
2929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2932 result
= (wxComboBox
*)new wxComboBox();
2934 wxPyEndAllowThreads(__tstate
);
2935 if (PyErr_Occurred()) SWIG_fail
;
2937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2944 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
*resultobj
;
2946 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2947 wxWindow
*arg2
= (wxWindow
*) 0 ;
2949 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2950 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2951 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2952 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2953 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2954 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2955 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2956 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2957 long arg8
= (long) 0 ;
2958 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2959 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2960 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2961 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2963 bool temp4
= False
;
2966 bool temp7
= False
;
2967 bool temp10
= False
;
2968 PyObject
* obj0
= 0 ;
2969 PyObject
* obj1
= 0 ;
2970 PyObject
* obj2
= 0 ;
2971 PyObject
* obj3
= 0 ;
2972 PyObject
* obj4
= 0 ;
2973 PyObject
* obj5
= 0 ;
2974 PyObject
* obj6
= 0 ;
2975 PyObject
* obj7
= 0 ;
2976 PyObject
* obj8
= 0 ;
2977 PyObject
* obj9
= 0 ;
2979 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
2984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2987 arg3
= (int) SWIG_AsInt(obj2
);
2988 if (PyErr_Occurred()) SWIG_fail
;
2991 arg4
= wxString_in_helper(obj3
);
2992 if (arg4
== NULL
) SWIG_fail
;
2999 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3005 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3010 if (! PySequence_Check(obj6
)) {
3011 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3014 arg7
= new wxArrayString
;
3016 int i
, len
=PySequence_Length(obj6
);
3017 for (i
=0; i
<len
; i
++) {
3018 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3020 PyObject
* str
= PyObject_Unicode(item
);
3022 PyObject
* str
= PyObject_Str(item
);
3024 arg7
->Add(Py2wxString(str
));
3031 arg8
= (long) SWIG_AsLong(obj7
);
3032 if (PyErr_Occurred()) SWIG_fail
;
3035 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3036 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3039 PyErr_SetString(PyExc_TypeError
,"null reference");
3045 arg10
= wxString_in_helper(obj9
);
3046 if (arg10
== NULL
) SWIG_fail
;
3051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3052 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
);
3054 wxPyEndAllowThreads(__tstate
);
3055 if (PyErr_Occurred()) SWIG_fail
;
3058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3065 if (temp7
) delete arg7
;
3078 if (temp7
) delete arg7
;
3088 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3089 PyObject
*resultobj
;
3090 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3092 PyObject
* obj0
= 0 ;
3094 (char *) "self", NULL
3097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3102 result
= ((wxComboBox
const *)arg1
)->GetValue();
3104 wxPyEndAllowThreads(__tstate
);
3105 if (PyErr_Occurred()) SWIG_fail
;
3109 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3111 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3120 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3121 PyObject
*resultobj
;
3122 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3123 wxString
*arg2
= 0 ;
3124 bool temp2
= False
;
3125 PyObject
* obj0
= 0 ;
3126 PyObject
* obj1
= 0 ;
3128 (char *) "self",(char *) "value", NULL
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3135 arg2
= wxString_in_helper(obj1
);
3136 if (arg2
== NULL
) SWIG_fail
;
3140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3141 (arg1
)->SetValue((wxString
const &)*arg2
);
3143 wxPyEndAllowThreads(__tstate
);
3144 if (PyErr_Occurred()) SWIG_fail
;
3146 Py_INCREF(Py_None
); resultobj
= Py_None
;
3161 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
*resultobj
;
3163 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3164 PyObject
* obj0
= 0 ;
3166 (char *) "self", NULL
3169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3176 wxPyEndAllowThreads(__tstate
);
3177 if (PyErr_Occurred()) SWIG_fail
;
3179 Py_INCREF(Py_None
); resultobj
= Py_None
;
3186 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
*resultobj
;
3188 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3189 PyObject
* obj0
= 0 ;
3191 (char *) "self", NULL
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3201 wxPyEndAllowThreads(__tstate
);
3202 if (PyErr_Occurred()) SWIG_fail
;
3204 Py_INCREF(Py_None
); resultobj
= Py_None
;
3211 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3212 PyObject
*resultobj
;
3213 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3214 PyObject
* obj0
= 0 ;
3216 (char *) "self", NULL
3219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3226 wxPyEndAllowThreads(__tstate
);
3227 if (PyErr_Occurred()) SWIG_fail
;
3229 Py_INCREF(Py_None
); resultobj
= Py_None
;
3236 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
*resultobj
;
3238 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3240 PyObject
* obj0
= 0 ;
3241 PyObject
* obj1
= 0 ;
3243 (char *) "self",(char *) "pos", NULL
3246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3249 arg2
= (long) SWIG_AsLong(obj1
);
3250 if (PyErr_Occurred()) SWIG_fail
;
3252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3253 (arg1
)->SetInsertionPoint(arg2
);
3255 wxPyEndAllowThreads(__tstate
);
3256 if (PyErr_Occurred()) SWIG_fail
;
3258 Py_INCREF(Py_None
); resultobj
= Py_None
;
3265 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
*resultobj
;
3267 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3269 PyObject
* obj0
= 0 ;
3271 (char *) "self", NULL
3274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3279 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3281 wxPyEndAllowThreads(__tstate
);
3282 if (PyErr_Occurred()) SWIG_fail
;
3284 resultobj
= SWIG_FromLong((long)result
);
3291 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3292 PyObject
*resultobj
;
3293 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3295 PyObject
* obj0
= 0 ;
3297 (char *) "self", NULL
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3305 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3307 wxPyEndAllowThreads(__tstate
);
3308 if (PyErr_Occurred()) SWIG_fail
;
3310 resultobj
= SWIG_FromLong((long)result
);
3317 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
*resultobj
;
3319 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3322 wxString
*arg4
= 0 ;
3323 bool temp4
= False
;
3324 PyObject
* obj0
= 0 ;
3325 PyObject
* obj1
= 0 ;
3326 PyObject
* obj2
= 0 ;
3327 PyObject
* obj3
= 0 ;
3329 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3335 arg2
= (long) SWIG_AsLong(obj1
);
3336 if (PyErr_Occurred()) SWIG_fail
;
3337 arg3
= (long) SWIG_AsLong(obj2
);
3338 if (PyErr_Occurred()) SWIG_fail
;
3340 arg4
= wxString_in_helper(obj3
);
3341 if (arg4
== NULL
) SWIG_fail
;
3345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3346 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3348 wxPyEndAllowThreads(__tstate
);
3349 if (PyErr_Occurred()) SWIG_fail
;
3351 Py_INCREF(Py_None
); resultobj
= Py_None
;
3366 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
*resultobj
;
3368 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3370 PyObject
* obj0
= 0 ;
3371 PyObject
* obj1
= 0 ;
3373 (char *) "self",(char *) "n", NULL
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3379 arg2
= (int) SWIG_AsInt(obj1
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3383 (arg1
)->SetSelection(arg2
);
3385 wxPyEndAllowThreads(__tstate
);
3386 if (PyErr_Occurred()) SWIG_fail
;
3388 Py_INCREF(Py_None
); resultobj
= Py_None
;
3395 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
*resultobj
;
3397 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3400 PyObject
* obj0
= 0 ;
3401 PyObject
* obj1
= 0 ;
3402 PyObject
* obj2
= 0 ;
3404 (char *) "self",(char *) "from",(char *) "to", NULL
3407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3410 arg2
= (long) SWIG_AsLong(obj1
);
3411 if (PyErr_Occurred()) SWIG_fail
;
3412 arg3
= (long) SWIG_AsLong(obj2
);
3413 if (PyErr_Occurred()) SWIG_fail
;
3415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3416 (arg1
)->SetSelection(arg2
,arg3
);
3418 wxPyEndAllowThreads(__tstate
);
3419 if (PyErr_Occurred()) SWIG_fail
;
3421 Py_INCREF(Py_None
); resultobj
= Py_None
;
3428 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
*resultobj
;
3430 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3432 PyObject
* obj0
= 0 ;
3433 PyObject
* obj1
= 0 ;
3435 (char *) "self",(char *) "editable", NULL
3438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3441 arg2
= (bool) SWIG_AsBool(obj1
);
3442 if (PyErr_Occurred()) SWIG_fail
;
3444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3445 (arg1
)->SetEditable(arg2
);
3447 wxPyEndAllowThreads(__tstate
);
3448 if (PyErr_Occurred()) SWIG_fail
;
3450 Py_INCREF(Py_None
); resultobj
= Py_None
;
3457 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
*resultobj
;
3459 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3460 PyObject
* obj0
= 0 ;
3462 (char *) "self", NULL
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 (arg1
)->SetInsertionPointEnd();
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3475 Py_INCREF(Py_None
); resultobj
= Py_None
;
3482 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3483 PyObject
*resultobj
;
3484 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3487 PyObject
* obj0
= 0 ;
3488 PyObject
* obj1
= 0 ;
3489 PyObject
* obj2
= 0 ;
3491 (char *) "self",(char *) "from",(char *) "to", NULL
3494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3497 arg2
= (long) SWIG_AsLong(obj1
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3499 arg3
= (long) SWIG_AsLong(obj2
);
3500 if (PyErr_Occurred()) SWIG_fail
;
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 (arg1
)->Remove(arg2
,arg3
);
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3508 Py_INCREF(Py_None
); resultobj
= Py_None
;
3515 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3518 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3520 return Py_BuildValue((char *)"");
3522 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3523 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3528 static PyObject
*_wrap_GaugeNameStr_get() {
3533 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3535 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3542 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
*resultobj
;
3544 wxWindow
*arg1
= (wxWindow
*) 0 ;
3547 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3548 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3549 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3550 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3551 long arg6
= (long) wxGA_HORIZONTAL
;
3552 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3553 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3554 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3555 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3559 bool temp8
= False
;
3560 PyObject
* obj0
= 0 ;
3561 PyObject
* obj1
= 0 ;
3562 PyObject
* obj2
= 0 ;
3563 PyObject
* obj3
= 0 ;
3564 PyObject
* obj4
= 0 ;
3565 PyObject
* obj5
= 0 ;
3566 PyObject
* obj6
= 0 ;
3567 PyObject
* obj7
= 0 ;
3569 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3575 arg2
= (int) SWIG_AsInt(obj1
);
3576 if (PyErr_Occurred()) SWIG_fail
;
3577 arg3
= (int) SWIG_AsInt(obj2
);
3578 if (PyErr_Occurred()) SWIG_fail
;
3582 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3588 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3592 arg6
= (long) SWIG_AsLong(obj5
);
3593 if (PyErr_Occurred()) SWIG_fail
;
3596 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3597 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3600 PyErr_SetString(PyExc_TypeError
,"null reference");
3606 arg8
= wxString_in_helper(obj7
);
3607 if (arg8
== NULL
) SWIG_fail
;
3612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3613 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3615 wxPyEndAllowThreads(__tstate
);
3616 if (PyErr_Occurred()) SWIG_fail
;
3618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3633 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3634 PyObject
*resultobj
;
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3643 result
= (wxGauge
*)new wxGauge();
3645 wxPyEndAllowThreads(__tstate
);
3646 if (PyErr_Occurred()) SWIG_fail
;
3648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3655 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
*resultobj
;
3657 wxGauge
*arg1
= (wxGauge
*) 0 ;
3658 wxWindow
*arg2
= (wxWindow
*) 0 ;
3661 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3662 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3663 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3664 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3665 long arg7
= (long) wxGA_HORIZONTAL
;
3666 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3667 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3668 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3669 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3673 bool temp9
= False
;
3674 PyObject
* obj0
= 0 ;
3675 PyObject
* obj1
= 0 ;
3676 PyObject
* obj2
= 0 ;
3677 PyObject
* obj3
= 0 ;
3678 PyObject
* obj4
= 0 ;
3679 PyObject
* obj5
= 0 ;
3680 PyObject
* obj6
= 0 ;
3681 PyObject
* obj7
= 0 ;
3682 PyObject
* obj8
= 0 ;
3684 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3692 arg3
= (int) SWIG_AsInt(obj2
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3694 arg4
= (int) SWIG_AsInt(obj3
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3699 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3705 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3709 arg7
= (long) SWIG_AsLong(obj6
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3713 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3714 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3717 PyErr_SetString(PyExc_TypeError
,"null reference");
3723 arg9
= wxString_in_helper(obj8
);
3724 if (arg9
== NULL
) SWIG_fail
;
3729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3730 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3732 wxPyEndAllowThreads(__tstate
);
3733 if (PyErr_Occurred()) SWIG_fail
;
3736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3752 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
*resultobj
;
3754 wxGauge
*arg1
= (wxGauge
*) 0 ;
3756 PyObject
* obj0
= 0 ;
3757 PyObject
* obj1
= 0 ;
3759 (char *) "self",(char *) "range", NULL
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3765 arg2
= (int) SWIG_AsInt(obj1
);
3766 if (PyErr_Occurred()) SWIG_fail
;
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 (arg1
)->SetRange(arg2
);
3771 wxPyEndAllowThreads(__tstate
);
3772 if (PyErr_Occurred()) SWIG_fail
;
3774 Py_INCREF(Py_None
); resultobj
= Py_None
;
3781 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3782 PyObject
*resultobj
;
3783 wxGauge
*arg1
= (wxGauge
*) 0 ;
3785 PyObject
* obj0
= 0 ;
3787 (char *) "self", NULL
3790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3795 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3797 wxPyEndAllowThreads(__tstate
);
3798 if (PyErr_Occurred()) SWIG_fail
;
3800 resultobj
= SWIG_FromInt((int)result
);
3807 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3808 PyObject
*resultobj
;
3809 wxGauge
*arg1
= (wxGauge
*) 0 ;
3811 PyObject
* obj0
= 0 ;
3812 PyObject
* obj1
= 0 ;
3814 (char *) "self",(char *) "pos", NULL
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3820 arg2
= (int) SWIG_AsInt(obj1
);
3821 if (PyErr_Occurred()) SWIG_fail
;
3823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3824 (arg1
)->SetValue(arg2
);
3826 wxPyEndAllowThreads(__tstate
);
3827 if (PyErr_Occurred()) SWIG_fail
;
3829 Py_INCREF(Py_None
); resultobj
= Py_None
;
3836 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
*resultobj
;
3838 wxGauge
*arg1
= (wxGauge
*) 0 ;
3840 PyObject
* obj0
= 0 ;
3842 (char *) "self", NULL
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3855 resultobj
= SWIG_FromInt((int)result
);
3862 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
*resultobj
;
3864 wxGauge
*arg1
= (wxGauge
*) 0 ;
3866 PyObject
* obj0
= 0 ;
3868 (char *) "self", NULL
3871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) SWIG_fail
;
3882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3890 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3891 PyObject
*resultobj
;
3892 wxGauge
*arg1
= (wxGauge
*) 0 ;
3894 PyObject
* obj0
= 0 ;
3895 PyObject
* obj1
= 0 ;
3897 (char *) "self",(char *) "w", NULL
3900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3903 arg2
= (int) SWIG_AsInt(obj1
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3907 (arg1
)->SetShadowWidth(arg2
);
3909 wxPyEndAllowThreads(__tstate
);
3910 if (PyErr_Occurred()) SWIG_fail
;
3912 Py_INCREF(Py_None
); resultobj
= Py_None
;
3919 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
*resultobj
;
3921 wxGauge
*arg1
= (wxGauge
*) 0 ;
3923 PyObject
* obj0
= 0 ;
3925 (char *) "self", NULL
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3935 wxPyEndAllowThreads(__tstate
);
3936 if (PyErr_Occurred()) SWIG_fail
;
3938 resultobj
= SWIG_FromInt((int)result
);
3945 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
*resultobj
;
3947 wxGauge
*arg1
= (wxGauge
*) 0 ;
3949 PyObject
* obj0
= 0 ;
3950 PyObject
* obj1
= 0 ;
3952 (char *) "self",(char *) "w", NULL
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3958 arg2
= (int) SWIG_AsInt(obj1
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3962 (arg1
)->SetBezelFace(arg2
);
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) SWIG_fail
;
3967 Py_INCREF(Py_None
); resultobj
= Py_None
;
3974 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
*resultobj
;
3976 wxGauge
*arg1
= (wxGauge
*) 0 ;
3978 PyObject
* obj0
= 0 ;
3980 (char *) "self", NULL
3983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3988 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3990 wxPyEndAllowThreads(__tstate
);
3991 if (PyErr_Occurred()) SWIG_fail
;
3993 resultobj
= SWIG_FromInt((int)result
);
4000 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4003 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4005 return Py_BuildValue((char *)"");
4007 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4008 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4013 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4018 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4020 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4027 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4028 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4033 static PyObject
*_wrap_StaticBoxNameStr_get() {
4038 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4040 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4047 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4048 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4053 static PyObject
*_wrap_StaticTextNameStr_get() {
4058 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4060 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4067 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4068 PyObject
*resultobj
;
4069 wxWindow
*arg1
= (wxWindow
*) 0 ;
4071 wxString
*arg3
= 0 ;
4072 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4073 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4074 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4075 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4076 long arg6
= (long) 0 ;
4077 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4078 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4079 wxStaticBox
*result
;
4080 bool temp3
= False
;
4083 bool temp7
= False
;
4084 PyObject
* obj0
= 0 ;
4085 PyObject
* obj1
= 0 ;
4086 PyObject
* obj2
= 0 ;
4087 PyObject
* obj3
= 0 ;
4088 PyObject
* obj4
= 0 ;
4089 PyObject
* obj5
= 0 ;
4090 PyObject
* obj6
= 0 ;
4092 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4098 arg2
= (int) SWIG_AsInt(obj1
);
4099 if (PyErr_Occurred()) SWIG_fail
;
4101 arg3
= wxString_in_helper(obj2
);
4102 if (arg3
== NULL
) SWIG_fail
;
4108 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4114 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4118 arg6
= (long) SWIG_AsLong(obj5
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4123 arg7
= wxString_in_helper(obj6
);
4124 if (arg7
== NULL
) SWIG_fail
;
4129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4130 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4132 wxPyEndAllowThreads(__tstate
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4136 resultobj
= wxPyMake_wxObject(result
);
4160 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
*resultobj
;
4162 wxStaticBox
*result
;
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (wxStaticBox
*)new wxStaticBox();
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4176 resultobj
= wxPyMake_wxObject(result
);
4184 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
;
4186 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4187 wxWindow
*arg2
= (wxWindow
*) 0 ;
4189 wxString
*arg4
= 0 ;
4190 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4191 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4192 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4193 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4194 long arg7
= (long) 0 ;
4195 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4196 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4198 bool temp4
= False
;
4201 bool temp8
= False
;
4202 PyObject
* obj0
= 0 ;
4203 PyObject
* obj1
= 0 ;
4204 PyObject
* obj2
= 0 ;
4205 PyObject
* obj3
= 0 ;
4206 PyObject
* obj4
= 0 ;
4207 PyObject
* obj5
= 0 ;
4208 PyObject
* obj6
= 0 ;
4209 PyObject
* obj7
= 0 ;
4211 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4217 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4219 arg3
= (int) SWIG_AsInt(obj2
);
4220 if (PyErr_Occurred()) SWIG_fail
;
4222 arg4
= wxString_in_helper(obj3
);
4223 if (arg4
== NULL
) SWIG_fail
;
4229 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4235 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4239 arg7
= (long) SWIG_AsLong(obj6
);
4240 if (PyErr_Occurred()) SWIG_fail
;
4244 arg8
= wxString_in_helper(obj7
);
4245 if (arg8
== NULL
) SWIG_fail
;
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4281 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4284 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4286 return Py_BuildValue((char *)"");
4288 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4289 PyObject
*resultobj
;
4290 wxWindow
*arg1
= (wxWindow
*) 0 ;
4292 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4293 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4294 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4295 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4296 long arg5
= (long) wxLI_HORIZONTAL
;
4297 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4298 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4299 wxStaticLine
*result
;
4302 bool temp6
= False
;
4303 PyObject
* obj0
= 0 ;
4304 PyObject
* obj1
= 0 ;
4305 PyObject
* obj2
= 0 ;
4306 PyObject
* obj3
= 0 ;
4307 PyObject
* obj4
= 0 ;
4308 PyObject
* obj5
= 0 ;
4310 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4316 arg2
= (int) SWIG_AsInt(obj1
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4321 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4327 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4331 arg5
= (long) SWIG_AsLong(obj4
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4336 arg6
= wxString_in_helper(obj5
);
4337 if (arg6
== NULL
) SWIG_fail
;
4342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4343 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4345 wxPyEndAllowThreads(__tstate
);
4346 if (PyErr_Occurred()) SWIG_fail
;
4348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4363 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
*resultobj
;
4365 wxStaticLine
*result
;
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4373 result
= (wxStaticLine
*)new wxStaticLine();
4375 wxPyEndAllowThreads(__tstate
);
4376 if (PyErr_Occurred()) SWIG_fail
;
4378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4385 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
*resultobj
;
4387 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4388 wxWindow
*arg2
= (wxWindow
*) 0 ;
4390 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4391 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4392 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4393 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4394 long arg6
= (long) wxLI_HORIZONTAL
;
4395 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4396 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4400 bool temp7
= False
;
4401 PyObject
* obj0
= 0 ;
4402 PyObject
* obj1
= 0 ;
4403 PyObject
* obj2
= 0 ;
4404 PyObject
* obj3
= 0 ;
4405 PyObject
* obj4
= 0 ;
4406 PyObject
* obj5
= 0 ;
4407 PyObject
* obj6
= 0 ;
4409 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4417 arg3
= (int) SWIG_AsInt(obj2
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4422 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4428 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4432 arg6
= (long) SWIG_AsLong(obj5
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4437 arg7
= wxString_in_helper(obj6
);
4438 if (arg7
== NULL
) SWIG_fail
;
4443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4444 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4446 wxPyEndAllowThreads(__tstate
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4466 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
*resultobj
;
4468 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4470 PyObject
* obj0
= 0 ;
4472 (char *) "self", NULL
4475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4480 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4482 wxPyEndAllowThreads(__tstate
);
4483 if (PyErr_Occurred()) SWIG_fail
;
4486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4494 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
*resultobj
;
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4504 result
= (int)wxStaticLine::GetDefaultSize();
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4509 resultobj
= SWIG_FromInt((int)result
);
4516 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4519 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4521 return Py_BuildValue((char *)"");
4523 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
*resultobj
;
4525 wxWindow
*arg1
= (wxWindow
*) 0 ;
4527 wxString
*arg3
= 0 ;
4528 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4529 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4530 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4531 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4532 long arg6
= (long) 0 ;
4533 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4534 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4535 wxStaticText
*result
;
4536 bool temp3
= False
;
4539 bool temp7
= False
;
4540 PyObject
* obj0
= 0 ;
4541 PyObject
* obj1
= 0 ;
4542 PyObject
* obj2
= 0 ;
4543 PyObject
* obj3
= 0 ;
4544 PyObject
* obj4
= 0 ;
4545 PyObject
* obj5
= 0 ;
4546 PyObject
* obj6
= 0 ;
4548 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4554 arg2
= (int) SWIG_AsInt(obj1
);
4555 if (PyErr_Occurred()) SWIG_fail
;
4557 arg3
= wxString_in_helper(obj2
);
4558 if (arg3
== NULL
) SWIG_fail
;
4564 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4570 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4574 arg6
= (long) SWIG_AsLong(obj5
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4579 arg7
= wxString_in_helper(obj6
);
4580 if (arg7
== NULL
) SWIG_fail
;
4585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4586 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4588 wxPyEndAllowThreads(__tstate
);
4589 if (PyErr_Occurred()) SWIG_fail
;
4591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4614 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4615 PyObject
*resultobj
;
4616 wxStaticText
*result
;
4621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 result
= (wxStaticText
*)new wxStaticText();
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4636 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
*resultobj
;
4638 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4639 wxWindow
*arg2
= (wxWindow
*) 0 ;
4641 wxString
*arg4
= 0 ;
4642 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4643 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4644 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4645 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4646 long arg7
= (long) 0 ;
4647 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4648 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4650 bool temp4
= False
;
4653 bool temp8
= False
;
4654 PyObject
* obj0
= 0 ;
4655 PyObject
* obj1
= 0 ;
4656 PyObject
* obj2
= 0 ;
4657 PyObject
* obj3
= 0 ;
4658 PyObject
* obj4
= 0 ;
4659 PyObject
* obj5
= 0 ;
4660 PyObject
* obj6
= 0 ;
4661 PyObject
* obj7
= 0 ;
4663 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
4668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4671 arg3
= (int) SWIG_AsInt(obj2
);
4672 if (PyErr_Occurred()) SWIG_fail
;
4674 arg4
= wxString_in_helper(obj3
);
4675 if (arg4
== NULL
) SWIG_fail
;
4681 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4687 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4691 arg7
= (long) SWIG_AsLong(obj6
);
4692 if (PyErr_Occurred()) SWIG_fail
;
4696 arg8
= wxString_in_helper(obj7
);
4697 if (arg8
== NULL
) SWIG_fail
;
4702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4703 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4705 wxPyEndAllowThreads(__tstate
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4733 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4736 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4738 return Py_BuildValue((char *)"");
4740 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
*resultobj
;
4742 wxWindow
*arg1
= (wxWindow
*) 0 ;
4744 wxBitmap
*arg3
= 0 ;
4745 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4746 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4747 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4748 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4749 long arg6
= (long) 0 ;
4750 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4751 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4752 wxStaticBitmap
*result
;
4755 bool temp7
= False
;
4756 PyObject
* obj0
= 0 ;
4757 PyObject
* obj1
= 0 ;
4758 PyObject
* obj2
= 0 ;
4759 PyObject
* obj3
= 0 ;
4760 PyObject
* obj4
= 0 ;
4761 PyObject
* obj5
= 0 ;
4762 PyObject
* obj6
= 0 ;
4764 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4770 arg2
= (int) SWIG_AsInt(obj1
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4772 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
4773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4776 PyErr_SetString(PyExc_TypeError
,"null reference");
4782 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4788 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4792 arg6
= (long) SWIG_AsLong(obj5
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4797 arg7
= wxString_in_helper(obj6
);
4798 if (arg7
== NULL
) SWIG_fail
;
4803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4804 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4806 wxPyEndAllowThreads(__tstate
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4824 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
;
4826 wxStaticBitmap
*result
;
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4834 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4836 wxPyEndAllowThreads(__tstate
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4846 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
*resultobj
;
4848 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4849 wxWindow
*arg2
= (wxWindow
*) 0 ;
4851 wxBitmap
*arg4
= 0 ;
4852 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4853 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4854 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4855 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4856 long arg7
= (long) 0 ;
4857 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4858 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4862 bool temp8
= False
;
4863 PyObject
* obj0
= 0 ;
4864 PyObject
* obj1
= 0 ;
4865 PyObject
* obj2
= 0 ;
4866 PyObject
* obj3
= 0 ;
4867 PyObject
* obj4
= 0 ;
4868 PyObject
* obj5
= 0 ;
4869 PyObject
* obj6
= 0 ;
4870 PyObject
* obj7
= 0 ;
4872 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4880 arg3
= (int) SWIG_AsInt(obj2
);
4881 if (PyErr_Occurred()) SWIG_fail
;
4882 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
4883 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4886 PyErr_SetString(PyExc_TypeError
,"null reference");
4892 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4898 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4902 arg7
= (long) SWIG_AsLong(obj6
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4907 arg8
= wxString_in_helper(obj7
);
4908 if (arg8
== NULL
) SWIG_fail
;
4913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4914 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4916 wxPyEndAllowThreads(__tstate
);
4917 if (PyErr_Occurred()) SWIG_fail
;
4920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4936 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4937 PyObject
*resultobj
;
4938 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4940 PyObject
* obj0
= 0 ;
4942 (char *) "self", NULL
4945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 result
= (arg1
)->GetBitmap();
4952 wxPyEndAllowThreads(__tstate
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4956 wxBitmap
* resultptr
;
4957 resultptr
= new wxBitmap((wxBitmap
&) result
);
4958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4966 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
*resultobj
;
4968 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4969 wxBitmap
*arg2
= 0 ;
4970 PyObject
* obj0
= 0 ;
4971 PyObject
* obj1
= 0 ;
4973 (char *) "self",(char *) "bitmap", NULL
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",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_wxBitmap
,
4980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4983 PyErr_SetString(PyExc_TypeError
,"null reference");
4987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4988 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4990 wxPyEndAllowThreads(__tstate
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4993 Py_INCREF(Py_None
); resultobj
= Py_None
;
5000 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5001 PyObject
*resultobj
;
5002 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5004 PyObject
* obj0
= 0 ;
5005 PyObject
* obj1
= 0 ;
5007 (char *) "self",(char *) "icon", NULL
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5017 PyErr_SetString(PyExc_TypeError
,"null reference");
5021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5024 wxPyEndAllowThreads(__tstate
);
5025 if (PyErr_Occurred()) SWIG_fail
;
5027 Py_INCREF(Py_None
); resultobj
= Py_None
;
5034 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5037 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5039 return Py_BuildValue((char *)"");
5041 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5042 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5047 static PyObject
*_wrap_ListBoxNameStr_get() {
5052 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5054 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5061 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
;
5063 wxWindow
*arg1
= (wxWindow
*) 0 ;
5065 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5066 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5067 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5068 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5069 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5070 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5071 long arg6
= (long) 0 ;
5072 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5073 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5074 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5075 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5079 bool temp5
= False
;
5080 bool temp8
= False
;
5081 PyObject
* obj0
= 0 ;
5082 PyObject
* obj1
= 0 ;
5083 PyObject
* obj2
= 0 ;
5084 PyObject
* obj3
= 0 ;
5085 PyObject
* obj4
= 0 ;
5086 PyObject
* obj5
= 0 ;
5087 PyObject
* obj6
= 0 ;
5088 PyObject
* obj7
= 0 ;
5090 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5096 arg2
= (int) SWIG_AsInt(obj1
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5101 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5107 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5112 if (! PySequence_Check(obj4
)) {
5113 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5116 arg5
= new wxArrayString
;
5118 int i
, len
=PySequence_Length(obj4
);
5119 for (i
=0; i
<len
; i
++) {
5120 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5122 PyObject
* str
= PyObject_Unicode(item
);
5124 PyObject
* str
= PyObject_Str(item
);
5126 arg5
->Add(Py2wxString(str
));
5133 arg6
= (long) SWIG_AsLong(obj5
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5137 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5138 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5141 PyErr_SetString(PyExc_TypeError
,"null reference");
5147 arg8
= wxString_in_helper(obj7
);
5148 if (arg8
== NULL
) SWIG_fail
;
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5161 if (temp5
) delete arg5
;
5170 if (temp5
) delete arg5
;
5180 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
*resultobj
;
5187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5190 result
= (wxListBox
*)new wxListBox();
5192 wxPyEndAllowThreads(__tstate
);
5193 if (PyErr_Occurred()) SWIG_fail
;
5195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5202 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5203 PyObject
*resultobj
;
5204 wxListBox
*arg1
= (wxListBox
*) 0 ;
5205 wxWindow
*arg2
= (wxWindow
*) 0 ;
5207 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5208 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5209 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5210 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5211 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5212 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5213 long arg7
= (long) 0 ;
5214 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5215 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5216 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5217 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5221 bool temp6
= False
;
5222 bool temp9
= False
;
5223 PyObject
* obj0
= 0 ;
5224 PyObject
* obj1
= 0 ;
5225 PyObject
* obj2
= 0 ;
5226 PyObject
* obj3
= 0 ;
5227 PyObject
* obj4
= 0 ;
5228 PyObject
* obj5
= 0 ;
5229 PyObject
* obj6
= 0 ;
5230 PyObject
* obj7
= 0 ;
5231 PyObject
* obj8
= 0 ;
5233 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5241 arg3
= (int) SWIG_AsInt(obj2
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5246 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5252 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5257 if (! PySequence_Check(obj5
)) {
5258 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5261 arg6
= new wxArrayString
;
5263 int i
, len
=PySequence_Length(obj5
);
5264 for (i
=0; i
<len
; i
++) {
5265 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5267 PyObject
* str
= PyObject_Unicode(item
);
5269 PyObject
* str
= PyObject_Str(item
);
5271 arg6
->Add(Py2wxString(str
));
5278 arg7
= (long) SWIG_AsLong(obj6
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5282 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5283 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5286 PyErr_SetString(PyExc_TypeError
,"null reference");
5292 arg9
= wxString_in_helper(obj8
);
5293 if (arg9
== NULL
) SWIG_fail
;
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5299 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5308 if (temp6
) delete arg6
;
5317 if (temp6
) delete arg6
;
5327 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
*resultobj
;
5329 wxListBox
*arg1
= (wxListBox
*) 0 ;
5330 wxString
*arg2
= 0 ;
5332 PyObject
*arg4
= (PyObject
*) NULL
;
5333 bool temp2
= False
;
5334 PyObject
* obj0
= 0 ;
5335 PyObject
* obj1
= 0 ;
5336 PyObject
* obj2
= 0 ;
5337 PyObject
* obj3
= 0 ;
5339 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5346 arg2
= wxString_in_helper(obj1
);
5347 if (arg2
== NULL
) SWIG_fail
;
5350 arg3
= (int) SWIG_AsInt(obj2
);
5351 if (PyErr_Occurred()) SWIG_fail
;
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5362 Py_INCREF(Py_None
); resultobj
= Py_None
;
5377 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
*resultobj
;
5379 wxListBox
*arg1
= (wxListBox
*) 0 ;
5380 wxArrayString
*arg2
= 0 ;
5382 bool temp2
= False
;
5383 PyObject
* obj0
= 0 ;
5384 PyObject
* obj1
= 0 ;
5385 PyObject
* obj2
= 0 ;
5387 (char *) "self",(char *) "items",(char *) "pos", NULL
5390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5394 if (! PySequence_Check(obj1
)) {
5395 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5398 arg2
= new wxArrayString
;
5400 int i
, len
=PySequence_Length(obj1
);
5401 for (i
=0; i
<len
; i
++) {
5402 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5404 PyObject
* str
= PyObject_Unicode(item
);
5406 PyObject
* str
= PyObject_Str(item
);
5408 arg2
->Add(Py2wxString(str
));
5413 arg3
= (int) SWIG_AsInt(obj2
);
5414 if (PyErr_Occurred()) SWIG_fail
;
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) SWIG_fail
;
5422 Py_INCREF(Py_None
); resultobj
= Py_None
;
5424 if (temp2
) delete arg2
;
5429 if (temp2
) delete arg2
;
5435 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
;
5437 wxListBox
*arg1
= (wxListBox
*) 0 ;
5438 wxArrayString
*arg2
= 0 ;
5439 bool temp2
= False
;
5440 PyObject
* obj0
= 0 ;
5441 PyObject
* obj1
= 0 ;
5443 (char *) "self",(char *) "items", NULL
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5450 if (! PySequence_Check(obj1
)) {
5451 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5454 arg2
= new wxArrayString
;
5456 int i
, len
=PySequence_Length(obj1
);
5457 for (i
=0; i
<len
; i
++) {
5458 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5460 PyObject
* str
= PyObject_Unicode(item
);
5462 PyObject
* str
= PyObject_Str(item
);
5464 arg2
->Add(Py2wxString(str
));
5470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5471 (arg1
)->Set((wxArrayString
const &)*arg2
);
5473 wxPyEndAllowThreads(__tstate
);
5474 if (PyErr_Occurred()) SWIG_fail
;
5476 Py_INCREF(Py_None
); resultobj
= Py_None
;
5478 if (temp2
) delete arg2
;
5483 if (temp2
) delete arg2
;
5489 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
*resultobj
;
5491 wxListBox
*arg1
= (wxListBox
*) 0 ;
5494 PyObject
* obj0
= 0 ;
5495 PyObject
* obj1
= 0 ;
5497 (char *) "self",(char *) "n", NULL
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5503 arg2
= (int) SWIG_AsInt(obj1
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5521 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
*resultobj
;
5523 wxListBox
*arg1
= (wxListBox
*) 0 ;
5525 bool arg3
= (bool) True
;
5526 PyObject
* obj0
= 0 ;
5527 PyObject
* obj1
= 0 ;
5528 PyObject
* obj2
= 0 ;
5530 (char *) "self",(char *) "n",(char *) "select", NULL
5533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5536 arg2
= (int) SWIG_AsInt(obj1
);
5537 if (PyErr_Occurred()) SWIG_fail
;
5539 arg3
= (bool) SWIG_AsBool(obj2
);
5540 if (PyErr_Occurred()) SWIG_fail
;
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 (arg1
)->SetSelection(arg2
,arg3
);
5546 wxPyEndAllowThreads(__tstate
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5549 Py_INCREF(Py_None
); resultobj
= Py_None
;
5556 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5557 PyObject
*resultobj
;
5558 wxListBox
*arg1
= (wxListBox
*) 0 ;
5560 PyObject
* obj0
= 0 ;
5561 PyObject
* obj1
= 0 ;
5563 (char *) "self",(char *) "n", NULL
5566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5569 arg2
= (int) SWIG_AsInt(obj1
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5573 (arg1
)->Select(arg2
);
5575 wxPyEndAllowThreads(__tstate
);
5576 if (PyErr_Occurred()) SWIG_fail
;
5578 Py_INCREF(Py_None
); resultobj
= Py_None
;
5585 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5586 PyObject
*resultobj
;
5587 wxListBox
*arg1
= (wxListBox
*) 0 ;
5589 PyObject
* obj0
= 0 ;
5590 PyObject
* obj1
= 0 ;
5592 (char *) "self",(char *) "n", NULL
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5598 arg2
= (int) SWIG_AsInt(obj1
);
5599 if (PyErr_Occurred()) SWIG_fail
;
5601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5602 (arg1
)->Deselect(arg2
);
5604 wxPyEndAllowThreads(__tstate
);
5605 if (PyErr_Occurred()) SWIG_fail
;
5607 Py_INCREF(Py_None
); resultobj
= Py_None
;
5614 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
*resultobj
;
5616 wxListBox
*arg1
= (wxListBox
*) 0 ;
5617 int arg2
= (int) -1 ;
5618 PyObject
* obj0
= 0 ;
5619 PyObject
* obj1
= 0 ;
5621 (char *) "self",(char *) "itemToLeaveSelected", NULL
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5628 arg2
= (int) SWIG_AsInt(obj1
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 (arg1
)->DeselectAll(arg2
);
5635 wxPyEndAllowThreads(__tstate
);
5636 if (PyErr_Occurred()) SWIG_fail
;
5638 Py_INCREF(Py_None
); resultobj
= Py_None
;
5645 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5646 PyObject
*resultobj
;
5647 wxListBox
*arg1
= (wxListBox
*) 0 ;
5648 wxString
*arg2
= 0 ;
5649 bool arg3
= (bool) True
;
5651 bool temp2
= False
;
5652 PyObject
* obj0
= 0 ;
5653 PyObject
* obj1
= 0 ;
5654 PyObject
* obj2
= 0 ;
5656 (char *) "self",(char *) "s",(char *) "select", NULL
5659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5663 arg2
= wxString_in_helper(obj1
);
5664 if (arg2
== NULL
) SWIG_fail
;
5668 arg3
= (bool) SWIG_AsBool(obj2
);
5669 if (PyErr_Occurred()) SWIG_fail
;
5672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5673 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5675 wxPyEndAllowThreads(__tstate
);
5676 if (PyErr_Occurred()) SWIG_fail
;
5679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5695 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
*resultobj
;
5697 wxListBox
*arg1
= (wxListBox
*) 0 ;
5699 PyObject
* obj0
= 0 ;
5701 (char *) "self", NULL
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5721 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
;
5723 wxListBox
*arg1
= (wxListBox
*) 0 ;
5725 PyObject
* obj0
= 0 ;
5726 PyObject
* obj1
= 0 ;
5728 (char *) "self",(char *) "n", NULL
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5734 arg2
= (int) SWIG_AsInt(obj1
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5738 (arg1
)->SetFirstItem(arg2
);
5740 wxPyEndAllowThreads(__tstate
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5743 Py_INCREF(Py_None
); resultobj
= Py_None
;
5750 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
*resultobj
;
5752 wxListBox
*arg1
= (wxListBox
*) 0 ;
5753 wxString
*arg2
= 0 ;
5754 bool temp2
= False
;
5755 PyObject
* obj0
= 0 ;
5756 PyObject
* obj1
= 0 ;
5758 (char *) "self",(char *) "s", NULL
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5765 arg2
= wxString_in_helper(obj1
);
5766 if (arg2
== NULL
) SWIG_fail
;
5770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5771 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5773 wxPyEndAllowThreads(__tstate
);
5774 if (PyErr_Occurred()) SWIG_fail
;
5776 Py_INCREF(Py_None
); resultobj
= Py_None
;
5791 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
*resultobj
;
5793 wxListBox
*arg1
= (wxListBox
*) 0 ;
5795 PyObject
* obj0
= 0 ;
5796 PyObject
* obj1
= 0 ;
5798 (char *) "self",(char *) "n", NULL
5801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5804 arg2
= (int) SWIG_AsInt(obj1
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5808 (arg1
)->EnsureVisible(arg2
);
5810 wxPyEndAllowThreads(__tstate
);
5811 if (PyErr_Occurred()) SWIG_fail
;
5813 Py_INCREF(Py_None
); resultobj
= Py_None
;
5820 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5821 PyObject
*resultobj
;
5822 wxListBox
*arg1
= (wxListBox
*) 0 ;
5823 wxString
*arg2
= 0 ;
5824 bool temp2
= False
;
5825 PyObject
* obj0
= 0 ;
5826 PyObject
* obj1
= 0 ;
5828 (char *) "self",(char *) "s", NULL
5831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5835 arg2
= wxString_in_helper(obj1
);
5836 if (arg2
== NULL
) SWIG_fail
;
5840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5841 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5843 wxPyEndAllowThreads(__tstate
);
5844 if (PyErr_Occurred()) SWIG_fail
;
5846 Py_INCREF(Py_None
); resultobj
= Py_None
;
5861 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
*resultobj
;
5863 wxListBox
*arg1
= (wxListBox
*) 0 ;
5865 PyObject
* obj0
= 0 ;
5867 (char *) "self", NULL
5870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5875 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5877 wxPyEndAllowThreads(__tstate
);
5878 if (PyErr_Occurred()) SWIG_fail
;
5881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5889 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
*resultobj
;
5891 wxListBox
*arg1
= (wxListBox
*) 0 ;
5893 wxColour
*arg3
= 0 ;
5895 PyObject
* obj0
= 0 ;
5896 PyObject
* obj1
= 0 ;
5897 PyObject
* obj2
= 0 ;
5899 (char *) "self",(char *) "item",(char *) "c", NULL
5902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5905 arg2
= (int) SWIG_AsInt(obj1
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5909 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5915 wxPyEndAllowThreads(__tstate
);
5916 if (PyErr_Occurred()) SWIG_fail
;
5918 Py_INCREF(Py_None
); resultobj
= Py_None
;
5925 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
*resultobj
;
5927 wxListBox
*arg1
= (wxListBox
*) 0 ;
5929 wxColour
*arg3
= 0 ;
5931 PyObject
* obj0
= 0 ;
5932 PyObject
* obj1
= 0 ;
5933 PyObject
* obj2
= 0 ;
5935 (char *) "self",(char *) "item",(char *) "c", NULL
5938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5941 arg2
= (int) SWIG_AsInt(obj1
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5945 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5949 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5954 Py_INCREF(Py_None
); resultobj
= Py_None
;
5961 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
;
5963 wxListBox
*arg1
= (wxListBox
*) 0 ;
5966 PyObject
* obj0
= 0 ;
5967 PyObject
* obj1
= 0 ;
5968 PyObject
* obj2
= 0 ;
5970 (char *) "self",(char *) "item",(char *) "f", NULL
5973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5976 arg2
= (int) SWIG_AsInt(obj1
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5978 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
5979 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5982 PyErr_SetString(PyExc_TypeError
,"null reference");
5986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5987 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
5989 wxPyEndAllowThreads(__tstate
);
5990 if (PyErr_Occurred()) SWIG_fail
;
5992 Py_INCREF(Py_None
); resultobj
= Py_None
;
5999 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6001 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6002 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6004 return Py_BuildValue((char *)"");
6006 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
*resultobj
;
6008 wxWindow
*arg1
= (wxWindow
*) 0 ;
6010 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6011 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6012 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6013 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6014 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6015 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6016 long arg6
= (long) 0 ;
6017 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6018 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6019 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6020 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6021 wxCheckListBox
*result
;
6024 bool temp5
= False
;
6025 bool temp8
= False
;
6026 PyObject
* obj0
= 0 ;
6027 PyObject
* obj1
= 0 ;
6028 PyObject
* obj2
= 0 ;
6029 PyObject
* obj3
= 0 ;
6030 PyObject
* obj4
= 0 ;
6031 PyObject
* obj5
= 0 ;
6032 PyObject
* obj6
= 0 ;
6033 PyObject
* obj7
= 0 ;
6035 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6041 arg2
= (int) SWIG_AsInt(obj1
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6046 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6052 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6057 if (! PySequence_Check(obj4
)) {
6058 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6061 arg5
= new wxArrayString
;
6063 int i
, len
=PySequence_Length(obj4
);
6064 for (i
=0; i
<len
; i
++) {
6065 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6067 PyObject
* str
= PyObject_Unicode(item
);
6069 PyObject
* str
= PyObject_Str(item
);
6071 arg5
->Add(Py2wxString(str
));
6078 arg6
= (long) SWIG_AsLong(obj5
);
6079 if (PyErr_Occurred()) SWIG_fail
;
6082 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6083 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6086 PyErr_SetString(PyExc_TypeError
,"null reference");
6092 arg8
= wxString_in_helper(obj7
);
6093 if (arg8
== NULL
) SWIG_fail
;
6098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6099 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6101 wxPyEndAllowThreads(__tstate
);
6102 if (PyErr_Occurred()) SWIG_fail
;
6104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6106 if (temp5
) delete arg5
;
6115 if (temp5
) delete arg5
;
6125 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6126 PyObject
*resultobj
;
6127 wxCheckListBox
*result
;
6132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6135 result
= (wxCheckListBox
*)new wxCheckListBox();
6137 wxPyEndAllowThreads(__tstate
);
6138 if (PyErr_Occurred()) SWIG_fail
;
6140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6147 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6148 PyObject
*resultobj
;
6149 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6150 wxWindow
*arg2
= (wxWindow
*) 0 ;
6152 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6153 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6154 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6155 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6156 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6157 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6158 long arg7
= (long) 0 ;
6159 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6160 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6161 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6162 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6166 bool temp6
= False
;
6167 bool temp9
= False
;
6168 PyObject
* obj0
= 0 ;
6169 PyObject
* obj1
= 0 ;
6170 PyObject
* obj2
= 0 ;
6171 PyObject
* obj3
= 0 ;
6172 PyObject
* obj4
= 0 ;
6173 PyObject
* obj5
= 0 ;
6174 PyObject
* obj6
= 0 ;
6175 PyObject
* obj7
= 0 ;
6176 PyObject
* obj8
= 0 ;
6178 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6186 arg3
= (int) SWIG_AsInt(obj2
);
6187 if (PyErr_Occurred()) SWIG_fail
;
6191 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6197 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6202 if (! PySequence_Check(obj5
)) {
6203 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6206 arg6
= new wxArrayString
;
6208 int i
, len
=PySequence_Length(obj5
);
6209 for (i
=0; i
<len
; i
++) {
6210 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6212 PyObject
* str
= PyObject_Unicode(item
);
6214 PyObject
* str
= PyObject_Str(item
);
6216 arg6
->Add(Py2wxString(str
));
6223 arg7
= (long) SWIG_AsLong(obj6
);
6224 if (PyErr_Occurred()) SWIG_fail
;
6227 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6228 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6231 PyErr_SetString(PyExc_TypeError
,"null reference");
6237 arg9
= wxString_in_helper(obj8
);
6238 if (arg9
== NULL
) SWIG_fail
;
6243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6244 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6246 wxPyEndAllowThreads(__tstate
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6253 if (temp6
) delete arg6
;
6262 if (temp6
) delete arg6
;
6272 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
*resultobj
;
6274 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6277 PyObject
* obj0
= 0 ;
6278 PyObject
* obj1
= 0 ;
6280 (char *) "self",(char *) "index", NULL
6283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6286 arg2
= (int) SWIG_AsInt(obj1
);
6287 if (PyErr_Occurred()) SWIG_fail
;
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 result
= (bool)(arg1
)->IsChecked(arg2
);
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6304 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
*resultobj
;
6306 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6308 int arg3
= (int) True
;
6309 PyObject
* obj0
= 0 ;
6310 PyObject
* obj1
= 0 ;
6311 PyObject
* obj2
= 0 ;
6313 (char *) "self",(char *) "index",(char *) "check", NULL
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6319 arg2
= (int) SWIG_AsInt(obj1
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6322 arg3
= (int) SWIG_AsInt(obj2
);
6323 if (PyErr_Occurred()) SWIG_fail
;
6326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6327 (arg1
)->Check(arg2
,arg3
);
6329 wxPyEndAllowThreads(__tstate
);
6330 if (PyErr_Occurred()) SWIG_fail
;
6332 Py_INCREF(Py_None
); resultobj
= Py_None
;
6339 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
*resultobj
;
6341 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6343 PyObject
* obj0
= 0 ;
6345 (char *) "self", NULL
6348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6353 result
= (int)(arg1
)->GetItemHeight();
6355 wxPyEndAllowThreads(__tstate
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6358 resultobj
= SWIG_FromInt((int)result
);
6365 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
*resultobj
;
6367 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6371 PyObject
* obj0
= 0 ;
6372 PyObject
* obj1
= 0 ;
6374 (char *) "self",(char *) "pt", NULL
6377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6382 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6386 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6391 resultobj
= SWIG_FromInt((int)result
);
6398 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
*resultobj
;
6400 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6404 PyObject
* obj0
= 0 ;
6405 PyObject
* obj1
= 0 ;
6406 PyObject
* obj2
= 0 ;
6408 (char *) "self",(char *) "x",(char *) "y", NULL
6411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6414 arg2
= (int) SWIG_AsInt(obj1
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6416 arg3
= (int) SWIG_AsInt(obj2
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6420 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6425 resultobj
= SWIG_FromInt((int)result
);
6432 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6435 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6437 return Py_BuildValue((char *)"");
6439 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6440 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6445 static PyObject
*_wrap_TextCtrlNameStr_get() {
6450 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6452 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6459 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6460 PyObject
*resultobj
;
6463 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 result
= (wxTextAttr
*)new wxTextAttr();
6468 wxPyEndAllowThreads(__tstate
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6478 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6479 PyObject
*resultobj
;
6480 wxColour
*arg1
= 0 ;
6481 wxColour
const &arg2_defvalue
= wxNullColour
;
6482 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6483 wxFont
const &arg3_defvalue
= wxNullFont
;
6484 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6485 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6489 PyObject
* obj0
= 0 ;
6490 PyObject
* obj1
= 0 ;
6491 PyObject
* obj2
= 0 ;
6492 PyObject
* obj3
= 0 ;
6494 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6497 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6502 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6506 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6507 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6510 PyErr_SetString(PyExc_TypeError
,"null reference");
6515 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6520 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6522 wxPyEndAllowThreads(__tstate
);
6523 if (PyErr_Occurred()) SWIG_fail
;
6525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6532 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6537 argc
= PyObject_Length(args
);
6538 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6539 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6542 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6544 if ((argc
>= 1) && (argc
<= 4)) {
6547 _v
= wxColour_typecheck(argv
[0]);
6551 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6554 _v
= wxColour_typecheck(argv
[1]);
6558 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6562 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6571 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6573 _v
= SWIG_CheckInt(argv
[3]);
6575 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6582 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6587 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6588 PyObject
*resultobj
;
6589 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6590 PyObject
* obj0
= 0 ;
6592 (char *) "self", NULL
6595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6602 wxPyEndAllowThreads(__tstate
);
6603 if (PyErr_Occurred()) SWIG_fail
;
6605 Py_INCREF(Py_None
); resultobj
= Py_None
;
6612 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6613 PyObject
*resultobj
;
6614 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6615 PyObject
* obj0
= 0 ;
6617 (char *) "self", NULL
6620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6627 wxPyEndAllowThreads(__tstate
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6630 Py_INCREF(Py_None
); resultobj
= Py_None
;
6637 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
*resultobj
;
6639 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6640 wxColour
*arg2
= 0 ;
6642 PyObject
* obj0
= 0 ;
6643 PyObject
* obj1
= 0 ;
6645 (char *) "self",(char *) "colText", NULL
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6653 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6662 Py_INCREF(Py_None
); resultobj
= Py_None
;
6669 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
*resultobj
;
6671 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6672 wxColour
*arg2
= 0 ;
6674 PyObject
* obj0
= 0 ;
6675 PyObject
* obj1
= 0 ;
6677 (char *) "self",(char *) "colBack", NULL
6680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6685 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6694 Py_INCREF(Py_None
); resultobj
= Py_None
;
6701 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
*resultobj
;
6703 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6705 long arg3
= (long) wxTEXT_ATTR_FONT
;
6706 PyObject
* obj0
= 0 ;
6707 PyObject
* obj1
= 0 ;
6708 PyObject
* obj2
= 0 ;
6710 (char *) "self",(char *) "font",(char *) "flags", NULL
6713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6716 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6717 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6720 PyErr_SetString(PyExc_TypeError
,"null reference");
6724 arg3
= (long) SWIG_AsLong(obj2
);
6725 if (PyErr_Occurred()) SWIG_fail
;
6728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6729 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6731 wxPyEndAllowThreads(__tstate
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6734 Py_INCREF(Py_None
); resultobj
= Py_None
;
6741 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
*resultobj
;
6743 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6745 PyObject
* obj0
= 0 ;
6746 PyObject
* obj1
= 0 ;
6748 (char *) "self",(char *) "alignment", NULL
6751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6754 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6758 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6760 wxPyEndAllowThreads(__tstate
);
6761 if (PyErr_Occurred()) SWIG_fail
;
6763 Py_INCREF(Py_None
); resultobj
= Py_None
;
6770 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6771 PyObject
*resultobj
;
6772 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6773 wxArrayInt
*arg2
= 0 ;
6774 bool temp2
= False
;
6775 PyObject
* obj0
= 0 ;
6776 PyObject
* obj1
= 0 ;
6778 (char *) "self",(char *) "tabs", NULL
6781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6785 if (! PySequence_Check(obj1
)) {
6786 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6789 arg2
= new wxArrayInt
;
6791 int i
, len
=PySequence_Length(obj1
);
6792 for (i
=0; i
<len
; i
++) {
6793 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6794 PyObject
* number
= PyNumber_Int(item
);
6795 arg2
->Add(PyInt_AS_LONG(number
));
6801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6802 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6804 wxPyEndAllowThreads(__tstate
);
6805 if (PyErr_Occurred()) SWIG_fail
;
6807 Py_INCREF(Py_None
); resultobj
= Py_None
;
6809 if (temp2
) delete arg2
;
6814 if (temp2
) delete arg2
;
6820 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
*resultobj
;
6822 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6824 PyObject
* obj0
= 0 ;
6825 PyObject
* obj1
= 0 ;
6827 (char *) "self",(char *) "indent", NULL
6830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6833 arg2
= (int) SWIG_AsInt(obj1
);
6834 if (PyErr_Occurred()) SWIG_fail
;
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 (arg1
)->SetLeftIndent(arg2
);
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6842 Py_INCREF(Py_None
); resultobj
= Py_None
;
6849 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
;
6851 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6853 PyObject
* obj0
= 0 ;
6854 PyObject
* obj1
= 0 ;
6856 (char *) "self",(char *) "indent", NULL
6859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6862 arg2
= (int) SWIG_AsInt(obj1
);
6863 if (PyErr_Occurred()) SWIG_fail
;
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6866 (arg1
)->SetRightIndent(arg2
);
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6871 Py_INCREF(Py_None
); resultobj
= Py_None
;
6878 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
;
6880 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6882 PyObject
* obj0
= 0 ;
6883 PyObject
* obj1
= 0 ;
6885 (char *) "self",(char *) "flags", NULL
6888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6891 arg2
= (long) SWIG_AsLong(obj1
);
6892 if (PyErr_Occurred()) SWIG_fail
;
6894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6895 (arg1
)->SetFlags(arg2
);
6897 wxPyEndAllowThreads(__tstate
);
6898 if (PyErr_Occurred()) SWIG_fail
;
6900 Py_INCREF(Py_None
); resultobj
= Py_None
;
6907 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
*resultobj
;
6909 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6911 PyObject
* obj0
= 0 ;
6913 (char *) "self", NULL
6916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6935 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
*resultobj
;
6937 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6939 PyObject
* obj0
= 0 ;
6941 (char *) "self", NULL
6944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6949 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6951 wxPyEndAllowThreads(__tstate
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6963 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
*resultobj
;
6965 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6967 PyObject
* obj0
= 0 ;
6969 (char *) "self", NULL
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6991 static PyObject
*_wrap_TextAttr_HasAlignment(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_HasAlignment",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
)->HasAlignment();
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7019 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
*resultobj
;
7021 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7023 PyObject
* obj0
= 0 ;
7025 (char *) "self", NULL
7028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7033 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7035 wxPyEndAllowThreads(__tstate
);
7036 if (PyErr_Occurred()) SWIG_fail
;
7039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7047 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
;
7049 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7051 PyObject
* obj0
= 0 ;
7053 (char *) "self", NULL
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7075 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7076 PyObject
*resultobj
;
7077 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7079 PyObject
* obj0
= 0 ;
7081 (char *) "self", NULL
7084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7089 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7103 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
;
7105 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7108 PyObject
* obj0
= 0 ;
7109 PyObject
* obj1
= 0 ;
7111 (char *) "self",(char *) "flag", NULL
7114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7117 arg2
= (long) SWIG_AsLong(obj1
);
7118 if (PyErr_Occurred()) SWIG_fail
;
7120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7123 wxPyEndAllowThreads(__tstate
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7135 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
*resultobj
;
7137 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7139 PyObject
* obj0
= 0 ;
7141 (char *) "self", NULL
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7150 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7151 result
= (wxColour
*) &_result_ref
;
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7164 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7165 PyObject
*resultobj
;
7166 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7168 PyObject
* obj0
= 0 ;
7170 (char *) "self", NULL
7173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7179 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7180 result
= (wxColour
*) &_result_ref
;
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7193 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
*resultobj
;
7195 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7197 PyObject
* obj0
= 0 ;
7199 (char *) "self", NULL
7202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7208 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7209 result
= (wxFont
*) &_result_ref
;
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7216 wxFont
* resultptr
= new wxFont(*result
);
7217 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7225 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
*resultobj
;
7227 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7229 PyObject
* obj0
= 0 ;
7231 (char *) "self", NULL
7234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 resultobj
= SWIG_FromInt((int)result
);
7251 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
;
7253 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7255 PyObject
* obj0
= 0 ;
7257 (char *) "self", NULL
7260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7266 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7267 result
= (wxArrayInt
*) &_result_ref
;
7270 wxPyEndAllowThreads(__tstate
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7274 resultobj
= PyList_New(0);
7276 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7277 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7278 PyList_Append(resultobj
, val
);
7288 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
*resultobj
;
7290 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7292 PyObject
* obj0
= 0 ;
7294 (char *) "self", NULL
7297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7307 resultobj
= SWIG_FromLong((long)result
);
7314 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7315 PyObject
*resultobj
;
7316 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7318 PyObject
* obj0
= 0 ;
7320 (char *) "self", NULL
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7328 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7330 wxPyEndAllowThreads(__tstate
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7333 resultobj
= SWIG_FromLong((long)result
);
7340 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
*resultobj
;
7342 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7344 PyObject
* obj0
= 0 ;
7346 (char *) "self", NULL
7349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7354 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7356 wxPyEndAllowThreads(__tstate
);
7357 if (PyErr_Occurred()) SWIG_fail
;
7359 resultobj
= SWIG_FromLong((long)result
);
7366 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7367 PyObject
*resultobj
;
7368 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7370 PyObject
* obj0
= 0 ;
7372 (char *) "self", NULL
7375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7380 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7382 wxPyEndAllowThreads(__tstate
);
7383 if (PyErr_Occurred()) SWIG_fail
;
7386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7394 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7395 PyObject
*resultobj
;
7396 wxTextAttr
*arg1
= 0 ;
7397 wxTextAttr
*arg2
= 0 ;
7398 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7400 PyObject
* obj0
= 0 ;
7401 PyObject
* obj1
= 0 ;
7402 PyObject
* obj2
= 0 ;
7404 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7409 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7412 PyErr_SetString(PyExc_TypeError
,"null reference");
7415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7416 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7419 PyErr_SetString(PyExc_TypeError
,"null reference");
7422 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7426 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) SWIG_fail
;
7432 wxTextAttr
* resultptr
;
7433 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7434 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7442 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7444 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7445 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7447 return Py_BuildValue((char *)"");
7449 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
*resultobj
;
7451 wxWindow
*arg1
= (wxWindow
*) 0 ;
7453 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7454 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7455 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7456 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7457 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7458 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7459 long arg6
= (long) 0 ;
7460 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7461 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7462 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7463 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7465 bool temp3
= False
;
7468 bool temp8
= False
;
7469 PyObject
* obj0
= 0 ;
7470 PyObject
* obj1
= 0 ;
7471 PyObject
* obj2
= 0 ;
7472 PyObject
* obj3
= 0 ;
7473 PyObject
* obj4
= 0 ;
7474 PyObject
* obj5
= 0 ;
7475 PyObject
* obj6
= 0 ;
7476 PyObject
* obj7
= 0 ;
7478 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7484 arg2
= (int) SWIG_AsInt(obj1
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7488 arg3
= wxString_in_helper(obj2
);
7489 if (arg3
== NULL
) SWIG_fail
;
7496 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7502 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7506 arg6
= (long) SWIG_AsLong(obj5
);
7507 if (PyErr_Occurred()) SWIG_fail
;
7510 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7511 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7514 PyErr_SetString(PyExc_TypeError
,"null reference");
7520 arg8
= wxString_in_helper(obj7
);
7521 if (arg8
== NULL
) SWIG_fail
;
7526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7527 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7529 wxPyEndAllowThreads(__tstate
);
7530 if (PyErr_Occurred()) SWIG_fail
;
7533 resultobj
= wxPyMake_wxObject(result
);
7557 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
*resultobj
;
7564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7567 result
= (wxTextCtrl
*)new wxTextCtrl();
7569 wxPyEndAllowThreads(__tstate
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7573 resultobj
= wxPyMake_wxObject(result
);
7581 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7582 PyObject
*resultobj
;
7583 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7584 wxWindow
*arg2
= (wxWindow
*) 0 ;
7586 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7587 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7588 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7589 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7590 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7591 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7592 long arg7
= (long) 0 ;
7593 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7594 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7595 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7596 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7598 bool temp4
= False
;
7601 bool temp9
= False
;
7602 PyObject
* obj0
= 0 ;
7603 PyObject
* obj1
= 0 ;
7604 PyObject
* obj2
= 0 ;
7605 PyObject
* obj3
= 0 ;
7606 PyObject
* obj4
= 0 ;
7607 PyObject
* obj5
= 0 ;
7608 PyObject
* obj6
= 0 ;
7609 PyObject
* obj7
= 0 ;
7610 PyObject
* obj8
= 0 ;
7612 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7620 arg3
= (int) SWIG_AsInt(obj2
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7624 arg4
= wxString_in_helper(obj3
);
7625 if (arg4
== NULL
) SWIG_fail
;
7632 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7638 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7642 arg7
= (long) SWIG_AsLong(obj6
);
7643 if (PyErr_Occurred()) SWIG_fail
;
7646 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
7647 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7650 PyErr_SetString(PyExc_TypeError
,"null reference");
7656 arg9
= wxString_in_helper(obj8
);
7657 if (arg9
== NULL
) SWIG_fail
;
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7693 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
*resultobj
;
7695 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7697 PyObject
* obj0
= 0 ;
7699 (char *) "self", NULL
7702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7707 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7709 wxPyEndAllowThreads(__tstate
);
7710 if (PyErr_Occurred()) SWIG_fail
;
7714 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7716 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7725 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7726 PyObject
*resultobj
;
7727 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7728 wxString
*arg2
= 0 ;
7729 bool temp2
= False
;
7730 PyObject
* obj0
= 0 ;
7731 PyObject
* obj1
= 0 ;
7733 (char *) "self",(char *) "value", NULL
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7740 arg2
= wxString_in_helper(obj1
);
7741 if (arg2
== NULL
) SWIG_fail
;
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 (arg1
)->SetValue((wxString
const &)*arg2
);
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7751 Py_INCREF(Py_None
); resultobj
= Py_None
;
7766 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7767 PyObject
*resultobj
;
7768 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7772 PyObject
* obj0
= 0 ;
7773 PyObject
* obj1
= 0 ;
7774 PyObject
* obj2
= 0 ;
7776 (char *) "self",(char *) "from",(char *) "to", NULL
7779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7782 arg2
= (long) SWIG_AsLong(obj1
);
7783 if (PyErr_Occurred()) SWIG_fail
;
7784 arg3
= (long) SWIG_AsLong(obj2
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7788 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
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_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7811 PyObject
* obj0
= 0 ;
7812 PyObject
* obj1
= 0 ;
7814 (char *) "self",(char *) "lineNo", NULL
7817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7820 arg2
= (long) SWIG_AsLong(obj1
);
7821 if (PyErr_Occurred()) SWIG_fail
;
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7824 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7826 wxPyEndAllowThreads(__tstate
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7829 resultobj
= SWIG_FromInt((int)result
);
7836 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7837 PyObject
*resultobj
;
7838 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7841 PyObject
* obj0
= 0 ;
7842 PyObject
* obj1
= 0 ;
7844 (char *) "self",(char *) "lineNo", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7850 arg2
= (long) SWIG_AsLong(obj1
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7854 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7856 wxPyEndAllowThreads(__tstate
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7861 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7863 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7872 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7873 PyObject
*resultobj
;
7874 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7876 PyObject
* obj0
= 0 ;
7878 (char *) "self", NULL
7881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7886 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7888 wxPyEndAllowThreads(__tstate
);
7889 if (PyErr_Occurred()) SWIG_fail
;
7891 resultobj
= SWIG_FromInt((int)result
);
7898 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7899 PyObject
*resultobj
;
7900 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7902 PyObject
* obj0
= 0 ;
7904 (char *) "self", NULL
7907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7912 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7914 wxPyEndAllowThreads(__tstate
);
7915 if (PyErr_Occurred()) SWIG_fail
;
7918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7926 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7927 PyObject
*resultobj
;
7928 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7930 PyObject
* obj0
= 0 ;
7932 (char *) "self", NULL
7935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7954 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
;
7956 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7958 PyObject
* obj0
= 0 ;
7960 (char *) "self", NULL
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7968 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7982 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
*resultobj
;
7984 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7986 PyObject
* obj0
= 0 ;
7988 (char *) "self", NULL
7991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7996 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7998 wxPyEndAllowThreads(__tstate
);
7999 if (PyErr_Occurred()) SWIG_fail
;
8002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8010 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
;
8012 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8013 long *arg2
= (long *) 0 ;
8014 long *arg3
= (long *) 0 ;
8017 PyObject
* obj0
= 0 ;
8019 (char *) "self", NULL
8024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8029 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8031 wxPyEndAllowThreads(__tstate
);
8032 if (PyErr_Occurred()) SWIG_fail
;
8034 Py_INCREF(Py_None
); resultobj
= Py_None
;
8036 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8037 resultobj
= t_output_helper(resultobj
,o
);
8040 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8041 resultobj
= t_output_helper(resultobj
,o
);
8049 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8050 PyObject
*resultobj
;
8051 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8053 PyObject
* obj0
= 0 ;
8055 (char *) "self", NULL
8058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8063 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8065 wxPyEndAllowThreads(__tstate
);
8066 if (PyErr_Occurred()) SWIG_fail
;
8070 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8072 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8081 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
*resultobj
;
8083 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8084 PyObject
* obj0
= 0 ;
8086 (char *) "self", NULL
8089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8099 Py_INCREF(Py_None
); resultobj
= Py_None
;
8106 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
*resultobj
;
8108 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8111 wxString
*arg4
= 0 ;
8112 bool temp4
= False
;
8113 PyObject
* obj0
= 0 ;
8114 PyObject
* obj1
= 0 ;
8115 PyObject
* obj2
= 0 ;
8116 PyObject
* obj3
= 0 ;
8118 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8124 arg2
= (long) SWIG_AsLong(obj1
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8126 arg3
= (long) SWIG_AsLong(obj2
);
8127 if (PyErr_Occurred()) SWIG_fail
;
8129 arg4
= wxString_in_helper(obj3
);
8130 if (arg4
== NULL
) SWIG_fail
;
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8135 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8140 Py_INCREF(Py_None
); resultobj
= Py_None
;
8155 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8156 PyObject
*resultobj
;
8157 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8160 PyObject
* obj0
= 0 ;
8161 PyObject
* obj1
= 0 ;
8162 PyObject
* obj2
= 0 ;
8164 (char *) "self",(char *) "from",(char *) "to", NULL
8167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8170 arg2
= (long) SWIG_AsLong(obj1
);
8171 if (PyErr_Occurred()) SWIG_fail
;
8172 arg3
= (long) SWIG_AsLong(obj2
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8176 (arg1
)->Remove(arg2
,arg3
);
8178 wxPyEndAllowThreads(__tstate
);
8179 if (PyErr_Occurred()) SWIG_fail
;
8181 Py_INCREF(Py_None
); resultobj
= Py_None
;
8188 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8189 PyObject
*resultobj
;
8190 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8191 wxString
*arg2
= 0 ;
8193 bool temp2
= False
;
8194 PyObject
* obj0
= 0 ;
8195 PyObject
* obj1
= 0 ;
8197 (char *) "self",(char *) "file", NULL
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8204 arg2
= wxString_in_helper(obj1
);
8205 if (arg2
== NULL
) SWIG_fail
;
8209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8210 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8212 wxPyEndAllowThreads(__tstate
);
8213 if (PyErr_Occurred()) SWIG_fail
;
8216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8232 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8233 PyObject
*resultobj
;
8234 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8235 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8236 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8238 bool temp2
= False
;
8239 PyObject
* obj0
= 0 ;
8240 PyObject
* obj1
= 0 ;
8242 (char *) "self",(char *) "file", NULL
8245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8250 arg2
= wxString_in_helper(obj1
);
8251 if (arg2
== NULL
) SWIG_fail
;
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8259 wxPyEndAllowThreads(__tstate
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8279 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
*resultobj
;
8281 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8282 PyObject
* obj0
= 0 ;
8284 (char *) "self", NULL
8287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8292 (arg1
)->MarkDirty();
8294 wxPyEndAllowThreads(__tstate
);
8295 if (PyErr_Occurred()) SWIG_fail
;
8297 Py_INCREF(Py_None
); resultobj
= Py_None
;
8304 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8305 PyObject
*resultobj
;
8306 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8307 PyObject
* obj0
= 0 ;
8309 (char *) "self", NULL
8312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8317 (arg1
)->DiscardEdits();
8319 wxPyEndAllowThreads(__tstate
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8322 Py_INCREF(Py_None
); resultobj
= Py_None
;
8329 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8330 PyObject
*resultobj
;
8331 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8332 unsigned long arg2
;
8333 PyObject
* obj0
= 0 ;
8334 PyObject
* obj1
= 0 ;
8336 (char *) "self",(char *) "len", NULL
8339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8342 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8346 (arg1
)->SetMaxLength(arg2
);
8348 wxPyEndAllowThreads(__tstate
);
8349 if (PyErr_Occurred()) SWIG_fail
;
8351 Py_INCREF(Py_None
); resultobj
= Py_None
;
8358 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8359 PyObject
*resultobj
;
8360 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8361 wxString
*arg2
= 0 ;
8362 bool temp2
= False
;
8363 PyObject
* obj0
= 0 ;
8364 PyObject
* obj1
= 0 ;
8366 (char *) "self",(char *) "text", NULL
8369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8373 arg2
= wxString_in_helper(obj1
);
8374 if (arg2
== NULL
) SWIG_fail
;
8378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8379 (arg1
)->WriteText((wxString
const &)*arg2
);
8381 wxPyEndAllowThreads(__tstate
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8384 Py_INCREF(Py_None
); resultobj
= Py_None
;
8399 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
*resultobj
;
8401 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8402 wxString
*arg2
= 0 ;
8403 bool temp2
= False
;
8404 PyObject
* obj0
= 0 ;
8405 PyObject
* obj1
= 0 ;
8407 (char *) "self",(char *) "text", NULL
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8414 arg2
= wxString_in_helper(obj1
);
8415 if (arg2
== NULL
) SWIG_fail
;
8419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8420 (arg1
)->AppendText((wxString
const &)*arg2
);
8422 wxPyEndAllowThreads(__tstate
);
8423 if (PyErr_Occurred()) SWIG_fail
;
8425 Py_INCREF(Py_None
); resultobj
= Py_None
;
8440 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8441 PyObject
*resultobj
;
8442 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8443 wxKeyEvent
*arg2
= 0 ;
8445 PyObject
* obj0
= 0 ;
8446 PyObject
* obj1
= 0 ;
8448 (char *) "self",(char *) "event", NULL
8451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8455 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8458 PyErr_SetString(PyExc_TypeError
,"null reference");
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8465 wxPyEndAllowThreads(__tstate
);
8466 if (PyErr_Occurred()) SWIG_fail
;
8469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8477 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8478 PyObject
*resultobj
;
8479 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8482 wxTextAttr
*arg4
= 0 ;
8484 PyObject
* obj0
= 0 ;
8485 PyObject
* obj1
= 0 ;
8486 PyObject
* obj2
= 0 ;
8487 PyObject
* obj3
= 0 ;
8489 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8495 arg2
= (long) SWIG_AsLong(obj1
);
8496 if (PyErr_Occurred()) SWIG_fail
;
8497 arg3
= (long) SWIG_AsLong(obj2
);
8498 if (PyErr_Occurred()) SWIG_fail
;
8499 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8500 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8503 PyErr_SetString(PyExc_TypeError
,"null reference");
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8522 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8523 PyObject
*resultobj
;
8524 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8526 wxTextAttr
*arg3
= 0 ;
8528 PyObject
* obj0
= 0 ;
8529 PyObject
* obj1
= 0 ;
8530 PyObject
* obj2
= 0 ;
8532 (char *) "self",(char *) "position",(char *) "style", NULL
8535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8538 arg2
= (long) SWIG_AsLong(obj1
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8540 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8541 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8544 PyErr_SetString(PyExc_TypeError
,"null reference");
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8563 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8564 PyObject
*resultobj
;
8565 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8566 wxTextAttr
*arg2
= 0 ;
8568 PyObject
* obj0
= 0 ;
8569 PyObject
* obj1
= 0 ;
8571 (char *) "self",(char *) "style", NULL
8574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8581 PyErr_SetString(PyExc_TypeError
,"null reference");
8585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8586 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8588 wxPyEndAllowThreads(__tstate
);
8589 if (PyErr_Occurred()) SWIG_fail
;
8592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8600 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8601 PyObject
*resultobj
;
8602 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8604 PyObject
* obj0
= 0 ;
8606 (char *) "self", NULL
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8615 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8616 result
= (wxTextAttr
*) &_result_ref
;
8619 wxPyEndAllowThreads(__tstate
);
8620 if (PyErr_Occurred()) SWIG_fail
;
8622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
8629 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8630 PyObject
*resultobj
;
8631 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8635 PyObject
* obj0
= 0 ;
8636 PyObject
* obj1
= 0 ;
8637 PyObject
* obj2
= 0 ;
8639 (char *) "self",(char *) "x",(char *) "y", NULL
8642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8645 arg2
= (long) SWIG_AsLong(obj1
);
8646 if (PyErr_Occurred()) SWIG_fail
;
8647 arg3
= (long) SWIG_AsLong(obj2
);
8648 if (PyErr_Occurred()) SWIG_fail
;
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 resultobj
= SWIG_FromLong((long)result
);
8663 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8664 PyObject
*resultobj
;
8665 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8667 long *arg3
= (long *) 0 ;
8668 long *arg4
= (long *) 0 ;
8671 PyObject
* obj0
= 0 ;
8672 PyObject
* obj1
= 0 ;
8674 (char *) "self",(char *) "pos", NULL
8679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8682 arg2
= (long) SWIG_AsLong(obj1
);
8683 if (PyErr_Occurred()) SWIG_fail
;
8685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8691 Py_INCREF(Py_None
); resultobj
= Py_None
;
8693 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8694 resultobj
= t_output_helper(resultobj
,o
);
8697 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8698 resultobj
= t_output_helper(resultobj
,o
);
8706 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8707 PyObject
*resultobj
;
8708 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8710 PyObject
* obj0
= 0 ;
8711 PyObject
* obj1
= 0 ;
8713 (char *) "self",(char *) "pos", NULL
8716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8719 arg2
= (long) SWIG_AsLong(obj1
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8723 (arg1
)->ShowPosition(arg2
);
8725 wxPyEndAllowThreads(__tstate
);
8726 if (PyErr_Occurred()) SWIG_fail
;
8728 Py_INCREF(Py_None
); resultobj
= Py_None
;
8735 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8736 PyObject
*resultobj
;
8737 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8739 long *arg3
= (long *) 0 ;
8740 long *arg4
= (long *) 0 ;
8745 PyObject
* obj0
= 0 ;
8746 PyObject
* obj1
= 0 ;
8748 (char *) "self",(char *) "pt", NULL
8753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8758 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8762 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8764 wxPyEndAllowThreads(__tstate
);
8765 if (PyErr_Occurred()) SWIG_fail
;
8767 resultobj
= SWIG_FromInt((int)result
);
8769 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8770 resultobj
= t_output_helper(resultobj
,o
);
8773 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8774 resultobj
= t_output_helper(resultobj
,o
);
8782 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
;
8784 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8785 PyObject
* obj0
= 0 ;
8787 (char *) "self", NULL
8790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8797 wxPyEndAllowThreads(__tstate
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8800 Py_INCREF(Py_None
); resultobj
= Py_None
;
8807 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
;
8809 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8810 PyObject
* obj0
= 0 ;
8812 (char *) "self", NULL
8815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8825 Py_INCREF(Py_None
); resultobj
= Py_None
;
8832 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
;
8834 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8835 PyObject
* obj0
= 0 ;
8837 (char *) "self", NULL
8840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8850 Py_INCREF(Py_None
); resultobj
= Py_None
;
8857 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
*resultobj
;
8859 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8861 PyObject
* obj0
= 0 ;
8863 (char *) "self", NULL
8866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8871 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8873 wxPyEndAllowThreads(__tstate
);
8874 if (PyErr_Occurred()) SWIG_fail
;
8877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8885 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8886 PyObject
*resultobj
;
8887 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8889 PyObject
* obj0
= 0 ;
8891 (char *) "self", NULL
8894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8899 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8901 wxPyEndAllowThreads(__tstate
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8913 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8914 PyObject
*resultobj
;
8915 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8917 PyObject
* obj0
= 0 ;
8919 (char *) "self", NULL
8922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8941 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
*resultobj
;
8943 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8944 PyObject
* obj0
= 0 ;
8946 (char *) "self", NULL
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8959 Py_INCREF(Py_None
); resultobj
= Py_None
;
8966 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8967 PyObject
*resultobj
;
8968 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8969 PyObject
* obj0
= 0 ;
8971 (char *) "self", NULL
8974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8984 Py_INCREF(Py_None
); resultobj
= Py_None
;
8991 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8992 PyObject
*resultobj
;
8993 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8995 PyObject
* obj0
= 0 ;
8997 (char *) "self", NULL
9000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9005 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9019 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
*resultobj
;
9021 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9023 PyObject
* obj0
= 0 ;
9025 (char *) "self", NULL
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9033 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9035 wxPyEndAllowThreads(__tstate
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9047 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
*resultobj
;
9049 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9051 PyObject
* obj0
= 0 ;
9052 PyObject
* obj1
= 0 ;
9054 (char *) "self",(char *) "pos", NULL
9057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9060 arg2
= (long) SWIG_AsLong(obj1
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9064 (arg1
)->SetInsertionPoint(arg2
);
9066 wxPyEndAllowThreads(__tstate
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9069 Py_INCREF(Py_None
); resultobj
= Py_None
;
9076 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9077 PyObject
*resultobj
;
9078 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9079 PyObject
* obj0
= 0 ;
9081 (char *) "self", NULL
9084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 (arg1
)->SetInsertionPointEnd();
9091 wxPyEndAllowThreads(__tstate
);
9092 if (PyErr_Occurred()) SWIG_fail
;
9094 Py_INCREF(Py_None
); resultobj
= Py_None
;
9101 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9102 PyObject
*resultobj
;
9103 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9105 PyObject
* obj0
= 0 ;
9107 (char *) "self", NULL
9110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9115 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9117 wxPyEndAllowThreads(__tstate
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9120 resultobj
= SWIG_FromLong((long)result
);
9127 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9128 PyObject
*resultobj
;
9129 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9131 PyObject
* obj0
= 0 ;
9133 (char *) "self", NULL
9136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9143 wxPyEndAllowThreads(__tstate
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9146 resultobj
= SWIG_FromLong((long)result
);
9153 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9154 PyObject
*resultobj
;
9155 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9158 PyObject
* obj0
= 0 ;
9159 PyObject
* obj1
= 0 ;
9160 PyObject
* obj2
= 0 ;
9162 (char *) "self",(char *) "from",(char *) "to", NULL
9165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9168 arg2
= (long) SWIG_AsLong(obj1
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9170 arg3
= (long) SWIG_AsLong(obj2
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 (arg1
)->SetSelection(arg2
,arg3
);
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 Py_INCREF(Py_None
); resultobj
= Py_None
;
9186 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
*resultobj
;
9188 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9189 PyObject
* obj0
= 0 ;
9191 (char *) "self", NULL
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 (arg1
)->SelectAll();
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9204 Py_INCREF(Py_None
); resultobj
= Py_None
;
9211 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9212 PyObject
*resultobj
;
9213 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9215 PyObject
* obj0
= 0 ;
9216 PyObject
* obj1
= 0 ;
9218 (char *) "self",(char *) "editable", NULL
9221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9224 arg2
= (bool) SWIG_AsBool(obj1
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9228 (arg1
)->SetEditable(arg2
);
9230 wxPyEndAllowThreads(__tstate
);
9231 if (PyErr_Occurred()) SWIG_fail
;
9233 Py_INCREF(Py_None
); resultobj
= Py_None
;
9240 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
*resultobj
;
9242 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9243 wxString
*arg2
= 0 ;
9244 bool temp2
= False
;
9245 PyObject
* obj0
= 0 ;
9246 PyObject
* obj1
= 0 ;
9248 (char *) "self",(char *) "text", NULL
9251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9255 arg2
= wxString_in_helper(obj1
);
9256 if (arg2
== NULL
) SWIG_fail
;
9260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9261 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9263 wxPyEndAllowThreads(__tstate
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9266 Py_INCREF(Py_None
); resultobj
= Py_None
;
9281 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9282 PyObject
*resultobj
;
9283 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9287 PyObject
* obj0
= 0 ;
9288 PyObject
* obj1
= 0 ;
9289 PyObject
* obj2
= 0 ;
9291 (char *) "self",(char *) "from",(char *) "to", NULL
9294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9297 arg2
= (long) SWIG_AsLong(obj1
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9299 arg3
= (long) SWIG_AsLong(obj2
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9305 wxPyEndAllowThreads(__tstate
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9310 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9312 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9321 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9324 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9326 return Py_BuildValue((char *)"");
9328 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
*resultobj
;
9331 wxMouseEvent
*arg2
= 0 ;
9334 wxTextUrlEvent
*result
;
9335 PyObject
* obj0
= 0 ;
9336 PyObject
* obj1
= 0 ;
9337 PyObject
* obj2
= 0 ;
9338 PyObject
* obj3
= 0 ;
9340 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9344 arg1
= (int) SWIG_AsInt(obj0
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9347 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9350 PyErr_SetString(PyExc_TypeError
,"null reference");
9353 arg3
= (long) SWIG_AsLong(obj2
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9355 arg4
= (long) SWIG_AsLong(obj3
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9371 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
*resultobj
;
9373 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9374 wxMouseEvent
*result
;
9375 PyObject
* obj0
= 0 ;
9377 (char *) "self", NULL
9380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9386 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9387 result
= (wxMouseEvent
*) &_result_ref
;
9390 wxPyEndAllowThreads(__tstate
);
9391 if (PyErr_Occurred()) SWIG_fail
;
9393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9400 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9401 PyObject
*resultobj
;
9402 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9404 PyObject
* obj0
= 0 ;
9406 (char *) "self", NULL
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9414 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9419 resultobj
= SWIG_FromLong((long)result
);
9426 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9427 PyObject
*resultobj
;
9428 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9430 PyObject
* obj0
= 0 ;
9432 (char *) "self", NULL
9435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9445 resultobj
= SWIG_FromLong((long)result
);
9452 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9455 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9457 return Py_BuildValue((char *)"");
9459 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9460 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9465 static PyObject
*_wrap_ScrollBarNameStr_get() {
9470 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9472 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9479 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9480 PyObject
*resultobj
;
9481 wxWindow
*arg1
= (wxWindow
*) 0 ;
9482 int arg2
= (int) -1 ;
9483 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9484 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9485 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9486 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9487 long arg5
= (long) wxSB_HORIZONTAL
;
9488 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9489 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9490 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9491 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9492 wxScrollBar
*result
;
9495 bool temp7
= False
;
9496 PyObject
* obj0
= 0 ;
9497 PyObject
* obj1
= 0 ;
9498 PyObject
* obj2
= 0 ;
9499 PyObject
* obj3
= 0 ;
9500 PyObject
* obj4
= 0 ;
9501 PyObject
* obj5
= 0 ;
9502 PyObject
* obj6
= 0 ;
9504 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9511 arg2
= (int) SWIG_AsInt(obj1
);
9512 if (PyErr_Occurred()) SWIG_fail
;
9517 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9523 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9527 arg5
= (long) SWIG_AsLong(obj4
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9531 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
9532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9535 PyErr_SetString(PyExc_TypeError
,"null reference");
9541 arg7
= wxString_in_helper(obj6
);
9542 if (arg7
== NULL
) SWIG_fail
;
9547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9548 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9550 wxPyEndAllowThreads(__tstate
);
9551 if (PyErr_Occurred()) SWIG_fail
;
9553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9568 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9569 PyObject
*resultobj
;
9570 wxScrollBar
*result
;
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 result
= (wxScrollBar
*)new wxScrollBar();
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9590 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
;
9592 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9593 wxWindow
*arg2
= (wxWindow
*) 0 ;
9594 int arg3
= (int) -1 ;
9595 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9596 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9597 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9598 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9599 long arg6
= (long) wxSB_HORIZONTAL
;
9600 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9601 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9602 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9603 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9607 bool temp8
= False
;
9608 PyObject
* obj0
= 0 ;
9609 PyObject
* obj1
= 0 ;
9610 PyObject
* obj2
= 0 ;
9611 PyObject
* obj3
= 0 ;
9612 PyObject
* obj4
= 0 ;
9613 PyObject
* obj5
= 0 ;
9614 PyObject
* obj6
= 0 ;
9615 PyObject
* obj7
= 0 ;
9617 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9623 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9626 arg3
= (int) SWIG_AsInt(obj2
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9632 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9638 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9642 arg6
= (long) SWIG_AsLong(obj5
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9646 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
9647 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9650 PyErr_SetString(PyExc_TypeError
,"null reference");
9656 arg8
= wxString_in_helper(obj7
);
9657 if (arg8
== NULL
) SWIG_fail
;
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9665 wxPyEndAllowThreads(__tstate
);
9666 if (PyErr_Occurred()) SWIG_fail
;
9669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9685 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
;
9687 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9689 PyObject
* obj0
= 0 ;
9691 (char *) "self", NULL
9694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9699 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9704 resultobj
= SWIG_FromInt((int)result
);
9711 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9712 PyObject
*resultobj
;
9713 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9715 PyObject
* obj0
= 0 ;
9717 (char *) "self", NULL
9720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9730 resultobj
= SWIG_FromInt((int)result
);
9737 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
*resultobj
;
9739 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9741 PyObject
* obj0
= 0 ;
9743 (char *) "self", NULL
9746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9756 resultobj
= SWIG_FromInt((int)result
);
9763 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9764 PyObject
*resultobj
;
9765 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9767 PyObject
* obj0
= 0 ;
9769 (char *) "self", NULL
9772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9777 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9779 wxPyEndAllowThreads(__tstate
);
9780 if (PyErr_Occurred()) SWIG_fail
;
9782 resultobj
= SWIG_FromInt((int)result
);
9789 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9790 PyObject
*resultobj
;
9791 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9793 PyObject
* obj0
= 0 ;
9795 (char *) "self", NULL
9798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9803 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9817 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
;
9819 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9821 PyObject
* obj0
= 0 ;
9822 PyObject
* obj1
= 0 ;
9824 (char *) "self",(char *) "viewStart", NULL
9827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9830 arg2
= (int) SWIG_AsInt(obj1
);
9831 if (PyErr_Occurred()) SWIG_fail
;
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 (arg1
)->SetThumbPosition(arg2
);
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9839 Py_INCREF(Py_None
); resultobj
= Py_None
;
9846 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9847 PyObject
*resultobj
;
9848 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9853 bool arg6
= (bool) True
;
9854 PyObject
* obj0
= 0 ;
9855 PyObject
* obj1
= 0 ;
9856 PyObject
* obj2
= 0 ;
9857 PyObject
* obj3
= 0 ;
9858 PyObject
* obj4
= 0 ;
9859 PyObject
* obj5
= 0 ;
9861 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9867 arg2
= (int) SWIG_AsInt(obj1
);
9868 if (PyErr_Occurred()) SWIG_fail
;
9869 arg3
= (int) SWIG_AsInt(obj2
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9871 arg4
= (int) SWIG_AsInt(obj3
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9873 arg5
= (int) SWIG_AsInt(obj4
);
9874 if (PyErr_Occurred()) SWIG_fail
;
9876 arg6
= (bool) SWIG_AsBool(obj5
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9881 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9883 wxPyEndAllowThreads(__tstate
);
9884 if (PyErr_Occurred()) SWIG_fail
;
9886 Py_INCREF(Py_None
); resultobj
= Py_None
;
9893 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9896 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9898 return Py_BuildValue((char *)"");
9900 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
9901 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9906 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9911 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9913 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9920 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
9921 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9926 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9931 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9933 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9940 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9941 PyObject
*resultobj
;
9942 wxWindow
*arg1
= (wxWindow
*) 0 ;
9943 int arg2
= (int) -1 ;
9944 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9945 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9946 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9947 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9948 long arg5
= (long) wxSP_HORIZONTAL
;
9949 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9950 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9951 wxSpinButton
*result
;
9954 bool temp6
= 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 ;
9962 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9969 arg2
= (int) SWIG_AsInt(obj1
);
9970 if (PyErr_Occurred()) SWIG_fail
;
9975 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9981 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9985 arg5
= (long) SWIG_AsLong(obj4
);
9986 if (PyErr_Occurred()) SWIG_fail
;
9990 arg6
= wxString_in_helper(obj5
);
9991 if (arg6
== NULL
) SWIG_fail
;
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9999 wxPyEndAllowThreads(__tstate
);
10000 if (PyErr_Occurred()) SWIG_fail
;
10002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10017 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10018 PyObject
*resultobj
;
10019 wxSpinButton
*result
;
10020 char *kwnames
[] = {
10024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10027 result
= (wxSpinButton
*)new wxSpinButton();
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10039 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
*resultobj
;
10041 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10042 wxWindow
*arg2
= (wxWindow
*) 0 ;
10043 int arg3
= (int) -1 ;
10044 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10045 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10046 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10047 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10048 long arg6
= (long) wxSP_HORIZONTAL
;
10049 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10050 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10054 bool temp7
= False
;
10055 PyObject
* obj0
= 0 ;
10056 PyObject
* obj1
= 0 ;
10057 PyObject
* obj2
= 0 ;
10058 PyObject
* obj3
= 0 ;
10059 PyObject
* obj4
= 0 ;
10060 PyObject
* obj5
= 0 ;
10061 PyObject
* obj6
= 0 ;
10062 char *kwnames
[] = {
10063 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10069 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10072 arg3
= (int) SWIG_AsInt(obj2
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10078 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10084 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10088 arg6
= (long) SWIG_AsLong(obj5
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10093 arg7
= wxString_in_helper(obj6
);
10094 if (arg7
== NULL
) SWIG_fail
;
10099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10100 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10102 wxPyEndAllowThreads(__tstate
);
10103 if (PyErr_Occurred()) SWIG_fail
;
10106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10122 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10123 PyObject
*resultobj
;
10124 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10126 PyObject
* obj0
= 0 ;
10127 char *kwnames
[] = {
10128 (char *) "self", NULL
10131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10136 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10138 wxPyEndAllowThreads(__tstate
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10141 resultobj
= SWIG_FromInt((int)result
);
10148 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10149 PyObject
*resultobj
;
10150 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10152 PyObject
* obj0
= 0 ;
10153 char *kwnames
[] = {
10154 (char *) "self", NULL
10157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10167 resultobj
= SWIG_FromInt((int)result
);
10174 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10175 PyObject
*resultobj
;
10176 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10178 PyObject
* obj0
= 0 ;
10179 char *kwnames
[] = {
10180 (char *) "self", NULL
10183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10188 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10190 wxPyEndAllowThreads(__tstate
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10193 resultobj
= SWIG_FromInt((int)result
);
10200 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10201 PyObject
*resultobj
;
10202 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10204 PyObject
* obj0
= 0 ;
10205 PyObject
* obj1
= 0 ;
10206 char *kwnames
[] = {
10207 (char *) "self",(char *) "val", NULL
10210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10213 arg2
= (int) SWIG_AsInt(obj1
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 (arg1
)->SetValue(arg2
);
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 Py_INCREF(Py_None
); resultobj
= Py_None
;
10229 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
;
10231 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10233 PyObject
* obj0
= 0 ;
10234 PyObject
* obj1
= 0 ;
10235 char *kwnames
[] = {
10236 (char *) "self",(char *) "minVal", NULL
10239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10242 arg2
= (int) SWIG_AsInt(obj1
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10246 (arg1
)->SetMin(arg2
);
10248 wxPyEndAllowThreads(__tstate
);
10249 if (PyErr_Occurred()) SWIG_fail
;
10251 Py_INCREF(Py_None
); resultobj
= Py_None
;
10258 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10259 PyObject
*resultobj
;
10260 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10262 PyObject
* obj0
= 0 ;
10263 PyObject
* obj1
= 0 ;
10264 char *kwnames
[] = {
10265 (char *) "self",(char *) "maxVal", NULL
10268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10271 arg2
= (int) SWIG_AsInt(obj1
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 (arg1
)->SetMax(arg2
);
10277 wxPyEndAllowThreads(__tstate
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10280 Py_INCREF(Py_None
); resultobj
= Py_None
;
10287 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10288 PyObject
*resultobj
;
10289 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10292 PyObject
* obj0
= 0 ;
10293 PyObject
* obj1
= 0 ;
10294 PyObject
* obj2
= 0 ;
10295 char *kwnames
[] = {
10296 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10302 arg2
= (int) SWIG_AsInt(obj1
);
10303 if (PyErr_Occurred()) SWIG_fail
;
10304 arg3
= (int) SWIG_AsInt(obj2
);
10305 if (PyErr_Occurred()) SWIG_fail
;
10307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10308 (arg1
)->SetRange(arg2
,arg3
);
10310 wxPyEndAllowThreads(__tstate
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10313 Py_INCREF(Py_None
); resultobj
= Py_None
;
10320 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
*resultobj
;
10322 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10324 PyObject
* obj0
= 0 ;
10325 char *kwnames
[] = {
10326 (char *) "self", NULL
10329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10334 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10336 wxPyEndAllowThreads(__tstate
);
10337 if (PyErr_Occurred()) SWIG_fail
;
10340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10348 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10351 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10353 return Py_BuildValue((char *)"");
10355 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10356 PyObject
*resultobj
;
10357 wxWindow
*arg1
= (wxWindow
*) 0 ;
10358 int arg2
= (int) -1 ;
10359 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10360 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10361 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10362 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10363 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10364 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10365 long arg6
= (long) wxSP_ARROW_KEYS
;
10366 int arg7
= (int) 0 ;
10367 int arg8
= (int) 100 ;
10368 int arg9
= (int) 0 ;
10369 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10370 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10371 wxSpinCtrl
*result
;
10372 bool temp3
= False
;
10375 bool temp10
= False
;
10376 PyObject
* obj0
= 0 ;
10377 PyObject
* obj1
= 0 ;
10378 PyObject
* obj2
= 0 ;
10379 PyObject
* obj3
= 0 ;
10380 PyObject
* obj4
= 0 ;
10381 PyObject
* obj5
= 0 ;
10382 PyObject
* obj6
= 0 ;
10383 PyObject
* obj7
= 0 ;
10384 PyObject
* obj8
= 0 ;
10385 PyObject
* obj9
= 0 ;
10386 char *kwnames
[] = {
10387 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10394 arg2
= (int) SWIG_AsInt(obj1
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10399 arg3
= wxString_in_helper(obj2
);
10400 if (arg3
== NULL
) SWIG_fail
;
10407 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10413 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10417 arg6
= (long) SWIG_AsLong(obj5
);
10418 if (PyErr_Occurred()) SWIG_fail
;
10421 arg7
= (int) SWIG_AsInt(obj6
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10425 arg8
= (int) SWIG_AsInt(obj7
);
10426 if (PyErr_Occurred()) SWIG_fail
;
10429 arg9
= (int) SWIG_AsInt(obj8
);
10430 if (PyErr_Occurred()) SWIG_fail
;
10434 arg10
= wxString_in_helper(obj9
);
10435 if (arg10
== NULL
) SWIG_fail
;
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10469 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10470 PyObject
*resultobj
;
10471 wxSpinCtrl
*result
;
10472 char *kwnames
[] = {
10476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10479 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10481 wxPyEndAllowThreads(__tstate
);
10482 if (PyErr_Occurred()) SWIG_fail
;
10484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10491 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10492 PyObject
*resultobj
;
10493 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10494 wxWindow
*arg2
= (wxWindow
*) 0 ;
10495 int arg3
= (int) -1 ;
10496 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10497 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10498 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10499 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10500 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10501 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10502 long arg7
= (long) wxSP_ARROW_KEYS
;
10503 int arg8
= (int) 0 ;
10504 int arg9
= (int) 100 ;
10505 int arg10
= (int) 0 ;
10506 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10507 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10509 bool temp4
= False
;
10512 bool temp11
= False
;
10513 PyObject
* obj0
= 0 ;
10514 PyObject
* obj1
= 0 ;
10515 PyObject
* obj2
= 0 ;
10516 PyObject
* obj3
= 0 ;
10517 PyObject
* obj4
= 0 ;
10518 PyObject
* obj5
= 0 ;
10519 PyObject
* obj6
= 0 ;
10520 PyObject
* obj7
= 0 ;
10521 PyObject
* obj8
= 0 ;
10522 PyObject
* obj9
= 0 ;
10523 PyObject
* obj10
= 0 ;
10524 char *kwnames
[] = {
10525 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10534 arg3
= (int) SWIG_AsInt(obj2
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10539 arg4
= wxString_in_helper(obj3
);
10540 if (arg4
== NULL
) SWIG_fail
;
10547 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10553 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10557 arg7
= (long) SWIG_AsLong(obj6
);
10558 if (PyErr_Occurred()) SWIG_fail
;
10561 arg8
= (int) SWIG_AsInt(obj7
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10565 arg9
= (int) SWIG_AsInt(obj8
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10569 arg10
= (int) SWIG_AsInt(obj9
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10574 arg11
= wxString_in_helper(obj10
);
10575 if (arg11
== NULL
) SWIG_fail
;
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10583 wxPyEndAllowThreads(__tstate
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10611 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10612 PyObject
*resultobj
;
10613 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10615 PyObject
* obj0
= 0 ;
10616 char *kwnames
[] = {
10617 (char *) "self", NULL
10620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10627 wxPyEndAllowThreads(__tstate
);
10628 if (PyErr_Occurred()) SWIG_fail
;
10630 resultobj
= SWIG_FromInt((int)result
);
10637 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
*resultobj
;
10639 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10641 PyObject
* obj0
= 0 ;
10642 PyObject
* obj1
= 0 ;
10643 char *kwnames
[] = {
10644 (char *) "self",(char *) "value", NULL
10647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10650 arg2
= (int) SWIG_AsInt(obj1
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 (arg1
)->SetValue(arg2
);
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10659 Py_INCREF(Py_None
); resultobj
= Py_None
;
10666 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10667 PyObject
*resultobj
;
10668 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10669 wxString
*arg2
= 0 ;
10670 bool temp2
= False
;
10671 PyObject
* obj0
= 0 ;
10672 PyObject
* obj1
= 0 ;
10673 char *kwnames
[] = {
10674 (char *) "self",(char *) "text", NULL
10677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10681 arg2
= wxString_in_helper(obj1
);
10682 if (arg2
== NULL
) SWIG_fail
;
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 (arg1
)->SetValue((wxString
const &)*arg2
);
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10692 Py_INCREF(Py_None
); resultobj
= Py_None
;
10707 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10708 PyObject
*resultobj
;
10709 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10712 PyObject
* obj0
= 0 ;
10713 PyObject
* obj1
= 0 ;
10714 PyObject
* obj2
= 0 ;
10715 char *kwnames
[] = {
10716 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10722 arg2
= (int) SWIG_AsInt(obj1
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10724 arg3
= (int) SWIG_AsInt(obj2
);
10725 if (PyErr_Occurred()) SWIG_fail
;
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10728 (arg1
)->SetRange(arg2
,arg3
);
10730 wxPyEndAllowThreads(__tstate
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10733 Py_INCREF(Py_None
); resultobj
= Py_None
;
10740 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10741 PyObject
*resultobj
;
10742 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10744 PyObject
* obj0
= 0 ;
10745 char *kwnames
[] = {
10746 (char *) "self", NULL
10749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10754 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10756 wxPyEndAllowThreads(__tstate
);
10757 if (PyErr_Occurred()) SWIG_fail
;
10759 resultobj
= SWIG_FromInt((int)result
);
10766 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10767 PyObject
*resultobj
;
10768 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10770 PyObject
* obj0
= 0 ;
10771 char *kwnames
[] = {
10772 (char *) "self", NULL
10775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10780 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10782 wxPyEndAllowThreads(__tstate
);
10783 if (PyErr_Occurred()) SWIG_fail
;
10785 resultobj
= SWIG_FromInt((int)result
);
10792 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10793 PyObject
*resultobj
;
10794 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10797 PyObject
* obj0
= 0 ;
10798 PyObject
* obj1
= 0 ;
10799 PyObject
* obj2
= 0 ;
10800 char *kwnames
[] = {
10801 (char *) "self",(char *) "from",(char *) "to", NULL
10804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10807 arg2
= (long) SWIG_AsLong(obj1
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10809 arg3
= (long) SWIG_AsLong(obj2
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10813 (arg1
)->SetSelection(arg2
,arg3
);
10815 wxPyEndAllowThreads(__tstate
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10818 Py_INCREF(Py_None
); resultobj
= Py_None
;
10825 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10827 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10828 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10830 return Py_BuildValue((char *)"");
10832 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10833 PyObject
*resultobj
;
10834 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10835 int arg2
= (int) 0 ;
10836 wxSpinEvent
*result
;
10837 PyObject
* obj0
= 0 ;
10838 PyObject
* obj1
= 0 ;
10839 char *kwnames
[] = {
10840 (char *) "commandType",(char *) "winid", NULL
10843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10845 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10849 arg2
= (int) SWIG_AsInt(obj1
);
10850 if (PyErr_Occurred()) SWIG_fail
;
10853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10854 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10856 wxPyEndAllowThreads(__tstate
);
10857 if (PyErr_Occurred()) SWIG_fail
;
10859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
10866 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10867 PyObject
*resultobj
;
10868 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10870 PyObject
* obj0
= 0 ;
10871 char *kwnames
[] = {
10872 (char *) "self", NULL
10875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10880 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10882 wxPyEndAllowThreads(__tstate
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10885 resultobj
= SWIG_FromInt((int)result
);
10892 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10893 PyObject
*resultobj
;
10894 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10896 PyObject
* obj0
= 0 ;
10897 PyObject
* obj1
= 0 ;
10898 char *kwnames
[] = {
10899 (char *) "self",(char *) "pos", NULL
10902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10905 arg2
= (int) SWIG_AsInt(obj1
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 (arg1
)->SetPosition(arg2
);
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10914 Py_INCREF(Py_None
); resultobj
= Py_None
;
10921 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10924 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10926 return Py_BuildValue((char *)"");
10928 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
10929 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10934 static PyObject
*_wrap_RadioBoxNameStr_get() {
10939 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10941 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10948 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
10949 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10954 static PyObject
*_wrap_RadioButtonNameStr_get() {
10959 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10961 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10968 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10969 PyObject
*resultobj
;
10970 wxWindow
*arg1
= (wxWindow
*) 0 ;
10972 wxString
*arg3
= 0 ;
10973 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10974 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10975 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10976 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10977 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10978 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10979 int arg7
= (int) 0 ;
10980 long arg8
= (long) wxRA_HORIZONTAL
;
10981 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10982 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10983 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
10984 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10985 wxRadioBox
*result
;
10986 bool temp3
= False
;
10989 bool temp6
= False
;
10990 bool temp10
= False
;
10991 PyObject
* obj0
= 0 ;
10992 PyObject
* obj1
= 0 ;
10993 PyObject
* obj2
= 0 ;
10994 PyObject
* obj3
= 0 ;
10995 PyObject
* obj4
= 0 ;
10996 PyObject
* obj5
= 0 ;
10997 PyObject
* obj6
= 0 ;
10998 PyObject
* obj7
= 0 ;
10999 PyObject
* obj8
= 0 ;
11000 PyObject
* obj9
= 0 ;
11001 char *kwnames
[] = {
11002 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11008 arg2
= (int) SWIG_AsInt(obj1
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11011 arg3
= wxString_in_helper(obj2
);
11012 if (arg3
== NULL
) SWIG_fail
;
11018 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11024 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11029 if (! PySequence_Check(obj5
)) {
11030 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11033 arg6
= new wxArrayString
;
11035 int i
, len
=PySequence_Length(obj5
);
11036 for (i
=0; i
<len
; i
++) {
11037 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11039 PyObject
* str
= PyObject_Unicode(item
);
11041 PyObject
* str
= PyObject_Str(item
);
11043 arg6
->Add(Py2wxString(str
));
11050 arg7
= (int) SWIG_AsInt(obj6
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11054 arg8
= (long) SWIG_AsLong(obj7
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11058 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11061 if (arg9
== NULL
) {
11062 PyErr_SetString(PyExc_TypeError
,"null reference");
11068 arg10
= wxString_in_helper(obj9
);
11069 if (arg10
== NULL
) SWIG_fail
;
11074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11075 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
);
11077 wxPyEndAllowThreads(__tstate
);
11078 if (PyErr_Occurred()) SWIG_fail
;
11080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11086 if (temp6
) delete arg6
;
11099 if (temp6
) delete arg6
;
11109 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11110 PyObject
*resultobj
;
11111 wxRadioBox
*result
;
11112 char *kwnames
[] = {
11116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11119 result
= (wxRadioBox
*)new wxRadioBox();
11121 wxPyEndAllowThreads(__tstate
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11131 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11132 PyObject
*resultobj
;
11133 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11134 wxWindow
*arg2
= (wxWindow
*) 0 ;
11136 wxString
*arg4
= 0 ;
11137 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11138 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11139 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11140 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11141 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11142 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11143 int arg8
= (int) 0 ;
11144 long arg9
= (long) wxRA_HORIZONTAL
;
11145 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11146 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11147 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11148 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11150 bool temp4
= False
;
11153 bool temp7
= False
;
11154 bool temp11
= False
;
11155 PyObject
* obj0
= 0 ;
11156 PyObject
* obj1
= 0 ;
11157 PyObject
* obj2
= 0 ;
11158 PyObject
* obj3
= 0 ;
11159 PyObject
* obj4
= 0 ;
11160 PyObject
* obj5
= 0 ;
11161 PyObject
* obj6
= 0 ;
11162 PyObject
* obj7
= 0 ;
11163 PyObject
* obj8
= 0 ;
11164 PyObject
* obj9
= 0 ;
11165 PyObject
* obj10
= 0 ;
11166 char *kwnames
[] = {
11167 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11173 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11175 arg3
= (int) SWIG_AsInt(obj2
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11178 arg4
= wxString_in_helper(obj3
);
11179 if (arg4
== NULL
) SWIG_fail
;
11185 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11191 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11196 if (! PySequence_Check(obj6
)) {
11197 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11200 arg7
= new wxArrayString
;
11202 int i
, len
=PySequence_Length(obj6
);
11203 for (i
=0; i
<len
; i
++) {
11204 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11206 PyObject
* str
= PyObject_Unicode(item
);
11208 PyObject
* str
= PyObject_Str(item
);
11210 arg7
->Add(Py2wxString(str
));
11217 arg8
= (int) SWIG_AsInt(obj7
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11221 arg9
= (long) SWIG_AsLong(obj8
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11225 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11226 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11228 if (arg10
== NULL
) {
11229 PyErr_SetString(PyExc_TypeError
,"null reference");
11235 arg11
= wxString_in_helper(obj10
);
11236 if (arg11
== NULL
) SWIG_fail
;
11241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11242 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
);
11244 wxPyEndAllowThreads(__tstate
);
11245 if (PyErr_Occurred()) SWIG_fail
;
11248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11255 if (temp7
) delete arg7
;
11268 if (temp7
) delete arg7
;
11278 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
;
11280 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11282 PyObject
* obj0
= 0 ;
11283 PyObject
* obj1
= 0 ;
11284 char *kwnames
[] = {
11285 (char *) "self",(char *) "n", NULL
11288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11291 arg2
= (int) SWIG_AsInt(obj1
);
11292 if (PyErr_Occurred()) SWIG_fail
;
11294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11295 (arg1
)->SetSelection(arg2
);
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11300 Py_INCREF(Py_None
); resultobj
= Py_None
;
11307 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11308 PyObject
*resultobj
;
11309 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11311 PyObject
* obj0
= 0 ;
11312 char *kwnames
[] = {
11313 (char *) "self", NULL
11316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11321 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11323 wxPyEndAllowThreads(__tstate
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11326 resultobj
= SWIG_FromInt((int)result
);
11333 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
*resultobj
;
11335 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11337 PyObject
* obj0
= 0 ;
11338 char *kwnames
[] = {
11339 (char *) "self", NULL
11342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11347 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11349 wxPyEndAllowThreads(__tstate
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11354 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11356 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11365 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11366 PyObject
*resultobj
;
11367 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11368 wxString
*arg2
= 0 ;
11370 bool temp2
= False
;
11371 PyObject
* obj0
= 0 ;
11372 PyObject
* obj1
= 0 ;
11373 char *kwnames
[] = {
11374 (char *) "self",(char *) "s", NULL
11377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11381 arg2
= wxString_in_helper(obj1
);
11382 if (arg2
== NULL
) SWIG_fail
;
11386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11387 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11389 wxPyEndAllowThreads(__tstate
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11409 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11410 PyObject
*resultobj
;
11411 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11413 PyObject
* obj0
= 0 ;
11414 char *kwnames
[] = {
11415 (char *) "self", NULL
11418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11423 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11425 wxPyEndAllowThreads(__tstate
);
11426 if (PyErr_Occurred()) SWIG_fail
;
11428 resultobj
= SWIG_FromInt((int)result
);
11435 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11436 PyObject
*resultobj
;
11437 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11438 wxString
*arg2
= 0 ;
11440 bool temp2
= False
;
11441 PyObject
* obj0
= 0 ;
11442 PyObject
* obj1
= 0 ;
11443 char *kwnames
[] = {
11444 (char *) "self",(char *) "s", NULL
11447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11451 arg2
= wxString_in_helper(obj1
);
11452 if (arg2
== NULL
) SWIG_fail
;
11456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11457 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11459 wxPyEndAllowThreads(__tstate
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11462 resultobj
= SWIG_FromInt((int)result
);
11477 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
*resultobj
;
11479 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11482 PyObject
* obj0
= 0 ;
11483 PyObject
* obj1
= 0 ;
11484 char *kwnames
[] = {
11485 (char *) "self",(char *) "n", NULL
11488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11491 arg2
= (int) SWIG_AsInt(obj1
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11495 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11497 wxPyEndAllowThreads(__tstate
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11502 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11504 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11513 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11514 PyObject
*resultobj
;
11515 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11517 wxString
*arg3
= 0 ;
11518 bool temp3
= False
;
11519 PyObject
* obj0
= 0 ;
11520 PyObject
* obj1
= 0 ;
11521 PyObject
* obj2
= 0 ;
11522 char *kwnames
[] = {
11523 (char *) "self",(char *) "n",(char *) "label", NULL
11526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11529 arg2
= (int) SWIG_AsInt(obj1
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11532 arg3
= wxString_in_helper(obj2
);
11533 if (arg3
== NULL
) SWIG_fail
;
11537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11540 wxPyEndAllowThreads(__tstate
);
11541 if (PyErr_Occurred()) SWIG_fail
;
11543 Py_INCREF(Py_None
); resultobj
= Py_None
;
11558 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11559 PyObject
*resultobj
;
11560 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11562 bool arg3
= (bool) True
;
11563 PyObject
* obj0
= 0 ;
11564 PyObject
* obj1
= 0 ;
11565 PyObject
* obj2
= 0 ;
11566 char *kwnames
[] = {
11567 (char *) "self",(char *) "n",(char *) "enable", NULL
11570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11573 arg2
= (int) SWIG_AsInt(obj1
);
11574 if (PyErr_Occurred()) SWIG_fail
;
11576 arg3
= (bool) SWIG_AsBool(obj2
);
11577 if (PyErr_Occurred()) SWIG_fail
;
11580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11581 (arg1
)->Enable(arg2
,arg3
);
11583 wxPyEndAllowThreads(__tstate
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11586 Py_INCREF(Py_None
); resultobj
= Py_None
;
11593 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11594 PyObject
*resultobj
;
11595 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11597 bool arg3
= (bool) True
;
11598 PyObject
* obj0
= 0 ;
11599 PyObject
* obj1
= 0 ;
11600 PyObject
* obj2
= 0 ;
11601 char *kwnames
[] = {
11602 (char *) "self",(char *) "n",(char *) "show", NULL
11605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11608 arg2
= (int) SWIG_AsInt(obj1
);
11609 if (PyErr_Occurred()) SWIG_fail
;
11611 arg3
= (bool) SWIG_AsBool(obj2
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11616 (arg1
)->Show(arg2
,arg3
);
11618 wxPyEndAllowThreads(__tstate
);
11619 if (PyErr_Occurred()) SWIG_fail
;
11621 Py_INCREF(Py_None
); resultobj
= Py_None
;
11628 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11629 PyObject
*resultobj
;
11630 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11632 PyObject
* obj0
= 0 ;
11633 char *kwnames
[] = {
11634 (char *) "self", NULL
11637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11647 resultobj
= SWIG_FromInt((int)result
);
11654 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11655 PyObject
*resultobj
;
11656 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11658 PyObject
* obj0
= 0 ;
11659 char *kwnames
[] = {
11660 (char *) "self", NULL
11663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11668 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
11670 wxPyEndAllowThreads(__tstate
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11673 resultobj
= SWIG_FromInt((int)result
);
11680 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11681 PyObject
*resultobj
;
11682 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11687 PyObject
* obj0
= 0 ;
11688 PyObject
* obj1
= 0 ;
11689 PyObject
* obj2
= 0 ;
11690 PyObject
* obj3
= 0 ;
11691 char *kwnames
[] = {
11692 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11698 arg2
= (int) SWIG_AsInt(obj1
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11700 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11702 arg4
= (long) SWIG_AsLong(obj3
);
11703 if (PyErr_Occurred()) SWIG_fail
;
11705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11706 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
11708 wxPyEndAllowThreads(__tstate
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11711 resultobj
= SWIG_FromInt((int)result
);
11718 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11721 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11723 return Py_BuildValue((char *)"");
11725 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11726 PyObject
*resultobj
;
11727 wxWindow
*arg1
= (wxWindow
*) 0 ;
11729 wxString
*arg3
= 0 ;
11730 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11731 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11732 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11733 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11734 long arg6
= (long) 0 ;
11735 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11736 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11737 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11738 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11739 wxRadioButton
*result
;
11740 bool temp3
= False
;
11743 bool temp8
= False
;
11744 PyObject
* obj0
= 0 ;
11745 PyObject
* obj1
= 0 ;
11746 PyObject
* obj2
= 0 ;
11747 PyObject
* obj3
= 0 ;
11748 PyObject
* obj4
= 0 ;
11749 PyObject
* obj5
= 0 ;
11750 PyObject
* obj6
= 0 ;
11751 PyObject
* obj7
= 0 ;
11752 char *kwnames
[] = {
11753 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11759 arg2
= (int) SWIG_AsInt(obj1
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11762 arg3
= wxString_in_helper(obj2
);
11763 if (arg3
== NULL
) SWIG_fail
;
11769 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11775 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11779 arg6
= (long) SWIG_AsLong(obj5
);
11780 if (PyErr_Occurred()) SWIG_fail
;
11783 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
11784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11786 if (arg7
== NULL
) {
11787 PyErr_SetString(PyExc_TypeError
,"null reference");
11793 arg8
= wxString_in_helper(obj7
);
11794 if (arg8
== NULL
) SWIG_fail
;
11799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11800 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11802 wxPyEndAllowThreads(__tstate
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11828 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11829 PyObject
*resultobj
;
11830 wxRadioButton
*result
;
11831 char *kwnames
[] = {
11835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11838 result
= (wxRadioButton
*)new wxRadioButton();
11840 wxPyEndAllowThreads(__tstate
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11850 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11851 PyObject
*resultobj
;
11852 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11853 wxWindow
*arg2
= (wxWindow
*) 0 ;
11855 wxString
*arg4
= 0 ;
11856 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11857 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11858 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11859 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11860 long arg7
= (long) 0 ;
11861 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11862 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11863 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11864 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11866 bool temp4
= False
;
11869 bool temp9
= False
;
11870 PyObject
* obj0
= 0 ;
11871 PyObject
* obj1
= 0 ;
11872 PyObject
* obj2
= 0 ;
11873 PyObject
* obj3
= 0 ;
11874 PyObject
* obj4
= 0 ;
11875 PyObject
* obj5
= 0 ;
11876 PyObject
* obj6
= 0 ;
11877 PyObject
* obj7
= 0 ;
11878 PyObject
* obj8
= 0 ;
11879 char *kwnames
[] = {
11880 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11888 arg3
= (int) SWIG_AsInt(obj2
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11891 arg4
= wxString_in_helper(obj3
);
11892 if (arg4
== NULL
) SWIG_fail
;
11898 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11904 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11908 arg7
= (long) SWIG_AsLong(obj6
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11912 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
11913 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11915 if (arg8
== NULL
) {
11916 PyErr_SetString(PyExc_TypeError
,"null reference");
11922 arg9
= wxString_in_helper(obj8
);
11923 if (arg9
== NULL
) SWIG_fail
;
11928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11929 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11931 wxPyEndAllowThreads(__tstate
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11959 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11960 PyObject
*resultobj
;
11961 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11963 PyObject
* obj0
= 0 ;
11964 char *kwnames
[] = {
11965 (char *) "self", NULL
11968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11973 result
= (bool)(arg1
)->GetValue();
11975 wxPyEndAllowThreads(__tstate
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11987 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
*resultobj
;
11989 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11991 PyObject
* obj0
= 0 ;
11992 PyObject
* obj1
= 0 ;
11993 char *kwnames
[] = {
11994 (char *) "self",(char *) "value", NULL
11997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12000 arg2
= (bool) SWIG_AsBool(obj1
);
12001 if (PyErr_Occurred()) SWIG_fail
;
12003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12004 (arg1
)->SetValue(arg2
);
12006 wxPyEndAllowThreads(__tstate
);
12007 if (PyErr_Occurred()) SWIG_fail
;
12009 Py_INCREF(Py_None
); resultobj
= Py_None
;
12016 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12019 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12021 return Py_BuildValue((char *)"");
12023 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12024 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12029 static PyObject
*_wrap_SliderNameStr_get() {
12034 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12036 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12043 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12044 PyObject
*resultobj
;
12045 wxWindow
*arg1
= (wxWindow
*) 0 ;
12050 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12051 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12052 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12053 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12054 long arg8
= (long) wxSL_HORIZONTAL
;
12055 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12056 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12057 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12058 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12062 bool temp10
= False
;
12063 PyObject
* obj0
= 0 ;
12064 PyObject
* obj1
= 0 ;
12065 PyObject
* obj2
= 0 ;
12066 PyObject
* obj3
= 0 ;
12067 PyObject
* obj4
= 0 ;
12068 PyObject
* obj5
= 0 ;
12069 PyObject
* obj6
= 0 ;
12070 PyObject
* obj7
= 0 ;
12071 PyObject
* obj8
= 0 ;
12072 PyObject
* obj9
= 0 ;
12073 char *kwnames
[] = {
12074 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12080 arg2
= (int) SWIG_AsInt(obj1
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12082 arg3
= (int) SWIG_AsInt(obj2
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12084 arg4
= (int) SWIG_AsInt(obj3
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12086 arg5
= (int) SWIG_AsInt(obj4
);
12087 if (PyErr_Occurred()) SWIG_fail
;
12091 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12097 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12101 arg8
= (long) SWIG_AsLong(obj7
);
12102 if (PyErr_Occurred()) SWIG_fail
;
12105 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12106 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12108 if (arg9
== NULL
) {
12109 PyErr_SetString(PyExc_TypeError
,"null reference");
12115 arg10
= wxString_in_helper(obj9
);
12116 if (arg10
== NULL
) SWIG_fail
;
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12142 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12143 PyObject
*resultobj
;
12145 char *kwnames
[] = {
12149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12152 result
= (wxSlider
*)new wxSlider();
12154 wxPyEndAllowThreads(__tstate
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12164 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12165 PyObject
*resultobj
;
12166 wxSlider
*arg1
= (wxSlider
*) 0 ;
12167 wxWindow
*arg2
= (wxWindow
*) 0 ;
12172 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12173 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12174 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12175 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12176 long arg9
= (long) wxSL_HORIZONTAL
;
12177 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12178 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12179 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12180 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12184 bool temp11
= False
;
12185 PyObject
* obj0
= 0 ;
12186 PyObject
* obj1
= 0 ;
12187 PyObject
* obj2
= 0 ;
12188 PyObject
* obj3
= 0 ;
12189 PyObject
* obj4
= 0 ;
12190 PyObject
* obj5
= 0 ;
12191 PyObject
* obj6
= 0 ;
12192 PyObject
* obj7
= 0 ;
12193 PyObject
* obj8
= 0 ;
12194 PyObject
* obj9
= 0 ;
12195 PyObject
* obj10
= 0 ;
12196 char *kwnames
[] = {
12197 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12205 arg3
= (int) SWIG_AsInt(obj2
);
12206 if (PyErr_Occurred()) SWIG_fail
;
12207 arg4
= (int) SWIG_AsInt(obj3
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12209 arg5
= (int) SWIG_AsInt(obj4
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12211 arg6
= (int) SWIG_AsInt(obj5
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12216 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12222 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12226 arg9
= (long) SWIG_AsLong(obj8
);
12227 if (PyErr_Occurred()) SWIG_fail
;
12230 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12231 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12233 if (arg10
== NULL
) {
12234 PyErr_SetString(PyExc_TypeError
,"null reference");
12240 arg11
= wxString_in_helper(obj10
);
12241 if (arg11
== NULL
) SWIG_fail
;
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12247 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12249 wxPyEndAllowThreads(__tstate
);
12250 if (PyErr_Occurred()) SWIG_fail
;
12253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12269 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12270 PyObject
*resultobj
;
12271 wxSlider
*arg1
= (wxSlider
*) 0 ;
12273 PyObject
* obj0
= 0 ;
12274 char *kwnames
[] = {
12275 (char *) "self", NULL
12278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12283 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12285 wxPyEndAllowThreads(__tstate
);
12286 if (PyErr_Occurred()) SWIG_fail
;
12288 resultobj
= SWIG_FromInt((int)result
);
12295 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12296 PyObject
*resultobj
;
12297 wxSlider
*arg1
= (wxSlider
*) 0 ;
12299 PyObject
* obj0
= 0 ;
12300 PyObject
* obj1
= 0 ;
12301 char *kwnames
[] = {
12302 (char *) "self",(char *) "value", NULL
12305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12308 arg2
= (int) SWIG_AsInt(obj1
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12312 (arg1
)->SetValue(arg2
);
12314 wxPyEndAllowThreads(__tstate
);
12315 if (PyErr_Occurred()) SWIG_fail
;
12317 Py_INCREF(Py_None
); resultobj
= Py_None
;
12324 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12325 PyObject
*resultobj
;
12326 wxSlider
*arg1
= (wxSlider
*) 0 ;
12329 PyObject
* obj0
= 0 ;
12330 PyObject
* obj1
= 0 ;
12331 PyObject
* obj2
= 0 ;
12332 char *kwnames
[] = {
12333 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12339 arg2
= (int) SWIG_AsInt(obj1
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12341 arg3
= (int) SWIG_AsInt(obj2
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 (arg1
)->SetRange(arg2
,arg3
);
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12350 Py_INCREF(Py_None
); resultobj
= Py_None
;
12357 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12358 PyObject
*resultobj
;
12359 wxSlider
*arg1
= (wxSlider
*) 0 ;
12361 PyObject
* obj0
= 0 ;
12362 char *kwnames
[] = {
12363 (char *) "self", NULL
12366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12371 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12373 wxPyEndAllowThreads(__tstate
);
12374 if (PyErr_Occurred()) SWIG_fail
;
12376 resultobj
= SWIG_FromInt((int)result
);
12383 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12384 PyObject
*resultobj
;
12385 wxSlider
*arg1
= (wxSlider
*) 0 ;
12387 PyObject
* obj0
= 0 ;
12388 char *kwnames
[] = {
12389 (char *) "self", NULL
12392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12397 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12399 wxPyEndAllowThreads(__tstate
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12402 resultobj
= SWIG_FromInt((int)result
);
12409 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12410 PyObject
*resultobj
;
12411 wxSlider
*arg1
= (wxSlider
*) 0 ;
12413 PyObject
* obj0
= 0 ;
12414 PyObject
* obj1
= 0 ;
12415 char *kwnames
[] = {
12416 (char *) "self",(char *) "minValue", NULL
12419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12422 arg2
= (int) SWIG_AsInt(obj1
);
12423 if (PyErr_Occurred()) SWIG_fail
;
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12426 (arg1
)->SetMin(arg2
);
12428 wxPyEndAllowThreads(__tstate
);
12429 if (PyErr_Occurred()) SWIG_fail
;
12431 Py_INCREF(Py_None
); resultobj
= Py_None
;
12438 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12439 PyObject
*resultobj
;
12440 wxSlider
*arg1
= (wxSlider
*) 0 ;
12442 PyObject
* obj0
= 0 ;
12443 PyObject
* obj1
= 0 ;
12444 char *kwnames
[] = {
12445 (char *) "self",(char *) "maxValue", NULL
12448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12451 arg2
= (int) SWIG_AsInt(obj1
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12455 (arg1
)->SetMax(arg2
);
12457 wxPyEndAllowThreads(__tstate
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12460 Py_INCREF(Py_None
); resultobj
= Py_None
;
12467 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12468 PyObject
*resultobj
;
12469 wxSlider
*arg1
= (wxSlider
*) 0 ;
12471 PyObject
* obj0
= 0 ;
12472 PyObject
* obj1
= 0 ;
12473 char *kwnames
[] = {
12474 (char *) "self",(char *) "lineSize", NULL
12477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12480 arg2
= (int) SWIG_AsInt(obj1
);
12481 if (PyErr_Occurred()) SWIG_fail
;
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12484 (arg1
)->SetLineSize(arg2
);
12486 wxPyEndAllowThreads(__tstate
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12489 Py_INCREF(Py_None
); resultobj
= Py_None
;
12496 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12497 PyObject
*resultobj
;
12498 wxSlider
*arg1
= (wxSlider
*) 0 ;
12500 PyObject
* obj0
= 0 ;
12501 PyObject
* obj1
= 0 ;
12502 char *kwnames
[] = {
12503 (char *) "self",(char *) "pageSize", NULL
12506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12509 arg2
= (int) SWIG_AsInt(obj1
);
12510 if (PyErr_Occurred()) SWIG_fail
;
12512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12513 (arg1
)->SetPageSize(arg2
);
12515 wxPyEndAllowThreads(__tstate
);
12516 if (PyErr_Occurred()) SWIG_fail
;
12518 Py_INCREF(Py_None
); resultobj
= Py_None
;
12525 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12526 PyObject
*resultobj
;
12527 wxSlider
*arg1
= (wxSlider
*) 0 ;
12529 PyObject
* obj0
= 0 ;
12530 char *kwnames
[] = {
12531 (char *) "self", NULL
12534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12539 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12541 wxPyEndAllowThreads(__tstate
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12544 resultobj
= SWIG_FromInt((int)result
);
12551 static PyObject
*_wrap_Slider_GetPageSize(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_GetPageSize",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
)->GetPageSize();
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12570 resultobj
= SWIG_FromInt((int)result
);
12577 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12578 PyObject
*resultobj
;
12579 wxSlider
*arg1
= (wxSlider
*) 0 ;
12581 PyObject
* obj0
= 0 ;
12582 PyObject
* obj1
= 0 ;
12583 char *kwnames
[] = {
12584 (char *) "self",(char *) "lenPixels", NULL
12587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12590 arg2
= (int) SWIG_AsInt(obj1
);
12591 if (PyErr_Occurred()) SWIG_fail
;
12593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12594 (arg1
)->SetThumbLength(arg2
);
12596 wxPyEndAllowThreads(__tstate
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12599 Py_INCREF(Py_None
); resultobj
= Py_None
;
12606 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12607 PyObject
*resultobj
;
12608 wxSlider
*arg1
= (wxSlider
*) 0 ;
12610 PyObject
* obj0
= 0 ;
12611 char *kwnames
[] = {
12612 (char *) "self", NULL
12615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12622 wxPyEndAllowThreads(__tstate
);
12623 if (PyErr_Occurred()) SWIG_fail
;
12625 resultobj
= SWIG_FromInt((int)result
);
12632 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12633 PyObject
*resultobj
;
12634 wxSlider
*arg1
= (wxSlider
*) 0 ;
12636 int arg3
= (int) 1 ;
12637 PyObject
* obj0
= 0 ;
12638 PyObject
* obj1
= 0 ;
12639 PyObject
* obj2
= 0 ;
12640 char *kwnames
[] = {
12641 (char *) "self",(char *) "n",(char *) "pos", NULL
12644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12647 arg2
= (int) SWIG_AsInt(obj1
);
12648 if (PyErr_Occurred()) SWIG_fail
;
12650 arg3
= (int) SWIG_AsInt(obj2
);
12651 if (PyErr_Occurred()) SWIG_fail
;
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 (arg1
)->SetTickFreq(arg2
,arg3
);
12657 wxPyEndAllowThreads(__tstate
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12660 Py_INCREF(Py_None
); resultobj
= Py_None
;
12667 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12668 PyObject
*resultobj
;
12669 wxSlider
*arg1
= (wxSlider
*) 0 ;
12671 PyObject
* obj0
= 0 ;
12672 char *kwnames
[] = {
12673 (char *) "self", NULL
12676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12681 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12683 wxPyEndAllowThreads(__tstate
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12686 resultobj
= SWIG_FromInt((int)result
);
12693 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12694 PyObject
*resultobj
;
12695 wxSlider
*arg1
= (wxSlider
*) 0 ;
12696 PyObject
* obj0
= 0 ;
12697 char *kwnames
[] = {
12698 (char *) "self", NULL
12701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 (arg1
)->ClearTicks();
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12711 Py_INCREF(Py_None
); resultobj
= Py_None
;
12718 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12719 PyObject
*resultobj
;
12720 wxSlider
*arg1
= (wxSlider
*) 0 ;
12722 PyObject
* obj0
= 0 ;
12723 PyObject
* obj1
= 0 ;
12724 char *kwnames
[] = {
12725 (char *) "self",(char *) "tickPos", NULL
12728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12731 arg2
= (int) SWIG_AsInt(obj1
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 (arg1
)->SetTick(arg2
);
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12740 Py_INCREF(Py_None
); resultobj
= Py_None
;
12747 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12748 PyObject
*resultobj
;
12749 wxSlider
*arg1
= (wxSlider
*) 0 ;
12750 PyObject
* obj0
= 0 ;
12751 char *kwnames
[] = {
12752 (char *) "self", NULL
12755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12760 (arg1
)->ClearSel();
12762 wxPyEndAllowThreads(__tstate
);
12763 if (PyErr_Occurred()) SWIG_fail
;
12765 Py_INCREF(Py_None
); resultobj
= Py_None
;
12772 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12773 PyObject
*resultobj
;
12774 wxSlider
*arg1
= (wxSlider
*) 0 ;
12776 PyObject
* obj0
= 0 ;
12777 char *kwnames
[] = {
12778 (char *) "self", NULL
12781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12786 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12788 wxPyEndAllowThreads(__tstate
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12791 resultobj
= SWIG_FromInt((int)result
);
12798 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12799 PyObject
*resultobj
;
12800 wxSlider
*arg1
= (wxSlider
*) 0 ;
12802 PyObject
* obj0
= 0 ;
12803 char *kwnames
[] = {
12804 (char *) "self", NULL
12807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12817 resultobj
= SWIG_FromInt((int)result
);
12824 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12825 PyObject
*resultobj
;
12826 wxSlider
*arg1
= (wxSlider
*) 0 ;
12829 PyObject
* obj0
= 0 ;
12830 PyObject
* obj1
= 0 ;
12831 PyObject
* obj2
= 0 ;
12832 char *kwnames
[] = {
12833 (char *) "self",(char *) "min",(char *) "max", NULL
12836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12839 arg2
= (int) SWIG_AsInt(obj1
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12841 arg3
= (int) SWIG_AsInt(obj2
);
12842 if (PyErr_Occurred()) SWIG_fail
;
12844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 (arg1
)->SetSelection(arg2
,arg3
);
12847 wxPyEndAllowThreads(__tstate
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12850 Py_INCREF(Py_None
); resultobj
= Py_None
;
12857 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12860 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12862 return Py_BuildValue((char *)"");
12864 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
12865 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12870 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12875 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12877 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12884 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12885 PyObject
*resultobj
;
12886 wxWindow
*arg1
= (wxWindow
*) 0 ;
12888 wxString
*arg3
= 0 ;
12889 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12890 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12891 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12892 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12893 long arg6
= (long) 0 ;
12894 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12895 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12896 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12897 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12898 wxToggleButton
*result
;
12899 bool temp3
= False
;
12902 bool temp8
= False
;
12903 PyObject
* obj0
= 0 ;
12904 PyObject
* obj1
= 0 ;
12905 PyObject
* obj2
= 0 ;
12906 PyObject
* obj3
= 0 ;
12907 PyObject
* obj4
= 0 ;
12908 PyObject
* obj5
= 0 ;
12909 PyObject
* obj6
= 0 ;
12910 PyObject
* obj7
= 0 ;
12911 char *kwnames
[] = {
12912 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12918 arg2
= (int) SWIG_AsInt(obj1
);
12919 if (PyErr_Occurred()) SWIG_fail
;
12921 arg3
= wxString_in_helper(obj2
);
12922 if (arg3
== NULL
) SWIG_fail
;
12928 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12934 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12938 arg6
= (long) SWIG_AsLong(obj5
);
12939 if (PyErr_Occurred()) SWIG_fail
;
12942 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12943 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12945 if (arg7
== NULL
) {
12946 PyErr_SetString(PyExc_TypeError
,"null reference");
12952 arg8
= wxString_in_helper(obj7
);
12953 if (arg8
== NULL
) SWIG_fail
;
12958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12959 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12961 wxPyEndAllowThreads(__tstate
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
12987 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12988 PyObject
*resultobj
;
12989 wxToggleButton
*result
;
12990 char *kwnames
[] = {
12994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
12996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12997 result
= (wxToggleButton
*)new wxToggleButton();
12999 wxPyEndAllowThreads(__tstate
);
13000 if (PyErr_Occurred()) SWIG_fail
;
13002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13009 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13010 PyObject
*resultobj
;
13011 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13012 wxWindow
*arg2
= (wxWindow
*) 0 ;
13014 wxString
*arg4
= 0 ;
13015 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13016 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13017 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13018 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13019 long arg7
= (long) 0 ;
13020 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13021 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13022 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13023 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13025 bool temp4
= False
;
13028 bool temp9
= False
;
13029 PyObject
* obj0
= 0 ;
13030 PyObject
* obj1
= 0 ;
13031 PyObject
* obj2
= 0 ;
13032 PyObject
* obj3
= 0 ;
13033 PyObject
* obj4
= 0 ;
13034 PyObject
* obj5
= 0 ;
13035 PyObject
* obj6
= 0 ;
13036 PyObject
* obj7
= 0 ;
13037 PyObject
* obj8
= 0 ;
13038 char *kwnames
[] = {
13039 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13047 arg3
= (int) SWIG_AsInt(obj2
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13050 arg4
= wxString_in_helper(obj3
);
13051 if (arg4
== NULL
) SWIG_fail
;
13057 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13063 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13067 arg7
= (long) SWIG_AsLong(obj6
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13071 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13072 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13074 if (arg8
== NULL
) {
13075 PyErr_SetString(PyExc_TypeError
,"null reference");
13081 arg9
= wxString_in_helper(obj8
);
13082 if (arg9
== NULL
) SWIG_fail
;
13087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13088 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13090 wxPyEndAllowThreads(__tstate
);
13091 if (PyErr_Occurred()) SWIG_fail
;
13094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13118 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13119 PyObject
*resultobj
;
13120 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13122 PyObject
* obj0
= 0 ;
13123 PyObject
* obj1
= 0 ;
13124 char *kwnames
[] = {
13125 (char *) "self",(char *) "value", NULL
13128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13131 arg2
= (bool) SWIG_AsBool(obj1
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13135 (arg1
)->SetValue(arg2
);
13137 wxPyEndAllowThreads(__tstate
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13140 Py_INCREF(Py_None
); resultobj
= Py_None
;
13147 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13148 PyObject
*resultobj
;
13149 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13151 PyObject
* obj0
= 0 ;
13152 char *kwnames
[] = {
13153 (char *) "self", NULL
13156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13163 wxPyEndAllowThreads(__tstate
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13175 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13176 PyObject
*resultobj
;
13177 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13178 wxString
*arg2
= 0 ;
13179 bool temp2
= False
;
13180 PyObject
* obj0
= 0 ;
13181 PyObject
* obj1
= 0 ;
13182 char *kwnames
[] = {
13183 (char *) "self",(char *) "label", NULL
13186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13190 arg2
= wxString_in_helper(obj1
);
13191 if (arg2
== NULL
) SWIG_fail
;
13195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13196 (arg1
)->SetLabel((wxString
const &)*arg2
);
13198 wxPyEndAllowThreads(__tstate
);
13199 if (PyErr_Occurred()) SWIG_fail
;
13201 Py_INCREF(Py_None
); resultobj
= Py_None
;
13216 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13219 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13221 return Py_BuildValue((char *)"");
13223 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13224 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13229 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13234 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13236 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13243 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13244 PyObject
*resultobj
;
13245 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13247 PyObject
* obj0
= 0 ;
13248 char *kwnames
[] = {
13249 (char *) "self", NULL
13252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13259 wxPyEndAllowThreads(__tstate
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13262 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
13269 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13270 PyObject
*resultobj
;
13271 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13274 PyObject
* obj0
= 0 ;
13275 PyObject
* obj1
= 0 ;
13276 char *kwnames
[] = {
13277 (char *) "self",(char *) "n", NULL
13280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13283 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13287 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13289 wxPyEndAllowThreads(__tstate
);
13290 if (PyErr_Occurred()) SWIG_fail
;
13293 resultobj
= wxPyMake_wxObject(result
);
13301 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13302 PyObject
*resultobj
;
13303 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13305 PyObject
* obj0
= 0 ;
13306 char *kwnames
[] = {
13307 (char *) "self", NULL
13310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13320 resultobj
= SWIG_FromInt((int)result
);
13327 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13328 PyObject
*resultobj
;
13329 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13331 wxString
*arg3
= 0 ;
13333 bool temp3
= False
;
13334 PyObject
* obj0
= 0 ;
13335 PyObject
* obj1
= 0 ;
13336 PyObject
* obj2
= 0 ;
13337 char *kwnames
[] = {
13338 (char *) "self",(char *) "n",(char *) "strText", NULL
13341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13344 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13347 arg3
= wxString_in_helper(obj2
);
13348 if (arg3
== NULL
) SWIG_fail
;
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13353 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13355 wxPyEndAllowThreads(__tstate
);
13356 if (PyErr_Occurred()) SWIG_fail
;
13359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13375 static PyObject
*_wrap_BookCtrl_GetPageText(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_GetPageText",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
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13411 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13412 PyObject
*resultobj
;
13413 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13414 wxImageList
*arg2
= (wxImageList
*) 0 ;
13415 PyObject
* obj0
= 0 ;
13416 PyObject
* obj1
= 0 ;
13417 char *kwnames
[] = {
13418 (char *) "self",(char *) "imageList", NULL
13421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 (arg1
)->SetImageList(arg2
);
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13433 Py_INCREF(Py_None
); resultobj
= Py_None
;
13440 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13441 PyObject
*resultobj
;
13442 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13443 wxImageList
*arg2
= (wxImageList
*) 0 ;
13444 PyObject
* obj0
= 0 ;
13445 PyObject
* obj1
= 0 ;
13446 char *kwnames
[] = {
13447 (char *) "self",(char *) "imageList", NULL
13450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13454 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13457 (arg1
)->AssignImageList(arg2
);
13459 wxPyEndAllowThreads(__tstate
);
13460 if (PyErr_Occurred()) SWIG_fail
;
13462 Py_INCREF(Py_None
); resultobj
= Py_None
;
13469 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13470 PyObject
*resultobj
;
13471 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13472 wxImageList
*result
;
13473 PyObject
* obj0
= 0 ;
13474 char *kwnames
[] = {
13475 (char *) "self", NULL
13478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13483 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13485 wxPyEndAllowThreads(__tstate
);
13486 if (PyErr_Occurred()) SWIG_fail
;
13489 resultobj
= wxPyMake_wxObject(result
);
13497 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13498 PyObject
*resultobj
;
13499 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13502 PyObject
* obj0
= 0 ;
13503 PyObject
* obj1
= 0 ;
13504 char *kwnames
[] = {
13505 (char *) "self",(char *) "n", NULL
13508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13511 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13512 if (PyErr_Occurred()) SWIG_fail
;
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13520 resultobj
= SWIG_FromInt((int)result
);
13527 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13528 PyObject
*resultobj
;
13529 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13533 PyObject
* obj0
= 0 ;
13534 PyObject
* obj1
= 0 ;
13535 PyObject
* obj2
= 0 ;
13536 char *kwnames
[] = {
13537 (char *) "self",(char *) "n",(char *) "imageId", NULL
13540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13543 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13545 arg3
= (int) SWIG_AsInt(obj2
);
13546 if (PyErr_Occurred()) SWIG_fail
;
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13549 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13551 wxPyEndAllowThreads(__tstate
);
13552 if (PyErr_Occurred()) SWIG_fail
;
13555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13563 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13564 PyObject
*resultobj
;
13565 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13568 PyObject
* obj0
= 0 ;
13569 PyObject
* obj1
= 0 ;
13570 char *kwnames
[] = {
13571 (char *) "self",(char *) "size", NULL
13574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13579 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13583 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13585 wxPyEndAllowThreads(__tstate
);
13586 if (PyErr_Occurred()) SWIG_fail
;
13588 Py_INCREF(Py_None
); resultobj
= Py_None
;
13595 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13596 PyObject
*resultobj
;
13597 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13601 PyObject
* obj0
= 0 ;
13602 PyObject
* obj1
= 0 ;
13603 char *kwnames
[] = {
13604 (char *) "self",(char *) "sizePage", NULL
13607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13612 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13616 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13618 wxPyEndAllowThreads(__tstate
);
13619 if (PyErr_Occurred()) SWIG_fail
;
13622 wxSize
* resultptr
;
13623 resultptr
= new wxSize((wxSize
&) result
);
13624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13632 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13633 PyObject
*resultobj
;
13634 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13637 PyObject
* obj0
= 0 ;
13638 PyObject
* obj1
= 0 ;
13639 char *kwnames
[] = {
13640 (char *) "self",(char *) "n", NULL
13643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13646 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13647 if (PyErr_Occurred()) SWIG_fail
;
13649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13650 result
= (bool)(arg1
)->DeletePage(arg2
);
13652 wxPyEndAllowThreads(__tstate
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13664 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13665 PyObject
*resultobj
;
13666 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13669 PyObject
* obj0
= 0 ;
13670 PyObject
* obj1
= 0 ;
13671 char *kwnames
[] = {
13672 (char *) "self",(char *) "n", NULL
13675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13678 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13679 if (PyErr_Occurred()) SWIG_fail
;
13681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13682 result
= (bool)(arg1
)->RemovePage(arg2
);
13684 wxPyEndAllowThreads(__tstate
);
13685 if (PyErr_Occurred()) SWIG_fail
;
13688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13696 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13697 PyObject
*resultobj
;
13698 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13700 PyObject
* obj0
= 0 ;
13701 char *kwnames
[] = {
13702 (char *) "self", NULL
13705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 result
= (bool)(arg1
)->DeleteAllPages();
13712 wxPyEndAllowThreads(__tstate
);
13713 if (PyErr_Occurred()) SWIG_fail
;
13716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13724 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13725 PyObject
*resultobj
;
13726 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13727 wxWindow
*arg2
= (wxWindow
*) 0 ;
13728 wxString
*arg3
= 0 ;
13729 bool arg4
= (bool) False
;
13730 int arg5
= (int) -1 ;
13732 bool temp3
= False
;
13733 PyObject
* obj0
= 0 ;
13734 PyObject
* obj1
= 0 ;
13735 PyObject
* obj2
= 0 ;
13736 PyObject
* obj3
= 0 ;
13737 PyObject
* obj4
= 0 ;
13738 char *kwnames
[] = {
13739 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13745 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13748 arg3
= wxString_in_helper(obj2
);
13749 if (arg3
== NULL
) SWIG_fail
;
13753 arg4
= (bool) SWIG_AsBool(obj3
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13757 arg5
= (int) SWIG_AsInt(obj4
);
13758 if (PyErr_Occurred()) SWIG_fail
;
13761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13762 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13764 wxPyEndAllowThreads(__tstate
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13784 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13785 PyObject
*resultobj
;
13786 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13788 wxWindow
*arg3
= (wxWindow
*) 0 ;
13789 wxString
*arg4
= 0 ;
13790 bool arg5
= (bool) False
;
13791 int arg6
= (int) -1 ;
13793 bool temp4
= False
;
13794 PyObject
* obj0
= 0 ;
13795 PyObject
* obj1
= 0 ;
13796 PyObject
* obj2
= 0 ;
13797 PyObject
* obj3
= 0 ;
13798 PyObject
* obj4
= 0 ;
13799 PyObject
* obj5
= 0 ;
13800 char *kwnames
[] = {
13801 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13807 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13809 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
13810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13812 arg4
= wxString_in_helper(obj3
);
13813 if (arg4
== NULL
) SWIG_fail
;
13817 arg5
= (bool) SWIG_AsBool(obj4
);
13818 if (PyErr_Occurred()) SWIG_fail
;
13821 arg6
= (int) SWIG_AsInt(obj5
);
13822 if (PyErr_Occurred()) SWIG_fail
;
13825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13826 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13828 wxPyEndAllowThreads(__tstate
);
13829 if (PyErr_Occurred()) SWIG_fail
;
13832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13848 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13849 PyObject
*resultobj
;
13850 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13853 PyObject
* obj0
= 0 ;
13854 PyObject
* obj1
= 0 ;
13855 char *kwnames
[] = {
13856 (char *) "self",(char *) "n", NULL
13859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13862 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13866 result
= (int)(arg1
)->SetSelection(arg2
);
13868 wxPyEndAllowThreads(__tstate
);
13869 if (PyErr_Occurred()) SWIG_fail
;
13871 resultobj
= SWIG_FromInt((int)result
);
13878 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13879 PyObject
*resultobj
;
13880 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13881 bool arg2
= (bool) True
;
13882 PyObject
* obj0
= 0 ;
13883 PyObject
* obj1
= 0 ;
13884 char *kwnames
[] = {
13885 (char *) "self",(char *) "forward", NULL
13888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13892 arg2
= (bool) SWIG_AsBool(obj1
);
13893 if (PyErr_Occurred()) SWIG_fail
;
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 (arg1
)->AdvanceSelection(arg2
);
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13902 Py_INCREF(Py_None
); resultobj
= Py_None
;
13909 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13912 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13914 return Py_BuildValue((char *)"");
13916 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13917 PyObject
*resultobj
;
13918 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13919 int arg2
= (int) 0 ;
13920 int arg3
= (int) -1 ;
13921 int arg4
= (int) -1 ;
13922 wxBookCtrlEvent
*result
;
13923 PyObject
* obj0
= 0 ;
13924 PyObject
* obj1
= 0 ;
13925 PyObject
* obj2
= 0 ;
13926 PyObject
* obj3
= 0 ;
13927 char *kwnames
[] = {
13928 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13933 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13934 if (PyErr_Occurred()) SWIG_fail
;
13937 arg2
= (int) SWIG_AsInt(obj1
);
13938 if (PyErr_Occurred()) SWIG_fail
;
13941 arg3
= (int) SWIG_AsInt(obj2
);
13942 if (PyErr_Occurred()) SWIG_fail
;
13945 arg4
= (int) SWIG_AsInt(obj3
);
13946 if (PyErr_Occurred()) SWIG_fail
;
13949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13950 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
13962 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13963 PyObject
*resultobj
;
13964 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13966 PyObject
* obj0
= 0 ;
13967 char *kwnames
[] = {
13968 (char *) "self", NULL
13971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13976 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13978 wxPyEndAllowThreads(__tstate
);
13979 if (PyErr_Occurred()) SWIG_fail
;
13981 resultobj
= SWIG_FromInt((int)result
);
13988 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13989 PyObject
*resultobj
;
13990 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13992 PyObject
* obj0
= 0 ;
13993 PyObject
* obj1
= 0 ;
13994 char *kwnames
[] = {
13995 (char *) "self",(char *) "nSel", NULL
13998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14001 arg2
= (int) SWIG_AsInt(obj1
);
14002 if (PyErr_Occurred()) SWIG_fail
;
14004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14005 (arg1
)->SetSelection(arg2
);
14007 wxPyEndAllowThreads(__tstate
);
14008 if (PyErr_Occurred()) SWIG_fail
;
14010 Py_INCREF(Py_None
); resultobj
= Py_None
;
14017 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14018 PyObject
*resultobj
;
14019 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14021 PyObject
* obj0
= 0 ;
14022 char *kwnames
[] = {
14023 (char *) "self", NULL
14026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14031 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14033 wxPyEndAllowThreads(__tstate
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14036 resultobj
= SWIG_FromInt((int)result
);
14043 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14044 PyObject
*resultobj
;
14045 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14047 PyObject
* obj0
= 0 ;
14048 PyObject
* obj1
= 0 ;
14049 char *kwnames
[] = {
14050 (char *) "self",(char *) "nOldSel", NULL
14053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14056 arg2
= (int) SWIG_AsInt(obj1
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14060 (arg1
)->SetOldSelection(arg2
);
14062 wxPyEndAllowThreads(__tstate
);
14063 if (PyErr_Occurred()) SWIG_fail
;
14065 Py_INCREF(Py_None
); resultobj
= Py_None
;
14072 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14075 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14077 return Py_BuildValue((char *)"");
14079 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14080 PyObject
*resultobj
;
14081 wxWindow
*arg1
= (wxWindow
*) 0 ;
14082 int arg2
= (int) -1 ;
14083 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14084 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14085 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14086 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14087 long arg5
= (long) 0 ;
14088 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14089 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14090 wxNotebook
*result
;
14093 bool temp6
= False
;
14094 PyObject
* obj0
= 0 ;
14095 PyObject
* obj1
= 0 ;
14096 PyObject
* obj2
= 0 ;
14097 PyObject
* obj3
= 0 ;
14098 PyObject
* obj4
= 0 ;
14099 PyObject
* obj5
= 0 ;
14100 char *kwnames
[] = {
14101 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14108 arg2
= (int) SWIG_AsInt(obj1
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14114 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14120 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14124 arg5
= (long) SWIG_AsLong(obj4
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14129 arg6
= wxString_in_helper(obj5
);
14130 if (arg6
== NULL
) SWIG_fail
;
14135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14136 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14138 wxPyEndAllowThreads(__tstate
);
14139 if (PyErr_Occurred()) SWIG_fail
;
14142 resultobj
= wxPyMake_wxObject(result
);
14158 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14159 PyObject
*resultobj
;
14160 wxNotebook
*result
;
14161 char *kwnames
[] = {
14165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14168 result
= (wxNotebook
*)new wxNotebook();
14170 wxPyEndAllowThreads(__tstate
);
14171 if (PyErr_Occurred()) SWIG_fail
;
14174 resultobj
= wxPyMake_wxObject(result
);
14182 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14183 PyObject
*resultobj
;
14184 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14185 wxWindow
*arg2
= (wxWindow
*) 0 ;
14187 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14188 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14189 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14190 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14191 long arg6
= (long) 0 ;
14192 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14193 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14197 bool temp7
= False
;
14198 PyObject
* obj0
= 0 ;
14199 PyObject
* obj1
= 0 ;
14200 PyObject
* obj2
= 0 ;
14201 PyObject
* obj3
= 0 ;
14202 PyObject
* obj4
= 0 ;
14203 PyObject
* obj5
= 0 ;
14204 PyObject
* obj6
= 0 ;
14205 char *kwnames
[] = {
14206 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14214 arg3
= (int) SWIG_AsInt(obj2
);
14215 if (PyErr_Occurred()) SWIG_fail
;
14219 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14225 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14229 arg6
= (long) SWIG_AsLong(obj5
);
14230 if (PyErr_Occurred()) SWIG_fail
;
14234 arg7
= wxString_in_helper(obj6
);
14235 if (arg7
== NULL
) SWIG_fail
;
14240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14241 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14243 wxPyEndAllowThreads(__tstate
);
14244 if (PyErr_Occurred()) SWIG_fail
;
14247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14263 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
;
14265 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14267 PyObject
* obj0
= 0 ;
14268 char *kwnames
[] = {
14269 (char *) "self", NULL
14272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14277 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14279 wxPyEndAllowThreads(__tstate
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14282 resultobj
= SWIG_FromInt((int)result
);
14289 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14290 PyObject
*resultobj
;
14291 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14294 PyObject
* obj0
= 0 ;
14295 PyObject
* obj1
= 0 ;
14296 char *kwnames
[] = {
14297 (char *) "self",(char *) "padding", NULL
14300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14305 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14309 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14311 wxPyEndAllowThreads(__tstate
);
14312 if (PyErr_Occurred()) SWIG_fail
;
14314 Py_INCREF(Py_None
); resultobj
= Py_None
;
14321 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14322 PyObject
*resultobj
;
14323 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14326 PyObject
* obj0
= 0 ;
14327 PyObject
* obj1
= 0 ;
14328 char *kwnames
[] = {
14329 (char *) "self",(char *) "sz", NULL
14332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14337 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14341 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14346 Py_INCREF(Py_None
); resultobj
= Py_None
;
14353 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14356 wxPoint
*arg2
= 0 ;
14357 long *arg3
= (long *) 0 ;
14361 PyObject
* obj0
= 0 ;
14362 PyObject
* obj1
= 0 ;
14363 char *kwnames
[] = {
14364 (char *) "self",(char *) "pt", NULL
14368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14373 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14377 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14379 wxPyEndAllowThreads(__tstate
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14382 resultobj
= SWIG_FromInt((int)result
);
14384 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14385 resultobj
= t_output_helper(resultobj
,o
);
14393 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14394 PyObject
*resultobj
;
14395 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14399 PyObject
* obj0
= 0 ;
14400 PyObject
* obj1
= 0 ;
14401 char *kwnames
[] = {
14402 (char *) "self",(char *) "sizePage", NULL
14405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14410 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14414 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14416 wxPyEndAllowThreads(__tstate
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14420 wxSize
* resultptr
;
14421 resultptr
= new wxSize((wxSize
&) result
);
14422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14430 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
14432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14433 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14435 return Py_BuildValue((char *)"");
14437 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14438 PyObject
*resultobj
;
14439 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14440 int arg2
= (int) 0 ;
14441 int arg3
= (int) -1 ;
14442 int arg4
= (int) -1 ;
14443 wxNotebookEvent
*result
;
14444 PyObject
* obj0
= 0 ;
14445 PyObject
* obj1
= 0 ;
14446 PyObject
* obj2
= 0 ;
14447 PyObject
* obj3
= 0 ;
14448 char *kwnames
[] = {
14449 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14454 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14455 if (PyErr_Occurred()) SWIG_fail
;
14458 arg2
= (int) SWIG_AsInt(obj1
);
14459 if (PyErr_Occurred()) SWIG_fail
;
14462 arg3
= (int) SWIG_AsInt(obj2
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14466 arg4
= (int) SWIG_AsInt(obj3
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
14483 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14486 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14488 return Py_BuildValue((char *)"");
14490 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14491 PyObject
*resultobj
;
14492 wxWindow
*arg1
= (wxWindow
*) 0 ;
14493 int arg2
= (int) -1 ;
14494 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14495 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14496 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14497 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14498 long arg5
= (long) 0 ;
14499 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14500 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14501 wxListbook
*result
;
14504 bool temp6
= False
;
14505 PyObject
* obj0
= 0 ;
14506 PyObject
* obj1
= 0 ;
14507 PyObject
* obj2
= 0 ;
14508 PyObject
* obj3
= 0 ;
14509 PyObject
* obj4
= 0 ;
14510 PyObject
* obj5
= 0 ;
14511 char *kwnames
[] = {
14512 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14519 arg2
= (int) SWIG_AsInt(obj1
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14525 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14531 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14535 arg5
= (long) SWIG_AsLong(obj4
);
14536 if (PyErr_Occurred()) SWIG_fail
;
14540 arg6
= wxString_in_helper(obj5
);
14541 if (arg6
== NULL
) SWIG_fail
;
14546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14547 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14549 wxPyEndAllowThreads(__tstate
);
14550 if (PyErr_Occurred()) SWIG_fail
;
14552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14567 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14568 PyObject
*resultobj
;
14569 wxListbook
*result
;
14570 char *kwnames
[] = {
14574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14577 result
= (wxListbook
*)new wxListbook();
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14589 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14590 PyObject
*resultobj
;
14591 wxListbook
*arg1
= (wxListbook
*) 0 ;
14592 wxWindow
*arg2
= (wxWindow
*) 0 ;
14594 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14595 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14596 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14597 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14598 long arg6
= (long) 0 ;
14599 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14600 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14604 bool temp7
= False
;
14605 PyObject
* obj0
= 0 ;
14606 PyObject
* obj1
= 0 ;
14607 PyObject
* obj2
= 0 ;
14608 PyObject
* obj3
= 0 ;
14609 PyObject
* obj4
= 0 ;
14610 PyObject
* obj5
= 0 ;
14611 PyObject
* obj6
= 0 ;
14612 char *kwnames
[] = {
14613 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14621 arg3
= (int) SWIG_AsInt(obj2
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14626 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14632 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14636 arg6
= (long) SWIG_AsLong(obj5
);
14637 if (PyErr_Occurred()) SWIG_fail
;
14641 arg7
= wxString_in_helper(obj6
);
14642 if (arg7
== NULL
) SWIG_fail
;
14647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14648 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14650 wxPyEndAllowThreads(__tstate
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14670 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14671 PyObject
*resultobj
;
14672 wxListbook
*arg1
= (wxListbook
*) 0 ;
14674 PyObject
* obj0
= 0 ;
14675 char *kwnames
[] = {
14676 (char *) "self", NULL
14679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14684 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14686 wxPyEndAllowThreads(__tstate
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14698 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14701 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14703 return Py_BuildValue((char *)"");
14705 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
;
14707 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14708 int arg2
= (int) 0 ;
14709 int arg3
= (int) -1 ;
14710 int arg4
= (int) -1 ;
14711 wxListbookEvent
*result
;
14712 PyObject
* obj0
= 0 ;
14713 PyObject
* obj1
= 0 ;
14714 PyObject
* obj2
= 0 ;
14715 PyObject
* obj3
= 0 ;
14716 char *kwnames
[] = {
14717 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14722 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14726 arg2
= (int) SWIG_AsInt(obj1
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14730 arg3
= (int) SWIG_AsInt(obj2
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14734 arg4
= (int) SWIG_AsInt(obj3
);
14735 if (PyErr_Occurred()) SWIG_fail
;
14738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14739 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14741 wxPyEndAllowThreads(__tstate
);
14742 if (PyErr_Occurred()) SWIG_fail
;
14744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
14751 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14754 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14756 return Py_BuildValue((char *)"");
14758 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14759 PyObject
*resultobj
;
14760 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14761 wxBookCtrlSizer
*result
;
14762 PyObject
* obj0
= 0 ;
14763 char *kwnames
[] = {
14764 (char *) "nb", NULL
14767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14774 wxPyEndAllowThreads(__tstate
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
14784 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14785 PyObject
*resultobj
;
14786 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14787 PyObject
* obj0
= 0 ;
14788 char *kwnames
[] = {
14789 (char *) "self", NULL
14792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14797 (arg1
)->RecalcSizes();
14799 wxPyEndAllowThreads(__tstate
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14802 Py_INCREF(Py_None
); resultobj
= Py_None
;
14809 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14810 PyObject
*resultobj
;
14811 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14813 PyObject
* obj0
= 0 ;
14814 char *kwnames
[] = {
14815 (char *) "self", NULL
14818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14823 result
= (arg1
)->CalcMin();
14825 wxPyEndAllowThreads(__tstate
);
14826 if (PyErr_Occurred()) SWIG_fail
;
14829 wxSize
* resultptr
;
14830 resultptr
= new wxSize((wxSize
&) result
);
14831 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14839 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14840 PyObject
*resultobj
;
14841 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14842 wxBookCtrl
*result
;
14843 PyObject
* obj0
= 0 ;
14844 char *kwnames
[] = {
14845 (char *) "self", NULL
14848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14853 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14855 wxPyEndAllowThreads(__tstate
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
14865 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14868 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14870 return Py_BuildValue((char *)"");
14872 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14873 PyObject
*resultobj
;
14874 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14875 wxNotebookSizer
*result
;
14876 PyObject
* obj0
= 0 ;
14877 char *kwnames
[] = {
14878 (char *) "nb", NULL
14881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14886 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14888 wxPyEndAllowThreads(__tstate
);
14889 if (PyErr_Occurred()) SWIG_fail
;
14891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
14898 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14899 PyObject
*resultobj
;
14900 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14901 PyObject
* obj0
= 0 ;
14902 char *kwnames
[] = {
14903 (char *) "self", NULL
14906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14911 (arg1
)->RecalcSizes();
14913 wxPyEndAllowThreads(__tstate
);
14914 if (PyErr_Occurred()) SWIG_fail
;
14916 Py_INCREF(Py_None
); resultobj
= Py_None
;
14923 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14924 PyObject
*resultobj
;
14925 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14927 PyObject
* obj0
= 0 ;
14928 char *kwnames
[] = {
14929 (char *) "self", NULL
14932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14937 result
= (arg1
)->CalcMin();
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14943 wxSize
* resultptr
;
14944 resultptr
= new wxSize((wxSize
&) result
);
14945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14953 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14954 PyObject
*resultobj
;
14955 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14956 wxNotebook
*result
;
14957 PyObject
* obj0
= 0 ;
14958 char *kwnames
[] = {
14959 (char *) "self", NULL
14962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14967 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14969 wxPyEndAllowThreads(__tstate
);
14970 if (PyErr_Occurred()) SWIG_fail
;
14973 resultobj
= wxPyMake_wxObject(result
);
14981 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14984 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14986 return Py_BuildValue((char *)"");
14988 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14989 PyObject
*resultobj
;
14990 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14992 PyObject
* obj0
= 0 ;
14993 char *kwnames
[] = {
14994 (char *) "self", NULL
14997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15002 result
= (int)(arg1
)->GetId();
15004 wxPyEndAllowThreads(__tstate
);
15005 if (PyErr_Occurred()) SWIG_fail
;
15007 resultobj
= SWIG_FromInt((int)result
);
15014 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15015 PyObject
*resultobj
;
15016 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15018 PyObject
* obj0
= 0 ;
15019 char *kwnames
[] = {
15020 (char *) "self", NULL
15023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15028 result
= (wxControl
*)(arg1
)->GetControl();
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15034 resultobj
= wxPyMake_wxObject(result
);
15042 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15043 PyObject
*resultobj
;
15044 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15045 wxToolBarBase
*result
;
15046 PyObject
* obj0
= 0 ;
15047 char *kwnames
[] = {
15048 (char *) "self", NULL
15051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15056 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15058 wxPyEndAllowThreads(__tstate
);
15059 if (PyErr_Occurred()) SWIG_fail
;
15062 resultobj
= wxPyMake_wxObject(result
);
15070 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15071 PyObject
*resultobj
;
15072 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15074 PyObject
* obj0
= 0 ;
15075 char *kwnames
[] = {
15076 (char *) "self", NULL
15079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15084 result
= (int)(arg1
)->IsButton();
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15089 resultobj
= SWIG_FromInt((int)result
);
15096 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15097 PyObject
*resultobj
;
15098 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15100 PyObject
* obj0
= 0 ;
15101 char *kwnames
[] = {
15102 (char *) "self", NULL
15105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15110 result
= (int)(arg1
)->IsControl();
15112 wxPyEndAllowThreads(__tstate
);
15113 if (PyErr_Occurred()) SWIG_fail
;
15115 resultobj
= SWIG_FromInt((int)result
);
15122 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15123 PyObject
*resultobj
;
15124 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15126 PyObject
* obj0
= 0 ;
15127 char *kwnames
[] = {
15128 (char *) "self", NULL
15131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
15132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 result
= (int)(arg1
)->IsSeparator();
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15141 resultobj
= SWIG_FromInt((int)result
);
15148 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15149 PyObject
*resultobj
;
15150 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15152 PyObject
* obj0
= 0 ;
15153 char *kwnames
[] = {
15154 (char *) "self", NULL
15157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15162 result
= (int)(arg1
)->GetStyle();
15164 wxPyEndAllowThreads(__tstate
);
15165 if (PyErr_Occurred()) SWIG_fail
;
15167 resultobj
= SWIG_FromInt((int)result
);
15174 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15175 PyObject
*resultobj
;
15176 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15178 PyObject
* obj0
= 0 ;
15179 char *kwnames
[] = {
15180 (char *) "self", NULL
15183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15188 result
= (int)(arg1
)->GetKind();
15190 wxPyEndAllowThreads(__tstate
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15193 resultobj
= SWIG_FromInt((int)result
);
15200 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15201 PyObject
*resultobj
;
15202 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15204 PyObject
* obj0
= 0 ;
15205 char *kwnames
[] = {
15206 (char *) "self", NULL
15209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15214 result
= (bool)(arg1
)->IsEnabled();
15216 wxPyEndAllowThreads(__tstate
);
15217 if (PyErr_Occurred()) SWIG_fail
;
15220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15228 static PyObject
*_wrap_ToolBarToolBase_IsToggled(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_IsToggled",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
= (bool)(arg1
)->IsToggled();
15244 wxPyEndAllowThreads(__tstate
);
15245 if (PyErr_Occurred()) SWIG_fail
;
15248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15256 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15257 PyObject
*resultobj
;
15258 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15260 PyObject
* obj0
= 0 ;
15261 char *kwnames
[] = {
15262 (char *) "self", NULL
15265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 result
= (bool)(arg1
)->CanBeToggled();
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15284 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15285 PyObject
*resultobj
;
15286 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15288 PyObject
* obj0
= 0 ;
15289 char *kwnames
[] = {
15290 (char *) "self", NULL
15293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15299 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15300 result
= (wxBitmap
*) &_result_ref
;
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15307 wxBitmap
* resultptr
= new wxBitmap(*result
);
15308 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15316 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15317 PyObject
*resultobj
;
15318 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15320 PyObject
* obj0
= 0 ;
15321 char *kwnames
[] = {
15322 (char *) "self", NULL
15325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15331 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15332 result
= (wxBitmap
*) &_result_ref
;
15335 wxPyEndAllowThreads(__tstate
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15339 wxBitmap
* resultptr
= new wxBitmap(*result
);
15340 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15348 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15349 PyObject
*resultobj
;
15350 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15352 PyObject
* obj0
= 0 ;
15353 char *kwnames
[] = {
15354 (char *) "self", NULL
15357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15362 result
= (arg1
)->GetBitmap();
15364 wxPyEndAllowThreads(__tstate
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15368 wxBitmap
* resultptr
;
15369 resultptr
= new wxBitmap((wxBitmap
&) result
);
15370 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15378 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15379 PyObject
*resultobj
;
15380 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15382 PyObject
* obj0
= 0 ;
15383 char *kwnames
[] = {
15384 (char *) "self", NULL
15387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15392 result
= (arg1
)->GetLabel();
15394 wxPyEndAllowThreads(__tstate
);
15395 if (PyErr_Occurred()) SWIG_fail
;
15399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15410 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15411 PyObject
*resultobj
;
15412 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15414 PyObject
* obj0
= 0 ;
15415 char *kwnames
[] = {
15416 (char *) "self", NULL
15419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 result
= (arg1
)->GetShortHelp();
15426 wxPyEndAllowThreads(__tstate
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15431 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15433 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15442 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15443 PyObject
*resultobj
;
15444 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15446 PyObject
* obj0
= 0 ;
15447 char *kwnames
[] = {
15448 (char *) "self", NULL
15451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15456 result
= (arg1
)->GetLongHelp();
15458 wxPyEndAllowThreads(__tstate
);
15459 if (PyErr_Occurred()) SWIG_fail
;
15463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15474 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
;
15476 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15479 PyObject
* obj0
= 0 ;
15480 PyObject
* obj1
= 0 ;
15481 char *kwnames
[] = {
15482 (char *) "self",(char *) "enable", NULL
15485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15488 arg2
= (bool) SWIG_AsBool(obj1
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15492 result
= (bool)(arg1
)->Enable(arg2
);
15494 wxPyEndAllowThreads(__tstate
);
15495 if (PyErr_Occurred()) SWIG_fail
;
15498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15506 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15507 PyObject
*resultobj
;
15508 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15509 PyObject
* obj0
= 0 ;
15510 char *kwnames
[] = {
15511 (char *) "self", NULL
15514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15521 wxPyEndAllowThreads(__tstate
);
15522 if (PyErr_Occurred()) SWIG_fail
;
15524 Py_INCREF(Py_None
); resultobj
= Py_None
;
15531 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
;
15533 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15536 PyObject
* obj0
= 0 ;
15537 PyObject
* obj1
= 0 ;
15538 char *kwnames
[] = {
15539 (char *) "self",(char *) "toggle", NULL
15542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15545 arg2
= (bool) SWIG_AsBool(obj1
);
15546 if (PyErr_Occurred()) SWIG_fail
;
15548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 result
= (bool)(arg1
)->SetToggle(arg2
);
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15563 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15564 PyObject
*resultobj
;
15565 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15566 wxString
*arg2
= 0 ;
15568 bool temp2
= False
;
15569 PyObject
* obj0
= 0 ;
15570 PyObject
* obj1
= 0 ;
15571 char *kwnames
[] = {
15572 (char *) "self",(char *) "help", NULL
15575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15579 arg2
= wxString_in_helper(obj1
);
15580 if (arg2
== NULL
) SWIG_fail
;
15584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15585 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15587 wxPyEndAllowThreads(__tstate
);
15588 if (PyErr_Occurred()) SWIG_fail
;
15591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15607 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15608 PyObject
*resultobj
;
15609 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15610 wxString
*arg2
= 0 ;
15612 bool temp2
= False
;
15613 PyObject
* obj0
= 0 ;
15614 PyObject
* obj1
= 0 ;
15615 char *kwnames
[] = {
15616 (char *) "self",(char *) "help", NULL
15619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15623 arg2
= wxString_in_helper(obj1
);
15624 if (arg2
== NULL
) SWIG_fail
;
15628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15629 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15631 wxPyEndAllowThreads(__tstate
);
15632 if (PyErr_Occurred()) SWIG_fail
;
15635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15651 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15652 PyObject
*resultobj
;
15653 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15654 wxBitmap
*arg2
= 0 ;
15655 PyObject
* obj0
= 0 ;
15656 PyObject
* obj1
= 0 ;
15657 char *kwnames
[] = {
15658 (char *) "self",(char *) "bmp", NULL
15661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15665 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15667 if (arg2
== NULL
) {
15668 PyErr_SetString(PyExc_TypeError
,"null reference");
15672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15673 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15675 wxPyEndAllowThreads(__tstate
);
15676 if (PyErr_Occurred()) SWIG_fail
;
15678 Py_INCREF(Py_None
); resultobj
= Py_None
;
15685 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15686 PyObject
*resultobj
;
15687 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15688 wxBitmap
*arg2
= 0 ;
15689 PyObject
* obj0
= 0 ;
15690 PyObject
* obj1
= 0 ;
15691 char *kwnames
[] = {
15692 (char *) "self",(char *) "bmp", NULL
15695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15699 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15701 if (arg2
== NULL
) {
15702 PyErr_SetString(PyExc_TypeError
,"null reference");
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15709 wxPyEndAllowThreads(__tstate
);
15710 if (PyErr_Occurred()) SWIG_fail
;
15712 Py_INCREF(Py_None
); resultobj
= Py_None
;
15719 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15720 PyObject
*resultobj
;
15721 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15722 wxString
*arg2
= 0 ;
15723 bool temp2
= False
;
15724 PyObject
* obj0
= 0 ;
15725 PyObject
* obj1
= 0 ;
15726 char *kwnames
[] = {
15727 (char *) "self",(char *) "label", NULL
15730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15734 arg2
= wxString_in_helper(obj1
);
15735 if (arg2
== NULL
) SWIG_fail
;
15739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15740 (arg1
)->SetLabel((wxString
const &)*arg2
);
15742 wxPyEndAllowThreads(__tstate
);
15743 if (PyErr_Occurred()) SWIG_fail
;
15745 Py_INCREF(Py_None
); resultobj
= Py_None
;
15760 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15761 PyObject
*resultobj
;
15762 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15763 PyObject
* obj0
= 0 ;
15764 char *kwnames
[] = {
15765 (char *) "self", NULL
15768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15775 wxPyEndAllowThreads(__tstate
);
15776 if (PyErr_Occurred()) SWIG_fail
;
15778 Py_INCREF(Py_None
); resultobj
= Py_None
;
15785 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15786 PyObject
*resultobj
;
15787 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15788 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15789 PyObject
* obj0
= 0 ;
15790 PyObject
* obj1
= 0 ;
15791 char *kwnames
[] = {
15792 (char *) "self",(char *) "tbar", NULL
15795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
15799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15802 (arg1
)->Attach(arg2
);
15804 wxPyEndAllowThreads(__tstate
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15807 Py_INCREF(Py_None
); resultobj
= Py_None
;
15814 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15815 PyObject
*resultobj
;
15816 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15818 PyObject
* obj0
= 0 ;
15819 char *kwnames
[] = {
15820 (char *) "self", NULL
15823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15828 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15830 wxPyEndAllowThreads(__tstate
);
15831 if (PyErr_Occurred()) SWIG_fail
;
15833 resultobj
= result
;
15840 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15841 PyObject
*resultobj
;
15842 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15843 PyObject
*arg2
= (PyObject
*) 0 ;
15844 PyObject
* obj0
= 0 ;
15845 PyObject
* obj1
= 0 ;
15846 char *kwnames
[] = {
15847 (char *) "self",(char *) "clientData", NULL
15850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15856 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15858 wxPyEndAllowThreads(__tstate
);
15859 if (PyErr_Occurred()) SWIG_fail
;
15861 Py_INCREF(Py_None
); resultobj
= Py_None
;
15868 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15871 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15873 return Py_BuildValue((char *)"");
15875 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15876 PyObject
*resultobj
;
15877 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15879 wxString
*arg3
= 0 ;
15880 wxBitmap
*arg4
= 0 ;
15881 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15882 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15883 int arg6
= (int) wxITEM_NORMAL
;
15884 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15885 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15886 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15887 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15888 PyObject
*arg9
= (PyObject
*) NULL
;
15889 wxToolBarToolBase
*result
;
15890 bool temp3
= False
;
15891 bool temp7
= False
;
15892 bool temp8
= False
;
15893 PyObject
* obj0
= 0 ;
15894 PyObject
* obj1
= 0 ;
15895 PyObject
* obj2
= 0 ;
15896 PyObject
* obj3
= 0 ;
15897 PyObject
* obj4
= 0 ;
15898 PyObject
* obj5
= 0 ;
15899 PyObject
* obj6
= 0 ;
15900 PyObject
* obj7
= 0 ;
15901 PyObject
* obj8
= 0 ;
15902 char *kwnames
[] = {
15903 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15909 arg2
= (int) SWIG_AsInt(obj1
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15912 arg3
= wxString_in_helper(obj2
);
15913 if (arg3
== NULL
) SWIG_fail
;
15916 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
15917 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15919 if (arg4
== NULL
) {
15920 PyErr_SetString(PyExc_TypeError
,"null reference");
15924 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15925 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15927 if (arg5
== NULL
) {
15928 PyErr_SetString(PyExc_TypeError
,"null reference");
15933 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
15934 if (PyErr_Occurred()) SWIG_fail
;
15938 arg7
= wxString_in_helper(obj6
);
15939 if (arg7
== NULL
) SWIG_fail
;
15945 arg8
= wxString_in_helper(obj7
);
15946 if (arg8
== NULL
) SWIG_fail
;
15954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15955 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15957 wxPyEndAllowThreads(__tstate
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15961 resultobj
= wxPyMake_wxObject(result
);
15993 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15994 PyObject
*resultobj
;
15995 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15998 wxString
*arg4
= 0 ;
15999 wxBitmap
*arg5
= 0 ;
16000 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16001 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16002 int arg7
= (int) wxITEM_NORMAL
;
16003 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16004 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16005 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16006 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16007 PyObject
*arg10
= (PyObject
*) NULL
;
16008 wxToolBarToolBase
*result
;
16009 bool temp4
= False
;
16010 bool temp8
= False
;
16011 bool temp9
= False
;
16012 PyObject
* obj0
= 0 ;
16013 PyObject
* obj1
= 0 ;
16014 PyObject
* obj2
= 0 ;
16015 PyObject
* obj3
= 0 ;
16016 PyObject
* obj4
= 0 ;
16017 PyObject
* obj5
= 0 ;
16018 PyObject
* obj6
= 0 ;
16019 PyObject
* obj7
= 0 ;
16020 PyObject
* obj8
= 0 ;
16021 PyObject
* obj9
= 0 ;
16022 char *kwnames
[] = {
16023 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16029 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16030 if (PyErr_Occurred()) SWIG_fail
;
16031 arg3
= (int) SWIG_AsInt(obj2
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16034 arg4
= wxString_in_helper(obj3
);
16035 if (arg4
== NULL
) SWIG_fail
;
16038 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16039 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16041 if (arg5
== NULL
) {
16042 PyErr_SetString(PyExc_TypeError
,"null reference");
16046 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16047 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16049 if (arg6
== NULL
) {
16050 PyErr_SetString(PyExc_TypeError
,"null reference");
16055 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16056 if (PyErr_Occurred()) SWIG_fail
;
16060 arg8
= wxString_in_helper(obj7
);
16061 if (arg8
== NULL
) SWIG_fail
;
16067 arg9
= wxString_in_helper(obj8
);
16068 if (arg9
== NULL
) SWIG_fail
;
16076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16077 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
);
16079 wxPyEndAllowThreads(__tstate
);
16080 if (PyErr_Occurred()) SWIG_fail
;
16083 resultobj
= wxPyMake_wxObject(result
);
16115 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16116 PyObject
*resultobj
;
16117 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16118 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
16119 wxToolBarToolBase
*result
;
16120 PyObject
* obj0
= 0 ;
16121 PyObject
* obj1
= 0 ;
16122 char *kwnames
[] = {
16123 (char *) "self",(char *) "tool", NULL
16126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
16127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
16130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
16135 wxPyEndAllowThreads(__tstate
);
16136 if (PyErr_Occurred()) SWIG_fail
;
16139 resultobj
= wxPyMake_wxObject(result
);
16147 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
;
16149 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16151 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
16152 wxToolBarToolBase
*result
;
16153 PyObject
* obj0
= 0 ;
16154 PyObject
* obj1
= 0 ;
16155 PyObject
* obj2
= 0 ;
16156 char *kwnames
[] = {
16157 (char *) "self",(char *) "pos",(char *) "tool", NULL
16160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16163 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16164 if (PyErr_Occurred()) SWIG_fail
;
16165 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
16166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16169 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
16171 wxPyEndAllowThreads(__tstate
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16175 resultobj
= wxPyMake_wxObject(result
);
16183 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16184 PyObject
*resultobj
;
16185 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16186 wxControl
*arg2
= (wxControl
*) 0 ;
16187 wxToolBarToolBase
*result
;
16188 PyObject
* obj0
= 0 ;
16189 PyObject
* obj1
= 0 ;
16190 char *kwnames
[] = {
16191 (char *) "self",(char *) "control", NULL
16194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16197 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
16198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
16203 wxPyEndAllowThreads(__tstate
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16207 resultobj
= wxPyMake_wxObject(result
);
16215 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16216 PyObject
*resultobj
;
16217 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16219 wxControl
*arg3
= (wxControl
*) 0 ;
16220 wxToolBarToolBase
*result
;
16221 PyObject
* obj0
= 0 ;
16222 PyObject
* obj1
= 0 ;
16223 PyObject
* obj2
= 0 ;
16224 char *kwnames
[] = {
16225 (char *) "self",(char *) "pos",(char *) "control", NULL
16228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
16233 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
16234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16237 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16239 wxPyEndAllowThreads(__tstate
);
16240 if (PyErr_Occurred()) SWIG_fail
;
16243 resultobj
= wxPyMake_wxObject(result
);
16251 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16252 PyObject
*resultobj
;
16253 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16256 PyObject
* obj0
= 0 ;
16257 PyObject
* obj1
= 0 ;
16258 char *kwnames
[] = {
16259 (char *) "self",(char *) "id", NULL
16262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16265 arg2
= (int) SWIG_AsInt(obj1
);
16266 if (PyErr_Occurred()) SWIG_fail
;
16268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16271 wxPyEndAllowThreads(__tstate
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16275 resultobj
= wxPyMake_wxObject(result
);
16283 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16284 PyObject
*resultobj
;
16285 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16286 wxToolBarToolBase
*result
;
16287 PyObject
* obj0
= 0 ;
16288 char *kwnames
[] = {
16289 (char *) "self", NULL
16292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16297 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16299 wxPyEndAllowThreads(__tstate
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16303 resultobj
= wxPyMake_wxObject(result
);
16311 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16312 PyObject
*resultobj
;
16313 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16315 wxToolBarToolBase
*result
;
16316 PyObject
* obj0
= 0 ;
16317 PyObject
* obj1
= 0 ;
16318 char *kwnames
[] = {
16319 (char *) "self",(char *) "pos", NULL
16322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16325 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16326 if (PyErr_Occurred()) SWIG_fail
;
16328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16329 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16331 wxPyEndAllowThreads(__tstate
);
16332 if (PyErr_Occurred()) SWIG_fail
;
16335 resultobj
= wxPyMake_wxObject(result
);
16343 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16344 PyObject
*resultobj
;
16345 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16347 wxToolBarToolBase
*result
;
16348 PyObject
* obj0
= 0 ;
16349 PyObject
* obj1
= 0 ;
16350 char *kwnames
[] = {
16351 (char *) "self",(char *) "id", NULL
16354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16357 arg2
= (int) SWIG_AsInt(obj1
);
16358 if (PyErr_Occurred()) SWIG_fail
;
16360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16361 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16363 wxPyEndAllowThreads(__tstate
);
16364 if (PyErr_Occurred()) SWIG_fail
;
16367 resultobj
= wxPyMake_wxObject(result
);
16375 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
;
16377 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16380 PyObject
* obj0
= 0 ;
16381 PyObject
* obj1
= 0 ;
16382 char *kwnames
[] = {
16383 (char *) "self",(char *) "pos", NULL
16386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16389 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16390 if (PyErr_Occurred()) SWIG_fail
;
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16407 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16408 PyObject
*resultobj
;
16409 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16412 PyObject
* obj0
= 0 ;
16413 PyObject
* obj1
= 0 ;
16414 char *kwnames
[] = {
16415 (char *) "self",(char *) "id", NULL
16418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16421 arg2
= (int) SWIG_AsInt(obj1
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16425 result
= (bool)(arg1
)->DeleteTool(arg2
);
16427 wxPyEndAllowThreads(__tstate
);
16428 if (PyErr_Occurred()) SWIG_fail
;
16431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16439 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16440 PyObject
*resultobj
;
16441 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16442 PyObject
* obj0
= 0 ;
16443 char *kwnames
[] = {
16444 (char *) "self", NULL
16447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16452 (arg1
)->ClearTools();
16454 wxPyEndAllowThreads(__tstate
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16457 Py_INCREF(Py_None
); resultobj
= Py_None
;
16464 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16465 PyObject
*resultobj
;
16466 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16468 PyObject
* obj0
= 0 ;
16469 char *kwnames
[] = {
16470 (char *) "self", NULL
16473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16478 result
= (bool)(arg1
)->Realize();
16480 wxPyEndAllowThreads(__tstate
);
16481 if (PyErr_Occurred()) SWIG_fail
;
16484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16492 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
;
16494 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16497 PyObject
* obj0
= 0 ;
16498 PyObject
* obj1
= 0 ;
16499 PyObject
* obj2
= 0 ;
16500 char *kwnames
[] = {
16501 (char *) "self",(char *) "id",(char *) "enable", NULL
16504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16507 arg2
= (int) SWIG_AsInt(obj1
);
16508 if (PyErr_Occurred()) SWIG_fail
;
16509 arg3
= (bool) SWIG_AsBool(obj2
);
16510 if (PyErr_Occurred()) SWIG_fail
;
16512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16513 (arg1
)->EnableTool(arg2
,arg3
);
16515 wxPyEndAllowThreads(__tstate
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16518 Py_INCREF(Py_None
); resultobj
= Py_None
;
16525 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16526 PyObject
*resultobj
;
16527 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16530 PyObject
* obj0
= 0 ;
16531 PyObject
* obj1
= 0 ;
16532 PyObject
* obj2
= 0 ;
16533 char *kwnames
[] = {
16534 (char *) "self",(char *) "id",(char *) "toggle", NULL
16537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16540 arg2
= (int) SWIG_AsInt(obj1
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16542 arg3
= (bool) SWIG_AsBool(obj2
);
16543 if (PyErr_Occurred()) SWIG_fail
;
16545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16546 (arg1
)->ToggleTool(arg2
,arg3
);
16548 wxPyEndAllowThreads(__tstate
);
16549 if (PyErr_Occurred()) SWIG_fail
;
16551 Py_INCREF(Py_None
); resultobj
= Py_None
;
16558 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16559 PyObject
*resultobj
;
16560 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16563 PyObject
* obj0
= 0 ;
16564 PyObject
* obj1
= 0 ;
16565 PyObject
* obj2
= 0 ;
16566 char *kwnames
[] = {
16567 (char *) "self",(char *) "id",(char *) "toggle", NULL
16570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16573 arg2
= (int) SWIG_AsInt(obj1
);
16574 if (PyErr_Occurred()) SWIG_fail
;
16575 arg3
= (bool) SWIG_AsBool(obj2
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16579 (arg1
)->SetToggle(arg2
,arg3
);
16581 wxPyEndAllowThreads(__tstate
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16584 Py_INCREF(Py_None
); resultobj
= Py_None
;
16591 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16592 PyObject
*resultobj
;
16593 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16596 PyObject
* obj0
= 0 ;
16597 PyObject
* obj1
= 0 ;
16598 char *kwnames
[] = {
16599 (char *) "self",(char *) "id", NULL
16602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16605 arg2
= (int) SWIG_AsInt(obj1
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16609 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16611 wxPyEndAllowThreads(__tstate
);
16612 if (PyErr_Occurred()) SWIG_fail
;
16614 resultobj
= result
;
16621 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16622 PyObject
*resultobj
;
16623 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16625 PyObject
*arg3
= (PyObject
*) 0 ;
16626 PyObject
* obj0
= 0 ;
16627 PyObject
* obj1
= 0 ;
16628 PyObject
* obj2
= 0 ;
16629 char *kwnames
[] = {
16630 (char *) "self",(char *) "id",(char *) "clientData", NULL
16633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16636 arg2
= (int) SWIG_AsInt(obj1
);
16637 if (PyErr_Occurred()) SWIG_fail
;
16640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16641 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16643 wxPyEndAllowThreads(__tstate
);
16644 if (PyErr_Occurred()) SWIG_fail
;
16646 Py_INCREF(Py_None
); resultobj
= Py_None
;
16653 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16654 PyObject
*resultobj
;
16655 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16658 PyObject
* obj0
= 0 ;
16659 PyObject
* obj1
= 0 ;
16660 char *kwnames
[] = {
16661 (char *) "self",(char *) "id", NULL
16664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16667 arg2
= (int) SWIG_AsInt(obj1
);
16668 if (PyErr_Occurred()) SWIG_fail
;
16670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16671 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16673 wxPyEndAllowThreads(__tstate
);
16674 if (PyErr_Occurred()) SWIG_fail
;
16676 resultobj
= SWIG_FromInt((int)result
);
16683 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16684 PyObject
*resultobj
;
16685 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16688 PyObject
* obj0
= 0 ;
16689 PyObject
* obj1
= 0 ;
16690 char *kwnames
[] = {
16691 (char *) "self",(char *) "id", NULL
16694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16697 arg2
= (int) SWIG_AsInt(obj1
);
16698 if (PyErr_Occurred()) SWIG_fail
;
16700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16701 result
= (bool)(arg1
)->GetToolState(arg2
);
16703 wxPyEndAllowThreads(__tstate
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16715 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16716 PyObject
*resultobj
;
16717 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16720 PyObject
* obj0
= 0 ;
16721 PyObject
* obj1
= 0 ;
16722 char *kwnames
[] = {
16723 (char *) "self",(char *) "id", NULL
16726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16729 arg2
= (int) SWIG_AsInt(obj1
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16733 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16735 wxPyEndAllowThreads(__tstate
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16747 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
;
16749 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16751 wxString
*arg3
= 0 ;
16752 bool temp3
= False
;
16753 PyObject
* obj0
= 0 ;
16754 PyObject
* obj1
= 0 ;
16755 PyObject
* obj2
= 0 ;
16756 char *kwnames
[] = {
16757 (char *) "self",(char *) "id",(char *) "helpString", NULL
16760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16763 arg2
= (int) SWIG_AsInt(obj1
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16766 arg3
= wxString_in_helper(obj2
);
16767 if (arg3
== NULL
) SWIG_fail
;
16771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16772 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16774 wxPyEndAllowThreads(__tstate
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16777 Py_INCREF(Py_None
); resultobj
= Py_None
;
16792 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16793 PyObject
*resultobj
;
16794 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16797 PyObject
* obj0
= 0 ;
16798 PyObject
* obj1
= 0 ;
16799 char *kwnames
[] = {
16800 (char *) "self",(char *) "id", NULL
16803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16806 arg2
= (int) SWIG_AsInt(obj1
);
16807 if (PyErr_Occurred()) SWIG_fail
;
16809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16810 result
= (arg1
)->GetToolShortHelp(arg2
);
16812 wxPyEndAllowThreads(__tstate
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16828 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16829 PyObject
*resultobj
;
16830 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16832 wxString
*arg3
= 0 ;
16833 bool temp3
= False
;
16834 PyObject
* obj0
= 0 ;
16835 PyObject
* obj1
= 0 ;
16836 PyObject
* obj2
= 0 ;
16837 char *kwnames
[] = {
16838 (char *) "self",(char *) "id",(char *) "helpString", NULL
16841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16844 arg2
= (int) SWIG_AsInt(obj1
);
16845 if (PyErr_Occurred()) SWIG_fail
;
16847 arg3
= wxString_in_helper(obj2
);
16848 if (arg3
== NULL
) SWIG_fail
;
16852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16853 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16855 wxPyEndAllowThreads(__tstate
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16858 Py_INCREF(Py_None
); resultobj
= Py_None
;
16873 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
;
16875 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16878 PyObject
* obj0
= 0 ;
16879 PyObject
* obj1
= 0 ;
16880 char *kwnames
[] = {
16881 (char *) "self",(char *) "id", NULL
16884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16887 arg2
= (int) SWIG_AsInt(obj1
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16891 result
= (arg1
)->GetToolLongHelp(arg2
);
16893 wxPyEndAllowThreads(__tstate
);
16894 if (PyErr_Occurred()) SWIG_fail
;
16898 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16900 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16909 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16910 PyObject
*resultobj
;
16911 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16914 PyObject
* obj0
= 0 ;
16915 PyObject
* obj1
= 0 ;
16916 PyObject
* obj2
= 0 ;
16917 char *kwnames
[] = {
16918 (char *) "self",(char *) "x",(char *) "y", NULL
16921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16924 arg2
= (int) SWIG_AsInt(obj1
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16926 arg3
= (int) SWIG_AsInt(obj2
);
16927 if (PyErr_Occurred()) SWIG_fail
;
16929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16930 (arg1
)->SetMargins(arg2
,arg3
);
16932 wxPyEndAllowThreads(__tstate
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16935 Py_INCREF(Py_None
); resultobj
= Py_None
;
16942 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16943 PyObject
*resultobj
;
16944 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16947 PyObject
* obj0
= 0 ;
16948 PyObject
* obj1
= 0 ;
16949 char *kwnames
[] = {
16950 (char *) "self",(char *) "size", NULL
16953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16958 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16962 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16964 wxPyEndAllowThreads(__tstate
);
16965 if (PyErr_Occurred()) SWIG_fail
;
16967 Py_INCREF(Py_None
); resultobj
= Py_None
;
16974 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16975 PyObject
*resultobj
;
16976 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16978 PyObject
* obj0
= 0 ;
16979 PyObject
* obj1
= 0 ;
16980 char *kwnames
[] = {
16981 (char *) "self",(char *) "packing", NULL
16984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16987 arg2
= (int) SWIG_AsInt(obj1
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16991 (arg1
)->SetToolPacking(arg2
);
16993 wxPyEndAllowThreads(__tstate
);
16994 if (PyErr_Occurred()) SWIG_fail
;
16996 Py_INCREF(Py_None
); resultobj
= Py_None
;
17003 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17004 PyObject
*resultobj
;
17005 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17007 PyObject
* obj0
= 0 ;
17008 PyObject
* obj1
= 0 ;
17009 char *kwnames
[] = {
17010 (char *) "self",(char *) "separation", NULL
17013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17016 arg2
= (int) SWIG_AsInt(obj1
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17020 (arg1
)->SetToolSeparation(arg2
);
17022 wxPyEndAllowThreads(__tstate
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17025 Py_INCREF(Py_None
); resultobj
= Py_None
;
17032 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
;
17034 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17036 PyObject
* obj0
= 0 ;
17037 char *kwnames
[] = {
17038 (char *) "self", NULL
17041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17046 result
= (arg1
)->GetToolMargins();
17048 wxPyEndAllowThreads(__tstate
);
17049 if (PyErr_Occurred()) SWIG_fail
;
17052 wxSize
* resultptr
;
17053 resultptr
= new wxSize((wxSize
&) result
);
17054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17062 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17063 PyObject
*resultobj
;
17064 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17066 PyObject
* obj0
= 0 ;
17067 char *kwnames
[] = {
17068 (char *) "self", NULL
17071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17076 result
= (arg1
)->GetMargins();
17078 wxPyEndAllowThreads(__tstate
);
17079 if (PyErr_Occurred()) SWIG_fail
;
17082 wxSize
* resultptr
;
17083 resultptr
= new wxSize((wxSize
&) result
);
17084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17092 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17093 PyObject
*resultobj
;
17094 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17096 PyObject
* obj0
= 0 ;
17097 char *kwnames
[] = {
17098 (char *) "self", NULL
17101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17106 result
= (int)(arg1
)->GetToolPacking();
17108 wxPyEndAllowThreads(__tstate
);
17109 if (PyErr_Occurred()) SWIG_fail
;
17111 resultobj
= SWIG_FromInt((int)result
);
17118 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17119 PyObject
*resultobj
;
17120 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17122 PyObject
* obj0
= 0 ;
17123 char *kwnames
[] = {
17124 (char *) "self", NULL
17127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
17128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17132 result
= (int)(arg1
)->GetToolSeparation();
17134 wxPyEndAllowThreads(__tstate
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17137 resultobj
= SWIG_FromInt((int)result
);
17144 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17145 PyObject
*resultobj
;
17146 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17148 PyObject
* obj0
= 0 ;
17149 PyObject
* obj1
= 0 ;
17150 char *kwnames
[] = {
17151 (char *) "self",(char *) "nRows", NULL
17154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
17155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17157 arg2
= (int) SWIG_AsInt(obj1
);
17158 if (PyErr_Occurred()) SWIG_fail
;
17160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17161 (arg1
)->SetRows(arg2
);
17163 wxPyEndAllowThreads(__tstate
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17166 Py_INCREF(Py_None
); resultobj
= Py_None
;
17173 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17174 PyObject
*resultobj
;
17175 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17178 PyObject
* obj0
= 0 ;
17179 PyObject
* obj1
= 0 ;
17180 PyObject
* obj2
= 0 ;
17181 char *kwnames
[] = {
17182 (char *) "self",(char *) "rows",(char *) "cols", NULL
17185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17188 arg2
= (int) SWIG_AsInt(obj1
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17190 arg3
= (int) SWIG_AsInt(obj2
);
17191 if (PyErr_Occurred()) SWIG_fail
;
17193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17194 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17196 wxPyEndAllowThreads(__tstate
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17199 Py_INCREF(Py_None
); resultobj
= Py_None
;
17206 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17207 PyObject
*resultobj
;
17208 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17210 PyObject
* obj0
= 0 ;
17211 char *kwnames
[] = {
17212 (char *) "self", NULL
17215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17220 result
= (int)(arg1
)->GetMaxRows();
17222 wxPyEndAllowThreads(__tstate
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17225 resultobj
= SWIG_FromInt((int)result
);
17232 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17233 PyObject
*resultobj
;
17234 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17236 PyObject
* obj0
= 0 ;
17237 char *kwnames
[] = {
17238 (char *) "self", NULL
17241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17246 result
= (int)(arg1
)->GetMaxCols();
17248 wxPyEndAllowThreads(__tstate
);
17249 if (PyErr_Occurred()) SWIG_fail
;
17251 resultobj
= SWIG_FromInt((int)result
);
17258 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17259 PyObject
*resultobj
;
17260 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17263 PyObject
* obj0
= 0 ;
17264 PyObject
* obj1
= 0 ;
17265 char *kwnames
[] = {
17266 (char *) "self",(char *) "size", NULL
17269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17274 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17278 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17280 wxPyEndAllowThreads(__tstate
);
17281 if (PyErr_Occurred()) SWIG_fail
;
17283 Py_INCREF(Py_None
); resultobj
= Py_None
;
17290 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17291 PyObject
*resultobj
;
17292 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17294 PyObject
* obj0
= 0 ;
17295 char *kwnames
[] = {
17296 (char *) "self", NULL
17299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17304 result
= (arg1
)->GetToolBitmapSize();
17306 wxPyEndAllowThreads(__tstate
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17310 wxSize
* resultptr
;
17311 resultptr
= new wxSize((wxSize
&) result
);
17312 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17320 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17321 PyObject
*resultobj
;
17322 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17324 PyObject
* obj0
= 0 ;
17325 char *kwnames
[] = {
17326 (char *) "self", NULL
17329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17334 result
= (arg1
)->GetToolSize();
17336 wxPyEndAllowThreads(__tstate
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17340 wxSize
* resultptr
;
17341 resultptr
= new wxSize((wxSize
&) result
);
17342 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17350 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17351 PyObject
*resultobj
;
17352 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17355 wxToolBarToolBase
*result
;
17356 PyObject
* obj0
= 0 ;
17357 PyObject
* obj1
= 0 ;
17358 PyObject
* obj2
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self",(char *) "x",(char *) "y", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17366 arg2
= (int) SWIG_AsInt(obj1
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17368 arg3
= (int) SWIG_AsInt(obj2
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17372 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17374 wxPyEndAllowThreads(__tstate
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17378 resultobj
= wxPyMake_wxObject(result
);
17386 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17387 PyObject
*resultobj
;
17388 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17390 wxToolBarToolBase
*result
;
17391 PyObject
* obj0
= 0 ;
17392 PyObject
* obj1
= 0 ;
17393 char *kwnames
[] = {
17394 (char *) "self",(char *) "toolid", NULL
17397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17400 arg2
= (int) SWIG_AsInt(obj1
);
17401 if (PyErr_Occurred()) SWIG_fail
;
17403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17404 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17406 wxPyEndAllowThreads(__tstate
);
17407 if (PyErr_Occurred()) SWIG_fail
;
17410 resultobj
= wxPyMake_wxObject(result
);
17418 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17419 PyObject
*resultobj
;
17420 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17422 PyObject
* obj0
= 0 ;
17423 char *kwnames
[] = {
17424 (char *) "self", NULL
17427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17432 result
= (bool)(arg1
)->IsVertical();
17434 wxPyEndAllowThreads(__tstate
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17446 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
17448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17449 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17451 return Py_BuildValue((char *)"");
17453 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17454 PyObject
*resultobj
;
17455 wxWindow
*arg1
= (wxWindow
*) 0 ;
17457 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17458 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17459 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17460 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17461 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17462 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17463 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17467 bool temp6
= False
;
17468 PyObject
* obj0
= 0 ;
17469 PyObject
* obj1
= 0 ;
17470 PyObject
* obj2
= 0 ;
17471 PyObject
* obj3
= 0 ;
17472 PyObject
* obj4
= 0 ;
17473 PyObject
* obj5
= 0 ;
17474 char *kwnames
[] = {
17475 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17481 arg2
= (int) SWIG_AsInt(obj1
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17486 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17492 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17496 arg5
= (long) SWIG_AsLong(obj4
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17501 arg6
= wxString_in_helper(obj5
);
17502 if (arg6
== NULL
) SWIG_fail
;
17507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17508 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17510 wxPyEndAllowThreads(__tstate
);
17511 if (PyErr_Occurred()) SWIG_fail
;
17514 resultobj
= wxPyMake_wxObject(result
);
17530 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17531 PyObject
*resultobj
;
17533 char *kwnames
[] = {
17537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 result
= (wxToolBar
*)new wxToolBar();
17542 wxPyEndAllowThreads(__tstate
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17546 resultobj
= wxPyMake_wxObject(result
);
17554 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17555 PyObject
*resultobj
;
17556 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17557 wxWindow
*arg2
= (wxWindow
*) 0 ;
17559 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17560 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17561 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17562 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17563 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17564 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17565 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17569 bool temp7
= False
;
17570 PyObject
* obj0
= 0 ;
17571 PyObject
* obj1
= 0 ;
17572 PyObject
* obj2
= 0 ;
17573 PyObject
* obj3
= 0 ;
17574 PyObject
* obj4
= 0 ;
17575 PyObject
* obj5
= 0 ;
17576 PyObject
* obj6
= 0 ;
17577 char *kwnames
[] = {
17578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17584 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17586 arg3
= (int) SWIG_AsInt(obj2
);
17587 if (PyErr_Occurred()) SWIG_fail
;
17591 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17597 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17601 arg6
= (long) SWIG_AsLong(obj5
);
17602 if (PyErr_Occurred()) SWIG_fail
;
17606 arg7
= wxString_in_helper(obj6
);
17607 if (arg7
== NULL
) SWIG_fail
;
17612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17613 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17615 wxPyEndAllowThreads(__tstate
);
17616 if (PyErr_Occurred()) SWIG_fail
;
17619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17635 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17636 PyObject
*resultobj
;
17637 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17640 wxToolBarToolBase
*result
;
17641 PyObject
* obj0
= 0 ;
17642 PyObject
* obj1
= 0 ;
17643 PyObject
* obj2
= 0 ;
17644 char *kwnames
[] = {
17645 (char *) "self",(char *) "x",(char *) "y", NULL
17648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17651 arg2
= (int) SWIG_AsInt(obj1
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17653 arg3
= (int) SWIG_AsInt(obj2
);
17654 if (PyErr_Occurred()) SWIG_fail
;
17656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17657 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17659 wxPyEndAllowThreads(__tstate
);
17660 if (PyErr_Occurred()) SWIG_fail
;
17663 resultobj
= wxPyMake_wxObject(result
);
17671 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17674 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17676 return Py_BuildValue((char *)"");
17678 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
17679 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17684 static PyObject
*_wrap_ListCtrlNameStr_get() {
17689 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17691 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17698 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17699 PyObject
*resultobj
;
17700 wxColour
const &arg1_defvalue
= wxNullColour
;
17701 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17702 wxColour
const &arg2_defvalue
= wxNullColour
;
17703 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17704 wxFont
const &arg3_defvalue
= wxNullFont
;
17705 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17706 wxListItemAttr
*result
;
17709 PyObject
* obj0
= 0 ;
17710 PyObject
* obj1
= 0 ;
17711 PyObject
* obj2
= 0 ;
17712 char *kwnames
[] = {
17713 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17720 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17726 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17730 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
17731 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17733 if (arg3
== NULL
) {
17734 PyErr_SetString(PyExc_TypeError
,"null reference");
17739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17740 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17742 wxPyEndAllowThreads(__tstate
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
17752 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17753 PyObject
*resultobj
;
17754 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17755 wxColour
*arg2
= 0 ;
17757 PyObject
* obj0
= 0 ;
17758 PyObject
* obj1
= 0 ;
17759 char *kwnames
[] = {
17760 (char *) "self",(char *) "colText", NULL
17763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17768 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17772 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17777 Py_INCREF(Py_None
); resultobj
= Py_None
;
17784 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17785 PyObject
*resultobj
;
17786 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17787 wxColour
*arg2
= 0 ;
17789 PyObject
* obj0
= 0 ;
17790 PyObject
* obj1
= 0 ;
17791 char *kwnames
[] = {
17792 (char *) "self",(char *) "colBack", NULL
17795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17800 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17804 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17806 wxPyEndAllowThreads(__tstate
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17809 Py_INCREF(Py_None
); resultobj
= Py_None
;
17816 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17817 PyObject
*resultobj
;
17818 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17820 PyObject
* obj0
= 0 ;
17821 PyObject
* obj1
= 0 ;
17822 char *kwnames
[] = {
17823 (char *) "self",(char *) "font", NULL
17826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17829 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17830 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17832 if (arg2
== NULL
) {
17833 PyErr_SetString(PyExc_TypeError
,"null reference");
17837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17838 (arg1
)->SetFont((wxFont
const &)*arg2
);
17840 wxPyEndAllowThreads(__tstate
);
17841 if (PyErr_Occurred()) SWIG_fail
;
17843 Py_INCREF(Py_None
); resultobj
= Py_None
;
17850 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
;
17852 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17854 PyObject
* obj0
= 0 ;
17855 char *kwnames
[] = {
17856 (char *) "self", NULL
17859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 result
= (bool)(arg1
)->HasTextColour();
17866 wxPyEndAllowThreads(__tstate
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17878 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17879 PyObject
*resultobj
;
17880 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17882 PyObject
* obj0
= 0 ;
17883 char *kwnames
[] = {
17884 (char *) "self", NULL
17887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17892 result
= (bool)(arg1
)->HasBackgroundColour();
17894 wxPyEndAllowThreads(__tstate
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17906 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17907 PyObject
*resultobj
;
17908 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17910 PyObject
* obj0
= 0 ;
17911 char *kwnames
[] = {
17912 (char *) "self", NULL
17915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17920 result
= (bool)(arg1
)->HasFont();
17922 wxPyEndAllowThreads(__tstate
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17934 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17935 PyObject
*resultobj
;
17936 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17938 PyObject
* obj0
= 0 ;
17939 char *kwnames
[] = {
17940 (char *) "self", NULL
17943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17948 result
= (arg1
)->GetTextColour();
17950 wxPyEndAllowThreads(__tstate
);
17951 if (PyErr_Occurred()) SWIG_fail
;
17954 wxColour
* resultptr
;
17955 resultptr
= new wxColour((wxColour
&) result
);
17956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17964 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17965 PyObject
*resultobj
;
17966 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17968 PyObject
* obj0
= 0 ;
17969 char *kwnames
[] = {
17970 (char *) "self", NULL
17973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17978 result
= (arg1
)->GetBackgroundColour();
17980 wxPyEndAllowThreads(__tstate
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17984 wxColour
* resultptr
;
17985 resultptr
= new wxColour((wxColour
&) result
);
17986 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17994 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17995 PyObject
*resultobj
;
17996 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17998 PyObject
* obj0
= 0 ;
17999 char *kwnames
[] = {
18000 (char *) "self", NULL
18003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18008 result
= (arg1
)->GetFont();
18010 wxPyEndAllowThreads(__tstate
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18014 wxFont
* resultptr
;
18015 resultptr
= new wxFont((wxFont
&) result
);
18016 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18024 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18025 PyObject
*resultobj
;
18026 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18027 PyObject
* obj0
= 0 ;
18028 char *kwnames
[] = {
18029 (char *) "self", NULL
18032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18037 wxListItemAttr_Destroy(arg1
);
18039 wxPyEndAllowThreads(__tstate
);
18040 if (PyErr_Occurred()) SWIG_fail
;
18042 Py_INCREF(Py_None
); resultobj
= Py_None
;
18049 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
18051 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18052 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
18054 return Py_BuildValue((char *)"");
18056 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18057 PyObject
*resultobj
;
18058 wxListItem
*result
;
18059 char *kwnames
[] = {
18063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 result
= (wxListItem
*)new wxListItem();
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18072 resultobj
= wxPyMake_wxObject(result
);
18080 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18081 PyObject
*resultobj
;
18082 wxListItem
*arg1
= (wxListItem
*) 0 ;
18083 PyObject
* obj0
= 0 ;
18084 char *kwnames
[] = {
18085 (char *) "self", NULL
18088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
18089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18095 wxPyEndAllowThreads(__tstate
);
18096 if (PyErr_Occurred()) SWIG_fail
;
18098 Py_INCREF(Py_None
); resultobj
= Py_None
;
18105 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18106 PyObject
*resultobj
;
18107 wxListItem
*arg1
= (wxListItem
*) 0 ;
18108 PyObject
* obj0
= 0 ;
18109 char *kwnames
[] = {
18110 (char *) "self", NULL
18113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
18114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18120 wxPyEndAllowThreads(__tstate
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18123 Py_INCREF(Py_None
); resultobj
= Py_None
;
18130 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18131 PyObject
*resultobj
;
18132 wxListItem
*arg1
= (wxListItem
*) 0 ;
18133 PyObject
* obj0
= 0 ;
18134 char *kwnames
[] = {
18135 (char *) "self", NULL
18138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
18139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18143 (arg1
)->ClearAttributes();
18145 wxPyEndAllowThreads(__tstate
);
18146 if (PyErr_Occurred()) SWIG_fail
;
18148 Py_INCREF(Py_None
); resultobj
= Py_None
;
18155 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18156 PyObject
*resultobj
;
18157 wxListItem
*arg1
= (wxListItem
*) 0 ;
18159 PyObject
* obj0
= 0 ;
18160 PyObject
* obj1
= 0 ;
18161 char *kwnames
[] = {
18162 (char *) "self",(char *) "mask", NULL
18165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18168 arg2
= (long) SWIG_AsLong(obj1
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18172 (arg1
)->SetMask(arg2
);
18174 wxPyEndAllowThreads(__tstate
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18177 Py_INCREF(Py_None
); resultobj
= Py_None
;
18184 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18185 PyObject
*resultobj
;
18186 wxListItem
*arg1
= (wxListItem
*) 0 ;
18188 PyObject
* obj0
= 0 ;
18189 PyObject
* obj1
= 0 ;
18190 char *kwnames
[] = {
18191 (char *) "self",(char *) "id", NULL
18194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
18195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18197 arg2
= (long) SWIG_AsLong(obj1
);
18198 if (PyErr_Occurred()) SWIG_fail
;
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 (arg1
)->SetId(arg2
);
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18206 Py_INCREF(Py_None
); resultobj
= Py_None
;
18213 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18214 PyObject
*resultobj
;
18215 wxListItem
*arg1
= (wxListItem
*) 0 ;
18217 PyObject
* obj0
= 0 ;
18218 PyObject
* obj1
= 0 ;
18219 char *kwnames
[] = {
18220 (char *) "self",(char *) "col", NULL
18223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
18224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18226 arg2
= (int) SWIG_AsInt(obj1
);
18227 if (PyErr_Occurred()) SWIG_fail
;
18229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18230 (arg1
)->SetColumn(arg2
);
18232 wxPyEndAllowThreads(__tstate
);
18233 if (PyErr_Occurred()) SWIG_fail
;
18235 Py_INCREF(Py_None
); resultobj
= Py_None
;
18242 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18243 PyObject
*resultobj
;
18244 wxListItem
*arg1
= (wxListItem
*) 0 ;
18246 PyObject
* obj0
= 0 ;
18247 PyObject
* obj1
= 0 ;
18248 char *kwnames
[] = {
18249 (char *) "self",(char *) "state", NULL
18252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18255 arg2
= (long) SWIG_AsLong(obj1
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18259 (arg1
)->SetState(arg2
);
18261 wxPyEndAllowThreads(__tstate
);
18262 if (PyErr_Occurred()) SWIG_fail
;
18264 Py_INCREF(Py_None
); resultobj
= Py_None
;
18271 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18272 PyObject
*resultobj
;
18273 wxListItem
*arg1
= (wxListItem
*) 0 ;
18275 PyObject
* obj0
= 0 ;
18276 PyObject
* obj1
= 0 ;
18277 char *kwnames
[] = {
18278 (char *) "self",(char *) "stateMask", NULL
18281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18284 arg2
= (long) SWIG_AsLong(obj1
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18288 (arg1
)->SetStateMask(arg2
);
18290 wxPyEndAllowThreads(__tstate
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18293 Py_INCREF(Py_None
); resultobj
= Py_None
;
18300 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18301 PyObject
*resultobj
;
18302 wxListItem
*arg1
= (wxListItem
*) 0 ;
18303 wxString
*arg2
= 0 ;
18304 bool temp2
= False
;
18305 PyObject
* obj0
= 0 ;
18306 PyObject
* obj1
= 0 ;
18307 char *kwnames
[] = {
18308 (char *) "self",(char *) "text", NULL
18311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18315 arg2
= wxString_in_helper(obj1
);
18316 if (arg2
== NULL
) SWIG_fail
;
18320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18321 (arg1
)->SetText((wxString
const &)*arg2
);
18323 wxPyEndAllowThreads(__tstate
);
18324 if (PyErr_Occurred()) SWIG_fail
;
18326 Py_INCREF(Py_None
); resultobj
= Py_None
;
18341 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18342 PyObject
*resultobj
;
18343 wxListItem
*arg1
= (wxListItem
*) 0 ;
18345 PyObject
* obj0
= 0 ;
18346 PyObject
* obj1
= 0 ;
18347 char *kwnames
[] = {
18348 (char *) "self",(char *) "image", NULL
18351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18354 arg2
= (int) SWIG_AsInt(obj1
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18358 (arg1
)->SetImage(arg2
);
18360 wxPyEndAllowThreads(__tstate
);
18361 if (PyErr_Occurred()) SWIG_fail
;
18363 Py_INCREF(Py_None
); resultobj
= Py_None
;
18370 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18371 PyObject
*resultobj
;
18372 wxListItem
*arg1
= (wxListItem
*) 0 ;
18374 PyObject
* obj0
= 0 ;
18375 PyObject
* obj1
= 0 ;
18376 char *kwnames
[] = {
18377 (char *) "self",(char *) "data", NULL
18380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18383 arg2
= (long) SWIG_AsLong(obj1
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18387 (arg1
)->SetData(arg2
);
18389 wxPyEndAllowThreads(__tstate
);
18390 if (PyErr_Occurred()) SWIG_fail
;
18392 Py_INCREF(Py_None
); resultobj
= Py_None
;
18399 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18400 PyObject
*resultobj
;
18401 wxListItem
*arg1
= (wxListItem
*) 0 ;
18403 PyObject
* obj0
= 0 ;
18404 PyObject
* obj1
= 0 ;
18405 char *kwnames
[] = {
18406 (char *) "self",(char *) "width", NULL
18409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18412 arg2
= (int) SWIG_AsInt(obj1
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18416 (arg1
)->SetWidth(arg2
);
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18421 Py_INCREF(Py_None
); resultobj
= Py_None
;
18428 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18429 PyObject
*resultobj
;
18430 wxListItem
*arg1
= (wxListItem
*) 0 ;
18432 PyObject
* obj0
= 0 ;
18433 PyObject
* obj1
= 0 ;
18434 char *kwnames
[] = {
18435 (char *) "self",(char *) "align", NULL
18438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18441 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18445 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18447 wxPyEndAllowThreads(__tstate
);
18448 if (PyErr_Occurred()) SWIG_fail
;
18450 Py_INCREF(Py_None
); resultobj
= Py_None
;
18457 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18458 PyObject
*resultobj
;
18459 wxListItem
*arg1
= (wxListItem
*) 0 ;
18460 wxColour
*arg2
= 0 ;
18462 PyObject
* obj0
= 0 ;
18463 PyObject
* obj1
= 0 ;
18464 char *kwnames
[] = {
18465 (char *) "self",(char *) "colText", NULL
18468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18473 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18477 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18482 Py_INCREF(Py_None
); resultobj
= Py_None
;
18489 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18490 PyObject
*resultobj
;
18491 wxListItem
*arg1
= (wxListItem
*) 0 ;
18492 wxColour
*arg2
= 0 ;
18494 PyObject
* obj0
= 0 ;
18495 PyObject
* obj1
= 0 ;
18496 char *kwnames
[] = {
18497 (char *) "self",(char *) "colBack", NULL
18500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18505 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18509 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18511 wxPyEndAllowThreads(__tstate
);
18512 if (PyErr_Occurred()) SWIG_fail
;
18514 Py_INCREF(Py_None
); resultobj
= Py_None
;
18521 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18522 PyObject
*resultobj
;
18523 wxListItem
*arg1
= (wxListItem
*) 0 ;
18525 PyObject
* obj0
= 0 ;
18526 PyObject
* obj1
= 0 ;
18527 char *kwnames
[] = {
18528 (char *) "self",(char *) "font", NULL
18531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18535 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18537 if (arg2
== NULL
) {
18538 PyErr_SetString(PyExc_TypeError
,"null reference");
18542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18543 (arg1
)->SetFont((wxFont
const &)*arg2
);
18545 wxPyEndAllowThreads(__tstate
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18548 Py_INCREF(Py_None
); resultobj
= Py_None
;
18555 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18556 PyObject
*resultobj
;
18557 wxListItem
*arg1
= (wxListItem
*) 0 ;
18559 PyObject
* obj0
= 0 ;
18560 char *kwnames
[] = {
18561 (char *) "self", NULL
18564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18569 result
= (long)(arg1
)->GetMask();
18571 wxPyEndAllowThreads(__tstate
);
18572 if (PyErr_Occurred()) SWIG_fail
;
18574 resultobj
= SWIG_FromLong((long)result
);
18581 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18582 PyObject
*resultobj
;
18583 wxListItem
*arg1
= (wxListItem
*) 0 ;
18585 PyObject
* obj0
= 0 ;
18586 char *kwnames
[] = {
18587 (char *) "self", NULL
18590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18595 result
= (long)(arg1
)->GetId();
18597 wxPyEndAllowThreads(__tstate
);
18598 if (PyErr_Occurred()) SWIG_fail
;
18600 resultobj
= SWIG_FromLong((long)result
);
18607 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18608 PyObject
*resultobj
;
18609 wxListItem
*arg1
= (wxListItem
*) 0 ;
18611 PyObject
* obj0
= 0 ;
18612 char *kwnames
[] = {
18613 (char *) "self", NULL
18616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18621 result
= (int)(arg1
)->GetColumn();
18623 wxPyEndAllowThreads(__tstate
);
18624 if (PyErr_Occurred()) SWIG_fail
;
18626 resultobj
= SWIG_FromInt((int)result
);
18633 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18634 PyObject
*resultobj
;
18635 wxListItem
*arg1
= (wxListItem
*) 0 ;
18637 PyObject
* obj0
= 0 ;
18638 char *kwnames
[] = {
18639 (char *) "self", NULL
18642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18647 result
= (long)(arg1
)->GetState();
18649 wxPyEndAllowThreads(__tstate
);
18650 if (PyErr_Occurred()) SWIG_fail
;
18652 resultobj
= SWIG_FromLong((long)result
);
18659 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18660 PyObject
*resultobj
;
18661 wxListItem
*arg1
= (wxListItem
*) 0 ;
18663 PyObject
* obj0
= 0 ;
18664 char *kwnames
[] = {
18665 (char *) "self", NULL
18668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18674 wxString
const &_result_ref
= (arg1
)->GetText();
18675 result
= (wxString
*) &_result_ref
;
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18683 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18685 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18694 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18695 PyObject
*resultobj
;
18696 wxListItem
*arg1
= (wxListItem
*) 0 ;
18698 PyObject
* obj0
= 0 ;
18699 char *kwnames
[] = {
18700 (char *) "self", NULL
18703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18708 result
= (int)(arg1
)->GetImage();
18710 wxPyEndAllowThreads(__tstate
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18713 resultobj
= SWIG_FromInt((int)result
);
18720 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18721 PyObject
*resultobj
;
18722 wxListItem
*arg1
= (wxListItem
*) 0 ;
18724 PyObject
* obj0
= 0 ;
18725 char *kwnames
[] = {
18726 (char *) "self", NULL
18729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18734 result
= (long)(arg1
)->GetData();
18736 wxPyEndAllowThreads(__tstate
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18739 resultobj
= SWIG_FromLong((long)result
);
18746 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18747 PyObject
*resultobj
;
18748 wxListItem
*arg1
= (wxListItem
*) 0 ;
18750 PyObject
* obj0
= 0 ;
18751 char *kwnames
[] = {
18752 (char *) "self", NULL
18755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18760 result
= (int)(arg1
)->GetWidth();
18762 wxPyEndAllowThreads(__tstate
);
18763 if (PyErr_Occurred()) SWIG_fail
;
18765 resultobj
= SWIG_FromInt((int)result
);
18772 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18773 PyObject
*resultobj
;
18774 wxListItem
*arg1
= (wxListItem
*) 0 ;
18776 PyObject
* obj0
= 0 ;
18777 char *kwnames
[] = {
18778 (char *) "self", NULL
18781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18786 result
= (int)(arg1
)->GetAlign();
18788 wxPyEndAllowThreads(__tstate
);
18789 if (PyErr_Occurred()) SWIG_fail
;
18791 resultobj
= SWIG_FromInt((int)result
);
18798 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18799 PyObject
*resultobj
;
18800 wxListItem
*arg1
= (wxListItem
*) 0 ;
18801 wxListItemAttr
*result
;
18802 PyObject
* obj0
= 0 ;
18803 char *kwnames
[] = {
18804 (char *) "self", NULL
18807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18812 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18814 wxPyEndAllowThreads(__tstate
);
18815 if (PyErr_Occurred()) SWIG_fail
;
18817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
18824 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18825 PyObject
*resultobj
;
18826 wxListItem
*arg1
= (wxListItem
*) 0 ;
18828 PyObject
* obj0
= 0 ;
18829 char *kwnames
[] = {
18830 (char *) "self", NULL
18833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18838 result
= (bool)(arg1
)->HasAttributes();
18840 wxPyEndAllowThreads(__tstate
);
18841 if (PyErr_Occurred()) SWIG_fail
;
18844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18852 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18853 PyObject
*resultobj
;
18854 wxListItem
*arg1
= (wxListItem
*) 0 ;
18856 PyObject
* obj0
= 0 ;
18857 char *kwnames
[] = {
18858 (char *) "self", NULL
18861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18866 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18868 wxPyEndAllowThreads(__tstate
);
18869 if (PyErr_Occurred()) SWIG_fail
;
18872 wxColour
* resultptr
;
18873 resultptr
= new wxColour((wxColour
&) result
);
18874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18882 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18883 PyObject
*resultobj
;
18884 wxListItem
*arg1
= (wxListItem
*) 0 ;
18886 PyObject
* obj0
= 0 ;
18887 char *kwnames
[] = {
18888 (char *) "self", NULL
18891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18896 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18898 wxPyEndAllowThreads(__tstate
);
18899 if (PyErr_Occurred()) SWIG_fail
;
18902 wxColour
* resultptr
;
18903 resultptr
= new wxColour((wxColour
&) result
);
18904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18912 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18913 PyObject
*resultobj
;
18914 wxListItem
*arg1
= (wxListItem
*) 0 ;
18916 PyObject
* obj0
= 0 ;
18917 char *kwnames
[] = {
18918 (char *) "self", NULL
18921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18926 result
= ((wxListItem
const *)arg1
)->GetFont();
18928 wxPyEndAllowThreads(__tstate
);
18929 if (PyErr_Occurred()) SWIG_fail
;
18932 wxFont
* resultptr
;
18933 resultptr
= new wxFont((wxFont
&) result
);
18934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18942 static PyObject
*_wrap_ListItem_m_mask_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_mask", NULL
18952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_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_mask
= arg2
;
18959 Py_INCREF(Py_None
); resultobj
= Py_None
;
18966 static PyObject
*_wrap_ListItem_m_mask_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_mask_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_mask
);
18980 resultobj
= SWIG_FromLong((long)result
);
18987 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18988 PyObject
*resultobj
;
18989 wxListItem
*arg1
= (wxListItem
*) 0 ;
18991 PyObject
* obj0
= 0 ;
18992 PyObject
* obj1
= 0 ;
18993 char *kwnames
[] = {
18994 (char *) "self",(char *) "m_itemId", NULL
18997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19000 arg2
= (long) SWIG_AsLong(obj1
);
19001 if (PyErr_Occurred()) SWIG_fail
;
19002 if (arg1
) (arg1
)->m_itemId
= arg2
;
19004 Py_INCREF(Py_None
); resultobj
= Py_None
;
19011 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19012 PyObject
*resultobj
;
19013 wxListItem
*arg1
= (wxListItem
*) 0 ;
19015 PyObject
* obj0
= 0 ;
19016 char *kwnames
[] = {
19017 (char *) "self", NULL
19020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19023 result
= (long) ((arg1
)->m_itemId
);
19025 resultobj
= SWIG_FromLong((long)result
);
19032 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19033 PyObject
*resultobj
;
19034 wxListItem
*arg1
= (wxListItem
*) 0 ;
19036 PyObject
* obj0
= 0 ;
19037 PyObject
* obj1
= 0 ;
19038 char *kwnames
[] = {
19039 (char *) "self",(char *) "m_col", NULL
19042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19045 arg2
= (int) SWIG_AsInt(obj1
);
19046 if (PyErr_Occurred()) SWIG_fail
;
19047 if (arg1
) (arg1
)->m_col
= arg2
;
19049 Py_INCREF(Py_None
); resultobj
= Py_None
;
19056 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19057 PyObject
*resultobj
;
19058 wxListItem
*arg1
= (wxListItem
*) 0 ;
19060 PyObject
* obj0
= 0 ;
19061 char *kwnames
[] = {
19062 (char *) "self", NULL
19065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
19066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19068 result
= (int) ((arg1
)->m_col
);
19070 resultobj
= SWIG_FromInt((int)result
);
19077 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19078 PyObject
*resultobj
;
19079 wxListItem
*arg1
= (wxListItem
*) 0 ;
19081 PyObject
* obj0
= 0 ;
19082 PyObject
* obj1
= 0 ;
19083 char *kwnames
[] = {
19084 (char *) "self",(char *) "m_state", NULL
19087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19090 arg2
= (long) SWIG_AsLong(obj1
);
19091 if (PyErr_Occurred()) SWIG_fail
;
19092 if (arg1
) (arg1
)->m_state
= arg2
;
19094 Py_INCREF(Py_None
); resultobj
= Py_None
;
19101 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19102 PyObject
*resultobj
;
19103 wxListItem
*arg1
= (wxListItem
*) 0 ;
19105 PyObject
* obj0
= 0 ;
19106 char *kwnames
[] = {
19107 (char *) "self", NULL
19110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
19111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19113 result
= (long) ((arg1
)->m_state
);
19115 resultobj
= SWIG_FromLong((long)result
);
19122 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19123 PyObject
*resultobj
;
19124 wxListItem
*arg1
= (wxListItem
*) 0 ;
19126 PyObject
* obj0
= 0 ;
19127 PyObject
* obj1
= 0 ;
19128 char *kwnames
[] = {
19129 (char *) "self",(char *) "m_stateMask", NULL
19132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19135 arg2
= (long) SWIG_AsLong(obj1
);
19136 if (PyErr_Occurred()) SWIG_fail
;
19137 if (arg1
) (arg1
)->m_stateMask
= arg2
;
19139 Py_INCREF(Py_None
); resultobj
= Py_None
;
19146 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19147 PyObject
*resultobj
;
19148 wxListItem
*arg1
= (wxListItem
*) 0 ;
19150 PyObject
* obj0
= 0 ;
19151 char *kwnames
[] = {
19152 (char *) "self", NULL
19155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
19156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19158 result
= (long) ((arg1
)->m_stateMask
);
19160 resultobj
= SWIG_FromLong((long)result
);
19167 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19168 PyObject
*resultobj
;
19169 wxListItem
*arg1
= (wxListItem
*) 0 ;
19170 wxString
*arg2
= (wxString
*) 0 ;
19171 bool temp2
= False
;
19172 PyObject
* obj0
= 0 ;
19173 PyObject
* obj1
= 0 ;
19174 char *kwnames
[] = {
19175 (char *) "self",(char *) "m_text", NULL
19178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19182 arg2
= wxString_in_helper(obj1
);
19183 if (arg2
== NULL
) SWIG_fail
;
19186 if (arg1
) (arg1
)->m_text
= *arg2
;
19188 Py_INCREF(Py_None
); resultobj
= Py_None
;
19203 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19204 PyObject
*resultobj
;
19205 wxListItem
*arg1
= (wxListItem
*) 0 ;
19207 PyObject
* obj0
= 0 ;
19208 char *kwnames
[] = {
19209 (char *) "self", NULL
19212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
19213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19215 result
= (wxString
*)& ((arg1
)->m_text
);
19219 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19221 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19230 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19231 PyObject
*resultobj
;
19232 wxListItem
*arg1
= (wxListItem
*) 0 ;
19234 PyObject
* obj0
= 0 ;
19235 PyObject
* obj1
= 0 ;
19236 char *kwnames
[] = {
19237 (char *) "self",(char *) "m_image", NULL
19240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19243 arg2
= (int) SWIG_AsInt(obj1
);
19244 if (PyErr_Occurred()) SWIG_fail
;
19245 if (arg1
) (arg1
)->m_image
= arg2
;
19247 Py_INCREF(Py_None
); resultobj
= Py_None
;
19254 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19255 PyObject
*resultobj
;
19256 wxListItem
*arg1
= (wxListItem
*) 0 ;
19258 PyObject
* obj0
= 0 ;
19259 char *kwnames
[] = {
19260 (char *) "self", NULL
19263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19266 result
= (int) ((arg1
)->m_image
);
19268 resultobj
= SWIG_FromInt((int)result
);
19275 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19276 PyObject
*resultobj
;
19277 wxListItem
*arg1
= (wxListItem
*) 0 ;
19279 PyObject
* obj0
= 0 ;
19280 PyObject
* obj1
= 0 ;
19281 char *kwnames
[] = {
19282 (char *) "self",(char *) "m_data", NULL
19285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19288 arg2
= (long) SWIG_AsLong(obj1
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19290 if (arg1
) (arg1
)->m_data
= arg2
;
19292 Py_INCREF(Py_None
); resultobj
= Py_None
;
19299 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19300 PyObject
*resultobj
;
19301 wxListItem
*arg1
= (wxListItem
*) 0 ;
19303 PyObject
* obj0
= 0 ;
19304 char *kwnames
[] = {
19305 (char *) "self", NULL
19308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
19309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19311 result
= (long) ((arg1
)->m_data
);
19313 resultobj
= SWIG_FromLong((long)result
);
19320 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19321 PyObject
*resultobj
;
19322 wxListItem
*arg1
= (wxListItem
*) 0 ;
19324 PyObject
* obj0
= 0 ;
19325 PyObject
* obj1
= 0 ;
19326 char *kwnames
[] = {
19327 (char *) "self",(char *) "m_format", NULL
19330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19333 arg2
= (int) SWIG_AsInt(obj1
);
19334 if (PyErr_Occurred()) SWIG_fail
;
19335 if (arg1
) (arg1
)->m_format
= arg2
;
19337 Py_INCREF(Py_None
); resultobj
= Py_None
;
19344 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19345 PyObject
*resultobj
;
19346 wxListItem
*arg1
= (wxListItem
*) 0 ;
19348 PyObject
* obj0
= 0 ;
19349 char *kwnames
[] = {
19350 (char *) "self", NULL
19353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19356 result
= (int) ((arg1
)->m_format
);
19358 resultobj
= SWIG_FromInt((int)result
);
19365 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19366 PyObject
*resultobj
;
19367 wxListItem
*arg1
= (wxListItem
*) 0 ;
19369 PyObject
* obj0
= 0 ;
19370 PyObject
* obj1
= 0 ;
19371 char *kwnames
[] = {
19372 (char *) "self",(char *) "m_width", NULL
19375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19378 arg2
= (int) SWIG_AsInt(obj1
);
19379 if (PyErr_Occurred()) SWIG_fail
;
19380 if (arg1
) (arg1
)->m_width
= arg2
;
19382 Py_INCREF(Py_None
); resultobj
= Py_None
;
19389 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19390 PyObject
*resultobj
;
19391 wxListItem
*arg1
= (wxListItem
*) 0 ;
19393 PyObject
* obj0
= 0 ;
19394 char *kwnames
[] = {
19395 (char *) "self", NULL
19398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19401 result
= (int) ((arg1
)->m_width
);
19403 resultobj
= SWIG_FromInt((int)result
);
19410 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
19412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19413 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19415 return Py_BuildValue((char *)"");
19417 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19418 PyObject
*resultobj
;
19419 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19420 int arg2
= (int) 0 ;
19421 wxListEvent
*result
;
19422 PyObject
* obj0
= 0 ;
19423 PyObject
* obj1
= 0 ;
19424 char *kwnames
[] = {
19425 (char *) "commandType",(char *) "id", NULL
19428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19430 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19431 if (PyErr_Occurred()) SWIG_fail
;
19434 arg2
= (int) SWIG_AsInt(obj1
);
19435 if (PyErr_Occurred()) SWIG_fail
;
19438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19439 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
19451 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19452 PyObject
*resultobj
;
19453 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19455 PyObject
* obj0
= 0 ;
19456 PyObject
* obj1
= 0 ;
19457 char *kwnames
[] = {
19458 (char *) "self",(char *) "m_code", NULL
19461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_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 arg2
= (int) SWIG_AsInt(obj1
);
19465 if (PyErr_Occurred()) SWIG_fail
;
19466 if (arg1
) (arg1
)->m_code
= arg2
;
19468 Py_INCREF(Py_None
); resultobj
= Py_None
;
19475 static PyObject
*_wrap_ListEvent_m_code_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_code_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
= (int) ((arg1
)->m_code
);
19489 resultobj
= SWIG_FromInt((int)result
);
19496 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19497 PyObject
*resultobj
;
19498 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19500 PyObject
* obj0
= 0 ;
19501 PyObject
* obj1
= 0 ;
19502 char *kwnames
[] = {
19503 (char *) "self",(char *) "m_oldItemIndex", NULL
19506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19509 arg2
= (long) SWIG_AsLong(obj1
);
19510 if (PyErr_Occurred()) SWIG_fail
;
19511 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19513 Py_INCREF(Py_None
); resultobj
= Py_None
;
19520 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
;
19522 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19524 PyObject
* obj0
= 0 ;
19525 char *kwnames
[] = {
19526 (char *) "self", NULL
19529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19532 result
= (long) ((arg1
)->m_oldItemIndex
);
19534 resultobj
= SWIG_FromLong((long)result
);
19541 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19542 PyObject
*resultobj
;
19543 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19545 PyObject
* obj0
= 0 ;
19546 PyObject
* obj1
= 0 ;
19547 char *kwnames
[] = {
19548 (char *) "self",(char *) "m_itemIndex", NULL
19551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19554 arg2
= (long) SWIG_AsLong(obj1
);
19555 if (PyErr_Occurred()) SWIG_fail
;
19556 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19558 Py_INCREF(Py_None
); resultobj
= Py_None
;
19565 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19566 PyObject
*resultobj
;
19567 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19569 PyObject
* obj0
= 0 ;
19570 char *kwnames
[] = {
19571 (char *) "self", NULL
19574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19577 result
= (long) ((arg1
)->m_itemIndex
);
19579 resultobj
= SWIG_FromLong((long)result
);
19586 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19587 PyObject
*resultobj
;
19588 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19590 PyObject
* obj0
= 0 ;
19591 PyObject
* obj1
= 0 ;
19592 char *kwnames
[] = {
19593 (char *) "self",(char *) "m_col", NULL
19596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19599 arg2
= (int) SWIG_AsInt(obj1
);
19600 if (PyErr_Occurred()) SWIG_fail
;
19601 if (arg1
) (arg1
)->m_col
= arg2
;
19603 Py_INCREF(Py_None
); resultobj
= Py_None
;
19610 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19611 PyObject
*resultobj
;
19612 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19614 PyObject
* obj0
= 0 ;
19615 char *kwnames
[] = {
19616 (char *) "self", NULL
19619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19622 result
= (int) ((arg1
)->m_col
);
19624 resultobj
= SWIG_FromInt((int)result
);
19631 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19632 PyObject
*resultobj
;
19633 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19634 wxPoint
*arg2
= (wxPoint
*) 0 ;
19635 PyObject
* obj0
= 0 ;
19636 PyObject
* obj1
= 0 ;
19637 char *kwnames
[] = {
19638 (char *) "self",(char *) "m_pointDrag", NULL
19641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
19645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19646 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19648 Py_INCREF(Py_None
); resultobj
= Py_None
;
19655 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19656 PyObject
*resultobj
;
19657 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19659 PyObject
* obj0
= 0 ;
19660 char *kwnames
[] = {
19661 (char *) "self", NULL
19664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19667 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19676 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19677 PyObject
*resultobj
;
19678 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19679 wxListItem
*result
;
19680 PyObject
* obj0
= 0 ;
19681 char *kwnames
[] = {
19682 (char *) "self", NULL
19685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19688 result
= (wxListItem
*)& ((arg1
)->m_item
);
19691 resultobj
= wxPyMake_wxObject(result
);
19699 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19700 PyObject
*resultobj
;
19701 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19703 PyObject
* obj0
= 0 ;
19704 char *kwnames
[] = {
19705 (char *) "self", NULL
19708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19713 result
= (int)(arg1
)->GetKeyCode();
19715 wxPyEndAllowThreads(__tstate
);
19716 if (PyErr_Occurred()) SWIG_fail
;
19718 resultobj
= SWIG_FromInt((int)result
);
19725 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19726 PyObject
*resultobj
;
19727 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19729 PyObject
* obj0
= 0 ;
19730 char *kwnames
[] = {
19731 (char *) "self", NULL
19734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 result
= (long)(arg1
)->GetIndex();
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19744 resultobj
= SWIG_FromLong((long)result
);
19751 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19752 PyObject
*resultobj
;
19753 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19755 PyObject
* obj0
= 0 ;
19756 char *kwnames
[] = {
19757 (char *) "self", NULL
19760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19765 result
= (int)(arg1
)->GetColumn();
19767 wxPyEndAllowThreads(__tstate
);
19768 if (PyErr_Occurred()) SWIG_fail
;
19770 resultobj
= SWIG_FromInt((int)result
);
19777 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19778 PyObject
*resultobj
;
19779 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19781 PyObject
* obj0
= 0 ;
19782 char *kwnames
[] = {
19783 (char *) "self", NULL
19786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19791 result
= (arg1
)->GetPoint();
19793 wxPyEndAllowThreads(__tstate
);
19794 if (PyErr_Occurred()) SWIG_fail
;
19797 wxPoint
* resultptr
;
19798 resultptr
= new wxPoint((wxPoint
&) result
);
19799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19807 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19808 PyObject
*resultobj
;
19809 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19811 PyObject
* obj0
= 0 ;
19812 char *kwnames
[] = {
19813 (char *) "self", NULL
19816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19822 wxString
const &_result_ref
= (arg1
)->GetLabel();
19823 result
= (wxString
*) &_result_ref
;
19826 wxPyEndAllowThreads(__tstate
);
19827 if (PyErr_Occurred()) SWIG_fail
;
19831 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19833 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19842 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19843 PyObject
*resultobj
;
19844 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19846 PyObject
* obj0
= 0 ;
19847 char *kwnames
[] = {
19848 (char *) "self", NULL
19851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19857 wxString
const &_result_ref
= (arg1
)->GetText();
19858 result
= (wxString
*) &_result_ref
;
19861 wxPyEndAllowThreads(__tstate
);
19862 if (PyErr_Occurred()) SWIG_fail
;
19866 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19868 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19877 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19878 PyObject
*resultobj
;
19879 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19881 PyObject
* obj0
= 0 ;
19882 char *kwnames
[] = {
19883 (char *) "self", NULL
19886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19891 result
= (int)(arg1
)->GetImage();
19893 wxPyEndAllowThreads(__tstate
);
19894 if (PyErr_Occurred()) SWIG_fail
;
19896 resultobj
= SWIG_FromInt((int)result
);
19903 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19904 PyObject
*resultobj
;
19905 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19907 PyObject
* obj0
= 0 ;
19908 char *kwnames
[] = {
19909 (char *) "self", NULL
19912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19917 result
= (long)(arg1
)->GetData();
19919 wxPyEndAllowThreads(__tstate
);
19920 if (PyErr_Occurred()) SWIG_fail
;
19922 resultobj
= SWIG_FromLong((long)result
);
19929 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19930 PyObject
*resultobj
;
19931 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19933 PyObject
* obj0
= 0 ;
19934 char *kwnames
[] = {
19935 (char *) "self", NULL
19938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19943 result
= (long)(arg1
)->GetMask();
19945 wxPyEndAllowThreads(__tstate
);
19946 if (PyErr_Occurred()) SWIG_fail
;
19948 resultobj
= SWIG_FromLong((long)result
);
19955 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19956 PyObject
*resultobj
;
19957 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19958 wxListItem
*result
;
19959 PyObject
* obj0
= 0 ;
19960 char *kwnames
[] = {
19961 (char *) "self", NULL
19964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19970 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19971 result
= (wxListItem
*) &_result_ref
;
19974 wxPyEndAllowThreads(__tstate
);
19975 if (PyErr_Occurred()) SWIG_fail
;
19977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
19984 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19985 PyObject
*resultobj
;
19986 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19988 PyObject
* obj0
= 0 ;
19989 char *kwnames
[] = {
19990 (char *) "self", NULL
19993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19998 result
= (long)(arg1
)->GetCacheFrom();
20000 wxPyEndAllowThreads(__tstate
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20003 resultobj
= SWIG_FromLong((long)result
);
20010 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20011 PyObject
*resultobj
;
20012 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20014 PyObject
* obj0
= 0 ;
20015 char *kwnames
[] = {
20016 (char *) "self", NULL
20019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20024 result
= (long)(arg1
)->GetCacheTo();
20026 wxPyEndAllowThreads(__tstate
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20029 resultobj
= SWIG_FromLong((long)result
);
20036 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
;
20038 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20040 PyObject
* obj0
= 0 ;
20041 char *kwnames
[] = {
20042 (char *) "self", NULL
20045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20050 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
20052 wxPyEndAllowThreads(__tstate
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20064 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20065 PyObject
*resultobj
;
20066 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20068 PyObject
* obj0
= 0 ;
20069 PyObject
* obj1
= 0 ;
20070 char *kwnames
[] = {
20071 (char *) "self",(char *) "editCancelled", NULL
20074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20077 arg2
= (bool) SWIG_AsBool(obj1
);
20078 if (PyErr_Occurred()) SWIG_fail
;
20080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20081 (arg1
)->SetEditCanceled(arg2
);
20083 wxPyEndAllowThreads(__tstate
);
20084 if (PyErr_Occurred()) SWIG_fail
;
20086 Py_INCREF(Py_None
); resultobj
= Py_None
;
20093 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20096 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
20098 return Py_BuildValue((char *)"");
20100 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20101 PyObject
*resultobj
;
20102 wxWindow
*arg1
= (wxWindow
*) 0 ;
20103 int arg2
= (int) -1 ;
20104 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20105 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20106 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20107 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20108 long arg5
= (long) wxLC_ICON
;
20109 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20110 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20111 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
20112 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20113 wxPyListCtrl
*result
;
20116 bool temp7
= False
;
20117 PyObject
* obj0
= 0 ;
20118 PyObject
* obj1
= 0 ;
20119 PyObject
* obj2
= 0 ;
20120 PyObject
* obj3
= 0 ;
20121 PyObject
* obj4
= 0 ;
20122 PyObject
* obj5
= 0 ;
20123 PyObject
* obj6
= 0 ;
20124 char *kwnames
[] = {
20125 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20132 arg2
= (int) SWIG_AsInt(obj1
);
20133 if (PyErr_Occurred()) SWIG_fail
;
20138 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20144 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20148 arg5
= (long) SWIG_AsLong(obj4
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20152 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
20153 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20155 if (arg6
== NULL
) {
20156 PyErr_SetString(PyExc_TypeError
,"null reference");
20162 arg7
= wxString_in_helper(obj6
);
20163 if (arg7
== NULL
) SWIG_fail
;
20168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20169 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20171 wxPyEndAllowThreads(__tstate
);
20172 if (PyErr_Occurred()) SWIG_fail
;
20174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20189 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20190 PyObject
*resultobj
;
20191 wxPyListCtrl
*result
;
20192 char *kwnames
[] = {
20196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
20198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20199 result
= (wxPyListCtrl
*)new wxPyListCtrl();
20201 wxPyEndAllowThreads(__tstate
);
20202 if (PyErr_Occurred()) SWIG_fail
;
20204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20211 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20212 PyObject
*resultobj
;
20213 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20214 wxWindow
*arg2
= (wxWindow
*) 0 ;
20215 int arg3
= (int) -1 ;
20216 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20217 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20218 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20219 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20220 long arg6
= (long) wxLC_ICON
;
20221 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20222 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20223 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20224 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20228 bool temp8
= False
;
20229 PyObject
* obj0
= 0 ;
20230 PyObject
* obj1
= 0 ;
20231 PyObject
* obj2
= 0 ;
20232 PyObject
* obj3
= 0 ;
20233 PyObject
* obj4
= 0 ;
20234 PyObject
* obj5
= 0 ;
20235 PyObject
* obj6
= 0 ;
20236 PyObject
* obj7
= 0 ;
20237 char *kwnames
[] = {
20238 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20244 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20247 arg3
= (int) SWIG_AsInt(obj2
);
20248 if (PyErr_Occurred()) SWIG_fail
;
20253 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20259 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20263 arg6
= (long) SWIG_AsLong(obj5
);
20264 if (PyErr_Occurred()) SWIG_fail
;
20267 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
20268 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20270 if (arg7
== NULL
) {
20271 PyErr_SetString(PyExc_TypeError
,"null reference");
20277 arg8
= wxString_in_helper(obj7
);
20278 if (arg8
== NULL
) SWIG_fail
;
20283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20284 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20286 wxPyEndAllowThreads(__tstate
);
20287 if (PyErr_Occurred()) SWIG_fail
;
20290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20306 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20307 PyObject
*resultobj
;
20308 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20309 PyObject
*arg2
= (PyObject
*) 0 ;
20310 PyObject
*arg3
= (PyObject
*) 0 ;
20311 PyObject
* obj0
= 0 ;
20312 PyObject
* obj1
= 0 ;
20313 PyObject
* obj2
= 0 ;
20314 char *kwnames
[] = {
20315 (char *) "self",(char *) "self",(char *) "_class", NULL
20318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20325 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20327 wxPyEndAllowThreads(__tstate
);
20328 if (PyErr_Occurred()) SWIG_fail
;
20330 Py_INCREF(Py_None
); resultobj
= Py_None
;
20337 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20338 PyObject
*resultobj
;
20339 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20340 wxColour
*arg2
= 0 ;
20343 PyObject
* obj0
= 0 ;
20344 PyObject
* obj1
= 0 ;
20345 char *kwnames
[] = {
20346 (char *) "self",(char *) "col", NULL
20349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20354 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20358 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20360 wxPyEndAllowThreads(__tstate
);
20361 if (PyErr_Occurred()) SWIG_fail
;
20364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20372 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20373 PyObject
*resultobj
;
20374 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20375 wxColour
*arg2
= 0 ;
20378 PyObject
* obj0
= 0 ;
20379 PyObject
* obj1
= 0 ;
20380 char *kwnames
[] = {
20381 (char *) "self",(char *) "col", NULL
20384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20389 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20393 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20395 wxPyEndAllowThreads(__tstate
);
20396 if (PyErr_Occurred()) SWIG_fail
;
20399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20407 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20408 PyObject
*resultobj
;
20409 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20411 wxListItem
*result
;
20412 PyObject
* obj0
= 0 ;
20413 PyObject
* obj1
= 0 ;
20414 char *kwnames
[] = {
20415 (char *) "self",(char *) "col", NULL
20418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20421 arg2
= (int) SWIG_AsInt(obj1
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20425 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20427 wxPyEndAllowThreads(__tstate
);
20428 if (PyErr_Occurred()) SWIG_fail
;
20431 resultobj
= wxPyMake_wxObject(result
);
20439 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20440 PyObject
*resultobj
;
20441 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20443 wxListItem
*arg3
= 0 ;
20445 PyObject
* obj0
= 0 ;
20446 PyObject
* obj1
= 0 ;
20447 PyObject
* obj2
= 0 ;
20448 char *kwnames
[] = {
20449 (char *) "self",(char *) "col",(char *) "item", NULL
20452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20455 arg2
= (int) SWIG_AsInt(obj1
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20457 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
20458 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20460 if (arg3
== NULL
) {
20461 PyErr_SetString(PyExc_TypeError
,"null reference");
20465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20466 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20468 wxPyEndAllowThreads(__tstate
);
20469 if (PyErr_Occurred()) SWIG_fail
;
20472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20480 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20481 PyObject
*resultobj
;
20482 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20485 PyObject
* obj0
= 0 ;
20486 PyObject
* obj1
= 0 ;
20487 char *kwnames
[] = {
20488 (char *) "self",(char *) "col", NULL
20491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20494 arg2
= (int) SWIG_AsInt(obj1
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20498 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20500 wxPyEndAllowThreads(__tstate
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20503 resultobj
= SWIG_FromInt((int)result
);
20510 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20511 PyObject
*resultobj
;
20512 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20516 PyObject
* obj0
= 0 ;
20517 PyObject
* obj1
= 0 ;
20518 PyObject
* obj2
= 0 ;
20519 char *kwnames
[] = {
20520 (char *) "self",(char *) "col",(char *) "width", NULL
20523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20526 arg2
= (int) SWIG_AsInt(obj1
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20528 arg3
= (int) SWIG_AsInt(obj2
);
20529 if (PyErr_Occurred()) SWIG_fail
;
20531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20532 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20534 wxPyEndAllowThreads(__tstate
);
20535 if (PyErr_Occurred()) SWIG_fail
;
20538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20546 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20547 PyObject
*resultobj
;
20548 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20550 PyObject
* obj0
= 0 ;
20551 char *kwnames
[] = {
20552 (char *) "self", NULL
20555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20560 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20562 wxPyEndAllowThreads(__tstate
);
20563 if (PyErr_Occurred()) SWIG_fail
;
20565 resultobj
= SWIG_FromInt((int)result
);
20572 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20573 PyObject
*resultobj
;
20574 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20576 PyObject
* obj0
= 0 ;
20577 char *kwnames
[] = {
20578 (char *) "self", NULL
20581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20586 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20588 wxPyEndAllowThreads(__tstate
);
20589 if (PyErr_Occurred()) SWIG_fail
;
20592 wxRect
* resultptr
;
20593 resultptr
= new wxRect((wxRect
&) result
);
20594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20602 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20603 PyObject
*resultobj
;
20604 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20606 int arg3
= (int) 0 ;
20607 wxListItem
*result
;
20608 PyObject
* obj0
= 0 ;
20609 PyObject
* obj1
= 0 ;
20610 PyObject
* obj2
= 0 ;
20611 char *kwnames
[] = {
20612 (char *) "self",(char *) "itemId",(char *) "col", NULL
20615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20618 arg2
= (long) SWIG_AsLong(obj1
);
20619 if (PyErr_Occurred()) SWIG_fail
;
20621 arg3
= (int) SWIG_AsInt(obj2
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20626 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20628 wxPyEndAllowThreads(__tstate
);
20629 if (PyErr_Occurred()) SWIG_fail
;
20632 resultobj
= wxPyMake_wxObject(result
);
20640 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20641 PyObject
*resultobj
;
20642 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20643 wxListItem
*arg2
= 0 ;
20645 PyObject
* obj0
= 0 ;
20646 PyObject
* obj1
= 0 ;
20647 char *kwnames
[] = {
20648 (char *) "self",(char *) "info", NULL
20651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
20655 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20657 if (arg2
== NULL
) {
20658 PyErr_SetString(PyExc_TypeError
,"null reference");
20662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20663 result
= (bool)(arg1
)->SetItem(*arg2
);
20665 wxPyEndAllowThreads(__tstate
);
20666 if (PyErr_Occurred()) SWIG_fail
;
20669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20677 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20678 PyObject
*resultobj
;
20679 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20682 wxString
*arg4
= 0 ;
20683 int arg5
= (int) -1 ;
20685 bool temp4
= False
;
20686 PyObject
* obj0
= 0 ;
20687 PyObject
* obj1
= 0 ;
20688 PyObject
* obj2
= 0 ;
20689 PyObject
* obj3
= 0 ;
20690 PyObject
* obj4
= 0 ;
20691 char *kwnames
[] = {
20692 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20698 arg2
= (long) SWIG_AsLong(obj1
);
20699 if (PyErr_Occurred()) SWIG_fail
;
20700 arg3
= (int) SWIG_AsInt(obj2
);
20701 if (PyErr_Occurred()) SWIG_fail
;
20703 arg4
= wxString_in_helper(obj3
);
20704 if (arg4
== NULL
) SWIG_fail
;
20708 arg5
= (int) SWIG_AsInt(obj4
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20713 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20715 wxPyEndAllowThreads(__tstate
);
20716 if (PyErr_Occurred()) SWIG_fail
;
20718 resultobj
= SWIG_FromLong((long)result
);
20733 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20734 PyObject
*resultobj
;
20735 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20739 PyObject
* obj0
= 0 ;
20740 PyObject
* obj1
= 0 ;
20741 PyObject
* obj2
= 0 ;
20742 char *kwnames
[] = {
20743 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20749 arg2
= (long) SWIG_AsLong(obj1
);
20750 if (PyErr_Occurred()) SWIG_fail
;
20751 arg3
= (long) SWIG_AsLong(obj2
);
20752 if (PyErr_Occurred()) SWIG_fail
;
20754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20755 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20757 wxPyEndAllowThreads(__tstate
);
20758 if (PyErr_Occurred()) SWIG_fail
;
20760 resultobj
= SWIG_FromInt((int)result
);
20767 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20768 PyObject
*resultobj
;
20769 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20774 PyObject
* obj0
= 0 ;
20775 PyObject
* obj1
= 0 ;
20776 PyObject
* obj2
= 0 ;
20777 PyObject
* obj3
= 0 ;
20778 char *kwnames
[] = {
20779 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20785 arg2
= (long) SWIG_AsLong(obj1
);
20786 if (PyErr_Occurred()) SWIG_fail
;
20787 arg3
= (long) SWIG_AsLong(obj2
);
20788 if (PyErr_Occurred()) SWIG_fail
;
20789 arg4
= (long) SWIG_AsLong(obj3
);
20790 if (PyErr_Occurred()) SWIG_fail
;
20792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20793 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20795 wxPyEndAllowThreads(__tstate
);
20796 if (PyErr_Occurred()) SWIG_fail
;
20799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20807 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20808 PyObject
*resultobj
;
20809 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20814 PyObject
* obj0
= 0 ;
20815 PyObject
* obj1
= 0 ;
20816 PyObject
* obj2
= 0 ;
20817 PyObject
* obj3
= 0 ;
20818 char *kwnames
[] = {
20819 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20825 arg2
= (long) SWIG_AsLong(obj1
);
20826 if (PyErr_Occurred()) SWIG_fail
;
20827 arg3
= (int) SWIG_AsInt(obj2
);
20828 if (PyErr_Occurred()) SWIG_fail
;
20829 arg4
= (int) SWIG_AsInt(obj3
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20833 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20835 wxPyEndAllowThreads(__tstate
);
20836 if (PyErr_Occurred()) SWIG_fail
;
20839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20847 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20848 PyObject
*resultobj
;
20849 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20852 PyObject
* obj0
= 0 ;
20853 PyObject
* obj1
= 0 ;
20854 char *kwnames
[] = {
20855 (char *) "self",(char *) "item", NULL
20858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20861 arg2
= (long) SWIG_AsLong(obj1
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20865 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20867 wxPyEndAllowThreads(__tstate
);
20868 if (PyErr_Occurred()) SWIG_fail
;
20872 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20874 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20883 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20884 PyObject
*resultobj
;
20885 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20887 wxString
*arg3
= 0 ;
20888 bool temp3
= False
;
20889 PyObject
* obj0
= 0 ;
20890 PyObject
* obj1
= 0 ;
20891 PyObject
* obj2
= 0 ;
20892 char *kwnames
[] = {
20893 (char *) "self",(char *) "item",(char *) "str", NULL
20896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20899 arg2
= (long) SWIG_AsLong(obj1
);
20900 if (PyErr_Occurred()) SWIG_fail
;
20902 arg3
= wxString_in_helper(obj2
);
20903 if (arg3
== NULL
) SWIG_fail
;
20907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20908 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20910 wxPyEndAllowThreads(__tstate
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20913 Py_INCREF(Py_None
); resultobj
= Py_None
;
20928 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20929 PyObject
*resultobj
;
20930 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20933 PyObject
* obj0
= 0 ;
20934 PyObject
* obj1
= 0 ;
20935 char *kwnames
[] = {
20936 (char *) "self",(char *) "item", NULL
20939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20942 arg2
= (long) SWIG_AsLong(obj1
);
20943 if (PyErr_Occurred()) SWIG_fail
;
20945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20946 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20948 wxPyEndAllowThreads(__tstate
);
20949 if (PyErr_Occurred()) SWIG_fail
;
20951 resultobj
= SWIG_FromLong((long)result
);
20958 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20959 PyObject
*resultobj
;
20960 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20964 PyObject
* obj0
= 0 ;
20965 PyObject
* obj1
= 0 ;
20966 PyObject
* obj2
= 0 ;
20967 char *kwnames
[] = {
20968 (char *) "self",(char *) "item",(char *) "data", NULL
20971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20974 arg2
= (long) SWIG_AsLong(obj1
);
20975 if (PyErr_Occurred()) SWIG_fail
;
20976 arg3
= (long) SWIG_AsLong(obj2
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20980 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20982 wxPyEndAllowThreads(__tstate
);
20983 if (PyErr_Occurred()) SWIG_fail
;
20986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20994 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20995 PyObject
*resultobj
;
20996 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20999 PyObject
* obj0
= 0 ;
21000 PyObject
* obj1
= 0 ;
21001 char *kwnames
[] = {
21002 (char *) "self",(char *) "item", NULL
21005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21008 arg2
= (long) SWIG_AsLong(obj1
);
21009 if (PyErr_Occurred()) SWIG_fail
;
21011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21012 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21014 wxPyEndAllowThreads(__tstate
);
21015 if (PyErr_Occurred()) SWIG_fail
;
21018 wxPoint
* resultptr
;
21019 resultptr
= new wxPoint((wxPoint
&) result
);
21020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21028 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21029 PyObject
*resultobj
;
21030 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21032 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21034 PyObject
* obj0
= 0 ;
21035 PyObject
* obj1
= 0 ;
21036 PyObject
* obj2
= 0 ;
21037 char *kwnames
[] = {
21038 (char *) "self",(char *) "item",(char *) "code", NULL
21041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21044 arg2
= (long) SWIG_AsLong(obj1
);
21045 if (PyErr_Occurred()) SWIG_fail
;
21047 arg3
= (int) SWIG_AsInt(obj2
);
21048 if (PyErr_Occurred()) SWIG_fail
;
21051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21052 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
21054 wxPyEndAllowThreads(__tstate
);
21055 if (PyErr_Occurred()) SWIG_fail
;
21058 wxRect
* resultptr
;
21059 resultptr
= new wxRect((wxRect
&) result
);
21060 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21068 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21069 PyObject
*resultobj
;
21070 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21072 wxPoint
*arg3
= 0 ;
21075 PyObject
* obj0
= 0 ;
21076 PyObject
* obj1
= 0 ;
21077 PyObject
* obj2
= 0 ;
21078 char *kwnames
[] = {
21079 (char *) "self",(char *) "item",(char *) "pos", NULL
21082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21085 arg2
= (long) SWIG_AsLong(obj1
);
21086 if (PyErr_Occurred()) SWIG_fail
;
21089 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21093 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
21095 wxPyEndAllowThreads(__tstate
);
21096 if (PyErr_Occurred()) SWIG_fail
;
21099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21107 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21108 PyObject
*resultobj
;
21109 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21111 PyObject
* obj0
= 0 ;
21112 char *kwnames
[] = {
21113 (char *) "self", NULL
21116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
21117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21121 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
21123 wxPyEndAllowThreads(__tstate
);
21124 if (PyErr_Occurred()) SWIG_fail
;
21126 resultobj
= SWIG_FromInt((int)result
);
21133 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21134 PyObject
*resultobj
;
21135 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21137 PyObject
* obj0
= 0 ;
21138 char *kwnames
[] = {
21139 (char *) "self", NULL
21142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
21143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21147 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
21149 wxPyEndAllowThreads(__tstate
);
21150 if (PyErr_Occurred()) SWIG_fail
;
21152 resultobj
= SWIG_FromInt((int)result
);
21159 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21160 PyObject
*resultobj
;
21161 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21163 PyObject
* obj0
= 0 ;
21164 char *kwnames
[] = {
21165 (char *) "self", NULL
21168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
21169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21173 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
21175 wxPyEndAllowThreads(__tstate
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21179 wxSize
* resultptr
;
21180 resultptr
= new wxSize((wxSize
&) result
);
21181 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21189 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21190 PyObject
*resultobj
;
21191 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21193 bool arg3
= (bool) False
;
21194 PyObject
* obj0
= 0 ;
21195 PyObject
* obj1
= 0 ;
21196 PyObject
* obj2
= 0 ;
21197 char *kwnames
[] = {
21198 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
21201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21204 arg2
= (int) SWIG_AsInt(obj1
);
21205 if (PyErr_Occurred()) SWIG_fail
;
21207 arg3
= (bool) SWIG_AsBool(obj2
);
21208 if (PyErr_Occurred()) SWIG_fail
;
21211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21212 (arg1
)->SetItemSpacing(arg2
,arg3
);
21214 wxPyEndAllowThreads(__tstate
);
21215 if (PyErr_Occurred()) SWIG_fail
;
21217 Py_INCREF(Py_None
); resultobj
= Py_None
;
21224 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21225 PyObject
*resultobj
;
21226 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21228 PyObject
* obj0
= 0 ;
21229 char *kwnames
[] = {
21230 (char *) "self", NULL
21233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
21234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21238 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
21240 wxPyEndAllowThreads(__tstate
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21243 resultobj
= SWIG_FromInt((int)result
);
21250 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21251 PyObject
*resultobj
;
21252 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21254 PyObject
* obj0
= 0 ;
21255 char *kwnames
[] = {
21256 (char *) "self", NULL
21259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
21260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21264 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
21266 wxPyEndAllowThreads(__tstate
);
21267 if (PyErr_Occurred()) SWIG_fail
;
21270 wxColour
* resultptr
;
21271 resultptr
= new wxColour((wxColour
&) result
);
21272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21280 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21281 PyObject
*resultobj
;
21282 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21283 wxColour
*arg2
= 0 ;
21285 PyObject
* obj0
= 0 ;
21286 PyObject
* obj1
= 0 ;
21287 char *kwnames
[] = {
21288 (char *) "self",(char *) "col", NULL
21291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21296 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21300 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21302 wxPyEndAllowThreads(__tstate
);
21303 if (PyErr_Occurred()) SWIG_fail
;
21305 Py_INCREF(Py_None
); resultobj
= Py_None
;
21312 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21313 PyObject
*resultobj
;
21314 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21316 PyObject
* obj0
= 0 ;
21317 char *kwnames
[] = {
21318 (char *) "self", NULL
21321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21326 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21328 wxPyEndAllowThreads(__tstate
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21331 resultobj
= SWIG_FromLong((long)result
);
21338 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21339 PyObject
*resultobj
;
21340 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21342 bool arg3
= (bool) True
;
21343 PyObject
* obj0
= 0 ;
21344 PyObject
* obj1
= 0 ;
21345 PyObject
* obj2
= 0 ;
21346 char *kwnames
[] = {
21347 (char *) "self",(char *) "style",(char *) "add", NULL
21350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21353 arg2
= (long) SWIG_AsLong(obj1
);
21354 if (PyErr_Occurred()) SWIG_fail
;
21356 arg3
= (bool) SWIG_AsBool(obj2
);
21357 if (PyErr_Occurred()) SWIG_fail
;
21360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21361 (arg1
)->SetSingleStyle(arg2
,arg3
);
21363 wxPyEndAllowThreads(__tstate
);
21364 if (PyErr_Occurred()) SWIG_fail
;
21366 Py_INCREF(Py_None
); resultobj
= Py_None
;
21373 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21374 PyObject
*resultobj
;
21375 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21377 PyObject
* obj0
= 0 ;
21378 PyObject
* obj1
= 0 ;
21379 char *kwnames
[] = {
21380 (char *) "self",(char *) "style", NULL
21383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21386 arg2
= (long) SWIG_AsLong(obj1
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 (arg1
)->SetWindowStyleFlag(arg2
);
21392 wxPyEndAllowThreads(__tstate
);
21393 if (PyErr_Occurred()) SWIG_fail
;
21395 Py_INCREF(Py_None
); resultobj
= Py_None
;
21402 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21403 PyObject
*resultobj
;
21404 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21406 int arg3
= (int) wxLIST_NEXT_ALL
;
21407 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21409 PyObject
* obj0
= 0 ;
21410 PyObject
* obj1
= 0 ;
21411 PyObject
* obj2
= 0 ;
21412 PyObject
* obj3
= 0 ;
21413 char *kwnames
[] = {
21414 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21420 arg2
= (long) SWIG_AsLong(obj1
);
21421 if (PyErr_Occurred()) SWIG_fail
;
21423 arg3
= (int) SWIG_AsInt(obj2
);
21424 if (PyErr_Occurred()) SWIG_fail
;
21427 arg4
= (int) SWIG_AsInt(obj3
);
21428 if (PyErr_Occurred()) SWIG_fail
;
21431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21432 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21434 wxPyEndAllowThreads(__tstate
);
21435 if (PyErr_Occurred()) SWIG_fail
;
21437 resultobj
= SWIG_FromLong((long)result
);
21444 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21445 PyObject
*resultobj
;
21446 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21448 wxImageList
*result
;
21449 PyObject
* obj0
= 0 ;
21450 PyObject
* obj1
= 0 ;
21451 char *kwnames
[] = {
21452 (char *) "self",(char *) "which", NULL
21455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21458 arg2
= (int) SWIG_AsInt(obj1
);
21459 if (PyErr_Occurred()) SWIG_fail
;
21461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21462 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21464 wxPyEndAllowThreads(__tstate
);
21465 if (PyErr_Occurred()) SWIG_fail
;
21468 resultobj
= wxPyMake_wxObject(result
);
21476 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21477 PyObject
*resultobj
;
21478 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21479 wxImageList
*arg2
= (wxImageList
*) 0 ;
21481 PyObject
* obj0
= 0 ;
21482 PyObject
* obj1
= 0 ;
21483 PyObject
* obj2
= 0 ;
21484 char *kwnames
[] = {
21485 (char *) "self",(char *) "imageList",(char *) "which", NULL
21488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21493 arg3
= (int) SWIG_AsInt(obj2
);
21494 if (PyErr_Occurred()) SWIG_fail
;
21496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21497 (arg1
)->SetImageList(arg2
,arg3
);
21499 wxPyEndAllowThreads(__tstate
);
21500 if (PyErr_Occurred()) SWIG_fail
;
21502 Py_INCREF(Py_None
); resultobj
= Py_None
;
21509 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21510 PyObject
*resultobj
;
21511 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21512 wxImageList
*arg2
= (wxImageList
*) 0 ;
21514 PyObject
* obj0
= 0 ;
21515 PyObject
* obj1
= 0 ;
21516 PyObject
* obj2
= 0 ;
21517 char *kwnames
[] = {
21518 (char *) "self",(char *) "imageList",(char *) "which", NULL
21521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21524 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21525 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21526 arg3
= (int) SWIG_AsInt(obj2
);
21527 if (PyErr_Occurred()) SWIG_fail
;
21529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21530 (arg1
)->AssignImageList(arg2
,arg3
);
21532 wxPyEndAllowThreads(__tstate
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21535 Py_INCREF(Py_None
); resultobj
= Py_None
;
21542 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21543 PyObject
*resultobj
;
21544 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21546 PyObject
* obj0
= 0 ;
21547 char *kwnames
[] = {
21548 (char *) "self", NULL
21551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
21552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21556 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
21558 wxPyEndAllowThreads(__tstate
);
21559 if (PyErr_Occurred()) SWIG_fail
;
21562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21570 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21571 PyObject
*resultobj
;
21572 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21574 PyObject
* obj0
= 0 ;
21575 char *kwnames
[] = {
21576 (char *) "self", NULL
21579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21584 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21586 wxPyEndAllowThreads(__tstate
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21598 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21599 PyObject
*resultobj
;
21600 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21602 PyObject
* obj0
= 0 ;
21603 PyObject
* obj1
= 0 ;
21604 char *kwnames
[] = {
21605 (char *) "self",(char *) "item", NULL
21608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21611 arg2
= (long) SWIG_AsLong(obj1
);
21612 if (PyErr_Occurred()) SWIG_fail
;
21614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21615 (arg1
)->RefreshItem(arg2
);
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21620 Py_INCREF(Py_None
); resultobj
= Py_None
;
21627 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21628 PyObject
*resultobj
;
21629 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21632 PyObject
* obj0
= 0 ;
21633 PyObject
* obj1
= 0 ;
21634 PyObject
* obj2
= 0 ;
21635 char *kwnames
[] = {
21636 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21642 arg2
= (long) SWIG_AsLong(obj1
);
21643 if (PyErr_Occurred()) SWIG_fail
;
21644 arg3
= (long) SWIG_AsLong(obj2
);
21645 if (PyErr_Occurred()) SWIG_fail
;
21647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21648 (arg1
)->RefreshItems(arg2
,arg3
);
21650 wxPyEndAllowThreads(__tstate
);
21651 if (PyErr_Occurred()) SWIG_fail
;
21653 Py_INCREF(Py_None
); resultobj
= Py_None
;
21660 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21661 PyObject
*resultobj
;
21662 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21663 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21665 PyObject
* obj0
= 0 ;
21666 PyObject
* obj1
= 0 ;
21667 char *kwnames
[] = {
21668 (char *) "self",(char *) "flag", NULL
21671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21675 arg2
= (int) SWIG_AsInt(obj1
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21680 result
= (bool)(arg1
)->Arrange(arg2
);
21682 wxPyEndAllowThreads(__tstate
);
21683 if (PyErr_Occurred()) SWIG_fail
;
21686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21694 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21695 PyObject
*resultobj
;
21696 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21699 PyObject
* obj0
= 0 ;
21700 PyObject
* obj1
= 0 ;
21701 char *kwnames
[] = {
21702 (char *) "self",(char *) "item", NULL
21705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21708 arg2
= (long) SWIG_AsLong(obj1
);
21709 if (PyErr_Occurred()) SWIG_fail
;
21711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21712 result
= (bool)(arg1
)->DeleteItem(arg2
);
21714 wxPyEndAllowThreads(__tstate
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21726 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21727 PyObject
*resultobj
;
21728 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21730 PyObject
* obj0
= 0 ;
21731 char *kwnames
[] = {
21732 (char *) "self", NULL
21735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21740 result
= (bool)(arg1
)->DeleteAllItems();
21742 wxPyEndAllowThreads(__tstate
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21754 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21755 PyObject
*resultobj
;
21756 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21759 PyObject
* obj0
= 0 ;
21760 PyObject
* obj1
= 0 ;
21761 char *kwnames
[] = {
21762 (char *) "self",(char *) "col", NULL
21765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21768 arg2
= (int) SWIG_AsInt(obj1
);
21769 if (PyErr_Occurred()) SWIG_fail
;
21771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21772 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21774 wxPyEndAllowThreads(__tstate
);
21775 if (PyErr_Occurred()) SWIG_fail
;
21778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21786 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21787 PyObject
*resultobj
;
21788 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21790 PyObject
* obj0
= 0 ;
21791 char *kwnames
[] = {
21792 (char *) "self", NULL
21795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21800 result
= (bool)(arg1
)->DeleteAllColumns();
21802 wxPyEndAllowThreads(__tstate
);
21803 if (PyErr_Occurred()) SWIG_fail
;
21806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21814 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21815 PyObject
*resultobj
;
21816 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21817 PyObject
* obj0
= 0 ;
21818 char *kwnames
[] = {
21819 (char *) "self", NULL
21822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21827 (arg1
)->ClearAll();
21829 wxPyEndAllowThreads(__tstate
);
21830 if (PyErr_Occurred()) SWIG_fail
;
21832 Py_INCREF(Py_None
); resultobj
= Py_None
;
21839 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21840 PyObject
*resultobj
;
21841 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21843 PyObject
* obj0
= 0 ;
21844 PyObject
* obj1
= 0 ;
21845 char *kwnames
[] = {
21846 (char *) "self",(char *) "item", NULL
21849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21852 arg2
= (long) SWIG_AsLong(obj1
);
21853 if (PyErr_Occurred()) SWIG_fail
;
21855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21856 (arg1
)->EditLabel(arg2
);
21858 wxPyEndAllowThreads(__tstate
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21861 Py_INCREF(Py_None
); resultobj
= Py_None
;
21868 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21869 PyObject
*resultobj
;
21870 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21873 PyObject
* obj0
= 0 ;
21874 PyObject
* obj1
= 0 ;
21875 char *kwnames
[] = {
21876 (char *) "self",(char *) "item", NULL
21879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21882 arg2
= (long) SWIG_AsLong(obj1
);
21883 if (PyErr_Occurred()) SWIG_fail
;
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21888 wxPyEndAllowThreads(__tstate
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21900 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21901 PyObject
*resultobj
;
21902 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21904 wxString
*arg3
= 0 ;
21905 bool arg4
= (bool) False
;
21907 bool temp3
= False
;
21908 PyObject
* obj0
= 0 ;
21909 PyObject
* obj1
= 0 ;
21910 PyObject
* obj2
= 0 ;
21911 PyObject
* obj3
= 0 ;
21912 char *kwnames
[] = {
21913 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21919 arg2
= (long) SWIG_AsLong(obj1
);
21920 if (PyErr_Occurred()) SWIG_fail
;
21922 arg3
= wxString_in_helper(obj2
);
21923 if (arg3
== NULL
) SWIG_fail
;
21927 arg4
= (bool) SWIG_AsBool(obj3
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21932 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21934 wxPyEndAllowThreads(__tstate
);
21935 if (PyErr_Occurred()) SWIG_fail
;
21937 resultobj
= SWIG_FromLong((long)result
);
21952 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21953 PyObject
*resultobj
;
21954 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21958 PyObject
* obj0
= 0 ;
21959 PyObject
* obj1
= 0 ;
21960 PyObject
* obj2
= 0 ;
21961 char *kwnames
[] = {
21962 (char *) "self",(char *) "start",(char *) "data", NULL
21965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21968 arg2
= (long) SWIG_AsLong(obj1
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21970 arg3
= (long) SWIG_AsLong(obj2
);
21971 if (PyErr_Occurred()) SWIG_fail
;
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21976 wxPyEndAllowThreads(__tstate
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21979 resultobj
= SWIG_FromLong((long)result
);
21986 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21987 PyObject
*resultobj
;
21988 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21990 wxPoint
*arg3
= 0 ;
21994 PyObject
* obj0
= 0 ;
21995 PyObject
* obj1
= 0 ;
21996 PyObject
* obj2
= 0 ;
21997 PyObject
* obj3
= 0 ;
21998 char *kwnames
[] = {
21999 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22005 arg2
= (long) SWIG_AsLong(obj1
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22009 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22011 arg4
= (int) SWIG_AsInt(obj3
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22020 resultobj
= SWIG_FromLong((long)result
);
22027 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22028 PyObject
*resultobj
;
22029 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22030 wxPoint
*arg2
= 0 ;
22035 PyObject
* obj0
= 0 ;
22036 PyObject
* obj1
= 0 ;
22037 char *kwnames
[] = {
22038 (char *) "self",(char *) "point", NULL
22042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22047 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22051 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22053 wxPyEndAllowThreads(__tstate
);
22054 if (PyErr_Occurred()) SWIG_fail
;
22056 resultobj
= SWIG_FromLong((long)result
);
22058 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22059 resultobj
= t_output_helper(resultobj
,o
);
22067 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22068 PyObject
*resultobj
;
22069 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22070 wxListItem
*arg2
= 0 ;
22072 PyObject
* obj0
= 0 ;
22073 PyObject
* obj1
= 0 ;
22074 char *kwnames
[] = {
22075 (char *) "self",(char *) "info", NULL
22078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22084 if (arg2
== NULL
) {
22085 PyErr_SetString(PyExc_TypeError
,"null reference");
22089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22090 result
= (long)(arg1
)->InsertItem(*arg2
);
22092 wxPyEndAllowThreads(__tstate
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22095 resultobj
= SWIG_FromLong((long)result
);
22102 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22103 PyObject
*resultobj
;
22104 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22106 wxString
*arg3
= 0 ;
22108 bool temp3
= False
;
22109 PyObject
* obj0
= 0 ;
22110 PyObject
* obj1
= 0 ;
22111 PyObject
* obj2
= 0 ;
22112 char *kwnames
[] = {
22113 (char *) "self",(char *) "index",(char *) "label", NULL
22116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22119 arg2
= (long) SWIG_AsLong(obj1
);
22120 if (PyErr_Occurred()) SWIG_fail
;
22122 arg3
= wxString_in_helper(obj2
);
22123 if (arg3
== NULL
) SWIG_fail
;
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22133 resultobj
= SWIG_FromLong((long)result
);
22148 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22149 PyObject
*resultobj
;
22150 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22154 PyObject
* obj0
= 0 ;
22155 PyObject
* obj1
= 0 ;
22156 PyObject
* obj2
= 0 ;
22157 char *kwnames
[] = {
22158 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22164 arg2
= (long) SWIG_AsLong(obj1
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22166 arg3
= (int) SWIG_AsInt(obj2
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22175 resultobj
= SWIG_FromLong((long)result
);
22182 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22183 PyObject
*resultobj
;
22184 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22186 wxString
*arg3
= 0 ;
22189 bool temp3
= False
;
22190 PyObject
* obj0
= 0 ;
22191 PyObject
* obj1
= 0 ;
22192 PyObject
* obj2
= 0 ;
22193 PyObject
* obj3
= 0 ;
22194 char *kwnames
[] = {
22195 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22201 arg2
= (long) SWIG_AsLong(obj1
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22204 arg3
= wxString_in_helper(obj2
);
22205 if (arg3
== NULL
) SWIG_fail
;
22208 arg4
= (int) SWIG_AsInt(obj3
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22212 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
22214 wxPyEndAllowThreads(__tstate
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22217 resultobj
= SWIG_FromLong((long)result
);
22232 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22233 PyObject
*resultobj
;
22234 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22236 wxListItem
*arg3
= 0 ;
22238 PyObject
* obj0
= 0 ;
22239 PyObject
* obj1
= 0 ;
22240 PyObject
* obj2
= 0 ;
22241 char *kwnames
[] = {
22242 (char *) "self",(char *) "col",(char *) "info", NULL
22245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22248 arg2
= (long) SWIG_AsLong(obj1
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22250 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
22251 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22253 if (arg3
== NULL
) {
22254 PyErr_SetString(PyExc_TypeError
,"null reference");
22258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22259 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
22261 wxPyEndAllowThreads(__tstate
);
22262 if (PyErr_Occurred()) SWIG_fail
;
22264 resultobj
= SWIG_FromLong((long)result
);
22271 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22272 PyObject
*resultobj
;
22273 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22275 wxString
*arg3
= 0 ;
22276 int arg4
= (int) wxLIST_FORMAT_LEFT
;
22277 int arg5
= (int) -1 ;
22279 bool temp3
= False
;
22280 PyObject
* obj0
= 0 ;
22281 PyObject
* obj1
= 0 ;
22282 PyObject
* obj2
= 0 ;
22283 PyObject
* obj3
= 0 ;
22284 PyObject
* obj4
= 0 ;
22285 char *kwnames
[] = {
22286 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22292 arg2
= (long) SWIG_AsLong(obj1
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22295 arg3
= wxString_in_helper(obj2
);
22296 if (arg3
== NULL
) SWIG_fail
;
22300 arg4
= (int) SWIG_AsInt(obj3
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22304 arg5
= (int) SWIG_AsInt(obj4
);
22305 if (PyErr_Occurred()) SWIG_fail
;
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22309 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22311 wxPyEndAllowThreads(__tstate
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22314 resultobj
= SWIG_FromLong((long)result
);
22329 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22330 PyObject
*resultobj
;
22331 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22333 PyObject
* obj0
= 0 ;
22334 PyObject
* obj1
= 0 ;
22335 char *kwnames
[] = {
22336 (char *) "self",(char *) "count", NULL
22339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
22340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22342 arg2
= (long) SWIG_AsLong(obj1
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22346 (arg1
)->SetItemCount(arg2
);
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22351 Py_INCREF(Py_None
); resultobj
= Py_None
;
22358 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22359 PyObject
*resultobj
;
22360 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22364 PyObject
* obj0
= 0 ;
22365 PyObject
* obj1
= 0 ;
22366 PyObject
* obj2
= 0 ;
22367 char *kwnames
[] = {
22368 (char *) "self",(char *) "dx",(char *) "dy", NULL
22371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22374 arg2
= (int) SWIG_AsInt(obj1
);
22375 if (PyErr_Occurred()) SWIG_fail
;
22376 arg3
= (int) SWIG_AsInt(obj2
);
22377 if (PyErr_Occurred()) SWIG_fail
;
22379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22380 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22382 wxPyEndAllowThreads(__tstate
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22394 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22395 PyObject
*resultobj
;
22396 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22398 wxColour
*arg3
= 0 ;
22400 PyObject
* obj0
= 0 ;
22401 PyObject
* obj1
= 0 ;
22402 PyObject
* obj2
= 0 ;
22403 char *kwnames
[] = {
22404 (char *) "self",(char *) "item",(char *) "col", NULL
22407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22410 arg2
= (long) SWIG_AsLong(obj1
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22414 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22418 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22420 wxPyEndAllowThreads(__tstate
);
22421 if (PyErr_Occurred()) SWIG_fail
;
22423 Py_INCREF(Py_None
); resultobj
= Py_None
;
22430 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22431 PyObject
*resultobj
;
22432 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22435 PyObject
* obj0
= 0 ;
22436 PyObject
* obj1
= 0 ;
22437 char *kwnames
[] = {
22438 (char *) "self",(char *) "item", NULL
22441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22444 arg2
= (long) SWIG_AsLong(obj1
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22448 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22454 wxColour
* resultptr
;
22455 resultptr
= new wxColour((wxColour
&) result
);
22456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22464 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22465 PyObject
*resultobj
;
22466 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22468 wxColour
*arg3
= 0 ;
22470 PyObject
* obj0
= 0 ;
22471 PyObject
* obj1
= 0 ;
22472 PyObject
* obj2
= 0 ;
22473 char *kwnames
[] = {
22474 (char *) "self",(char *) "item",(char *) "col", NULL
22477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22480 arg2
= (long) SWIG_AsLong(obj1
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22484 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22488 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22490 wxPyEndAllowThreads(__tstate
);
22491 if (PyErr_Occurred()) SWIG_fail
;
22493 Py_INCREF(Py_None
); resultobj
= Py_None
;
22500 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22501 PyObject
*resultobj
;
22502 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22505 PyObject
* obj0
= 0 ;
22506 PyObject
* obj1
= 0 ;
22507 char *kwnames
[] = {
22508 (char *) "self",(char *) "item", NULL
22511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22514 arg2
= (long) SWIG_AsLong(obj1
);
22515 if (PyErr_Occurred()) SWIG_fail
;
22517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22518 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22520 wxPyEndAllowThreads(__tstate
);
22521 if (PyErr_Occurred()) SWIG_fail
;
22524 wxColour
* resultptr
;
22525 resultptr
= new wxColour((wxColour
&) result
);
22526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22534 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22535 PyObject
*resultobj
;
22536 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22537 PyObject
*arg2
= (PyObject
*) 0 ;
22539 PyObject
* obj0
= 0 ;
22540 PyObject
* obj1
= 0 ;
22541 char *kwnames
[] = {
22542 (char *) "self",(char *) "func", NULL
22545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22551 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22553 wxPyEndAllowThreads(__tstate
);
22554 if (PyErr_Occurred()) SWIG_fail
;
22557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22565 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22566 PyObject
*resultobj
;
22567 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22569 PyObject
* obj0
= 0 ;
22570 char *kwnames
[] = {
22571 (char *) "self", NULL
22574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22579 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22581 wxPyEndAllowThreads(__tstate
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22585 resultobj
= wxPyMake_wxObject(result
);
22593 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22596 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22598 return Py_BuildValue((char *)"");
22600 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22601 PyObject
*resultobj
;
22602 wxWindow
*arg1
= (wxWindow
*) 0 ;
22603 int arg2
= (int) -1 ;
22604 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22605 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22606 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22607 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22608 long arg5
= (long) wxLC_REPORT
;
22609 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22610 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22611 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22612 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22613 wxListView
*result
;
22616 bool temp7
= False
;
22617 PyObject
* obj0
= 0 ;
22618 PyObject
* obj1
= 0 ;
22619 PyObject
* obj2
= 0 ;
22620 PyObject
* obj3
= 0 ;
22621 PyObject
* obj4
= 0 ;
22622 PyObject
* obj5
= 0 ;
22623 PyObject
* obj6
= 0 ;
22624 char *kwnames
[] = {
22625 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22632 arg2
= (int) SWIG_AsInt(obj1
);
22633 if (PyErr_Occurred()) SWIG_fail
;
22638 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22644 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22648 arg5
= (long) SWIG_AsLong(obj4
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22652 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
22653 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22655 if (arg6
== NULL
) {
22656 PyErr_SetString(PyExc_TypeError
,"null reference");
22662 arg7
= wxString_in_helper(obj6
);
22663 if (arg7
== NULL
) SWIG_fail
;
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22671 wxPyEndAllowThreads(__tstate
);
22672 if (PyErr_Occurred()) SWIG_fail
;
22674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22689 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22690 PyObject
*resultobj
;
22691 wxListView
*result
;
22692 char *kwnames
[] = {
22696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22699 result
= (wxListView
*)new wxListView();
22701 wxPyEndAllowThreads(__tstate
);
22702 if (PyErr_Occurred()) SWIG_fail
;
22704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22711 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22712 PyObject
*resultobj
;
22713 wxListView
*arg1
= (wxListView
*) 0 ;
22714 wxWindow
*arg2
= (wxWindow
*) 0 ;
22715 int arg3
= (int) -1 ;
22716 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22717 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22718 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22719 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22720 long arg6
= (long) wxLC_REPORT
;
22721 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22722 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22723 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22724 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22728 bool temp8
= False
;
22729 PyObject
* obj0
= 0 ;
22730 PyObject
* obj1
= 0 ;
22731 PyObject
* obj2
= 0 ;
22732 PyObject
* obj3
= 0 ;
22733 PyObject
* obj4
= 0 ;
22734 PyObject
* obj5
= 0 ;
22735 PyObject
* obj6
= 0 ;
22736 PyObject
* obj7
= 0 ;
22737 char *kwnames
[] = {
22738 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22744 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22747 arg3
= (int) SWIG_AsInt(obj2
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22753 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22759 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22763 arg6
= (long) SWIG_AsLong(obj5
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22767 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
22768 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22770 if (arg7
== NULL
) {
22771 PyErr_SetString(PyExc_TypeError
,"null reference");
22777 arg8
= wxString_in_helper(obj7
);
22778 if (arg8
== NULL
) SWIG_fail
;
22783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22784 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22786 wxPyEndAllowThreads(__tstate
);
22787 if (PyErr_Occurred()) SWIG_fail
;
22790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22806 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22807 PyObject
*resultobj
;
22808 wxListView
*arg1
= (wxListView
*) 0 ;
22810 bool arg3
= (bool) True
;
22811 PyObject
* obj0
= 0 ;
22812 PyObject
* obj1
= 0 ;
22813 PyObject
* obj2
= 0 ;
22814 char *kwnames
[] = {
22815 (char *) "self",(char *) "n",(char *) "on", NULL
22818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22821 arg2
= (long) SWIG_AsLong(obj1
);
22822 if (PyErr_Occurred()) SWIG_fail
;
22824 arg3
= (bool) SWIG_AsBool(obj2
);
22825 if (PyErr_Occurred()) SWIG_fail
;
22828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22829 (arg1
)->Select(arg2
,arg3
);
22831 wxPyEndAllowThreads(__tstate
);
22832 if (PyErr_Occurred()) SWIG_fail
;
22834 Py_INCREF(Py_None
); resultobj
= Py_None
;
22841 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22842 PyObject
*resultobj
;
22843 wxListView
*arg1
= (wxListView
*) 0 ;
22845 PyObject
* obj0
= 0 ;
22846 PyObject
* obj1
= 0 ;
22847 char *kwnames
[] = {
22848 (char *) "self",(char *) "index", NULL
22851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22854 arg2
= (long) SWIG_AsLong(obj1
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22858 (arg1
)->Focus(arg2
);
22860 wxPyEndAllowThreads(__tstate
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22863 Py_INCREF(Py_None
); resultobj
= Py_None
;
22870 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22871 PyObject
*resultobj
;
22872 wxListView
*arg1
= (wxListView
*) 0 ;
22874 PyObject
* obj0
= 0 ;
22875 char *kwnames
[] = {
22876 (char *) "self", NULL
22879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22884 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22886 wxPyEndAllowThreads(__tstate
);
22887 if (PyErr_Occurred()) SWIG_fail
;
22889 resultobj
= SWIG_FromLong((long)result
);
22896 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22897 PyObject
*resultobj
;
22898 wxListView
*arg1
= (wxListView
*) 0 ;
22901 PyObject
* obj0
= 0 ;
22902 PyObject
* obj1
= 0 ;
22903 char *kwnames
[] = {
22904 (char *) "self",(char *) "item", NULL
22907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22910 arg2
= (long) SWIG_AsLong(obj1
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22914 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22916 wxPyEndAllowThreads(__tstate
);
22917 if (PyErr_Occurred()) SWIG_fail
;
22919 resultobj
= SWIG_FromLong((long)result
);
22926 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22927 PyObject
*resultobj
;
22928 wxListView
*arg1
= (wxListView
*) 0 ;
22930 PyObject
* obj0
= 0 ;
22931 char *kwnames
[] = {
22932 (char *) "self", NULL
22935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22940 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22942 wxPyEndAllowThreads(__tstate
);
22943 if (PyErr_Occurred()) SWIG_fail
;
22945 resultobj
= SWIG_FromLong((long)result
);
22952 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22953 PyObject
*resultobj
;
22954 wxListView
*arg1
= (wxListView
*) 0 ;
22957 PyObject
* obj0
= 0 ;
22958 PyObject
* obj1
= 0 ;
22959 char *kwnames
[] = {
22960 (char *) "self",(char *) "index", NULL
22963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22966 arg2
= (long) SWIG_AsLong(obj1
);
22967 if (PyErr_Occurred()) SWIG_fail
;
22969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22970 result
= (bool)(arg1
)->IsSelected(arg2
);
22972 wxPyEndAllowThreads(__tstate
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22984 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22985 PyObject
*resultobj
;
22986 wxListView
*arg1
= (wxListView
*) 0 ;
22989 PyObject
* obj0
= 0 ;
22990 PyObject
* obj1
= 0 ;
22991 PyObject
* obj2
= 0 ;
22992 char *kwnames
[] = {
22993 (char *) "self",(char *) "col",(char *) "image", NULL
22996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22999 arg2
= (int) SWIG_AsInt(obj1
);
23000 if (PyErr_Occurred()) SWIG_fail
;
23001 arg3
= (int) SWIG_AsInt(obj2
);
23002 if (PyErr_Occurred()) SWIG_fail
;
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23005 (arg1
)->SetColumnImage(arg2
,arg3
);
23007 wxPyEndAllowThreads(__tstate
);
23008 if (PyErr_Occurred()) SWIG_fail
;
23010 Py_INCREF(Py_None
); resultobj
= Py_None
;
23017 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23018 PyObject
*resultobj
;
23019 wxListView
*arg1
= (wxListView
*) 0 ;
23021 PyObject
* obj0
= 0 ;
23022 PyObject
* obj1
= 0 ;
23023 char *kwnames
[] = {
23024 (char *) "self",(char *) "col", NULL
23027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23030 arg2
= (int) SWIG_AsInt(obj1
);
23031 if (PyErr_Occurred()) SWIG_fail
;
23033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23034 (arg1
)->ClearColumnImage(arg2
);
23036 wxPyEndAllowThreads(__tstate
);
23037 if (PyErr_Occurred()) SWIG_fail
;
23039 Py_INCREF(Py_None
); resultobj
= Py_None
;
23046 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
23048 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23049 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
23051 return Py_BuildValue((char *)"");
23053 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
23054 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
23059 static PyObject
*_wrap_TreeCtrlNameStr_get() {
23064 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23066 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23073 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23074 PyObject
*resultobj
;
23075 wxTreeItemId
*result
;
23076 char *kwnames
[] = {
23080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
23082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23083 result
= (wxTreeItemId
*)new wxTreeItemId();
23085 wxPyEndAllowThreads(__tstate
);
23086 if (PyErr_Occurred()) SWIG_fail
;
23088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
23095 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23096 PyObject
*resultobj
;
23097 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23098 PyObject
* obj0
= 0 ;
23099 char *kwnames
[] = {
23100 (char *) "self", NULL
23103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
23104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23110 wxPyEndAllowThreads(__tstate
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23113 Py_INCREF(Py_None
); resultobj
= Py_None
;
23120 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23121 PyObject
*resultobj
;
23122 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23124 PyObject
* obj0
= 0 ;
23125 char *kwnames
[] = {
23126 (char *) "self", NULL
23129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
23130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23134 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
23136 wxPyEndAllowThreads(__tstate
);
23137 if (PyErr_Occurred()) SWIG_fail
;
23140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23148 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23149 PyObject
*resultobj
;
23150 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23151 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23153 PyObject
* obj0
= 0 ;
23154 PyObject
* obj1
= 0 ;
23155 char *kwnames
[] = {
23156 (char *) "self",(char *) "other", NULL
23159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23162 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23166 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
23168 wxPyEndAllowThreads(__tstate
);
23169 if (PyErr_Occurred()) SWIG_fail
;
23172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23180 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23181 PyObject
*resultobj
;
23182 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23183 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23185 PyObject
* obj0
= 0 ;
23186 PyObject
* obj1
= 0 ;
23187 char *kwnames
[] = {
23188 (char *) "self",(char *) "other", NULL
23191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23198 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
23200 wxPyEndAllowThreads(__tstate
);
23201 if (PyErr_Occurred()) SWIG_fail
;
23204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23212 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23213 PyObject
*resultobj
;
23214 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23215 void *arg2
= (void *) 0 ;
23216 PyObject
* obj0
= 0 ;
23217 PyObject
* obj1
= 0 ;
23218 char *kwnames
[] = {
23219 (char *) "self",(char *) "m_pItem", NULL
23222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23225 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23226 if (arg1
) (arg1
)->m_pItem
= arg2
;
23228 Py_INCREF(Py_None
); resultobj
= Py_None
;
23235 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23236 PyObject
*resultobj
;
23237 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23239 PyObject
* obj0
= 0 ;
23240 char *kwnames
[] = {
23241 (char *) "self", NULL
23244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
23245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23247 result
= (void *) ((arg1
)->m_pItem
);
23249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
23256 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
23258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23259 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
23261 return Py_BuildValue((char *)"");
23263 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23264 PyObject
*resultobj
;
23265 PyObject
*arg1
= (PyObject
*) NULL
;
23266 wxPyTreeItemData
*result
;
23267 PyObject
* obj0
= 0 ;
23268 char *kwnames
[] = {
23269 (char *) "obj", NULL
23272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
23277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23278 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
23280 wxPyEndAllowThreads(__tstate
);
23281 if (PyErr_Occurred()) SWIG_fail
;
23283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
23290 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23291 PyObject
*resultobj
;
23292 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23294 PyObject
* obj0
= 0 ;
23295 char *kwnames
[] = {
23296 (char *) "self", NULL
23299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23304 result
= (PyObject
*)(arg1
)->GetData();
23306 wxPyEndAllowThreads(__tstate
);
23307 if (PyErr_Occurred()) SWIG_fail
;
23309 resultobj
= result
;
23316 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23317 PyObject
*resultobj
;
23318 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23319 PyObject
*arg2
= (PyObject
*) 0 ;
23320 PyObject
* obj0
= 0 ;
23321 PyObject
* obj1
= 0 ;
23322 char *kwnames
[] = {
23323 (char *) "self",(char *) "obj", NULL
23326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23332 (arg1
)->SetData(arg2
);
23334 wxPyEndAllowThreads(__tstate
);
23335 if (PyErr_Occurred()) SWIG_fail
;
23337 Py_INCREF(Py_None
); resultobj
= Py_None
;
23344 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23345 PyObject
*resultobj
;
23346 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23347 wxTreeItemId
*result
;
23348 PyObject
* obj0
= 0 ;
23349 char *kwnames
[] = {
23350 (char *) "self", NULL
23353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23359 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23360 result
= (wxTreeItemId
*) &_result_ref
;
23363 wxPyEndAllowThreads(__tstate
);
23364 if (PyErr_Occurred()) SWIG_fail
;
23366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
23373 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23374 PyObject
*resultobj
;
23375 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23376 wxTreeItemId
*arg2
= 0 ;
23377 PyObject
* obj0
= 0 ;
23378 PyObject
* obj1
= 0 ;
23379 char *kwnames
[] = {
23380 (char *) "self",(char *) "id", NULL
23383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23387 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23389 if (arg2
== NULL
) {
23390 PyErr_SetString(PyExc_TypeError
,"null reference");
23394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23395 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23397 wxPyEndAllowThreads(__tstate
);
23398 if (PyErr_Occurred()) SWIG_fail
;
23400 Py_INCREF(Py_None
); resultobj
= Py_None
;
23407 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23408 PyObject
*resultobj
;
23409 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23410 PyObject
* obj0
= 0 ;
23411 char *kwnames
[] = {
23412 (char *) "self", NULL
23415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23420 wxPyTreeItemData_Destroy(arg1
);
23422 wxPyEndAllowThreads(__tstate
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23425 Py_INCREF(Py_None
); resultobj
= Py_None
;
23432 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
23434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23435 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23437 return Py_BuildValue((char *)"");
23439 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23440 PyObject
*resultobj
;
23441 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23442 int arg2
= (int) 0 ;
23443 wxTreeEvent
*result
;
23444 PyObject
* obj0
= 0 ;
23445 PyObject
* obj1
= 0 ;
23446 char *kwnames
[] = {
23447 (char *) "commandType",(char *) "id", NULL
23450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23452 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
23453 if (PyErr_Occurred()) SWIG_fail
;
23456 arg2
= (int) SWIG_AsInt(obj1
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23461 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23463 wxPyEndAllowThreads(__tstate
);
23464 if (PyErr_Occurred()) SWIG_fail
;
23466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
23473 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23474 PyObject
*resultobj
;
23475 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23476 wxTreeItemId result
;
23477 PyObject
* obj0
= 0 ;
23478 char *kwnames
[] = {
23479 (char *) "self", NULL
23482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23487 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23489 wxPyEndAllowThreads(__tstate
);
23490 if (PyErr_Occurred()) SWIG_fail
;
23493 wxTreeItemId
* resultptr
;
23494 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23495 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23503 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23504 PyObject
*resultobj
;
23505 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23506 wxTreeItemId
*arg2
= 0 ;
23507 PyObject
* obj0
= 0 ;
23508 PyObject
* obj1
= 0 ;
23509 char *kwnames
[] = {
23510 (char *) "self",(char *) "item", NULL
23513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23517 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23519 if (arg2
== NULL
) {
23520 PyErr_SetString(PyExc_TypeError
,"null reference");
23524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23525 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23527 wxPyEndAllowThreads(__tstate
);
23528 if (PyErr_Occurred()) SWIG_fail
;
23530 Py_INCREF(Py_None
); resultobj
= Py_None
;
23537 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23538 PyObject
*resultobj
;
23539 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23540 wxTreeItemId result
;
23541 PyObject
* obj0
= 0 ;
23542 char *kwnames
[] = {
23543 (char *) "self", NULL
23546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23551 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23553 wxPyEndAllowThreads(__tstate
);
23554 if (PyErr_Occurred()) SWIG_fail
;
23557 wxTreeItemId
* resultptr
;
23558 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23567 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23568 PyObject
*resultobj
;
23569 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23570 wxTreeItemId
*arg2
= 0 ;
23571 PyObject
* obj0
= 0 ;
23572 PyObject
* obj1
= 0 ;
23573 char *kwnames
[] = {
23574 (char *) "self",(char *) "item", NULL
23577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23581 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23583 if (arg2
== NULL
) {
23584 PyErr_SetString(PyExc_TypeError
,"null reference");
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23589 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23594 Py_INCREF(Py_None
); resultobj
= Py_None
;
23601 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23602 PyObject
*resultobj
;
23603 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23605 PyObject
* obj0
= 0 ;
23606 char *kwnames
[] = {
23607 (char *) "self", NULL
23610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23615 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23617 wxPyEndAllowThreads(__tstate
);
23618 if (PyErr_Occurred()) SWIG_fail
;
23621 wxPoint
* resultptr
;
23622 resultptr
= new wxPoint((wxPoint
&) result
);
23623 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23631 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23632 PyObject
*resultobj
;
23633 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23634 wxPoint
*arg2
= 0 ;
23636 PyObject
* obj0
= 0 ;
23637 PyObject
* obj1
= 0 ;
23638 char *kwnames
[] = {
23639 (char *) "self",(char *) "pt", NULL
23642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23647 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23651 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23653 wxPyEndAllowThreads(__tstate
);
23654 if (PyErr_Occurred()) SWIG_fail
;
23656 Py_INCREF(Py_None
); resultobj
= Py_None
;
23663 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23664 PyObject
*resultobj
;
23665 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23666 wxKeyEvent
*result
;
23667 PyObject
* obj0
= 0 ;
23668 char *kwnames
[] = {
23669 (char *) "self", NULL
23672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23678 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23679 result
= (wxKeyEvent
*) &_result_ref
;
23682 wxPyEndAllowThreads(__tstate
);
23683 if (PyErr_Occurred()) SWIG_fail
;
23685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
23692 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23693 PyObject
*resultobj
;
23694 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23696 PyObject
* obj0
= 0 ;
23697 char *kwnames
[] = {
23698 (char *) "self", NULL
23701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23706 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23708 wxPyEndAllowThreads(__tstate
);
23709 if (PyErr_Occurred()) SWIG_fail
;
23711 resultobj
= SWIG_FromInt((int)result
);
23718 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23719 PyObject
*resultobj
;
23720 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23721 wxKeyEvent
*arg2
= 0 ;
23722 PyObject
* obj0
= 0 ;
23723 PyObject
* obj1
= 0 ;
23724 char *kwnames
[] = {
23725 (char *) "self",(char *) "evt", NULL
23728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
23732 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23734 if (arg2
== NULL
) {
23735 PyErr_SetString(PyExc_TypeError
,"null reference");
23739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23740 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23742 wxPyEndAllowThreads(__tstate
);
23743 if (PyErr_Occurred()) SWIG_fail
;
23745 Py_INCREF(Py_None
); resultobj
= Py_None
;
23752 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23753 PyObject
*resultobj
;
23754 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23756 PyObject
* obj0
= 0 ;
23757 char *kwnames
[] = {
23758 (char *) "self", NULL
23761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23768 result
= (wxString
*) &_result_ref
;
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23776 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23778 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23787 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23788 PyObject
*resultobj
;
23789 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23790 wxString
*arg2
= 0 ;
23791 bool temp2
= False
;
23792 PyObject
* obj0
= 0 ;
23793 PyObject
* obj1
= 0 ;
23794 char *kwnames
[] = {
23795 (char *) "self",(char *) "label", NULL
23798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23802 arg2
= wxString_in_helper(obj1
);
23803 if (arg2
== NULL
) SWIG_fail
;
23807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23808 (arg1
)->SetLabel((wxString
const &)*arg2
);
23810 wxPyEndAllowThreads(__tstate
);
23811 if (PyErr_Occurred()) SWIG_fail
;
23813 Py_INCREF(Py_None
); resultobj
= Py_None
;
23828 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23829 PyObject
*resultobj
;
23830 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23832 PyObject
* obj0
= 0 ;
23833 char *kwnames
[] = {
23834 (char *) "self", NULL
23837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23842 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23844 wxPyEndAllowThreads(__tstate
);
23845 if (PyErr_Occurred()) SWIG_fail
;
23848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23856 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23857 PyObject
*resultobj
;
23858 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23860 PyObject
* obj0
= 0 ;
23861 PyObject
* obj1
= 0 ;
23862 char *kwnames
[] = {
23863 (char *) "self",(char *) "editCancelled", NULL
23866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23869 arg2
= (bool) SWIG_AsBool(obj1
);
23870 if (PyErr_Occurred()) SWIG_fail
;
23872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23873 (arg1
)->SetEditCanceled(arg2
);
23875 wxPyEndAllowThreads(__tstate
);
23876 if (PyErr_Occurred()) SWIG_fail
;
23878 Py_INCREF(Py_None
); resultobj
= Py_None
;
23885 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23886 PyObject
*resultobj
;
23887 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23888 wxString
*arg2
= 0 ;
23889 bool temp2
= False
;
23890 PyObject
* obj0
= 0 ;
23891 PyObject
* obj1
= 0 ;
23892 char *kwnames
[] = {
23893 (char *) "self",(char *) "toolTip", NULL
23896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23900 arg2
= wxString_in_helper(obj1
);
23901 if (arg2
== NULL
) SWIG_fail
;
23905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23906 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23908 wxPyEndAllowThreads(__tstate
);
23909 if (PyErr_Occurred()) SWIG_fail
;
23911 Py_INCREF(Py_None
); resultobj
= Py_None
;
23926 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
23928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23929 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23931 return Py_BuildValue((char *)"");
23933 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23934 PyObject
*resultobj
;
23935 wxWindow
*arg1
= (wxWindow
*) 0 ;
23936 int arg2
= (int) -1 ;
23937 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23938 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23939 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23940 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23941 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23942 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23943 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23944 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23945 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23946 wxPyTreeCtrl
*result
;
23949 bool temp7
= False
;
23950 PyObject
* obj0
= 0 ;
23951 PyObject
* obj1
= 0 ;
23952 PyObject
* obj2
= 0 ;
23953 PyObject
* obj3
= 0 ;
23954 PyObject
* obj4
= 0 ;
23955 PyObject
* obj5
= 0 ;
23956 PyObject
* obj6
= 0 ;
23957 char *kwnames
[] = {
23958 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23965 arg2
= (int) SWIG_AsInt(obj1
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23971 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23977 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23981 arg5
= (long) SWIG_AsLong(obj4
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23985 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23986 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23988 if (arg6
== NULL
) {
23989 PyErr_SetString(PyExc_TypeError
,"null reference");
23995 arg7
= wxString_in_helper(obj6
);
23996 if (arg7
== NULL
) SWIG_fail
;
24001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24002 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24004 wxPyEndAllowThreads(__tstate
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24008 resultobj
= wxPyMake_wxObject(result
);
24024 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24025 PyObject
*resultobj
;
24026 wxPyTreeCtrl
*result
;
24027 char *kwnames
[] = {
24031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
24033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24034 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
24036 wxPyEndAllowThreads(__tstate
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24040 resultobj
= wxPyMake_wxObject(result
);
24048 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24049 PyObject
*resultobj
;
24050 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24051 wxWindow
*arg2
= (wxWindow
*) 0 ;
24052 int arg3
= (int) -1 ;
24053 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24054 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24055 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24056 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24057 long arg6
= (long) wxTR_DEFAULT_STYLE
;
24058 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24059 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24060 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
24061 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24065 bool temp8
= False
;
24066 PyObject
* obj0
= 0 ;
24067 PyObject
* obj1
= 0 ;
24068 PyObject
* obj2
= 0 ;
24069 PyObject
* obj3
= 0 ;
24070 PyObject
* obj4
= 0 ;
24071 PyObject
* obj5
= 0 ;
24072 PyObject
* obj6
= 0 ;
24073 PyObject
* obj7
= 0 ;
24074 char *kwnames
[] = {
24075 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24084 arg3
= (int) SWIG_AsInt(obj2
);
24085 if (PyErr_Occurred()) SWIG_fail
;
24090 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24096 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24100 arg6
= (long) SWIG_AsLong(obj5
);
24101 if (PyErr_Occurred()) SWIG_fail
;
24104 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24105 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24107 if (arg7
== NULL
) {
24108 PyErr_SetString(PyExc_TypeError
,"null reference");
24114 arg8
= wxString_in_helper(obj7
);
24115 if (arg8
== NULL
) SWIG_fail
;
24120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24121 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24123 wxPyEndAllowThreads(__tstate
);
24124 if (PyErr_Occurred()) SWIG_fail
;
24127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24143 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24144 PyObject
*resultobj
;
24145 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24146 PyObject
*arg2
= (PyObject
*) 0 ;
24147 PyObject
*arg3
= (PyObject
*) 0 ;
24148 PyObject
* obj0
= 0 ;
24149 PyObject
* obj1
= 0 ;
24150 PyObject
* obj2
= 0 ;
24151 char *kwnames
[] = {
24152 (char *) "self",(char *) "self",(char *) "_class", NULL
24155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24162 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24164 wxPyEndAllowThreads(__tstate
);
24165 if (PyErr_Occurred()) SWIG_fail
;
24167 Py_INCREF(Py_None
); resultobj
= Py_None
;
24174 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24175 PyObject
*resultobj
;
24176 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24178 PyObject
* obj0
= 0 ;
24179 char *kwnames
[] = {
24180 (char *) "self", NULL
24183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
24184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24188 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
24190 wxPyEndAllowThreads(__tstate
);
24191 if (PyErr_Occurred()) SWIG_fail
;
24193 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24200 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24201 PyObject
*resultobj
;
24202 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24203 unsigned int result
;
24204 PyObject
* obj0
= 0 ;
24205 char *kwnames
[] = {
24206 (char *) "self", NULL
24209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
24210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24214 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
24216 wxPyEndAllowThreads(__tstate
);
24217 if (PyErr_Occurred()) SWIG_fail
;
24219 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24226 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24227 PyObject
*resultobj
;
24228 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24229 unsigned int arg2
;
24230 PyObject
* obj0
= 0 ;
24231 PyObject
* obj1
= 0 ;
24232 char *kwnames
[] = {
24233 (char *) "self",(char *) "indent", NULL
24236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
24237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24239 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24240 if (PyErr_Occurred()) SWIG_fail
;
24242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24243 (arg1
)->SetIndent(arg2
);
24245 wxPyEndAllowThreads(__tstate
);
24246 if (PyErr_Occurred()) SWIG_fail
;
24248 Py_INCREF(Py_None
); resultobj
= Py_None
;
24255 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24256 PyObject
*resultobj
;
24257 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24258 unsigned int result
;
24259 PyObject
* obj0
= 0 ;
24260 char *kwnames
[] = {
24261 (char *) "self", NULL
24264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
24265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24269 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
24271 wxPyEndAllowThreads(__tstate
);
24272 if (PyErr_Occurred()) SWIG_fail
;
24274 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24281 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24282 PyObject
*resultobj
;
24283 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24284 unsigned int arg2
;
24285 PyObject
* obj0
= 0 ;
24286 PyObject
* obj1
= 0 ;
24287 char *kwnames
[] = {
24288 (char *) "self",(char *) "spacing", NULL
24291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
24292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24294 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24295 if (PyErr_Occurred()) SWIG_fail
;
24297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24298 (arg1
)->SetSpacing(arg2
);
24300 wxPyEndAllowThreads(__tstate
);
24301 if (PyErr_Occurred()) SWIG_fail
;
24303 Py_INCREF(Py_None
); resultobj
= Py_None
;
24310 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24311 PyObject
*resultobj
;
24312 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24313 wxImageList
*result
;
24314 PyObject
* obj0
= 0 ;
24315 char *kwnames
[] = {
24316 (char *) "self", NULL
24319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
24320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24324 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24326 wxPyEndAllowThreads(__tstate
);
24327 if (PyErr_Occurred()) SWIG_fail
;
24330 resultobj
= wxPyMake_wxObject(result
);
24338 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24339 PyObject
*resultobj
;
24340 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24341 wxImageList
*result
;
24342 PyObject
* obj0
= 0 ;
24343 char *kwnames
[] = {
24344 (char *) "self", NULL
24347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24352 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24354 wxPyEndAllowThreads(__tstate
);
24355 if (PyErr_Occurred()) SWIG_fail
;
24358 resultobj
= wxPyMake_wxObject(result
);
24366 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24367 PyObject
*resultobj
;
24368 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24369 wxImageList
*arg2
= (wxImageList
*) 0 ;
24370 PyObject
* obj0
= 0 ;
24371 PyObject
* obj1
= 0 ;
24372 char *kwnames
[] = {
24373 (char *) "self",(char *) "imageList", NULL
24376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24379 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24383 (arg1
)->SetImageList(arg2
);
24385 wxPyEndAllowThreads(__tstate
);
24386 if (PyErr_Occurred()) SWIG_fail
;
24388 Py_INCREF(Py_None
); resultobj
= Py_None
;
24395 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24396 PyObject
*resultobj
;
24397 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24398 wxImageList
*arg2
= (wxImageList
*) 0 ;
24399 PyObject
* obj0
= 0 ;
24400 PyObject
* obj1
= 0 ;
24401 char *kwnames
[] = {
24402 (char *) "self",(char *) "imageList", NULL
24405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24412 (arg1
)->SetStateImageList(arg2
);
24414 wxPyEndAllowThreads(__tstate
);
24415 if (PyErr_Occurred()) SWIG_fail
;
24417 Py_INCREF(Py_None
); resultobj
= Py_None
;
24424 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24425 PyObject
*resultobj
;
24426 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24427 wxImageList
*arg2
= (wxImageList
*) 0 ;
24428 PyObject
* obj0
= 0 ;
24429 PyObject
* obj1
= 0 ;
24430 char *kwnames
[] = {
24431 (char *) "self",(char *) "imageList", NULL
24434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24438 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24441 (arg1
)->AssignImageList(arg2
);
24443 wxPyEndAllowThreads(__tstate
);
24444 if (PyErr_Occurred()) SWIG_fail
;
24446 Py_INCREF(Py_None
); resultobj
= Py_None
;
24453 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24454 PyObject
*resultobj
;
24455 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24456 wxImageList
*arg2
= (wxImageList
*) 0 ;
24457 PyObject
* obj0
= 0 ;
24458 PyObject
* obj1
= 0 ;
24459 char *kwnames
[] = {
24460 (char *) "self",(char *) "imageList", NULL
24463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24467 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24470 (arg1
)->AssignStateImageList(arg2
);
24472 wxPyEndAllowThreads(__tstate
);
24473 if (PyErr_Occurred()) SWIG_fail
;
24475 Py_INCREF(Py_None
); resultobj
= Py_None
;
24482 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24483 PyObject
*resultobj
;
24484 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24485 wxTreeItemId
*arg2
= 0 ;
24487 PyObject
* obj0
= 0 ;
24488 PyObject
* obj1
= 0 ;
24489 char *kwnames
[] = {
24490 (char *) "self",(char *) "item", NULL
24493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24496 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24497 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24499 if (arg2
== NULL
) {
24500 PyErr_SetString(PyExc_TypeError
,"null reference");
24504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24505 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24507 wxPyEndAllowThreads(__tstate
);
24508 if (PyErr_Occurred()) SWIG_fail
;
24512 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24514 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24523 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24524 PyObject
*resultobj
;
24525 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24526 wxTreeItemId
*arg2
= 0 ;
24527 int arg3
= (int) wxTreeItemIcon_Normal
;
24529 PyObject
* obj0
= 0 ;
24530 PyObject
* obj1
= 0 ;
24531 PyObject
* obj2
= 0 ;
24532 char *kwnames
[] = {
24533 (char *) "self",(char *) "item",(char *) "which", NULL
24536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24539 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24540 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24542 if (arg2
== NULL
) {
24543 PyErr_SetString(PyExc_TypeError
,"null reference");
24547 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
24548 if (PyErr_Occurred()) SWIG_fail
;
24551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24552 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24554 wxPyEndAllowThreads(__tstate
);
24555 if (PyErr_Occurred()) SWIG_fail
;
24557 resultobj
= SWIG_FromInt((int)result
);
24564 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24565 PyObject
*resultobj
;
24566 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24567 wxTreeItemId
*arg2
= 0 ;
24568 wxPyTreeItemData
*result
;
24569 PyObject
* obj0
= 0 ;
24570 PyObject
* obj1
= 0 ;
24571 char *kwnames
[] = {
24572 (char *) "self",(char *) "item", NULL
24575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24581 if (arg2
== NULL
) {
24582 PyErr_SetString(PyExc_TypeError
,"null reference");
24586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24587 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24589 wxPyEndAllowThreads(__tstate
);
24590 if (PyErr_Occurred()) SWIG_fail
;
24592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
24599 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24600 PyObject
*resultobj
;
24601 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24602 wxTreeItemId
*arg2
= 0 ;
24604 PyObject
* obj0
= 0 ;
24605 PyObject
* obj1
= 0 ;
24606 char *kwnames
[] = {
24607 (char *) "self",(char *) "item", NULL
24610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24613 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24614 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24616 if (arg2
== NULL
) {
24617 PyErr_SetString(PyExc_TypeError
,"null reference");
24621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24622 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24624 wxPyEndAllowThreads(__tstate
);
24625 if (PyErr_Occurred()) SWIG_fail
;
24627 resultobj
= result
;
24634 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24635 PyObject
*resultobj
;
24636 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24637 wxTreeItemId
*arg2
= 0 ;
24639 PyObject
* obj0
= 0 ;
24640 PyObject
* obj1
= 0 ;
24641 char *kwnames
[] = {
24642 (char *) "self",(char *) "item", NULL
24645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24649 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24651 if (arg2
== NULL
) {
24652 PyErr_SetString(PyExc_TypeError
,"null reference");
24656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24657 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24659 wxPyEndAllowThreads(__tstate
);
24660 if (PyErr_Occurred()) SWIG_fail
;
24663 wxColour
* resultptr
;
24664 resultptr
= new wxColour((wxColour
&) result
);
24665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24673 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24674 PyObject
*resultobj
;
24675 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24676 wxTreeItemId
*arg2
= 0 ;
24678 PyObject
* obj0
= 0 ;
24679 PyObject
* obj1
= 0 ;
24680 char *kwnames
[] = {
24681 (char *) "self",(char *) "item", NULL
24684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24688 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24690 if (arg2
== NULL
) {
24691 PyErr_SetString(PyExc_TypeError
,"null reference");
24695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24696 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24698 wxPyEndAllowThreads(__tstate
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24702 wxColour
* resultptr
;
24703 resultptr
= new wxColour((wxColour
&) result
);
24704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24712 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24713 PyObject
*resultobj
;
24714 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24715 wxTreeItemId
*arg2
= 0 ;
24717 PyObject
* obj0
= 0 ;
24718 PyObject
* obj1
= 0 ;
24719 char *kwnames
[] = {
24720 (char *) "self",(char *) "item", NULL
24723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24729 if (arg2
== NULL
) {
24730 PyErr_SetString(PyExc_TypeError
,"null reference");
24734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24735 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24737 wxPyEndAllowThreads(__tstate
);
24738 if (PyErr_Occurred()) SWIG_fail
;
24741 wxFont
* resultptr
;
24742 resultptr
= new wxFont((wxFont
&) result
);
24743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
24751 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24752 PyObject
*resultobj
;
24753 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24754 wxTreeItemId
*arg2
= 0 ;
24755 wxString
*arg3
= 0 ;
24756 bool temp3
= False
;
24757 PyObject
* obj0
= 0 ;
24758 PyObject
* obj1
= 0 ;
24759 PyObject
* obj2
= 0 ;
24760 char *kwnames
[] = {
24761 (char *) "self",(char *) "item",(char *) "text", NULL
24764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24768 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24770 if (arg2
== NULL
) {
24771 PyErr_SetString(PyExc_TypeError
,"null reference");
24775 arg3
= wxString_in_helper(obj2
);
24776 if (arg3
== NULL
) SWIG_fail
;
24780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24781 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24783 wxPyEndAllowThreads(__tstate
);
24784 if (PyErr_Occurred()) SWIG_fail
;
24786 Py_INCREF(Py_None
); resultobj
= Py_None
;
24801 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24802 PyObject
*resultobj
;
24803 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24804 wxTreeItemId
*arg2
= 0 ;
24806 int arg4
= (int) wxTreeItemIcon_Normal
;
24807 PyObject
* obj0
= 0 ;
24808 PyObject
* obj1
= 0 ;
24809 PyObject
* obj2
= 0 ;
24810 PyObject
* obj3
= 0 ;
24811 char *kwnames
[] = {
24812 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24821 if (arg2
== NULL
) {
24822 PyErr_SetString(PyExc_TypeError
,"null reference");
24825 arg3
= (int) SWIG_AsInt(obj2
);
24826 if (PyErr_Occurred()) SWIG_fail
;
24828 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
24829 if (PyErr_Occurred()) SWIG_fail
;
24832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24833 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24835 wxPyEndAllowThreads(__tstate
);
24836 if (PyErr_Occurred()) SWIG_fail
;
24838 Py_INCREF(Py_None
); resultobj
= Py_None
;
24845 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24846 PyObject
*resultobj
;
24847 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24848 wxTreeItemId
*arg2
= 0 ;
24849 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24850 PyObject
* obj0
= 0 ;
24851 PyObject
* obj1
= 0 ;
24852 PyObject
* obj2
= 0 ;
24853 char *kwnames
[] = {
24854 (char *) "self",(char *) "item",(char *) "data", NULL
24857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24861 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24863 if (arg2
== NULL
) {
24864 PyErr_SetString(PyExc_TypeError
,"null reference");
24867 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
24868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24871 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24873 wxPyEndAllowThreads(__tstate
);
24874 if (PyErr_Occurred()) SWIG_fail
;
24876 Py_INCREF(Py_None
); resultobj
= Py_None
;
24883 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24884 PyObject
*resultobj
;
24885 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24886 wxTreeItemId
*arg2
= 0 ;
24887 PyObject
*arg3
= (PyObject
*) 0 ;
24888 PyObject
* obj0
= 0 ;
24889 PyObject
* obj1
= 0 ;
24890 PyObject
* obj2
= 0 ;
24891 char *kwnames
[] = {
24892 (char *) "self",(char *) "item",(char *) "obj", NULL
24895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24899 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24901 if (arg2
== NULL
) {
24902 PyErr_SetString(PyExc_TypeError
,"null reference");
24907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24908 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24910 wxPyEndAllowThreads(__tstate
);
24911 if (PyErr_Occurred()) SWIG_fail
;
24913 Py_INCREF(Py_None
); resultobj
= Py_None
;
24920 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24921 PyObject
*resultobj
;
24922 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24923 wxTreeItemId
*arg2
= 0 ;
24924 bool arg3
= (bool) True
;
24925 PyObject
* obj0
= 0 ;
24926 PyObject
* obj1
= 0 ;
24927 PyObject
* obj2
= 0 ;
24928 char *kwnames
[] = {
24929 (char *) "self",(char *) "item",(char *) "has", NULL
24932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24936 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24938 if (arg2
== NULL
) {
24939 PyErr_SetString(PyExc_TypeError
,"null reference");
24943 arg3
= (bool) SWIG_AsBool(obj2
);
24944 if (PyErr_Occurred()) SWIG_fail
;
24947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24948 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24950 wxPyEndAllowThreads(__tstate
);
24951 if (PyErr_Occurred()) SWIG_fail
;
24953 Py_INCREF(Py_None
); resultobj
= Py_None
;
24960 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24961 PyObject
*resultobj
;
24962 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24963 wxTreeItemId
*arg2
= 0 ;
24964 bool arg3
= (bool) True
;
24965 PyObject
* obj0
= 0 ;
24966 PyObject
* obj1
= 0 ;
24967 PyObject
* obj2
= 0 ;
24968 char *kwnames
[] = {
24969 (char *) "self",(char *) "item",(char *) "bold", NULL
24972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24976 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24978 if (arg2
== NULL
) {
24979 PyErr_SetString(PyExc_TypeError
,"null reference");
24983 arg3
= (bool) SWIG_AsBool(obj2
);
24984 if (PyErr_Occurred()) SWIG_fail
;
24987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24988 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24990 wxPyEndAllowThreads(__tstate
);
24991 if (PyErr_Occurred()) SWIG_fail
;
24993 Py_INCREF(Py_None
); resultobj
= Py_None
;
25000 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25001 PyObject
*resultobj
;
25002 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25003 wxTreeItemId
*arg2
= 0 ;
25004 wxColour
*arg3
= 0 ;
25006 PyObject
* obj0
= 0 ;
25007 PyObject
* obj1
= 0 ;
25008 PyObject
* obj2
= 0 ;
25009 char *kwnames
[] = {
25010 (char *) "self",(char *) "item",(char *) "col", NULL
25013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25017 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25019 if (arg2
== NULL
) {
25020 PyErr_SetString(PyExc_TypeError
,"null reference");
25025 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25029 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25031 wxPyEndAllowThreads(__tstate
);
25032 if (PyErr_Occurred()) SWIG_fail
;
25034 Py_INCREF(Py_None
); resultobj
= Py_None
;
25041 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25042 PyObject
*resultobj
;
25043 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25044 wxTreeItemId
*arg2
= 0 ;
25045 wxColour
*arg3
= 0 ;
25047 PyObject
* obj0
= 0 ;
25048 PyObject
* obj1
= 0 ;
25049 PyObject
* obj2
= 0 ;
25050 char *kwnames
[] = {
25051 (char *) "self",(char *) "item",(char *) "col", NULL
25054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25058 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25060 if (arg2
== NULL
) {
25061 PyErr_SetString(PyExc_TypeError
,"null reference");
25066 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25070 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25072 wxPyEndAllowThreads(__tstate
);
25073 if (PyErr_Occurred()) SWIG_fail
;
25075 Py_INCREF(Py_None
); resultobj
= Py_None
;
25082 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25083 PyObject
*resultobj
;
25084 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25085 wxTreeItemId
*arg2
= 0 ;
25087 PyObject
* obj0
= 0 ;
25088 PyObject
* obj1
= 0 ;
25089 PyObject
* obj2
= 0 ;
25090 char *kwnames
[] = {
25091 (char *) "self",(char *) "item",(char *) "font", NULL
25094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25098 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25100 if (arg2
== NULL
) {
25101 PyErr_SetString(PyExc_TypeError
,"null reference");
25104 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
25105 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25107 if (arg3
== NULL
) {
25108 PyErr_SetString(PyExc_TypeError
,"null reference");
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25113 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
25115 wxPyEndAllowThreads(__tstate
);
25116 if (PyErr_Occurred()) SWIG_fail
;
25118 Py_INCREF(Py_None
); resultobj
= Py_None
;
25125 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25126 PyObject
*resultobj
;
25127 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25128 wxTreeItemId
*arg2
= 0 ;
25130 PyObject
* obj0
= 0 ;
25131 PyObject
* obj1
= 0 ;
25132 char *kwnames
[] = {
25133 (char *) "self",(char *) "item", NULL
25136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25139 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25140 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25142 if (arg2
== NULL
) {
25143 PyErr_SetString(PyExc_TypeError
,"null reference");
25147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25148 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
25150 wxPyEndAllowThreads(__tstate
);
25151 if (PyErr_Occurred()) SWIG_fail
;
25154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25162 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25163 PyObject
*resultobj
;
25164 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25165 wxTreeItemId
*arg2
= 0 ;
25167 PyObject
* obj0
= 0 ;
25168 PyObject
* obj1
= 0 ;
25169 char *kwnames
[] = {
25170 (char *) "self",(char *) "item", NULL
25173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25177 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25179 if (arg2
== NULL
) {
25180 PyErr_SetString(PyExc_TypeError
,"null reference");
25184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25185 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
25187 wxPyEndAllowThreads(__tstate
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25199 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25200 PyObject
*resultobj
;
25201 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25202 wxTreeItemId
*arg2
= 0 ;
25204 PyObject
* obj0
= 0 ;
25205 PyObject
* obj1
= 0 ;
25206 char *kwnames
[] = {
25207 (char *) "self",(char *) "item", NULL
25210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
25211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25214 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25216 if (arg2
== NULL
) {
25217 PyErr_SetString(PyExc_TypeError
,"null reference");
25221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25222 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
25224 wxPyEndAllowThreads(__tstate
);
25225 if (PyErr_Occurred()) SWIG_fail
;
25228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25236 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25237 PyObject
*resultobj
;
25238 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25239 wxTreeItemId
*arg2
= 0 ;
25241 PyObject
* obj0
= 0 ;
25242 PyObject
* obj1
= 0 ;
25243 char *kwnames
[] = {
25244 (char *) "self",(char *) "item", NULL
25247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
25248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25251 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25253 if (arg2
== NULL
) {
25254 PyErr_SetString(PyExc_TypeError
,"null reference");
25258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25259 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
25261 wxPyEndAllowThreads(__tstate
);
25262 if (PyErr_Occurred()) SWIG_fail
;
25265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25273 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25274 PyObject
*resultobj
;
25275 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25276 wxTreeItemId
*arg2
= 0 ;
25278 PyObject
* obj0
= 0 ;
25279 PyObject
* obj1
= 0 ;
25280 char *kwnames
[] = {
25281 (char *) "self",(char *) "item", NULL
25284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
25285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25288 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25290 if (arg2
== NULL
) {
25291 PyErr_SetString(PyExc_TypeError
,"null reference");
25295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25296 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
25298 wxPyEndAllowThreads(__tstate
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25310 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25311 PyObject
*resultobj
;
25312 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25313 wxTreeItemId
*arg2
= 0 ;
25314 bool arg3
= (bool) True
;
25316 PyObject
* obj0
= 0 ;
25317 PyObject
* obj1
= 0 ;
25318 PyObject
* obj2
= 0 ;
25319 char *kwnames
[] = {
25320 (char *) "self",(char *) "item",(char *) "recursively", NULL
25323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25327 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25329 if (arg2
== NULL
) {
25330 PyErr_SetString(PyExc_TypeError
,"null reference");
25334 arg3
= (bool) SWIG_AsBool(obj2
);
25335 if (PyErr_Occurred()) SWIG_fail
;
25338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25339 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
25341 wxPyEndAllowThreads(__tstate
);
25342 if (PyErr_Occurred()) SWIG_fail
;
25344 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25351 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25352 PyObject
*resultobj
;
25353 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25354 wxTreeItemId result
;
25355 PyObject
* obj0
= 0 ;
25356 char *kwnames
[] = {
25357 (char *) "self", NULL
25360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
25361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25365 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
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_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25382 PyObject
*resultobj
;
25383 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25384 wxTreeItemId result
;
25385 PyObject
* obj0
= 0 ;
25386 char *kwnames
[] = {
25387 (char *) "self", NULL
25390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
25391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25395 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
25397 wxPyEndAllowThreads(__tstate
);
25398 if (PyErr_Occurred()) SWIG_fail
;
25401 wxTreeItemId
* resultptr
;
25402 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25403 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25411 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25412 PyObject
*resultobj
;
25413 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25415 PyObject
* obj0
= 0 ;
25416 char *kwnames
[] = {
25417 (char *) "self", NULL
25420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
25421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25425 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25427 wxPyEndAllowThreads(__tstate
);
25428 if (PyErr_Occurred()) SWIG_fail
;
25430 resultobj
= result
;
25437 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25438 PyObject
*resultobj
;
25439 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25440 wxTreeItemId
*arg2
= 0 ;
25441 wxTreeItemId result
;
25442 PyObject
* obj0
= 0 ;
25443 PyObject
* obj1
= 0 ;
25444 char *kwnames
[] = {
25445 (char *) "self",(char *) "item", NULL
25448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25452 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25454 if (arg2
== NULL
) {
25455 PyErr_SetString(PyExc_TypeError
,"null reference");
25459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25460 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25462 wxPyEndAllowThreads(__tstate
);
25463 if (PyErr_Occurred()) SWIG_fail
;
25466 wxTreeItemId
* resultptr
;
25467 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25468 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25476 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25477 PyObject
*resultobj
;
25478 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25479 wxTreeItemId
*arg2
= 0 ;
25481 PyObject
* obj0
= 0 ;
25482 PyObject
* obj1
= 0 ;
25483 char *kwnames
[] = {
25484 (char *) "self",(char *) "item", NULL
25487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25491 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25493 if (arg2
== NULL
) {
25494 PyErr_SetString(PyExc_TypeError
,"null reference");
25498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25499 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25501 wxPyEndAllowThreads(__tstate
);
25502 if (PyErr_Occurred()) SWIG_fail
;
25504 resultobj
= result
;
25511 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25512 PyObject
*resultobj
;
25513 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25514 wxTreeItemId
*arg2
= 0 ;
25515 void *arg3
= (void *) 0 ;
25517 PyObject
* obj0
= 0 ;
25518 PyObject
* obj1
= 0 ;
25519 PyObject
* obj2
= 0 ;
25520 char *kwnames
[] = {
25521 (char *) "self",(char *) "item",(char *) "cookie", NULL
25524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25527 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25528 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25530 if (arg2
== NULL
) {
25531 PyErr_SetString(PyExc_TypeError
,"null reference");
25534 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25537 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25539 wxPyEndAllowThreads(__tstate
);
25540 if (PyErr_Occurred()) SWIG_fail
;
25542 resultobj
= result
;
25549 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25550 PyObject
*resultobj
;
25551 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25552 wxTreeItemId
*arg2
= 0 ;
25553 wxTreeItemId result
;
25554 PyObject
* obj0
= 0 ;
25555 PyObject
* obj1
= 0 ;
25556 char *kwnames
[] = {
25557 (char *) "self",(char *) "item", NULL
25560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25564 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25566 if (arg2
== NULL
) {
25567 PyErr_SetString(PyExc_TypeError
,"null reference");
25571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25572 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25574 wxPyEndAllowThreads(__tstate
);
25575 if (PyErr_Occurred()) SWIG_fail
;
25578 wxTreeItemId
* resultptr
;
25579 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25588 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25589 PyObject
*resultobj
;
25590 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25591 wxTreeItemId
*arg2
= 0 ;
25592 wxTreeItemId result
;
25593 PyObject
* obj0
= 0 ;
25594 PyObject
* obj1
= 0 ;
25595 char *kwnames
[] = {
25596 (char *) "self",(char *) "item", NULL
25599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25602 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25603 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25605 if (arg2
== NULL
) {
25606 PyErr_SetString(PyExc_TypeError
,"null reference");
25610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25611 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25613 wxPyEndAllowThreads(__tstate
);
25614 if (PyErr_Occurred()) SWIG_fail
;
25617 wxTreeItemId
* resultptr
;
25618 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25627 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25628 PyObject
*resultobj
;
25629 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25630 wxTreeItemId
*arg2
= 0 ;
25631 wxTreeItemId result
;
25632 PyObject
* obj0
= 0 ;
25633 PyObject
* obj1
= 0 ;
25634 char *kwnames
[] = {
25635 (char *) "self",(char *) "item", NULL
25638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25642 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25644 if (arg2
== NULL
) {
25645 PyErr_SetString(PyExc_TypeError
,"null reference");
25649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25650 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25652 wxPyEndAllowThreads(__tstate
);
25653 if (PyErr_Occurred()) SWIG_fail
;
25656 wxTreeItemId
* resultptr
;
25657 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25658 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25666 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25667 PyObject
*resultobj
;
25668 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25669 wxTreeItemId result
;
25670 PyObject
* obj0
= 0 ;
25671 char *kwnames
[] = {
25672 (char *) "self", NULL
25675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25680 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25682 wxPyEndAllowThreads(__tstate
);
25683 if (PyErr_Occurred()) SWIG_fail
;
25686 wxTreeItemId
* resultptr
;
25687 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25688 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25696 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25697 PyObject
*resultobj
;
25698 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25699 wxTreeItemId
*arg2
= 0 ;
25700 wxTreeItemId result
;
25701 PyObject
* obj0
= 0 ;
25702 PyObject
* obj1
= 0 ;
25703 char *kwnames
[] = {
25704 (char *) "self",(char *) "item", NULL
25707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25711 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25713 if (arg2
== NULL
) {
25714 PyErr_SetString(PyExc_TypeError
,"null reference");
25718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25719 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25721 wxPyEndAllowThreads(__tstate
);
25722 if (PyErr_Occurred()) SWIG_fail
;
25725 wxTreeItemId
* resultptr
;
25726 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25735 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25736 PyObject
*resultobj
;
25737 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25738 wxTreeItemId
*arg2
= 0 ;
25739 wxTreeItemId result
;
25740 PyObject
* obj0
= 0 ;
25741 PyObject
* obj1
= 0 ;
25742 char *kwnames
[] = {
25743 (char *) "self",(char *) "item", NULL
25746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25750 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25752 if (arg2
== NULL
) {
25753 PyErr_SetString(PyExc_TypeError
,"null reference");
25757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25758 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25760 wxPyEndAllowThreads(__tstate
);
25761 if (PyErr_Occurred()) SWIG_fail
;
25764 wxTreeItemId
* resultptr
;
25765 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25774 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25775 PyObject
*resultobj
;
25776 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25777 wxString
*arg2
= 0 ;
25778 int arg3
= (int) -1 ;
25779 int arg4
= (int) -1 ;
25780 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25781 wxTreeItemId result
;
25782 bool temp2
= False
;
25783 PyObject
* obj0
= 0 ;
25784 PyObject
* obj1
= 0 ;
25785 PyObject
* obj2
= 0 ;
25786 PyObject
* obj3
= 0 ;
25787 PyObject
* obj4
= 0 ;
25788 char *kwnames
[] = {
25789 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25796 arg2
= wxString_in_helper(obj1
);
25797 if (arg2
== NULL
) SWIG_fail
;
25801 arg3
= (int) SWIG_AsInt(obj2
);
25802 if (PyErr_Occurred()) SWIG_fail
;
25805 arg4
= (int) SWIG_AsInt(obj3
);
25806 if (PyErr_Occurred()) SWIG_fail
;
25809 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
25810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25814 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25816 wxPyEndAllowThreads(__tstate
);
25817 if (PyErr_Occurred()) SWIG_fail
;
25820 wxTreeItemId
* resultptr
;
25821 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25838 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25839 PyObject
*resultobj
;
25840 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25841 wxTreeItemId
*arg2
= 0 ;
25842 wxString
*arg3
= 0 ;
25843 int arg4
= (int) -1 ;
25844 int arg5
= (int) -1 ;
25845 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25846 wxTreeItemId result
;
25847 bool temp3
= False
;
25848 PyObject
* obj0
= 0 ;
25849 PyObject
* obj1
= 0 ;
25850 PyObject
* obj2
= 0 ;
25851 PyObject
* obj3
= 0 ;
25852 PyObject
* obj4
= 0 ;
25853 PyObject
* obj5
= 0 ;
25854 char *kwnames
[] = {
25855 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25862 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25864 if (arg2
== NULL
) {
25865 PyErr_SetString(PyExc_TypeError
,"null reference");
25869 arg3
= wxString_in_helper(obj2
);
25870 if (arg3
== NULL
) SWIG_fail
;
25874 arg4
= (int) SWIG_AsInt(obj3
);
25875 if (PyErr_Occurred()) SWIG_fail
;
25878 arg5
= (int) SWIG_AsInt(obj4
);
25879 if (PyErr_Occurred()) SWIG_fail
;
25882 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
25883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25887 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25889 wxPyEndAllowThreads(__tstate
);
25890 if (PyErr_Occurred()) SWIG_fail
;
25893 wxTreeItemId
* resultptr
;
25894 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25911 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25912 PyObject
*resultobj
;
25913 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25914 wxTreeItemId
*arg2
= 0 ;
25915 wxTreeItemId
*arg3
= 0 ;
25916 wxString
*arg4
= 0 ;
25917 int arg5
= (int) -1 ;
25918 int arg6
= (int) -1 ;
25919 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25920 wxTreeItemId result
;
25921 bool temp4
= False
;
25922 PyObject
* obj0
= 0 ;
25923 PyObject
* obj1
= 0 ;
25924 PyObject
* obj2
= 0 ;
25925 PyObject
* obj3
= 0 ;
25926 PyObject
* obj4
= 0 ;
25927 PyObject
* obj5
= 0 ;
25928 PyObject
* obj6
= 0 ;
25929 char *kwnames
[] = {
25930 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25936 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25937 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25939 if (arg2
== NULL
) {
25940 PyErr_SetString(PyExc_TypeError
,"null reference");
25943 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
25944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25946 if (arg3
== NULL
) {
25947 PyErr_SetString(PyExc_TypeError
,"null reference");
25951 arg4
= wxString_in_helper(obj3
);
25952 if (arg4
== NULL
) SWIG_fail
;
25956 arg5
= (int) SWIG_AsInt(obj4
);
25957 if (PyErr_Occurred()) SWIG_fail
;
25960 arg6
= (int) SWIG_AsInt(obj5
);
25961 if (PyErr_Occurred()) SWIG_fail
;
25964 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
25965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25969 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25971 wxPyEndAllowThreads(__tstate
);
25972 if (PyErr_Occurred()) SWIG_fail
;
25975 wxTreeItemId
* resultptr
;
25976 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25993 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25994 PyObject
*resultobj
;
25995 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25996 wxTreeItemId
*arg2
= 0 ;
25998 wxString
*arg4
= 0 ;
25999 int arg5
= (int) -1 ;
26000 int arg6
= (int) -1 ;
26001 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26002 wxTreeItemId result
;
26003 bool temp4
= False
;
26004 PyObject
* obj0
= 0 ;
26005 PyObject
* obj1
= 0 ;
26006 PyObject
* obj2
= 0 ;
26007 PyObject
* obj3
= 0 ;
26008 PyObject
* obj4
= 0 ;
26009 PyObject
* obj5
= 0 ;
26010 PyObject
* obj6
= 0 ;
26011 char *kwnames
[] = {
26012 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26019 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26021 if (arg2
== NULL
) {
26022 PyErr_SetString(PyExc_TypeError
,"null reference");
26025 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
26026 if (PyErr_Occurred()) SWIG_fail
;
26028 arg4
= wxString_in_helper(obj3
);
26029 if (arg4
== NULL
) SWIG_fail
;
26033 arg5
= (int) SWIG_AsInt(obj4
);
26034 if (PyErr_Occurred()) SWIG_fail
;
26037 arg6
= (int) SWIG_AsInt(obj5
);
26038 if (PyErr_Occurred()) SWIG_fail
;
26041 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26046 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26048 wxPyEndAllowThreads(__tstate
);
26049 if (PyErr_Occurred()) SWIG_fail
;
26052 wxTreeItemId
* resultptr
;
26053 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26070 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26071 PyObject
*resultobj
;
26072 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26073 wxTreeItemId
*arg2
= 0 ;
26074 wxString
*arg3
= 0 ;
26075 int arg4
= (int) -1 ;
26076 int arg5
= (int) -1 ;
26077 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26078 wxTreeItemId result
;
26079 bool temp3
= False
;
26080 PyObject
* obj0
= 0 ;
26081 PyObject
* obj1
= 0 ;
26082 PyObject
* obj2
= 0 ;
26083 PyObject
* obj3
= 0 ;
26084 PyObject
* obj4
= 0 ;
26085 PyObject
* obj5
= 0 ;
26086 char *kwnames
[] = {
26087 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26094 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26096 if (arg2
== NULL
) {
26097 PyErr_SetString(PyExc_TypeError
,"null reference");
26101 arg3
= wxString_in_helper(obj2
);
26102 if (arg3
== NULL
) SWIG_fail
;
26106 arg4
= (int) SWIG_AsInt(obj3
);
26107 if (PyErr_Occurred()) SWIG_fail
;
26110 arg5
= (int) SWIG_AsInt(obj4
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26114 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26119 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26121 wxPyEndAllowThreads(__tstate
);
26122 if (PyErr_Occurred()) SWIG_fail
;
26125 wxTreeItemId
* resultptr
;
26126 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26143 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26144 PyObject
*resultobj
;
26145 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26146 wxTreeItemId
*arg2
= 0 ;
26147 PyObject
* obj0
= 0 ;
26148 PyObject
* obj1
= 0 ;
26149 char *kwnames
[] = {
26150 (char *) "self",(char *) "item", NULL
26153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
26154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26157 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26159 if (arg2
== NULL
) {
26160 PyErr_SetString(PyExc_TypeError
,"null reference");
26164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26165 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
26167 wxPyEndAllowThreads(__tstate
);
26168 if (PyErr_Occurred()) SWIG_fail
;
26170 Py_INCREF(Py_None
); resultobj
= Py_None
;
26177 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26178 PyObject
*resultobj
;
26179 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26180 wxTreeItemId
*arg2
= 0 ;
26181 PyObject
* obj0
= 0 ;
26182 PyObject
* obj1
= 0 ;
26183 char *kwnames
[] = {
26184 (char *) "self",(char *) "item", NULL
26187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26191 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26193 if (arg2
== NULL
) {
26194 PyErr_SetString(PyExc_TypeError
,"null reference");
26198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26199 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
26201 wxPyEndAllowThreads(__tstate
);
26202 if (PyErr_Occurred()) SWIG_fail
;
26204 Py_INCREF(Py_None
); resultobj
= Py_None
;
26211 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26212 PyObject
*resultobj
;
26213 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26214 PyObject
* obj0
= 0 ;
26215 char *kwnames
[] = {
26216 (char *) "self", NULL
26219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
26220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26224 (arg1
)->DeleteAllItems();
26226 wxPyEndAllowThreads(__tstate
);
26227 if (PyErr_Occurred()) SWIG_fail
;
26229 Py_INCREF(Py_None
); resultobj
= Py_None
;
26236 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26237 PyObject
*resultobj
;
26238 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26239 wxTreeItemId
*arg2
= 0 ;
26240 PyObject
* obj0
= 0 ;
26241 PyObject
* obj1
= 0 ;
26242 char *kwnames
[] = {
26243 (char *) "self",(char *) "item", NULL
26246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
26247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26250 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26252 if (arg2
== NULL
) {
26253 PyErr_SetString(PyExc_TypeError
,"null reference");
26257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26258 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
26260 wxPyEndAllowThreads(__tstate
);
26261 if (PyErr_Occurred()) SWIG_fail
;
26263 Py_INCREF(Py_None
); resultobj
= Py_None
;
26270 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26271 PyObject
*resultobj
;
26272 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26273 wxTreeItemId
*arg2
= 0 ;
26274 PyObject
* obj0
= 0 ;
26275 PyObject
* obj1
= 0 ;
26276 char *kwnames
[] = {
26277 (char *) "self",(char *) "item", NULL
26280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
26281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26283 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26284 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26286 if (arg2
== NULL
) {
26287 PyErr_SetString(PyExc_TypeError
,"null reference");
26291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26292 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
26294 wxPyEndAllowThreads(__tstate
);
26295 if (PyErr_Occurred()) SWIG_fail
;
26297 Py_INCREF(Py_None
); resultobj
= Py_None
;
26304 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26305 PyObject
*resultobj
;
26306 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26307 wxTreeItemId
*arg2
= 0 ;
26308 PyObject
* obj0
= 0 ;
26309 PyObject
* obj1
= 0 ;
26310 char *kwnames
[] = {
26311 (char *) "self",(char *) "item", NULL
26314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
26315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26318 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26320 if (arg2
== NULL
) {
26321 PyErr_SetString(PyExc_TypeError
,"null reference");
26325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26326 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
26328 wxPyEndAllowThreads(__tstate
);
26329 if (PyErr_Occurred()) SWIG_fail
;
26331 Py_INCREF(Py_None
); resultobj
= Py_None
;
26338 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26339 PyObject
*resultobj
;
26340 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26341 wxTreeItemId
*arg2
= 0 ;
26342 PyObject
* obj0
= 0 ;
26343 PyObject
* obj1
= 0 ;
26344 char *kwnames
[] = {
26345 (char *) "self",(char *) "item", NULL
26348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
26349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26352 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26354 if (arg2
== NULL
) {
26355 PyErr_SetString(PyExc_TypeError
,"null reference");
26359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26360 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
26362 wxPyEndAllowThreads(__tstate
);
26363 if (PyErr_Occurred()) SWIG_fail
;
26365 Py_INCREF(Py_None
); resultobj
= Py_None
;
26372 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26373 PyObject
*resultobj
;
26374 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26375 PyObject
* obj0
= 0 ;
26376 char *kwnames
[] = {
26377 (char *) "self", NULL
26380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
26381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26385 (arg1
)->Unselect();
26387 wxPyEndAllowThreads(__tstate
);
26388 if (PyErr_Occurred()) SWIG_fail
;
26390 Py_INCREF(Py_None
); resultobj
= Py_None
;
26397 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26398 PyObject
*resultobj
;
26399 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26400 wxTreeItemId
*arg2
= 0 ;
26401 PyObject
* obj0
= 0 ;
26402 PyObject
* obj1
= 0 ;
26403 char *kwnames
[] = {
26404 (char *) "self",(char *) "item", NULL
26407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26411 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26413 if (arg2
== NULL
) {
26414 PyErr_SetString(PyExc_TypeError
,"null reference");
26418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26419 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
26421 wxPyEndAllowThreads(__tstate
);
26422 if (PyErr_Occurred()) SWIG_fail
;
26424 Py_INCREF(Py_None
); resultobj
= Py_None
;
26431 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26432 PyObject
*resultobj
;
26433 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26434 PyObject
* obj0
= 0 ;
26435 char *kwnames
[] = {
26436 (char *) "self", NULL
26439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
26440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26444 (arg1
)->UnselectAll();
26446 wxPyEndAllowThreads(__tstate
);
26447 if (PyErr_Occurred()) SWIG_fail
;
26449 Py_INCREF(Py_None
); resultobj
= Py_None
;
26456 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26457 PyObject
*resultobj
;
26458 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26459 wxTreeItemId
*arg2
= 0 ;
26460 bool arg3
= (bool) True
;
26461 PyObject
* obj0
= 0 ;
26462 PyObject
* obj1
= 0 ;
26463 PyObject
* obj2
= 0 ;
26464 char *kwnames
[] = {
26465 (char *) "self",(char *) "item",(char *) "select", NULL
26468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26474 if (arg2
== NULL
) {
26475 PyErr_SetString(PyExc_TypeError
,"null reference");
26479 arg3
= (bool) SWIG_AsBool(obj2
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26484 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
26486 wxPyEndAllowThreads(__tstate
);
26487 if (PyErr_Occurred()) SWIG_fail
;
26489 Py_INCREF(Py_None
); resultobj
= Py_None
;
26496 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26497 PyObject
*resultobj
;
26498 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26499 wxTreeItemId
*arg2
= 0 ;
26500 PyObject
* obj0
= 0 ;
26501 PyObject
* obj1
= 0 ;
26502 char *kwnames
[] = {
26503 (char *) "self",(char *) "item", NULL
26506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26510 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26512 if (arg2
== NULL
) {
26513 PyErr_SetString(PyExc_TypeError
,"null reference");
26517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26518 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26520 wxPyEndAllowThreads(__tstate
);
26521 if (PyErr_Occurred()) SWIG_fail
;
26523 Py_INCREF(Py_None
); resultobj
= Py_None
;
26530 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26531 PyObject
*resultobj
;
26532 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26533 wxTreeItemId
*arg2
= 0 ;
26534 PyObject
* obj0
= 0 ;
26535 PyObject
* obj1
= 0 ;
26536 char *kwnames
[] = {
26537 (char *) "self",(char *) "item", NULL
26540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26544 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26546 if (arg2
== NULL
) {
26547 PyErr_SetString(PyExc_TypeError
,"null reference");
26551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26552 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26554 wxPyEndAllowThreads(__tstate
);
26555 if (PyErr_Occurred()) SWIG_fail
;
26557 Py_INCREF(Py_None
); resultobj
= Py_None
;
26564 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26565 PyObject
*resultobj
;
26566 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26567 wxTreeItemId
*arg2
= 0 ;
26568 PyObject
* obj0
= 0 ;
26569 PyObject
* obj1
= 0 ;
26570 char *kwnames
[] = {
26571 (char *) "self",(char *) "item", NULL
26574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26580 if (arg2
== NULL
) {
26581 PyErr_SetString(PyExc_TypeError
,"null reference");
26585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26586 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26588 wxPyEndAllowThreads(__tstate
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26591 Py_INCREF(Py_None
); resultobj
= Py_None
;
26598 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26599 PyObject
*resultobj
;
26600 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26601 wxTreeItemId
*arg2
= 0 ;
26602 PyObject
* obj0
= 0 ;
26603 PyObject
* obj1
= 0 ;
26604 char *kwnames
[] = {
26605 (char *) "self",(char *) "item", NULL
26608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26612 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26614 if (arg2
== NULL
) {
26615 PyErr_SetString(PyExc_TypeError
,"null reference");
26619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26620 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26622 wxPyEndAllowThreads(__tstate
);
26623 if (PyErr_Occurred()) SWIG_fail
;
26625 Py_INCREF(Py_None
); resultobj
= Py_None
;
26632 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26633 PyObject
*resultobj
;
26634 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26635 wxTextCtrl
*result
;
26636 PyObject
* obj0
= 0 ;
26637 char *kwnames
[] = {
26638 (char *) "self", NULL
26641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26646 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26648 wxPyEndAllowThreads(__tstate
);
26649 if (PyErr_Occurred()) SWIG_fail
;
26652 resultobj
= wxPyMake_wxObject(result
);
26660 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26661 PyObject
*resultobj
;
26662 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26663 wxTreeItemId
*arg2
= 0 ;
26664 PyObject
* obj0
= 0 ;
26665 PyObject
* obj1
= 0 ;
26666 char *kwnames
[] = {
26667 (char *) "self",(char *) "item", NULL
26670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26674 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26676 if (arg2
== NULL
) {
26677 PyErr_SetString(PyExc_TypeError
,"null reference");
26681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26682 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26684 wxPyEndAllowThreads(__tstate
);
26685 if (PyErr_Occurred()) SWIG_fail
;
26687 Py_INCREF(Py_None
); resultobj
= Py_None
;
26694 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26695 PyObject
*resultobj
;
26696 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26697 wxPoint
*arg2
= 0 ;
26699 wxTreeItemId result
;
26702 PyObject
* obj0
= 0 ;
26703 PyObject
* obj1
= 0 ;
26704 char *kwnames
[] = {
26705 (char *) "self",(char *) "point", NULL
26709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26714 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26718 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26720 wxPyEndAllowThreads(__tstate
);
26721 if (PyErr_Occurred()) SWIG_fail
;
26724 wxTreeItemId
* resultptr
;
26725 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26726 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26729 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26730 resultobj
= t_output_helper(resultobj
,o
);
26738 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26739 PyObject
*resultobj
;
26740 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26741 wxTreeItemId
*arg2
= 0 ;
26742 bool arg3
= (bool) False
;
26744 PyObject
* obj0
= 0 ;
26745 PyObject
* obj1
= 0 ;
26746 PyObject
* obj2
= 0 ;
26747 char *kwnames
[] = {
26748 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26755 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26757 if (arg2
== NULL
) {
26758 PyErr_SetString(PyExc_TypeError
,"null reference");
26762 arg3
= (bool) SWIG_AsBool(obj2
);
26763 if (PyErr_Occurred()) SWIG_fail
;
26766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26767 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26769 wxPyEndAllowThreads(__tstate
);
26770 if (PyErr_Occurred()) SWIG_fail
;
26772 resultobj
= result
;
26779 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26782 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26784 return Py_BuildValue((char *)"");
26786 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
26787 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26792 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
26797 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26799 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26806 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26807 PyObject
*resultobj
;
26808 wxWindow
*arg1
= (wxWindow
*) 0 ;
26809 int arg2
= (int) (int)-1 ;
26810 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
26811 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26812 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26813 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26814 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26815 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26816 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26817 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26818 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26819 int arg8
= (int) 0 ;
26820 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26821 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26822 wxGenericDirCtrl
*result
;
26823 bool temp3
= False
;
26826 bool temp7
= False
;
26827 bool temp9
= False
;
26828 PyObject
* obj0
= 0 ;
26829 PyObject
* obj1
= 0 ;
26830 PyObject
* obj2
= 0 ;
26831 PyObject
* obj3
= 0 ;
26832 PyObject
* obj4
= 0 ;
26833 PyObject
* obj5
= 0 ;
26834 PyObject
* obj6
= 0 ;
26835 PyObject
* obj7
= 0 ;
26836 PyObject
* obj8
= 0 ;
26837 char *kwnames
[] = {
26838 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26845 arg2
= (int const) SWIG_AsInt(obj1
);
26846 if (PyErr_Occurred()) SWIG_fail
;
26850 arg3
= wxString_in_helper(obj2
);
26851 if (arg3
== NULL
) SWIG_fail
;
26858 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26864 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26868 arg6
= (long) SWIG_AsLong(obj5
);
26869 if (PyErr_Occurred()) SWIG_fail
;
26873 arg7
= wxString_in_helper(obj6
);
26874 if (arg7
== NULL
) SWIG_fail
;
26879 arg8
= (int) SWIG_AsInt(obj7
);
26880 if (PyErr_Occurred()) SWIG_fail
;
26884 arg9
= wxString_in_helper(obj8
);
26885 if (arg9
== NULL
) SWIG_fail
;
26890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26891 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
26893 wxPyEndAllowThreads(__tstate
);
26894 if (PyErr_Occurred()) SWIG_fail
;
26896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26927 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26928 PyObject
*resultobj
;
26929 wxGenericDirCtrl
*result
;
26930 char *kwnames
[] = {
26934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
26936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26937 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
26939 wxPyEndAllowThreads(__tstate
);
26940 if (PyErr_Occurred()) SWIG_fail
;
26942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26949 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26950 PyObject
*resultobj
;
26951 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26952 wxWindow
*arg2
= (wxWindow
*) 0 ;
26953 int arg3
= (int) (int)-1 ;
26954 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
26955 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26956 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
26957 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
26958 wxSize
const &arg6_defvalue
= wxDefaultSize
;
26959 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
26960 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26961 wxString
const &arg8_defvalue
= wxPyEmptyString
;
26962 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26963 int arg9
= (int) 0 ;
26964 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
26965 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26967 bool temp4
= False
;
26970 bool temp8
= False
;
26971 bool temp10
= False
;
26972 PyObject
* obj0
= 0 ;
26973 PyObject
* obj1
= 0 ;
26974 PyObject
* obj2
= 0 ;
26975 PyObject
* obj3
= 0 ;
26976 PyObject
* obj4
= 0 ;
26977 PyObject
* obj5
= 0 ;
26978 PyObject
* obj6
= 0 ;
26979 PyObject
* obj7
= 0 ;
26980 PyObject
* obj8
= 0 ;
26981 PyObject
* obj9
= 0 ;
26982 char *kwnames
[] = {
26983 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26992 arg3
= (int const) SWIG_AsInt(obj2
);
26993 if (PyErr_Occurred()) SWIG_fail
;
26997 arg4
= wxString_in_helper(obj3
);
26998 if (arg4
== NULL
) SWIG_fail
;
27005 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
27011 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
27015 arg7
= (long) SWIG_AsLong(obj6
);
27016 if (PyErr_Occurred()) SWIG_fail
;
27020 arg8
= wxString_in_helper(obj7
);
27021 if (arg8
== NULL
) SWIG_fail
;
27026 arg9
= (int) SWIG_AsInt(obj8
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27031 arg10
= wxString_in_helper(obj9
);
27032 if (arg10
== NULL
) SWIG_fail
;
27037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27038 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
27040 wxPyEndAllowThreads(__tstate
);
27041 if (PyErr_Occurred()) SWIG_fail
;
27044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27076 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27077 PyObject
*resultobj
;
27078 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27079 wxString
*arg2
= 0 ;
27081 bool temp2
= False
;
27082 PyObject
* obj0
= 0 ;
27083 PyObject
* obj1
= 0 ;
27084 char *kwnames
[] = {
27085 (char *) "self",(char *) "path", NULL
27088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27092 arg2
= wxString_in_helper(obj1
);
27093 if (arg2
== NULL
) SWIG_fail
;
27097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27098 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
27100 wxPyEndAllowThreads(__tstate
);
27101 if (PyErr_Occurred()) SWIG_fail
;
27104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27120 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27121 PyObject
*resultobj
;
27122 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27124 PyObject
* obj0
= 0 ;
27125 char *kwnames
[] = {
27126 (char *) "self", NULL
27129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
27130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27134 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
27136 wxPyEndAllowThreads(__tstate
);
27137 if (PyErr_Occurred()) SWIG_fail
;
27141 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27143 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27152 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27153 PyObject
*resultobj
;
27154 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27155 wxString
*arg2
= 0 ;
27156 bool temp2
= False
;
27157 PyObject
* obj0
= 0 ;
27158 PyObject
* obj1
= 0 ;
27159 char *kwnames
[] = {
27160 (char *) "self",(char *) "path", NULL
27163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27167 arg2
= wxString_in_helper(obj1
);
27168 if (arg2
== NULL
) SWIG_fail
;
27172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27173 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
27175 wxPyEndAllowThreads(__tstate
);
27176 if (PyErr_Occurred()) SWIG_fail
;
27178 Py_INCREF(Py_None
); resultobj
= Py_None
;
27193 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27194 PyObject
*resultobj
;
27195 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27197 PyObject
* obj0
= 0 ;
27198 char *kwnames
[] = {
27199 (char *) "self", NULL
27202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
27203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27207 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
27209 wxPyEndAllowThreads(__tstate
);
27210 if (PyErr_Occurred()) SWIG_fail
;
27214 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27216 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27225 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27226 PyObject
*resultobj
;
27227 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27229 PyObject
* obj0
= 0 ;
27230 char *kwnames
[] = {
27231 (char *) "self", NULL
27234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
27235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27239 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
27241 wxPyEndAllowThreads(__tstate
);
27242 if (PyErr_Occurred()) SWIG_fail
;
27246 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27248 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27257 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27258 PyObject
*resultobj
;
27259 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27260 wxString
*arg2
= 0 ;
27261 bool temp2
= False
;
27262 PyObject
* obj0
= 0 ;
27263 PyObject
* obj1
= 0 ;
27264 char *kwnames
[] = {
27265 (char *) "self",(char *) "path", NULL
27268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27272 arg2
= wxString_in_helper(obj1
);
27273 if (arg2
== NULL
) SWIG_fail
;
27277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27278 (arg1
)->SetPath((wxString
const &)*arg2
);
27280 wxPyEndAllowThreads(__tstate
);
27281 if (PyErr_Occurred()) SWIG_fail
;
27283 Py_INCREF(Py_None
); resultobj
= Py_None
;
27298 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27299 PyObject
*resultobj
;
27300 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27302 PyObject
* obj0
= 0 ;
27303 PyObject
* obj1
= 0 ;
27304 char *kwnames
[] = {
27305 (char *) "self",(char *) "show", NULL
27308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
27309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27311 arg2
= (bool) SWIG_AsBool(obj1
);
27312 if (PyErr_Occurred()) SWIG_fail
;
27314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27315 (arg1
)->ShowHidden(arg2
);
27317 wxPyEndAllowThreads(__tstate
);
27318 if (PyErr_Occurred()) SWIG_fail
;
27320 Py_INCREF(Py_None
); resultobj
= Py_None
;
27327 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27328 PyObject
*resultobj
;
27329 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27331 PyObject
* obj0
= 0 ;
27332 char *kwnames
[] = {
27333 (char *) "self", NULL
27336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
27337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27341 result
= (bool)(arg1
)->GetShowHidden();
27343 wxPyEndAllowThreads(__tstate
);
27344 if (PyErr_Occurred()) SWIG_fail
;
27347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27355 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27356 PyObject
*resultobj
;
27357 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27359 PyObject
* obj0
= 0 ;
27360 char *kwnames
[] = {
27361 (char *) "self", NULL
27364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
27365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27369 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
27371 wxPyEndAllowThreads(__tstate
);
27372 if (PyErr_Occurred()) SWIG_fail
;
27376 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27378 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27387 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27388 PyObject
*resultobj
;
27389 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27390 wxString
*arg2
= 0 ;
27391 bool temp2
= False
;
27392 PyObject
* obj0
= 0 ;
27393 PyObject
* obj1
= 0 ;
27394 char *kwnames
[] = {
27395 (char *) "self",(char *) "filter", NULL
27398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
27399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27402 arg2
= wxString_in_helper(obj1
);
27403 if (arg2
== NULL
) SWIG_fail
;
27407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27408 (arg1
)->SetFilter((wxString
const &)*arg2
);
27410 wxPyEndAllowThreads(__tstate
);
27411 if (PyErr_Occurred()) SWIG_fail
;
27413 Py_INCREF(Py_None
); resultobj
= Py_None
;
27428 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27429 PyObject
*resultobj
;
27430 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27432 PyObject
* obj0
= 0 ;
27433 char *kwnames
[] = {
27434 (char *) "self", NULL
27437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
27438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27442 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
27444 wxPyEndAllowThreads(__tstate
);
27445 if (PyErr_Occurred()) SWIG_fail
;
27447 resultobj
= SWIG_FromInt((int)result
);
27454 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27455 PyObject
*resultobj
;
27456 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27458 PyObject
* obj0
= 0 ;
27459 PyObject
* obj1
= 0 ;
27460 char *kwnames
[] = {
27461 (char *) "self",(char *) "n", NULL
27464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
27465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27467 arg2
= (int) SWIG_AsInt(obj1
);
27468 if (PyErr_Occurred()) SWIG_fail
;
27470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27471 (arg1
)->SetFilterIndex(arg2
);
27473 wxPyEndAllowThreads(__tstate
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27476 Py_INCREF(Py_None
); resultobj
= Py_None
;
27483 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27484 PyObject
*resultobj
;
27485 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27486 wxTreeItemId result
;
27487 PyObject
* obj0
= 0 ;
27488 char *kwnames
[] = {
27489 (char *) "self", NULL
27492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27497 result
= (arg1
)->GetRootId();
27499 wxPyEndAllowThreads(__tstate
);
27500 if (PyErr_Occurred()) SWIG_fail
;
27503 wxTreeItemId
* resultptr
;
27504 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27505 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27513 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27514 PyObject
*resultobj
;
27515 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27516 wxPyTreeCtrl
*result
;
27517 PyObject
* obj0
= 0 ;
27518 char *kwnames
[] = {
27519 (char *) "self", NULL
27522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
27523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27527 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27529 wxPyEndAllowThreads(__tstate
);
27530 if (PyErr_Occurred()) SWIG_fail
;
27533 resultobj
= wxPyMake_wxObject(result
);
27541 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27542 PyObject
*resultobj
;
27543 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27544 wxDirFilterListCtrl
*result
;
27545 PyObject
* obj0
= 0 ;
27546 char *kwnames
[] = {
27547 (char *) "self", NULL
27550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27555 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27557 wxPyEndAllowThreads(__tstate
);
27558 if (PyErr_Occurred()) SWIG_fail
;
27560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27567 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27568 PyObject
*resultobj
;
27569 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27570 wxTreeItemId arg2
;
27571 wxString
*arg3
= 0 ;
27573 wxTreeItemId result
;
27574 wxTreeItemId
*argp2
;
27575 bool temp3
= False
;
27577 PyObject
* obj0
= 0 ;
27578 PyObject
* obj1
= 0 ;
27579 PyObject
* obj2
= 0 ;
27580 char *kwnames
[] = {
27581 (char *) "self",(char *) "parentId",(char *) "path", NULL
27585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27588 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
27589 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27592 arg3
= wxString_in_helper(obj2
);
27593 if (arg3
== NULL
) SWIG_fail
;
27597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27598 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27600 wxPyEndAllowThreads(__tstate
);
27601 if (PyErr_Occurred()) SWIG_fail
;
27604 wxTreeItemId
* resultptr
;
27605 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27609 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27610 resultobj
= t_output_helper(resultobj
,o
);
27626 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27627 PyObject
*resultobj
;
27628 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27629 PyObject
* obj0
= 0 ;
27630 char *kwnames
[] = {
27631 (char *) "self", NULL
27634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27639 (arg1
)->DoResize();
27641 wxPyEndAllowThreads(__tstate
);
27642 if (PyErr_Occurred()) SWIG_fail
;
27644 Py_INCREF(Py_None
); resultobj
= Py_None
;
27651 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27652 PyObject
*resultobj
;
27653 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27654 PyObject
* obj0
= 0 ;
27655 char *kwnames
[] = {
27656 (char *) "self", NULL
27659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27664 (arg1
)->ReCreateTree();
27666 wxPyEndAllowThreads(__tstate
);
27667 if (PyErr_Occurred()) SWIG_fail
;
27669 Py_INCREF(Py_None
); resultobj
= Py_None
;
27676 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27679 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27681 return Py_BuildValue((char *)"");
27683 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27684 PyObject
*resultobj
;
27685 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27686 int arg2
= (int) (int)-1 ;
27687 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27688 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27689 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27690 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27691 long arg5
= (long) 0 ;
27692 wxDirFilterListCtrl
*result
;
27695 PyObject
* obj0
= 0 ;
27696 PyObject
* obj1
= 0 ;
27697 PyObject
* obj2
= 0 ;
27698 PyObject
* obj3
= 0 ;
27699 PyObject
* obj4
= 0 ;
27700 char *kwnames
[] = {
27701 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27708 arg2
= (int const) SWIG_AsInt(obj1
);
27709 if (PyErr_Occurred()) SWIG_fail
;
27714 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27720 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27724 arg5
= (long) SWIG_AsLong(obj4
);
27725 if (PyErr_Occurred()) SWIG_fail
;
27728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27729 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27731 wxPyEndAllowThreads(__tstate
);
27732 if (PyErr_Occurred()) SWIG_fail
;
27734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27741 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27742 PyObject
*resultobj
;
27743 wxDirFilterListCtrl
*result
;
27744 char *kwnames
[] = {
27748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27751 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27753 wxPyEndAllowThreads(__tstate
);
27754 if (PyErr_Occurred()) SWIG_fail
;
27756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27763 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27764 PyObject
*resultobj
;
27765 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27766 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27767 int arg3
= (int) (int)-1 ;
27768 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27769 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27770 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27771 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27772 long arg6
= (long) 0 ;
27776 PyObject
* obj0
= 0 ;
27777 PyObject
* obj1
= 0 ;
27778 PyObject
* obj2
= 0 ;
27779 PyObject
* obj3
= 0 ;
27780 PyObject
* obj4
= 0 ;
27781 PyObject
* obj5
= 0 ;
27782 char *kwnames
[] = {
27783 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27789 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
27790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27792 arg3
= (int const) SWIG_AsInt(obj2
);
27793 if (PyErr_Occurred()) SWIG_fail
;
27798 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27804 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27808 arg6
= (long) SWIG_AsLong(obj5
);
27809 if (PyErr_Occurred()) SWIG_fail
;
27812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27813 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
27815 wxPyEndAllowThreads(__tstate
);
27816 if (PyErr_Occurred()) SWIG_fail
;
27819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27827 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27828 PyObject
*resultobj
;
27829 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27830 wxString
*arg2
= 0 ;
27832 bool temp2
= False
;
27833 PyObject
* obj0
= 0 ;
27834 PyObject
* obj1
= 0 ;
27835 PyObject
* obj2
= 0 ;
27836 char *kwnames
[] = {
27837 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27844 arg2
= wxString_in_helper(obj1
);
27845 if (arg2
== NULL
) SWIG_fail
;
27848 arg3
= (int) SWIG_AsInt(obj2
);
27849 if (PyErr_Occurred()) SWIG_fail
;
27851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27852 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27854 wxPyEndAllowThreads(__tstate
);
27855 if (PyErr_Occurred()) SWIG_fail
;
27857 Py_INCREF(Py_None
); resultobj
= Py_None
;
27872 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27874 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27875 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
27877 return Py_BuildValue((char *)"");
27879 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27880 PyObject
*resultobj
;
27881 wxWindow
*arg1
= (wxWindow
*) 0 ;
27883 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27884 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27885 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27886 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27887 long arg5
= (long) 0 ;
27888 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27889 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27890 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
27891 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27892 wxPyControl
*result
;
27895 bool temp7
= False
;
27896 PyObject
* obj0
= 0 ;
27897 PyObject
* obj1
= 0 ;
27898 PyObject
* obj2
= 0 ;
27899 PyObject
* obj3
= 0 ;
27900 PyObject
* obj4
= 0 ;
27901 PyObject
* obj5
= 0 ;
27902 PyObject
* obj6
= 0 ;
27903 char *kwnames
[] = {
27904 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27910 arg2
= (int const) SWIG_AsInt(obj1
);
27911 if (PyErr_Occurred()) SWIG_fail
;
27915 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27921 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27925 arg5
= (long) SWIG_AsLong(obj4
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27929 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
27930 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27932 if (arg6
== NULL
) {
27933 PyErr_SetString(PyExc_TypeError
,"null reference");
27939 arg7
= wxString_in_helper(obj6
);
27940 if (arg7
== NULL
) SWIG_fail
;
27945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27946 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27948 wxPyEndAllowThreads(__tstate
);
27949 if (PyErr_Occurred()) SWIG_fail
;
27951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
27966 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27967 PyObject
*resultobj
;
27968 wxPyControl
*result
;
27969 char *kwnames
[] = {
27973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
27975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27976 result
= (wxPyControl
*)new wxPyControl();
27978 wxPyEndAllowThreads(__tstate
);
27979 if (PyErr_Occurred()) SWIG_fail
;
27981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
27988 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27989 PyObject
*resultobj
;
27990 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27991 PyObject
*arg2
= (PyObject
*) 0 ;
27992 PyObject
*arg3
= (PyObject
*) 0 ;
27993 PyObject
* obj0
= 0 ;
27994 PyObject
* obj1
= 0 ;
27995 PyObject
* obj2
= 0 ;
27996 char *kwnames
[] = {
27997 (char *) "self",(char *) "self",(char *) "_class", NULL
28000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28007 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28009 wxPyEndAllowThreads(__tstate
);
28010 if (PyErr_Occurred()) SWIG_fail
;
28012 Py_INCREF(Py_None
); resultobj
= Py_None
;
28019 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28020 PyObject
*resultobj
;
28021 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28026 PyObject
* obj0
= 0 ;
28027 PyObject
* obj1
= 0 ;
28028 PyObject
* obj2
= 0 ;
28029 PyObject
* obj3
= 0 ;
28030 PyObject
* obj4
= 0 ;
28031 char *kwnames
[] = {
28032 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28038 arg2
= (int) SWIG_AsInt(obj1
);
28039 if (PyErr_Occurred()) SWIG_fail
;
28040 arg3
= (int) SWIG_AsInt(obj2
);
28041 if (PyErr_Occurred()) SWIG_fail
;
28042 arg4
= (int) SWIG_AsInt(obj3
);
28043 if (PyErr_Occurred()) SWIG_fail
;
28044 arg5
= (int) SWIG_AsInt(obj4
);
28045 if (PyErr_Occurred()) SWIG_fail
;
28047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28048 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
28050 wxPyEndAllowThreads(__tstate
);
28051 if (PyErr_Occurred()) SWIG_fail
;
28053 Py_INCREF(Py_None
); resultobj
= Py_None
;
28060 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28061 PyObject
*resultobj
;
28062 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28067 int arg6
= (int) wxSIZE_AUTO
;
28068 PyObject
* obj0
= 0 ;
28069 PyObject
* obj1
= 0 ;
28070 PyObject
* obj2
= 0 ;
28071 PyObject
* obj3
= 0 ;
28072 PyObject
* obj4
= 0 ;
28073 PyObject
* obj5
= 0 ;
28074 char *kwnames
[] = {
28075 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
28078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28081 arg2
= (int) SWIG_AsInt(obj1
);
28082 if (PyErr_Occurred()) SWIG_fail
;
28083 arg3
= (int) SWIG_AsInt(obj2
);
28084 if (PyErr_Occurred()) SWIG_fail
;
28085 arg4
= (int) SWIG_AsInt(obj3
);
28086 if (PyErr_Occurred()) SWIG_fail
;
28087 arg5
= (int) SWIG_AsInt(obj4
);
28088 if (PyErr_Occurred()) SWIG_fail
;
28090 arg6
= (int) SWIG_AsInt(obj5
);
28091 if (PyErr_Occurred()) SWIG_fail
;
28094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28095 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
28097 wxPyEndAllowThreads(__tstate
);
28098 if (PyErr_Occurred()) SWIG_fail
;
28100 Py_INCREF(Py_None
); resultobj
= Py_None
;
28107 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28108 PyObject
*resultobj
;
28109 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28112 PyObject
* obj0
= 0 ;
28113 PyObject
* obj1
= 0 ;
28114 PyObject
* obj2
= 0 ;
28115 char *kwnames
[] = {
28116 (char *) "self",(char *) "width",(char *) "height", NULL
28119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28122 arg2
= (int) SWIG_AsInt(obj1
);
28123 if (PyErr_Occurred()) SWIG_fail
;
28124 arg3
= (int) SWIG_AsInt(obj2
);
28125 if (PyErr_Occurred()) SWIG_fail
;
28127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28128 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
28130 wxPyEndAllowThreads(__tstate
);
28131 if (PyErr_Occurred()) SWIG_fail
;
28133 Py_INCREF(Py_None
); resultobj
= Py_None
;
28140 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28141 PyObject
*resultobj
;
28142 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28145 PyObject
* obj0
= 0 ;
28146 PyObject
* obj1
= 0 ;
28147 PyObject
* obj2
= 0 ;
28148 char *kwnames
[] = {
28149 (char *) "self",(char *) "x",(char *) "y", NULL
28152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28155 arg2
= (int) SWIG_AsInt(obj1
);
28156 if (PyErr_Occurred()) SWIG_fail
;
28157 arg3
= (int) SWIG_AsInt(obj2
);
28158 if (PyErr_Occurred()) SWIG_fail
;
28160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28161 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
28163 wxPyEndAllowThreads(__tstate
);
28164 if (PyErr_Occurred()) SWIG_fail
;
28166 Py_INCREF(Py_None
); resultobj
= Py_None
;
28173 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28174 PyObject
*resultobj
;
28175 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28176 int *arg2
= (int *) 0 ;
28177 int *arg3
= (int *) 0 ;
28180 PyObject
* obj0
= 0 ;
28181 char *kwnames
[] = {
28182 (char *) "self", NULL
28187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
28188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28192 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
28194 wxPyEndAllowThreads(__tstate
);
28195 if (PyErr_Occurred()) SWIG_fail
;
28197 Py_INCREF(Py_None
); resultobj
= Py_None
;
28199 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28200 resultobj
= t_output_helper(resultobj
,o
);
28203 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28204 resultobj
= t_output_helper(resultobj
,o
);
28212 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28213 PyObject
*resultobj
;
28214 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28215 int *arg2
= (int *) 0 ;
28216 int *arg3
= (int *) 0 ;
28219 PyObject
* obj0
= 0 ;
28220 char *kwnames
[] = {
28221 (char *) "self", NULL
28226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
28227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28231 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
28233 wxPyEndAllowThreads(__tstate
);
28234 if (PyErr_Occurred()) SWIG_fail
;
28236 Py_INCREF(Py_None
); resultobj
= Py_None
;
28238 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28239 resultobj
= t_output_helper(resultobj
,o
);
28242 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28243 resultobj
= t_output_helper(resultobj
,o
);
28251 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28252 PyObject
*resultobj
;
28253 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28254 int *arg2
= (int *) 0 ;
28255 int *arg3
= (int *) 0 ;
28258 PyObject
* obj0
= 0 ;
28259 char *kwnames
[] = {
28260 (char *) "self", NULL
28265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
28266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28270 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
28272 wxPyEndAllowThreads(__tstate
);
28273 if (PyErr_Occurred()) SWIG_fail
;
28275 Py_INCREF(Py_None
); resultobj
= Py_None
;
28277 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28278 resultobj
= t_output_helper(resultobj
,o
);
28281 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28282 resultobj
= t_output_helper(resultobj
,o
);
28290 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28291 PyObject
*resultobj
;
28292 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28294 PyObject
* obj0
= 0 ;
28295 char *kwnames
[] = {
28296 (char *) "self", NULL
28299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
28300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28304 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
28306 wxPyEndAllowThreads(__tstate
);
28307 if (PyErr_Occurred()) SWIG_fail
;
28310 wxSize
* resultptr
;
28311 resultptr
= new wxSize((wxSize
&) result
);
28312 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28320 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28321 PyObject
*resultobj
;
28322 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28324 PyObject
* obj0
= 0 ;
28325 char *kwnames
[] = {
28326 (char *) "self", NULL
28329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
28330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28334 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
28336 wxPyEndAllowThreads(__tstate
);
28337 if (PyErr_Occurred()) SWIG_fail
;
28340 wxSize
* resultptr
;
28341 resultptr
= new wxSize((wxSize
&) result
);
28342 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28350 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28351 PyObject
*resultobj
;
28352 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28353 PyObject
* obj0
= 0 ;
28354 char *kwnames
[] = {
28355 (char *) "self", NULL
28358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
28359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28363 (arg1
)->base_InitDialog();
28365 wxPyEndAllowThreads(__tstate
);
28366 if (PyErr_Occurred()) SWIG_fail
;
28368 Py_INCREF(Py_None
); resultobj
= Py_None
;
28375 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28376 PyObject
*resultobj
;
28377 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28379 PyObject
* obj0
= 0 ;
28380 char *kwnames
[] = {
28381 (char *) "self", NULL
28384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28389 result
= (bool)(arg1
)->base_TransferDataToWindow();
28391 wxPyEndAllowThreads(__tstate
);
28392 if (PyErr_Occurred()) SWIG_fail
;
28395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28403 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28404 PyObject
*resultobj
;
28405 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28407 PyObject
* obj0
= 0 ;
28408 char *kwnames
[] = {
28409 (char *) "self", NULL
28412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28417 result
= (bool)(arg1
)->base_TransferDataFromWindow();
28419 wxPyEndAllowThreads(__tstate
);
28420 if (PyErr_Occurred()) SWIG_fail
;
28423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28431 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28432 PyObject
*resultobj
;
28433 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28435 PyObject
* obj0
= 0 ;
28436 char *kwnames
[] = {
28437 (char *) "self", NULL
28440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
28441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28445 result
= (bool)(arg1
)->base_Validate();
28447 wxPyEndAllowThreads(__tstate
);
28448 if (PyErr_Occurred()) SWIG_fail
;
28451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28459 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28460 PyObject
*resultobj
;
28461 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28463 PyObject
* obj0
= 0 ;
28464 char *kwnames
[] = {
28465 (char *) "self", NULL
28468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28473 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
28475 wxPyEndAllowThreads(__tstate
);
28476 if (PyErr_Occurred()) SWIG_fail
;
28479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28487 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28488 PyObject
*resultobj
;
28489 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28491 PyObject
* obj0
= 0 ;
28492 char *kwnames
[] = {
28493 (char *) "self", NULL
28496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28501 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
28503 wxPyEndAllowThreads(__tstate
);
28504 if (PyErr_Occurred()) SWIG_fail
;
28507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28515 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28516 PyObject
*resultobj
;
28517 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28519 PyObject
* obj0
= 0 ;
28520 char *kwnames
[] = {
28521 (char *) "self", NULL
28524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28529 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28531 wxPyEndAllowThreads(__tstate
);
28532 if (PyErr_Occurred()) SWIG_fail
;
28535 wxSize
* resultptr
;
28536 resultptr
= new wxSize((wxSize
&) result
);
28537 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28545 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28546 PyObject
*resultobj
;
28547 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28548 wxWindow
*arg2
= (wxWindow
*) 0 ;
28549 PyObject
* obj0
= 0 ;
28550 PyObject
* obj1
= 0 ;
28551 char *kwnames
[] = {
28552 (char *) "self",(char *) "child", NULL
28555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28562 (arg1
)->base_AddChild(arg2
);
28564 wxPyEndAllowThreads(__tstate
);
28565 if (PyErr_Occurred()) SWIG_fail
;
28567 Py_INCREF(Py_None
); resultobj
= Py_None
;
28574 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28575 PyObject
*resultobj
;
28576 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28577 wxWindow
*arg2
= (wxWindow
*) 0 ;
28578 PyObject
* obj0
= 0 ;
28579 PyObject
* obj1
= 0 ;
28580 char *kwnames
[] = {
28581 (char *) "self",(char *) "child", NULL
28584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28591 (arg1
)->base_RemoveChild(arg2
);
28593 wxPyEndAllowThreads(__tstate
);
28594 if (PyErr_Occurred()) SWIG_fail
;
28596 Py_INCREF(Py_None
); resultobj
= Py_None
;
28603 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28604 PyObject
*resultobj
;
28605 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28607 PyObject
* obj0
= 0 ;
28608 char *kwnames
[] = {
28609 (char *) "self", NULL
28612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28617 result
= (bool)(arg1
)->base_ShouldInheritColours();
28619 wxPyEndAllowThreads(__tstate
);
28620 if (PyErr_Occurred()) SWIG_fail
;
28623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28631 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28632 PyObject
*resultobj
;
28633 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28634 wxColour
*arg2
= 0 ;
28636 PyObject
* obj0
= 0 ;
28637 PyObject
* obj1
= 0 ;
28638 char *kwnames
[] = {
28639 (char *) "self",(char *) "c", NULL
28642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
28643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28647 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28651 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
28653 wxPyEndAllowThreads(__tstate
);
28654 if (PyErr_Occurred()) SWIG_fail
;
28656 Py_INCREF(Py_None
); resultobj
= Py_None
;
28663 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
28665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28666 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28668 return Py_BuildValue((char *)"");
28670 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28671 PyObject
*resultobj
;
28672 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28673 int arg2
= (int) 0 ;
28674 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28675 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28676 wxHelpEvent
*result
;
28678 PyObject
* obj0
= 0 ;
28679 PyObject
* obj1
= 0 ;
28680 PyObject
* obj2
= 0 ;
28681 char *kwnames
[] = {
28682 (char *) "type",(char *) "winid",(char *) "pt", NULL
28685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28687 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
28688 if (PyErr_Occurred()) SWIG_fail
;
28691 arg2
= (int) SWIG_AsInt(obj1
);
28692 if (PyErr_Occurred()) SWIG_fail
;
28697 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28702 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28704 wxPyEndAllowThreads(__tstate
);
28705 if (PyErr_Occurred()) SWIG_fail
;
28707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
28714 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28715 PyObject
*resultobj
;
28716 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28718 PyObject
* obj0
= 0 ;
28719 char *kwnames
[] = {
28720 (char *) "self", NULL
28723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28728 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28730 wxPyEndAllowThreads(__tstate
);
28731 if (PyErr_Occurred()) SWIG_fail
;
28734 wxPoint
* resultptr
;
28735 resultptr
= new wxPoint((wxPoint
&) result
);
28736 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28744 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28745 PyObject
*resultobj
;
28746 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28747 wxPoint
*arg2
= 0 ;
28749 PyObject
* obj0
= 0 ;
28750 PyObject
* obj1
= 0 ;
28751 char *kwnames
[] = {
28752 (char *) "self",(char *) "pos", NULL
28755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28760 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28764 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28766 wxPyEndAllowThreads(__tstate
);
28767 if (PyErr_Occurred()) SWIG_fail
;
28769 Py_INCREF(Py_None
); resultobj
= Py_None
;
28776 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28777 PyObject
*resultobj
;
28778 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28780 PyObject
* obj0
= 0 ;
28781 char *kwnames
[] = {
28782 (char *) "self", NULL
28785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28791 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
28792 result
= (wxString
*) &_result_ref
;
28795 wxPyEndAllowThreads(__tstate
);
28796 if (PyErr_Occurred()) SWIG_fail
;
28800 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28802 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28811 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28812 PyObject
*resultobj
;
28813 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28814 wxString
*arg2
= 0 ;
28815 bool temp2
= False
;
28816 PyObject
* obj0
= 0 ;
28817 PyObject
* obj1
= 0 ;
28818 char *kwnames
[] = {
28819 (char *) "self",(char *) "link", NULL
28822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
28823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28826 arg2
= wxString_in_helper(obj1
);
28827 if (arg2
== NULL
) SWIG_fail
;
28831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28832 (arg1
)->SetLink((wxString
const &)*arg2
);
28834 wxPyEndAllowThreads(__tstate
);
28835 if (PyErr_Occurred()) SWIG_fail
;
28837 Py_INCREF(Py_None
); resultobj
= Py_None
;
28852 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28853 PyObject
*resultobj
;
28854 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28856 PyObject
* obj0
= 0 ;
28857 char *kwnames
[] = {
28858 (char *) "self", NULL
28861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
28862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28867 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
28868 result
= (wxString
*) &_result_ref
;
28871 wxPyEndAllowThreads(__tstate
);
28872 if (PyErr_Occurred()) SWIG_fail
;
28876 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28878 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28887 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28888 PyObject
*resultobj
;
28889 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28890 wxString
*arg2
= 0 ;
28891 bool temp2
= False
;
28892 PyObject
* obj0
= 0 ;
28893 PyObject
* obj1
= 0 ;
28894 char *kwnames
[] = {
28895 (char *) "self",(char *) "target", NULL
28898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28902 arg2
= wxString_in_helper(obj1
);
28903 if (arg2
== NULL
) SWIG_fail
;
28907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28908 (arg1
)->SetTarget((wxString
const &)*arg2
);
28910 wxPyEndAllowThreads(__tstate
);
28911 if (PyErr_Occurred()) SWIG_fail
;
28913 Py_INCREF(Py_None
); resultobj
= Py_None
;
28928 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
28930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28931 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
28933 return Py_BuildValue((char *)"");
28935 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28936 PyObject
*resultobj
;
28937 wxWindow
*arg1
= (wxWindow
*) NULL
;
28938 bool arg2
= (bool) True
;
28939 wxContextHelp
*result
;
28940 PyObject
* obj0
= 0 ;
28941 PyObject
* obj1
= 0 ;
28942 char *kwnames
[] = {
28943 (char *) "window",(char *) "doNow", NULL
28946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28952 arg2
= (bool) SWIG_AsBool(obj1
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28957 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
28959 wxPyEndAllowThreads(__tstate
);
28960 if (PyErr_Occurred()) SWIG_fail
;
28962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
28969 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28970 PyObject
*resultobj
;
28971 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28972 PyObject
* obj0
= 0 ;
28973 char *kwnames
[] = {
28974 (char *) "self", NULL
28977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
28978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28984 wxPyEndAllowThreads(__tstate
);
28985 if (PyErr_Occurred()) SWIG_fail
;
28987 Py_INCREF(Py_None
); resultobj
= Py_None
;
28994 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28995 PyObject
*resultobj
;
28996 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28997 wxWindow
*arg2
= (wxWindow
*) NULL
;
28999 PyObject
* obj0
= 0 ;
29000 PyObject
* obj1
= 0 ;
29001 char *kwnames
[] = {
29002 (char *) "self",(char *) "window", NULL
29005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29009 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29014 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
29016 wxPyEndAllowThreads(__tstate
);
29017 if (PyErr_Occurred()) SWIG_fail
;
29020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29028 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29029 PyObject
*resultobj
;
29030 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29032 PyObject
* obj0
= 0 ;
29033 char *kwnames
[] = {
29034 (char *) "self", NULL
29037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
29038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29042 result
= (bool)(arg1
)->EndContextHelp();
29044 wxPyEndAllowThreads(__tstate
);
29045 if (PyErr_Occurred()) SWIG_fail
;
29048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29056 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
29058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29059 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
29061 return Py_BuildValue((char *)"");
29063 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29064 PyObject
*resultobj
;
29065 wxWindow
*arg1
= (wxWindow
*) 0 ;
29066 int arg2
= (int) wxID_CONTEXT_HELP
;
29067 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29068 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29069 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29070 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29071 long arg5
= (long) wxBU_AUTODRAW
;
29072 wxContextHelpButton
*result
;
29075 PyObject
* obj0
= 0 ;
29076 PyObject
* obj1
= 0 ;
29077 PyObject
* obj2
= 0 ;
29078 PyObject
* obj3
= 0 ;
29079 PyObject
* obj4
= 0 ;
29080 char *kwnames
[] = {
29081 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29088 arg2
= (int) SWIG_AsInt(obj1
);
29089 if (PyErr_Occurred()) SWIG_fail
;
29094 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29100 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29104 arg5
= (long) SWIG_AsLong(obj4
);
29105 if (PyErr_Occurred()) SWIG_fail
;
29108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29109 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29111 wxPyEndAllowThreads(__tstate
);
29112 if (PyErr_Occurred()) SWIG_fail
;
29114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
29121 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
29123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29124 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
29126 return Py_BuildValue((char *)"");
29128 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29129 PyObject
*resultobj
;
29130 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29131 wxHelpProvider
*result
;
29132 PyObject
* obj0
= 0 ;
29133 char *kwnames
[] = {
29134 (char *) "helpProvider", NULL
29137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
29138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29142 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
29144 wxPyEndAllowThreads(__tstate
);
29145 if (PyErr_Occurred()) SWIG_fail
;
29147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29154 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29155 PyObject
*resultobj
;
29156 wxHelpProvider
*result
;
29157 char *kwnames
[] = {
29161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
29163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29164 result
= (wxHelpProvider
*)wxHelpProvider::Get();
29166 wxPyEndAllowThreads(__tstate
);
29167 if (PyErr_Occurred()) SWIG_fail
;
29169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29176 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29177 PyObject
*resultobj
;
29178 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29179 wxWindow
*arg2
= (wxWindow
*) 0 ;
29181 PyObject
* obj0
= 0 ;
29182 PyObject
* obj1
= 0 ;
29183 char *kwnames
[] = {
29184 (char *) "self",(char *) "window", NULL
29187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29194 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
29196 wxPyEndAllowThreads(__tstate
);
29197 if (PyErr_Occurred()) SWIG_fail
;
29201 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29203 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29212 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29213 PyObject
*resultobj
;
29214 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29215 wxWindow
*arg2
= (wxWindow
*) 0 ;
29217 PyObject
* obj0
= 0 ;
29218 PyObject
* obj1
= 0 ;
29219 char *kwnames
[] = {
29220 (char *) "self",(char *) "window", NULL
29223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29226 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29230 result
= (bool)(arg1
)->ShowHelp(arg2
);
29232 wxPyEndAllowThreads(__tstate
);
29233 if (PyErr_Occurred()) SWIG_fail
;
29236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29244 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29245 PyObject
*resultobj
;
29246 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29247 wxWindow
*arg2
= (wxWindow
*) 0 ;
29248 wxString
*arg3
= 0 ;
29249 bool temp3
= False
;
29250 PyObject
* obj0
= 0 ;
29251 PyObject
* obj1
= 0 ;
29252 PyObject
* obj2
= 0 ;
29253 char *kwnames
[] = {
29254 (char *) "self",(char *) "window",(char *) "text", NULL
29257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29260 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29263 arg3
= wxString_in_helper(obj2
);
29264 if (arg3
== NULL
) SWIG_fail
;
29268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29269 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29271 wxPyEndAllowThreads(__tstate
);
29272 if (PyErr_Occurred()) SWIG_fail
;
29274 Py_INCREF(Py_None
); resultobj
= Py_None
;
29289 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29290 PyObject
*resultobj
;
29291 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29293 wxString
*arg3
= 0 ;
29294 bool temp3
= False
;
29295 PyObject
* obj0
= 0 ;
29296 PyObject
* obj1
= 0 ;
29297 PyObject
* obj2
= 0 ;
29298 char *kwnames
[] = {
29299 (char *) "self",(char *) "id",(char *) "text", NULL
29302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29305 arg2
= (int) SWIG_AsInt(obj1
);
29306 if (PyErr_Occurred()) SWIG_fail
;
29308 arg3
= wxString_in_helper(obj2
);
29309 if (arg3
== NULL
) SWIG_fail
;
29313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29314 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29316 wxPyEndAllowThreads(__tstate
);
29317 if (PyErr_Occurred()) SWIG_fail
;
29319 Py_INCREF(Py_None
); resultobj
= Py_None
;
29334 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29335 PyObject
*resultobj
;
29336 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29337 wxWindow
*arg2
= (wxWindow
*) 0 ;
29338 PyObject
* obj0
= 0 ;
29339 PyObject
* obj1
= 0 ;
29340 char *kwnames
[] = {
29341 (char *) "self",(char *) "window", NULL
29344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29351 (arg1
)->RemoveHelp(arg2
);
29353 wxPyEndAllowThreads(__tstate
);
29354 if (PyErr_Occurred()) SWIG_fail
;
29356 Py_INCREF(Py_None
); resultobj
= Py_None
;
29363 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29364 PyObject
*resultobj
;
29365 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29366 PyObject
* obj0
= 0 ;
29367 char *kwnames
[] = {
29368 (char *) "self", NULL
29371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
29372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29376 wxHelpProvider_Destroy(arg1
);
29378 wxPyEndAllowThreads(__tstate
);
29379 if (PyErr_Occurred()) SWIG_fail
;
29381 Py_INCREF(Py_None
); resultobj
= Py_None
;
29388 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29391 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
29393 return Py_BuildValue((char *)"");
29395 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29396 PyObject
*resultobj
;
29397 wxSimpleHelpProvider
*result
;
29398 char *kwnames
[] = {
29402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
29404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29405 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
29407 wxPyEndAllowThreads(__tstate
);
29408 if (PyErr_Occurred()) SWIG_fail
;
29410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
29417 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29420 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
29422 return Py_BuildValue((char *)"");
29424 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29425 PyObject
*resultobj
;
29426 wxBitmap
*arg1
= 0 ;
29427 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29428 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29429 wxGenericDragImage
*result
;
29430 PyObject
* obj0
= 0 ;
29431 PyObject
* obj1
= 0 ;
29432 char *kwnames
[] = {
29433 (char *) "image",(char *) "cursor", NULL
29436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
29437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
29438 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29440 if (arg1
== NULL
) {
29441 PyErr_SetString(PyExc_TypeError
,"null reference");
29445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29446 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29448 if (arg2
== NULL
) {
29449 PyErr_SetString(PyExc_TypeError
,"null reference");
29454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29455 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
29457 wxPyEndAllowThreads(__tstate
);
29458 if (PyErr_Occurred()) SWIG_fail
;
29460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29467 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29468 PyObject
*resultobj
;
29470 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29471 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29472 wxGenericDragImage
*result
;
29473 PyObject
* obj0
= 0 ;
29474 PyObject
* obj1
= 0 ;
29475 char *kwnames
[] = {
29476 (char *) "image",(char *) "cursor", NULL
29479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
29480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
29481 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29483 if (arg1
== NULL
) {
29484 PyErr_SetString(PyExc_TypeError
,"null reference");
29488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29489 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29491 if (arg2
== NULL
) {
29492 PyErr_SetString(PyExc_TypeError
,"null reference");
29497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29498 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
29500 wxPyEndAllowThreads(__tstate
);
29501 if (PyErr_Occurred()) SWIG_fail
;
29503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29510 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29511 PyObject
*resultobj
;
29512 wxString
*arg1
= 0 ;
29513 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29514 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29515 wxGenericDragImage
*result
;
29516 bool temp1
= False
;
29517 PyObject
* obj0
= 0 ;
29518 PyObject
* obj1
= 0 ;
29519 char *kwnames
[] = {
29520 (char *) "str",(char *) "cursor", NULL
29523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
29525 arg1
= wxString_in_helper(obj0
);
29526 if (arg1
== NULL
) SWIG_fail
;
29530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29531 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29533 if (arg2
== NULL
) {
29534 PyErr_SetString(PyExc_TypeError
,"null reference");
29539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29540 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
29542 wxPyEndAllowThreads(__tstate
);
29543 if (PyErr_Occurred()) SWIG_fail
;
29545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29560 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29561 PyObject
*resultobj
;
29562 wxPyTreeCtrl
*arg1
= 0 ;
29563 wxTreeItemId
*arg2
= 0 ;
29564 wxGenericDragImage
*result
;
29565 PyObject
* obj0
= 0 ;
29566 PyObject
* obj1
= 0 ;
29567 char *kwnames
[] = {
29568 (char *) "treeCtrl",(char *) "id", NULL
29571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
29573 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29575 if (arg1
== NULL
) {
29576 PyErr_SetString(PyExc_TypeError
,"null reference");
29579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
29580 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29582 if (arg2
== NULL
) {
29583 PyErr_SetString(PyExc_TypeError
,"null reference");
29587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29588 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
29590 wxPyEndAllowThreads(__tstate
);
29591 if (PyErr_Occurred()) SWIG_fail
;
29593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29600 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29601 PyObject
*resultobj
;
29602 wxPyListCtrl
*arg1
= 0 ;
29604 wxGenericDragImage
*result
;
29605 PyObject
* obj0
= 0 ;
29606 PyObject
* obj1
= 0 ;
29607 char *kwnames
[] = {
29608 (char *) "listCtrl",(char *) "id", NULL
29611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
29613 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29615 if (arg1
== NULL
) {
29616 PyErr_SetString(PyExc_TypeError
,"null reference");
29619 arg2
= (long) SWIG_AsLong(obj1
);
29620 if (PyErr_Occurred()) SWIG_fail
;
29622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29623 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
29625 wxPyEndAllowThreads(__tstate
);
29626 if (PyErr_Occurred()) SWIG_fail
;
29628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29635 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29636 PyObject
*resultobj
;
29637 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29638 PyObject
* obj0
= 0 ;
29639 char *kwnames
[] = {
29640 (char *) "self", NULL
29643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
29644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29650 wxPyEndAllowThreads(__tstate
);
29651 if (PyErr_Occurred()) SWIG_fail
;
29653 Py_INCREF(Py_None
); resultobj
= Py_None
;
29660 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29661 PyObject
*resultobj
;
29662 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29663 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29664 PyObject
* obj0
= 0 ;
29665 PyObject
* obj1
= 0 ;
29666 char *kwnames
[] = {
29667 (char *) "self",(char *) "bitmap", NULL
29670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
29674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29677 (arg1
)->SetBackingBitmap(arg2
);
29679 wxPyEndAllowThreads(__tstate
);
29680 if (PyErr_Occurred()) SWIG_fail
;
29682 Py_INCREF(Py_None
); resultobj
= Py_None
;
29689 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29690 PyObject
*resultobj
;
29691 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29692 wxPoint
*arg2
= 0 ;
29693 wxWindow
*arg3
= (wxWindow
*) 0 ;
29694 bool arg4
= (bool) False
;
29695 wxRect
*arg5
= (wxRect
*) NULL
;
29698 PyObject
* obj0
= 0 ;
29699 PyObject
* obj1
= 0 ;
29700 PyObject
* obj2
= 0 ;
29701 PyObject
* obj3
= 0 ;
29702 PyObject
* obj4
= 0 ;
29703 char *kwnames
[] = {
29704 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29712 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29714 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29717 arg4
= (bool) SWIG_AsBool(obj3
);
29718 if (PyErr_Occurred()) SWIG_fail
;
29721 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
29722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29726 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
29728 wxPyEndAllowThreads(__tstate
);
29729 if (PyErr_Occurred()) SWIG_fail
;
29732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29740 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29741 PyObject
*resultobj
;
29742 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29743 wxPoint
*arg2
= 0 ;
29744 wxWindow
*arg3
= (wxWindow
*) 0 ;
29745 wxWindow
*arg4
= (wxWindow
*) 0 ;
29748 PyObject
* obj0
= 0 ;
29749 PyObject
* obj1
= 0 ;
29750 PyObject
* obj2
= 0 ;
29751 PyObject
* obj3
= 0 ;
29752 char *kwnames
[] = {
29753 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29761 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29763 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29765 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
29766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29769 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29771 wxPyEndAllowThreads(__tstate
);
29772 if (PyErr_Occurred()) SWIG_fail
;
29775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29783 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29784 PyObject
*resultobj
;
29785 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29787 PyObject
* obj0
= 0 ;
29788 char *kwnames
[] = {
29789 (char *) "self", NULL
29792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
29793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29797 result
= (bool)(arg1
)->EndDrag();
29799 wxPyEndAllowThreads(__tstate
);
29800 if (PyErr_Occurred()) SWIG_fail
;
29803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29811 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29812 PyObject
*resultobj
;
29813 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29814 wxPoint
*arg2
= 0 ;
29817 PyObject
* obj0
= 0 ;
29818 PyObject
* obj1
= 0 ;
29819 char *kwnames
[] = {
29820 (char *) "self",(char *) "pt", NULL
29823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
29824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29828 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29832 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
29834 wxPyEndAllowThreads(__tstate
);
29835 if (PyErr_Occurred()) SWIG_fail
;
29838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29846 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29847 PyObject
*resultobj
;
29848 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29850 PyObject
* obj0
= 0 ;
29851 char *kwnames
[] = {
29852 (char *) "self", NULL
29855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
29856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29860 result
= (bool)(arg1
)->Show();
29862 wxPyEndAllowThreads(__tstate
);
29863 if (PyErr_Occurred()) SWIG_fail
;
29866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29874 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29875 PyObject
*resultobj
;
29876 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29878 PyObject
* obj0
= 0 ;
29879 char *kwnames
[] = {
29880 (char *) "self", NULL
29883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
29884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29888 result
= (bool)(arg1
)->Hide();
29890 wxPyEndAllowThreads(__tstate
);
29891 if (PyErr_Occurred()) SWIG_fail
;
29894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29902 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29903 PyObject
*resultobj
;
29904 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29905 wxPoint
*arg2
= 0 ;
29908 PyObject
* obj0
= 0 ;
29909 PyObject
* obj1
= 0 ;
29910 char *kwnames
[] = {
29911 (char *) "self",(char *) "pos", NULL
29914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29919 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29923 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
29925 wxPyEndAllowThreads(__tstate
);
29926 if (PyErr_Occurred()) SWIG_fail
;
29929 wxRect
* resultptr
;
29930 resultptr
= new wxRect((wxRect
&) result
);
29931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29939 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29940 PyObject
*resultobj
;
29941 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29943 wxPoint
*arg3
= 0 ;
29946 PyObject
* obj0
= 0 ;
29947 PyObject
* obj1
= 0 ;
29948 PyObject
* obj2
= 0 ;
29949 char *kwnames
[] = {
29950 (char *) "self",(char *) "dc",(char *) "pos", NULL
29953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29957 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29959 if (arg2
== NULL
) {
29960 PyErr_SetString(PyExc_TypeError
,"null reference");
29965 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29969 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
29971 wxPyEndAllowThreads(__tstate
);
29972 if (PyErr_Occurred()) SWIG_fail
;
29975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29983 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29984 PyObject
*resultobj
;
29985 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29987 wxMemoryDC
*arg3
= 0 ;
29993 PyObject
* obj0
= 0 ;
29994 PyObject
* obj1
= 0 ;
29995 PyObject
* obj2
= 0 ;
29996 PyObject
* obj3
= 0 ;
29997 PyObject
* obj4
= 0 ;
29998 char *kwnames
[] = {
29999 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
30002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30005 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30006 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30008 if (arg2
== NULL
) {
30009 PyErr_SetString(PyExc_TypeError
,"null reference");
30012 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
30013 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30015 if (arg3
== NULL
) {
30016 PyErr_SetString(PyExc_TypeError
,"null reference");
30021 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30025 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
30028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30029 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
30031 wxPyEndAllowThreads(__tstate
);
30032 if (PyErr_Occurred()) SWIG_fail
;
30035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30043 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30044 PyObject
*resultobj
;
30045 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30046 wxPoint
*arg2
= 0 ;
30047 wxPoint
*arg3
= 0 ;
30053 PyObject
* obj0
= 0 ;
30054 PyObject
* obj1
= 0 ;
30055 PyObject
* obj2
= 0 ;
30056 PyObject
* obj3
= 0 ;
30057 PyObject
* obj4
= 0 ;
30058 char *kwnames
[] = {
30059 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
30062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30067 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30071 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30073 arg4
= (bool) SWIG_AsBool(obj3
);
30074 if (PyErr_Occurred()) SWIG_fail
;
30075 arg5
= (bool) SWIG_AsBool(obj4
);
30076 if (PyErr_Occurred()) SWIG_fail
;
30078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30079 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
30081 wxPyEndAllowThreads(__tstate
);
30082 if (PyErr_Occurred()) SWIG_fail
;
30085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30093 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
30095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30096 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
30098 return Py_BuildValue((char *)"");
30100 static PyMethodDef SwigMethods
[] = {
30101 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
30102 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
30103 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
30104 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
30105 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30106 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
30107 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30108 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30109 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30110 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30111 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30112 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30113 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30114 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30115 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30116 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30117 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30118 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30119 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
30120 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
30121 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
30122 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30123 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30124 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30125 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30126 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30127 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30128 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30129 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30130 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
30131 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
30132 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
30133 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
30134 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
30135 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
30136 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30137 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30138 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30139 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
30140 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30141 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30142 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30143 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30144 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30145 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30146 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30147 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30148 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30149 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30150 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30151 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30152 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30153 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
30154 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30155 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30156 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30157 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
30158 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
30159 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
30160 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
30161 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30162 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30163 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30164 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30165 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30166 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
30167 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
30168 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
30169 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
30170 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
30171 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30172 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30173 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30174 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
30175 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30176 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30177 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
30178 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30179 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30180 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
30181 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
30182 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
30183 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
30184 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
30185 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30186 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30187 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
30188 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30189 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30190 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
30191 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
30192 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
30193 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
30194 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30195 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
30196 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
30197 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
30198 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30199 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30200 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
30201 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
30202 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30203 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30204 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30205 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
30206 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
30207 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30208 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30209 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
30210 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30211 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30212 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30213 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
30214 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30215 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30216 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30217 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30218 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
30219 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
30220 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30221 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
30222 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
30223 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
30224 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
30225 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
30226 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30227 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30228 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30229 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30230 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30231 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30232 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30233 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30234 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30235 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30236 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30237 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30238 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
30239 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30240 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30241 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
30242 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30243 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30244 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30245 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30246 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30247 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30248 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30249 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30250 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
30251 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
30252 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
30253 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30254 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30255 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30256 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30257 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30258 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30259 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
30260 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
30261 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
30262 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
30263 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
30264 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
30265 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
30266 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30267 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30268 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30269 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30270 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30271 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
30272 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
30273 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
30274 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
30275 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
30276 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
30277 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
30278 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
30279 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30280 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30281 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30282 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30283 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
30284 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
30285 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
30286 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30287 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30288 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30289 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30290 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
30291 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
30292 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
30293 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
30294 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
30295 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
30296 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
30297 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30298 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30299 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30300 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30301 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30302 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
30303 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30304 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
30305 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30306 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
30307 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30308 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
30309 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
30310 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
30311 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
30312 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30313 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30314 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30315 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30316 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
30317 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30318 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30319 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30320 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30321 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
30322 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
30323 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30324 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30325 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30326 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30327 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30328 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30329 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30330 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30331 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30332 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30333 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30334 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
30335 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30336 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30337 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30338 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30339 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30340 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
30341 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30342 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30343 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30344 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30345 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
30346 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
30347 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30348 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30349 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
30350 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30351 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30352 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30353 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30354 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30355 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30356 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30357 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30358 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
30359 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30360 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30361 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
30362 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
30363 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30364 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30365 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30366 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
30367 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30368 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30369 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30370 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30371 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30372 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
30373 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
30374 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
30375 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
30376 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30377 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30378 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30379 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30380 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30381 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30382 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30383 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30384 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30385 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30386 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30387 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30388 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30389 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30390 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30391 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
30392 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
30393 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
30394 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
30395 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
30396 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30397 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
30398 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30399 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30400 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30401 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30402 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30403 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30404 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
30405 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
30406 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
30407 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30408 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30409 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30410 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30411 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30412 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30413 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30414 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30415 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30416 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30417 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
30418 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
30419 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
30420 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
30421 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
30422 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30423 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
30424 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
30425 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30426 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30427 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30428 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30429 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30430 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
30431 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
30432 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30433 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30434 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30435 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
30436 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
30437 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30438 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30439 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
30440 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30441 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
30442 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
30443 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
30444 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30445 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30446 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
30447 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30448 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
30449 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
30450 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30451 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30452 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30453 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
30454 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
30455 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30456 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30457 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30458 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
30459 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30460 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30461 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30462 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
30463 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
30464 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30465 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30466 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
30467 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30468 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
30469 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
30470 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30471 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30472 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30473 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30474 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30475 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30476 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
30477 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30478 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30479 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30480 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30481 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30482 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30483 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30484 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
30485 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
30486 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30487 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30488 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
30489 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
30490 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
30491 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30492 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30493 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
30494 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
30495 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
30496 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30497 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30498 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
30499 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
30500 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
30501 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
30502 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
30503 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
30504 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
30505 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30506 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30507 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30508 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
30509 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
30510 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30511 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30512 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30513 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30514 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30515 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
30516 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30517 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30518 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30519 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
30520 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30521 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30522 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30523 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
30524 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
30525 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
30526 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
30527 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30528 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30529 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
30530 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30531 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
30532 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30533 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
30534 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30535 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30536 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30537 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30538 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
30539 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
30540 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30541 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30542 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30543 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30544 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30545 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30546 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30547 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30548 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30549 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30550 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
30551 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30552 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30553 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30554 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30555 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
30556 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30557 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30558 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
30559 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
30560 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
30561 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
30562 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30563 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30564 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30565 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30566 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30567 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30568 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30569 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30570 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30571 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
30572 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30573 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30574 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30575 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30576 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30577 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30578 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30579 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30580 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30581 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30582 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
30583 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
30584 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
30585 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
30586 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30587 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30588 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
30589 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
30590 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
30591 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
30592 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
30593 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
30594 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
30595 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
30596 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
30597 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
30598 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
30599 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
30600 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
30601 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
30602 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
30603 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
30604 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
30605 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
30606 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30607 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30608 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30609 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30610 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30611 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30612 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
30613 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
30614 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
30615 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30616 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
30617 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30618 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30619 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30620 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30621 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30622 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30623 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30624 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30625 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
30626 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
30627 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30628 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30629 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
30630 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30631 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30632 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30633 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30634 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30635 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30636 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30637 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30638 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30639 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30640 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
30641 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
30642 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30643 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30644 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30645 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30646 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30647 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30648 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30649 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30650 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30651 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30652 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30653 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
30654 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30655 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30656 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30657 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30658 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30659 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30660 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30661 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30662 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
30663 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
30664 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
30665 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30666 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30667 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30668 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30669 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
30670 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
30671 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
30672 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
30673 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
30674 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
30675 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30676 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
30677 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
30678 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
30679 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30680 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30681 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
30682 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
30683 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
30684 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30685 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30686 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30687 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
30688 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30689 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
30690 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
30691 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30692 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
30693 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30694 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30695 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30696 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30697 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
30698 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
30699 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
30700 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
30701 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
30702 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
30703 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
30704 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
30705 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
30706 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
30707 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
30708 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30709 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30710 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30711 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
30712 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30713 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30714 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
30715 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
30716 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
30717 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
30718 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
30719 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
30720 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
30721 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30722 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30723 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30724 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30725 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30726 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
30727 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
30728 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30729 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30730 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30731 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30732 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30733 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30734 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30735 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30736 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30737 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30738 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30739 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30740 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30741 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
30742 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
30743 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30744 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30745 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30746 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30747 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30748 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30749 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30750 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30751 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30752 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30753 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30754 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30755 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30756 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30757 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30758 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30759 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30760 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30761 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30762 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30763 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30764 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30765 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30766 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30767 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30768 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30769 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30770 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
30771 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30772 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30773 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30774 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
30775 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30776 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
30777 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30778 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
30779 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
30780 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
30781 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30782 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30783 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
30784 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
30785 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
30786 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
30787 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
30788 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
30789 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
30790 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
30791 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
30792 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
30793 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
30794 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30795 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
30796 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
30797 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
30798 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
30799 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30800 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
30801 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
30802 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
30803 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30804 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
30805 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
30806 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30807 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
30808 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
30809 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30810 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
30811 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30812 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30813 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
30814 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30815 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
30816 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
30817 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30818 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30819 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30820 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
30821 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30822 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30823 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
30824 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
30825 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
30826 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30827 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30828 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30829 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30830 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30831 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30832 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
30833 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30834 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30835 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
30836 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
30837 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
30838 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
30839 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30840 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30841 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30842 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
30843 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
30844 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
30845 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
30846 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30847 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
30848 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
30849 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30850 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30851 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
30852 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30853 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30854 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30855 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
30856 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
30857 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
30858 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30859 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
30860 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
30861 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
30862 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
30863 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
30864 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
30865 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
30866 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
30867 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
30868 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
30869 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30870 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30871 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
30872 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
30873 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30874 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30875 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
30876 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30877 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30878 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30879 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30880 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
30881 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
30882 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
30883 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
30884 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
30885 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
30886 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
30887 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
30888 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
30889 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
30890 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30891 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
30892 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
30893 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
30894 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30895 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
30896 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
30897 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
30898 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
30899 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30900 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30901 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
30902 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
30903 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
30904 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
30905 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
30906 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
30907 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
30908 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30909 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30910 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30911 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
30916 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30918 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
30919 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30921 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
30922 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30924 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
30925 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
30927 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
30928 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30930 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
30931 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30933 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
30934 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
30936 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
30937 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30939 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
30940 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
30942 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
30943 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
30945 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
30946 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
30948 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
30949 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30951 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
30952 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
30954 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
30955 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
30957 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
30958 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
30960 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
30961 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
30963 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
30964 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30966 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
30967 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
30969 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
30970 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
30972 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
30973 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
30975 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
30976 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30978 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
30979 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30981 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
30982 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
30984 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
30985 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30987 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
30988 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30990 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
30991 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30993 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
30994 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30996 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
30997 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
30999 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31000 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31002 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31003 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31005 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31006 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31008 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31009 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31011 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31012 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31014 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31015 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31017 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31018 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31020 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31021 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31023 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31024 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31026 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31027 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31029 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31030 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31032 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31033 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31035 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31036 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31038 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31039 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31041 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31042 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31044 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31045 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31047 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31048 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31050 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31051 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31053 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31054 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31056 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31057 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31059 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31060 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31062 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31063 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31065 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31066 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31068 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31069 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31071 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31072 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31074 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
31075 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31077 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
31078 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
31080 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
31081 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31083 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
31084 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31086 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
31087 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
31089 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
31090 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31092 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
31093 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31095 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
31096 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
31098 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
31099 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31101 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
31102 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31104 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
31105 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31107 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
31108 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
31110 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
31111 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
31113 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
31114 return (void *)((wxControl
*) ((wxComboBox
*) x
));
31116 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
31117 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
31119 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
31120 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
31122 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
31123 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
31125 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
31126 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
31128 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
31129 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31131 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
31132 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
31134 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
31135 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
31137 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
31138 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
31140 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
31141 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
31143 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
31144 return (void *)((wxControl
*) ((wxGauge
*) x
));
31146 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
31147 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
31149 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
31150 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
31152 static void *_p_wxButtonTo_p_wxControl(void *x
) {
31153 return (void *)((wxControl
*) ((wxButton
*) x
));
31155 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
31156 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
31158 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
31159 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31161 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
31162 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
31164 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
31165 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
31167 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
31168 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
31170 static void *_p_wxListbookTo_p_wxControl(void *x
) {
31171 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
31173 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
31174 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
31176 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
31177 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
31179 static void *_p_wxListViewTo_p_wxControl(void *x
) {
31180 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
31182 static void *_p_wxSliderTo_p_wxControl(void *x
) {
31183 return (void *)((wxControl
*) ((wxSlider
*) x
));
31185 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
31186 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
31188 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
31189 return (void *)((wxControl
*) ((wxPyControl
*) x
));
31191 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
31192 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
31194 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
31195 return (void *)((wxControl
*) ((wxStaticText
*) x
));
31197 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
31198 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
31200 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
31201 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31203 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
31204 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31206 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
31207 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31209 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
31210 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
31212 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
31213 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31215 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
31216 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31218 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
31219 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31221 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
31222 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31224 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31225 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31227 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31228 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31230 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31231 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31233 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
31234 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31236 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31237 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31239 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
31240 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31242 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
31243 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31245 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31246 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31248 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31249 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31251 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
31252 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31254 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
31255 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31257 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
31258 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
31260 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
31261 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31263 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
31264 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31266 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31267 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31269 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
31270 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31272 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
31273 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31275 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31276 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31278 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
31279 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31281 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
31282 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31284 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
31285 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31287 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
31288 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31290 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
31291 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31293 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
31294 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31296 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
31297 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31299 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
31300 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31302 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
31303 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31305 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
31306 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31308 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
31309 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31311 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
31312 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31314 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
31315 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31317 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
31318 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31320 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
31321 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31323 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
31324 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31326 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
31327 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31329 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
31330 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31332 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
31333 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31335 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
31336 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31338 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
31339 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31341 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
31342 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
31344 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
31345 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
31347 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
31348 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
31350 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
31351 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
31353 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
31354 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31356 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
31357 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31359 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
31360 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
31362 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31363 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31365 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31366 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31368 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31369 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31371 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31372 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31374 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31375 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31377 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
31378 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31380 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
31381 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31383 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31384 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31386 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31387 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31389 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31390 return (void *)((wxObject
*) ((wxSizer
*) x
));
31392 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31393 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31395 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
31396 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31398 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
31399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31401 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31402 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31404 static void *_p_wxEventTo_p_wxObject(void *x
) {
31405 return (void *)((wxObject
*) ((wxEvent
*) x
));
31407 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31408 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31410 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31411 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31413 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31414 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31416 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
31417 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31419 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
31420 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31422 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
31423 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31425 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31426 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31428 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31429 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31431 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31432 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31434 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31435 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31437 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31438 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31440 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31441 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31443 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
31444 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31446 static void *_p_wxControlTo_p_wxObject(void *x
) {
31447 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31449 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
31450 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31452 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
31453 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31455 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
31456 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31458 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
31459 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31461 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
31462 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31464 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31465 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31467 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
31468 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31470 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31471 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31473 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31474 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31476 static void *_p_wxListViewTo_p_wxObject(void *x
) {
31477 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31479 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
31480 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31482 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
31483 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31485 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31486 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31488 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31489 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31491 static void *_p_wxListbookTo_p_wxObject(void *x
) {
31492 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31494 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31495 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31497 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
31498 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31500 static void *_p_wxSliderTo_p_wxObject(void *x
) {
31501 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31503 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31504 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31506 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31507 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31509 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31510 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31512 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31513 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31515 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31516 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31518 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31519 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31521 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31522 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31524 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31525 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31527 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31528 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31530 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
31531 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31533 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
31534 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
31536 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31537 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31539 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31540 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31542 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31543 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31545 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31546 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31548 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31549 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31551 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31552 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31554 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31555 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31557 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31558 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31560 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31561 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31563 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31564 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31566 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31567 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31569 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31570 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31572 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31573 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31575 static void *_p_wxListEventTo_p_wxObject(void *x
) {
31576 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31578 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
31579 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31581 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
31582 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31584 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
31585 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31587 static void *_p_wxButtonTo_p_wxObject(void *x
) {
31588 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31590 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
31591 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31593 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
31594 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31596 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
31597 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31599 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31600 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31602 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
31603 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31605 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
31606 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31608 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
31609 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
31611 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
31612 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
31614 static void *_p_wxListItemTo_p_wxObject(void *x
) {
31615 return (void *)((wxObject
*) ((wxListItem
*) x
));
31617 static void *_p_wxImageTo_p_wxObject(void *x
) {
31618 return (void *)((wxObject
*) ((wxImage
*) x
));
31620 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
31621 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
31623 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31624 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31626 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
31627 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31629 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
31630 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
31632 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
31633 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31635 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
31636 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31638 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
31639 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31641 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31642 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31644 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31645 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31647 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31648 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31650 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31651 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31653 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31654 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31656 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31657 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31659 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31660 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31662 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31663 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31665 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31666 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31668 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31669 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31671 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31672 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31674 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31675 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31677 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31678 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31680 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
31681 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31683 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31684 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31686 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31687 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31689 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
31690 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31692 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31693 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31695 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31696 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31698 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31699 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31701 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31702 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31704 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
31705 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
31707 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
31708 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31710 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31711 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31713 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31714 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31716 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
31717 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
31719 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
31720 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
31722 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31723 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31725 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
31726 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31728 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
31729 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
31731 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
31732 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
31734 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
31735 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
31737 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31738 return (void *)((wxWindow
*) ((wxControl
*) x
));
31740 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
31741 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
31743 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
31744 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31746 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
31747 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
31749 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
31750 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
31752 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
31753 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
31755 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
31756 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
31758 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31759 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31761 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
31762 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
31764 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
31765 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
31767 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
31768 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31770 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
31771 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
31773 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
31774 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
31776 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
31777 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
31779 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
31780 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31782 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
31783 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31785 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
31786 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31788 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
31789 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31791 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
31792 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31794 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
31795 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
31797 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
31798 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
31800 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
31801 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
31803 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
31804 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
31806 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
31807 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
31809 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
31810 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
31812 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
31813 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
31815 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
31816 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31818 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
31819 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31821 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
31822 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
31824 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
31825 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31827 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
31828 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31830 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
31831 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31833 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
31834 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
31836 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
31837 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31839 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
31840 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31842 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
31843 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31845 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
31846 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31848 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
31849 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31851 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
31852 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
31854 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
31855 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31857 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
31858 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31860 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
31861 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31863 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
31864 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
31866 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
31867 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31869 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
31870 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31872 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
31873 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31875 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
31876 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
31878 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
31879 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
31881 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
31882 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
31884 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
31885 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
31887 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}};
31888 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}};
31889 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}};
31890 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}};
31891 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}};
31892 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}};
31893 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}};
31894 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}};
31895 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}};
31896 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}};
31897 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}};
31898 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}};
31899 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}};
31900 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}};
31901 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}};
31902 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}};
31903 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}};
31904 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}};
31905 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}};
31906 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}};
31907 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}};
31908 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}};
31909 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}};
31910 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}};
31911 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}};
31912 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}};
31913 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}};
31914 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}};
31915 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}};
31916 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}};
31917 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}};
31918 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}};
31919 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}};
31920 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}};
31921 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}};
31922 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}};
31923 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}};
31924 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}};
31925 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}};
31926 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}};
31927 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}};
31928 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}};
31929 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}};
31930 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}};
31931 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}};
31932 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}};
31933 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}};
31934 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}};
31935 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}};
31936 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}};
31937 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}};
31938 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}};
31939 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}};
31940 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}};
31941 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}};
31942 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}};
31943 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}};
31944 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}};
31945 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}};
31946 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}};
31947 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}};
31948 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}};
31949 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}};
31950 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}};
31951 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}};
31952 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}};
31953 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}};
31954 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}};
31955 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}};
31956 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}};
31957 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}};
31958 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}};
31959 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}};
31960 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}};
31961 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}};
31962 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}};
31963 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}};
31964 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}};
31965 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}};
31966 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}};
31967 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}};
31968 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}};
31969 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}};
31970 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}};
31972 static swig_type_info
*swig_types_initial
[] = {
31973 _swigt__p_wxTextUrlEvent
,
31974 _swigt__p_wxBookCtrlEvent
,
31976 _swigt__p_wxCheckBox
,
31977 _swigt__p_wxPyTreeCtrl
,
31979 _swigt__p_wxGenericDirCtrl
,
31981 _swigt__p_wxPyTreeItemData
,
31982 _swigt__p_wxItemContainer
,
31983 _swigt__p_wxDirFilterListCtrl
,
31984 _swigt__p_wxPyListCtrl
,
31985 _swigt__p_wxStaticLine
,
31986 _swigt__p_wxControl
,
31987 _swigt__p_wxPyControl
,
31989 _swigt__p_wxToolBarBase
,
31991 _swigt__p_wxToggleButton
,
31992 _swigt__p_wxRadioButton
,
31993 _swigt__p_wxChoice
,
31994 _swigt__p_wxMemoryDC
,
31995 _swigt__p_wxListItemAttr
,
32000 _swigt__p_wxListView
,
32002 _swigt__p_wxTextCtrl
,
32003 _swigt__p_wxNotebook
,
32004 _swigt__p_wxNotifyEvent
,
32005 _swigt__p_wxArrayString
,
32006 _swigt__p_wxListbook
,
32007 _swigt__p_wxStaticBitmap
,
32008 _swigt__p_wxSlider
,
32009 _swigt__p_wxStaticBox
,
32010 _swigt__p_wxArrayInt
,
32011 _swigt__p_wxContextHelp
,
32013 _swigt__p_wxEvtHandler
,
32014 _swigt__p_wxListEvent
,
32015 _swigt__p_wxListBox
,
32016 _swigt__p_wxCheckListBox
,
32017 _swigt__p_wxBookCtrl
,
32018 _swigt__p_wxSpinButton
,
32019 _swigt__p_wxButton
,
32020 _swigt__p_wxBitmapButton
,
32022 _swigt__p_wxContextHelpButton
,
32023 _swigt__p_wxRadioBox
,
32024 _swigt__p_wxScrollBar
,
32026 _swigt__p_wxTreeItemId
,
32027 _swigt__p_wxComboBox
,
32028 _swigt__p_wxHelpEvent
,
32029 _swigt__p_wxListItem
,
32030 _swigt__p_wxNotebookSizer
,
32031 _swigt__p_wxSpinEvent
,
32032 _swigt__p_wxGenericDragImage
,
32033 _swigt__p_wxSpinCtrl
,
32034 _swigt__p_wxImageList
,
32035 _swigt__p_wxHelpProvider
,
32036 _swigt__p_wxTextAttr
,
32037 _swigt__p_wxSimpleHelpProvider
,
32039 _swigt__p_wxListbookEvent
,
32040 _swigt__p_wxNotebookEvent
,
32041 _swigt__p_wxObject
,
32042 _swigt__p_wxCursor
,
32043 _swigt__p_wxKeyEvent
,
32044 _swigt__p_wxWindow
,
32045 _swigt__p_wxString
,
32046 _swigt__p_wxBitmap
,
32047 _swigt__p_wxTreeEvent
,
32048 _swigt__p_wxMouseEvent
,
32049 _swigt__p_wxCommandEvent
,
32050 _swigt__p_wxStaticText
,
32051 _swigt__p_wxControlWithItems
,
32052 _swigt__p_wxToolBarToolBase
,
32053 _swigt__p_wxColour
,
32054 _swigt__p_wxToolBar
,
32055 _swigt__p_wxBookCtrlSizer
,
32056 _swigt__p_wxValidator
,
32061 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32063 static swig_const_info swig_const_table
[] = {
32073 SWIGEXPORT(void) SWIG_init(void) {
32074 static PyObject
*SWIG_globals
= 0;
32075 static int typeinit
= 0;
32078 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
32079 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
32080 d
= PyModule_GetDict(m
);
32083 for (i
= 0; swig_types_initial
[i
]; i
++) {
32084 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
32088 SWIG_InstallConstants(d
,swig_const_table
);
32090 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
32091 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
32092 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
32093 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
32094 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
32095 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
32096 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
32097 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
32098 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
32099 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
32100 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
32101 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
32102 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
32103 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
32104 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
32105 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
32106 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
32107 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
32108 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
32109 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
32110 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
32111 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
32112 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
32113 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
32114 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
32115 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
32116 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
32117 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
32118 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
32119 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
32120 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
32121 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
32122 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
32123 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
32124 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
32125 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
32126 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
32127 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
32128 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
32129 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
32130 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
32131 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
32132 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
32133 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
32134 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
32135 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
32136 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
32137 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
32138 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
32139 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
32140 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
32141 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
32142 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
32143 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
32144 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
32145 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
32146 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
32147 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
32148 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
32149 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
32150 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
32151 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
32152 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
32153 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
32154 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
32155 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
32156 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
32157 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
32158 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
32159 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
32160 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
32161 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
32162 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
32163 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
32164 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
32165 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
32166 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
32167 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
32168 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
32169 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
32170 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
32171 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
32172 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
32173 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
32174 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
32175 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
32176 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
32177 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
32178 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
32179 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
32180 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
32181 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
32182 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
32183 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
32184 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
32185 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
32186 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
32187 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
32188 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
32189 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
32190 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
32191 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
32192 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
32193 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
32194 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
32195 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
32196 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
32197 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
32198 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
32199 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
32200 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
32201 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
32202 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
32203 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
32204 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
32205 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
32206 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
32207 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
32208 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
32209 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
32210 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
32211 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
32212 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
32213 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
32214 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
32215 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
32216 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
32217 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
32218 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
32219 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
32220 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
32221 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
32222 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
32223 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
32224 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
32225 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
32226 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
32227 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
32228 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
32229 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
32230 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
32231 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
32232 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
32233 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
32234 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
32235 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
32236 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
32237 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
32238 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
32239 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
32240 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
32241 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
32242 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
32243 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
32244 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
32245 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
32246 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
32247 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
32248 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
32249 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
32250 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
32251 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
32252 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
32253 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
32254 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
32255 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
32256 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
32257 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
32258 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
32259 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
32260 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
32261 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
32262 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
32263 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
32264 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
32265 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
32266 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
32267 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
32268 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
32269 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
32270 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
32271 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
32272 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
32273 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
32274 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
32275 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
32276 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
32277 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
32278 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
32279 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
32280 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
32281 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
32282 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
32283 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
32284 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
32285 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
32286 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
32287 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
32288 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
32289 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
32290 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
32291 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
32292 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
32293 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
32294 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
32295 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
32296 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
32297 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
32298 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
32299 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
32300 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
32302 // Map renamed classes back to their common name for OOR
32303 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32305 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
32306 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
32307 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
32308 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
32309 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
32310 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
32311 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
32312 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
32313 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
32314 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
32315 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
32316 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
32317 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
32318 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
32319 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
32320 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
32321 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
32322 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
32323 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
32324 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
32325 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
32326 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
32327 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
32328 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
32329 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
32330 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
32331 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
32332 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
32333 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
32334 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
32335 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
32336 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
32337 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
32338 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
32339 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
32340 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
32341 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
32342 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
32343 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
32344 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
32345 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
32346 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
32347 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
32348 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
32349 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
32350 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
32351 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
32352 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
32353 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
32354 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
32355 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
32356 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
32357 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
32358 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
32359 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
32360 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
32362 // Map renamed classes back to their common name for OOR
32363 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32364 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32366 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
32367 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
32368 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
32369 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
32370 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
32371 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
32372 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
32373 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
32374 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
32375 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
32377 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");